/* ============================================================
   QMINIMORE — APP.CSS
   Design System: Dark Navy + Electric Violet
   ============================================================ */

/* ─── 1. TOKENS & RESET ──────────────────────────────────── */
:root {
    --color-bg: #0D1117;
    --color-surface: #161B22;
    --color-surface-2: #1C2333;
    --color-accent: #7C3AED;
    --color-accent-light: #A78BFA;
    --color-accent-glow: rgba(124, 58, 237, 0.25);
    --color-teal: #0EA5E9;
    --color-green: #10B981;
    --color-text: #E6EDF3;
    --color-muted: #8B949E;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.16);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --navbar-h: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ─── 2. UTILITIES ───────────────────────────────────────── */
.container {
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 560px;
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

/* ─── 3. BUTTONS ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.85rem 1.9rem;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #5B21B6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, #8B5CF6, var(--color-accent));
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent-light);
    border: 1px solid rgba(124, 58, 237, 0.4);
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* ─── 4. NAVBAR ──────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-h);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

.navbar__logo {
    display: flex;
    align-items: center;
}

.navbar__logo img {
    height: 90px;
    width: auto;
    display: block;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar__links a {
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: var(--transition);
}

.navbar__links a:hover,
.navbar__links a.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.navbar__links a.active {
    color: var(--color-accent-light);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.5rem;
    background: rgba(13, 17, 23, 0.97);
    border-top: 1px solid var(--color-border);
}

.mobile-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.mobile-nav.open {
    display: flex;
}

/* ─── 5. HERO ─────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(10, 5, 20, 0.72) 0%, rgba(13, 17, 23, 0.88) 60%),
        url('/images/hero-bg.png') center center / cover no-repeat;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero__orb--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: rgba(124, 58, 237, 0.15);
}

.hero__orb--2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    background: rgba(14, 165, 233, 0.1);
}

.hero__orb--3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 30%;
    background: rgba(16, 185, 129, 0.07);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 6rem;
    max-width: 780px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent-light);
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
    letter-spacing: 0.02em;
}

.hero__title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-muted);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero__clients {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 6rem;
    /* Added margin to prevent overlap with scroll indicator */
}

.hero__clients>span {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.hero__client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.client-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-muted);
    letter-spacing: 0.02em;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--color-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

/* ─── 6. SERVICES ─────────────────────────────────────────── */
.services-section {
    position: relative;
    background:
        linear-gradient(180deg, rgba(13, 17, 23, 0.82) 0%, rgba(22, 27, 34, 0.92) 100%),
        url('/images/services-bg.png') center center / cover no-repeat;
    background-attachment: fixed;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.services-grid .service-card {
    flex: 1 1 300px;
    /* Base width */
    max-width: calc(33.333% - 1rem);
    /* Max 3 per row */
}

@media (max-width: 992px) {
    .services-grid .service-card {
        max-width: calc(50% - 0.75rem);
        /* Max 2 per row */
    }
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
    cursor: default;
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--svc-color) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--svc-color) 30%, transparent);
    display: grid;
    place-items: center;
    color: var(--svc-color);
}

.service-card__icon svg {
    width: 22px;
    height: 22px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

.service-card__tagline {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-accent-light);
}

.service-card__desc {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.service-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.service-card__features svg {
    color: var(--color-green);
    flex-shrink: 0;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-top: auto;
    transition: gap var(--transition);
}

.service-card__link:hover {
    gap: 0.6rem;
}

/* ─── 7. STATS ────────────────────────────────────────────── */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.stat-value {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
}

/* ─── 8. PORTFOLIO ────────────────────────────────────────── */
.portfolio-teaser-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.portfolio-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.portfolio-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
}

.portfolio-card__header-flex {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.25rem;
}

.portfolio-card__logo {
    width: 130px;
    height: 75px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
    padding: 0.5rem;
    background: var(--color-bg);
}

.portfolio-card__header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-card__category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

.portfolio-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

.portfolio-card p {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.portfolio-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
    color: var(--color-accent-light);
}

.portfolio-card__result {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--color-green);
    font-weight: 600;
    margin-top: auto;
}

.portfolio-card__cta {
    align-self: flex-start;
}

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-muted);
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--color-text);
    border-color: var(--color-border-hover);
}

.filter-btn.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* ─── 9. WHY US ───────────────────────────────────────────── */
.whyus-section {
    background: var(--color-surface);
}

.whyus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.whyus__text .section-label {
    margin-bottom: 0.75rem;
}

.whyus__text .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.whyus__text>p {
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.whyus__pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.pillar {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.pillar svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.pillar div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pillar strong {
    font-size: 0.88rem;
    color: var(--color-text);
}

.pillar span {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.whyus__visual {
    position: relative;
}

.visual-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.visual-metric {
    text-align: center;
    margin-bottom: 2rem;
}

.metric-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 500;
}

.metric-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.metric-bar {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.metric-bar>div,
.metric-bar span:first-child {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.metric-bar {
    position: relative;
}

.metric-bar span:first-child {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.metric-bar span:last-child {
    font-size: 0.8rem;
    color: var(--color-text);
    font-weight: 600;
}

.metric-bar::after {
    content: '';
    display: block;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.metric-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: var(--pct);
    background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
    border-radius: 2px;
    z-index: 1;
}

/* ─── 10. CTA BANNER ──────────────────────────────────────── */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner__text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-banner__text p {
    color: var(--color-muted);
}

/* ─── 11. PAGE HERO (inner pages) ────────────────────────── */
.page-hero {
    position: relative;
    padding-top: calc(var(--navbar-h) + 5rem);
    padding-bottom: 5rem;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
}

/* Per-page hero backgrounds */
body.page-services .page-hero {
    background:
        linear-gradient(180deg, rgba(8, 4, 20, 0.80) 0%, rgba(13, 17, 23, 0.94) 100%),
        url('/images/services-page-bg.png') center top / cover no-repeat;
}

body.page-portfolio .page-hero {
    background:
        linear-gradient(180deg, rgba(4, 14, 18, 0.80) 0%, rgba(13, 17, 23, 0.94) 100%),
        url('/images/portfolio-page-bg.png') center center / cover no-repeat;
}

body.page-contact .page-hero {
    background:
        linear-gradient(180deg, rgba(6, 8, 22, 0.80) 0%, rgba(13, 17, 23, 0.94) 100%),
        url('/images/contact-page-bg.png') center center / cover no-repeat;
}

body.page-pricing .page-hero {
    background:
        linear-gradient(180deg, rgba(10, 6, 25, 0.80) 0%, rgba(13, 17, 23, 0.94) 100%),
        url('/images/pricing-page-bg.png') center top / cover no-repeat;
}

.page-hero .section-label {
    margin-bottom: 1rem;
}

.page-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 560px;
    margin-inline: auto;
}


/* ─── 12. SERVICES DETAIL ────────────────────────────────── */
.service-detail {
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail--alt {
    background: var(--color-surface);
}

.service-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 5rem;
    align-items: center;
}

.service-detail--alt .service-detail__grid {
    grid-template-columns: 1.8fr 1fr;
}

.service-detail--alt .service-detail__visual {
    order: 2;
}

.service-detail--alt .service-detail__content {
    order: 1;
}

.service-detail__visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.service-detail__icon-wrap {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--svc-color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--svc-color) 25%, transparent);
    display: grid;
    place-items: center;
    color: var(--svc-color);
    position: relative;
    z-index: 1;
}

.service-detail__icon-wrap svg {
    width: 72px;
    height: 72px;
}

.service-detail__glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.service-detail__num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent-light);
    display: block;
    margin-bottom: 0.75rem;
}

.service-detail__content h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.service-detail__tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
}

.service-detail__desc {
    color: var(--color-muted);
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─── 13. PROCESS ─────────────────────────────────────────── */
.process-section {
    background: var(--color-surface);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3) 20%, rgba(124, 58, 237, 0.3) 80%, transparent);
    z-index: 0;
}

.process-step {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
}

.process-step__num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    background: var(--color-accent);
    color: #fff;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.process-step svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent-light);
}

.process-step h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.process-step p {
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* ─── 14. ENGAGEMENT ──────────────────────────────────────── */
.engagement-section {
    background: var(--color-surface);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.engagement-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.engagement-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-3px);
}

.engagement-card svg {
    width: 36px;
    height: 36px;
    color: var(--color-accent-light);
}

.engagement-card h4 {
    font-size: 1rem;
    font-weight: 700;
}

.engagement-card p {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ─── 15. CONTACT ─────────────────────────────────────────── */
.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.contact-info>p {
    color: var(--color-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    display: grid;
    place-items: center;
    color: var(--color-accent-light);
    flex-shrink: 0;
}

.contact-item__icon svg {
    width: 18px;
    height: 18px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-item strong {
    font-size: 0.82rem;
    color: var(--color-muted);
}

.contact-item a,
.contact-item span {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-accent-light);
}

.contact-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    display: grid;
    place-items: center;
    color: var(--color-muted);
    transition: var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--color-accent-light);
}

/* Form */
.contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
}

.required {
    color: var(--color-accent-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition);
    width: 100%;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-muted);
}

.form-group select option {
    background: var(--color-surface);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-error {
    border-color: #EF4444 !important;
}

.form-error {
    font-size: 0.78rem;
    color: #F87171;
    min-height: 1rem;
}

.form-toast {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
}

.form-toast.show {
    display: block;
}

.form-toast--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.form-toast--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
}

/* ─── 16. PRICING ──────────────────────────────────────────── */

/* Toggle Switch */
.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-toggle-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: var(--transition);
}

.pricing-toggle-label.active {
    color: var(--color-text);
    font-weight: 700;
}

.pricing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-surface-2);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--color-border);
}

.pricing-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-accent-light);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.pricing-slider {
    background-color: var(--color-accent);
}

input:checked+.pricing-slider:before {
    transform: translateX(26px);
    background-color: #fff;
}

.save-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-green);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    font-weight: 600;
    vertical-align: middle;
}

/* Pricing Grid & Card */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    text-align: left;
}

.pricing-card:hover {
    border-color: var(--color-accent-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card--recommended {
    background: linear-gradient(180deg, var(--color-surface-2), var(--color-surface));
    border-color: var(--color-accent);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

.pricing-card--recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.custom-badge {
    background: var(--color-teal) !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4) !important;
}

.pricing-card__header {
    margin-bottom: 2rem;
}

.pricing-card__header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card__header p {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.pricing-card__price {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.pricing-card__price .currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.pricing-card__price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
}

.pricing-card__price .period {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 500;
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    padding: 0;
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.pricing-card__features li svg {
    color: var(--color-green);
    flex-shrink: 0;
    margin-top: 3px;
}

.pricing-card__footer {
    margin-top: auto;
}

.pricing-card__footer .btn {
    width: 100%;
}

/* ─── 17. FOOTER ──────────────────────────────────────────── */
.footer {
    padding: 5rem 0 2rem;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand .navbar__logo {
    margin-bottom: 1rem;
}

.footer__brand p {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    display: grid;
    place-items: center;
    color: var(--color-muted);
    transition: var(--transition);
}

.footer__social svg {
    width: 16px;
    height: 16px;
}

.footer__social a:hover {
    color: var(--color-accent-light);
    border-color: rgba(124, 58, 237, 0.3);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.footer__col a,
.footer__col span {
    font-size: 0.85rem;
    color: var(--color-muted);
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--color-text);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* ─── 17. ANIMATIONS ──────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ─── 18. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .whyus-grid {
        grid-template-columns: 1fr;
    }

    .whyus__visual {
        order: -1;
    }

    .service-detail__grid,
    .service-detail--alt .service-detail__grid {
        grid-template-columns: 1fr;
    }

    .service-detail--alt .service-detail__visual {
        order: 0;
    }

    .service-detail--alt .service-detail__content {
        order: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar__links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .services-grid {
        flex-direction: column;
    }

    .services-grid .service-card {
        max-width: 100%;
    }

    .portfolio-teaser-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-section__grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .whyus__pillars {
        grid-template-columns: 1fr;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}