/* ------------------------------------------------------------------ */
/* AIForge Technologies — theme                                        */
/* Palette: deep ink, indigo accent, cyan secondary, gold CTA,        */
/*          soft slate paper. Inspired by the MathsClass reference but */
/*          re-keyed for an AI/tech brand.                             */
/* ------------------------------------------------------------------ */

:root {
    --ink: #0b1020;
    --ink-soft: #1f2540;
    --ink-muted: #5a6178;
    --ink-faint: #9aa1b5;

    --paper: #f8fafc;
    --paper-warm: #eef2ff;
    --paper-card: #ffffff;

    --accent: #4f46e5;          /* indigo-600 */
    --accent-strong: #4338ca;   /* indigo-700 */
    --accent-light: #e0e7ff;    /* indigo-100 */
    --accent-2: #06b6d4;        /* cyan-500 */
    --accent-2-light: #cffafe;  /* cyan-100 */

    --gold: #d4af37;
    --gold-soft: #f5e8b8;

    /* Premium navbar palette additions */
    --nav-bg:        rgba(255, 255, 255, 0.78);
    --nav-border:    rgba(15, 23, 42, 0.06);
    --nav-text:      #0f172a;
    --nav-muted:     #64748b;
    --nav-hover:     #1e1b4b;

    /* Indigo → violet gradient for the primary CTA */
    --cta-grad:      linear-gradient(135deg, #4f46e5 0%, #6366f1 45%, #7c3aed 100%);
    --cta-grad-hover:linear-gradient(135deg, #4338ca 0%, #5b54f0 45%, #6d28d9 100%);
    --cta-glow:      0 8px 24px -8px rgba(79, 70, 229, 0.55),
                     0 2px 6px rgba(79, 70, 229, 0.25),
                     inset 0 1px 0 rgba(255, 255, 255, 0.18);

    /* Easings & motion */
    --ease-out:      cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-spring:   cubic-bezier(0.22, 0.61, 0.36, 1);

    --danger: #dc2626;
    --danger-light: #fee2e2;

    --border: #e5e7eb;
    --border-soft: #f1f5f9;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Geist', 'Inter', system-ui, sans-serif;

    --max-width: 1200px;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ------------------------------------------------------------------ */
/* Reset                                                               */
/* ------------------------------------------------------------------ */

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

html { font-size: 16px; scroll-behavior: smooth; }

/* Offset anchored sections so they clear the sticky navbar. */
section[id],
.service-card[id] {
    scroll-margin-top: 96px;
}

/* Subtle flash on the section the user just jumped to. */
@keyframes anchor-flash {
    from { background-color: rgba(79, 70, 229, 0.08); }
    to   { background-color: transparent; }
}
section[id]:target,
.service-card[id]:target {
    animation: anchor-flash 1.6s ease-out;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ------------------------------------------------------------------ */
/* Navbar — premium AI/SaaS look, v2                                   */
/* ------------------------------------------------------------------ */

/* Glassmorphism shell -------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    /* Lighter glass so the page bleeds through subtly */
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: saturate(200%) blur(20px);
    -webkit-backdrop-filter: saturate(200%) blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    /* Hairline + soft float shadow, classic glassmorphism */
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 12px 36px -28px rgba(15, 23, 42, 0.18);
    /* Animated state for an even softer "scrolled" look */
    transition: background-color 240ms var(--ease-out),
                box-shadow      240ms var(--ease-out),
                border-color    240ms var(--ease-out);
}
.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.82);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 18px 48px -28px rgba(15, 23, 42, 0.22);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 84px;                                    /* 80–90px brief */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
    position: relative;
}

/* Logo lockup — typography-only wordmark -------------------------- */
.logo-section {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--nav-text);
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 12px;
    transition: background-color 200ms var(--ease-out),
                transform     200ms var(--ease-out);
}
.logo-section:hover { background-color: rgba(15, 23, 42, 0.04); }
.logo-section:active { transform: scale(0.985); }

.logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

/* Wordmark — AI in solid ink, Forge in gradient */
.logo-title {
    display: inline-flex;
    align-items: baseline;
    font-size: 22px;                    /* premium wordmark size */
    font-weight: 700;
    letter-spacing: -0.025em;
    font-feature-settings: "ss01" on;
    line-height: normal;
}

.logo-mark-ai {
    font-style: normal;
    font-weight: 800;
    margin-right: 3px;

    background: linear-gradient(
        180deg,
        #1e1c16 0%,
        #FFB300 20%,
        #FF6F00 45%,
        #F4511E 70%,
        #B71C1C 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;

    display: inline-block;
}

.logo-mark-forge {
    background: var(--cta-grad);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Micro-detail: "AI node" dot inside the O of Forge.
   Implemented as a pseudo-element on a wrapping <span class="mark-o">
   so we get a positioned anchor without markup hacks. */
/* .mark-o {
    position: relative;
    display: inline-block;
} */
/* .mark-o::after {
    content: "";
    position: absolute;
    top: 0.18em;
    right: 0.05em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cta-grad);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
} */

.logo-subtitle {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: #181c20;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Footer overrides — wordmark on dark background */
.footer-brand-block .logo-section:hover {
    background-color: rgba(255, 255, 255, 0.04);
}
.footer-brand-block .logo-mark-ai {
    color: #ffffff;
}
.footer-brand-block .logo-subtitle {
    color: #94a3b8;
}

/* Default: desktop identity is "AIForge" + small "TECHNOLOGIES"     */
/* Mobile-only identity tweak is handled in the @media block below   */

/* Collapsible area (menu + CTA) ----------------------------------- */
.nav-collapsible {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}

.nav-menu {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li { display: inline-flex; }

.nav-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;                /* pure pill, like Linear */
    color: var(--nav-muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.005em;
    text-decoration: none;
    transition: color     180ms var(--ease-out),
                background-color 180ms var(--ease-out),
                transform  180ms var(--ease-out);
}
.nav-menu a:hover {
    color: var(--nav-text);
    background-color: rgba(15, 23, 42, 0.05);
}
.nav-menu a:active { transform: scale(0.97); }

.nav-menu a.active,
.nav-menu a[aria-current="page"] {
    color: var(--accent-strong);
    background-color: var(--accent-light);
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.12);
}

/* Premium CTA button --------------------------------------------- */
/* .cta-btn {
    --cta-pad-y: 11px;
    --cta-pad-x: 20px;

    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: var(--cta-pad-y) var(--cta-pad-x);
    border-radius: 12px;
    background: var(--cta-grad);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--cta-glow);
    cursor: pointer;
    transition: transform 200ms var(--ease-out),
                box-shadow 200ms var(--ease-out),
                background 200ms var(--ease-out);
}
/* .cta-btn:hover {
    background: var(--cta-grad-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -10px rgba(79, 70, 229, 0.65),
                0 4px 10px rgba(79, 70, 229, 0.30),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
} */

/* .cta-btn:hover {
    background: var(--cta-grad-hover);
    transform: translateY(-1px);
    box-shadow:
        0 12px 30px -10px rgba(0, 0, 0, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cta-btn:active { transform: translateY(0); }
.cta-btn:focus-visible {
    outline: 2px solid #c7d2fe;
    outline-offset: 3px;
}

.cta-btn-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.20);
    animation: cta-pulse 2.6s ease-in-out infinite;
}
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.20); }
    50%      { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.06); }
}

.cta-btn-label { display: inline-block; }

.cta-btn-arrow {
    display: inline-block;
    transition: transform 220ms var(--ease-out);
}
.cta-btn:hover .cta-btn-arrow { transform: translateX(3px); }
 */ 

 /* ===========================================
   Premium Black CTA Button
=========================================== */

:root {
    --cta-grad: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
    --cta-grad-hover: linear-gradient(135deg, #2a2a2a 0%, #141414 100%);
    --cta-glow:
        0 10px 25px -10px rgba(0, 0, 0, 0.55),
        0 4px 10px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-btn {
    --cta-pad-y: 11px;
    --cta-pad-x: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: var(--cta-pad-y) var(--cta-pad-x);

    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background: var(--cta-grad);
    color: #ffffff;

    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;

    box-shadow: var(--cta-glow);
    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.cta-btn:hover {
    background: var(--cta-grad-hover);
    transform: translateY(-2px);

    border-color: rgba(255, 255, 255, 0.12);

    box-shadow:
        0 14px 34px -12px rgba(0, 0, 0, 0.65),
        0 6px 16px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-btn:active {
    transform: translateY(0);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.18);
    outline-offset: 3px;
}

/* Notification Dot */

.cta-btn-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;

    background: #D4AF37;

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.18);

    animation: cta-pulse 2.6s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.05);
    }
}

.cta-btn-label {
    display: inline-block;
}

.cta-btn-arrow {
    display: inline-block;
    transition: transform 220ms ease;
}

.cta-btn:hover .cta-btn-arrow {
    transform: translateX(4px);
}


/* Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .cta-btn,
    .cta-btn-arrow,
    .cta-btn-dot,
    .nav-menu a,
    .logo-section,
    .navbar { transition: none; animation: none; }
}

/* Hamburger (hidden on desktop) ----------------------------------- */
.nav-toggle {
    display: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 12px;
}
.nav-toggle-shell {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 200ms var(--ease-out),
                border-color   200ms var(--ease-out),
                transform      200ms var(--ease-out);
}
.nav-toggle:hover .nav-toggle-shell {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.14);
}
.nav-toggle:active .nav-toggle-shell { transform: scale(0.96); }
.nav-toggle:focus-visible .nav-toggle-shell {
    outline: 2px solid #c7d2fe;
    outline-offset: 2px;
}
.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--nav-text);
    border-radius: 2px;
    transition: transform 220ms var(--ease-out),
                opacity    160ms var(--ease-out);
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tablet: tighten spacing ---------------------------------------- */
@media (max-width: 1100px) {
    .nav-container { padding: 0 24px; gap: 16px; }
    .nav-menu a    { padding: 8px 12px; font-size: 14.5px; }
    .cta-btn       { padding: 10px 16px; font-size: 14px; }
}

/* Mobile drawer -------------------------------------------------- */
@media (max-width: 820px) {
    /* Make the mobile identity tag visible */
    .logo-subtitle--mobile { display: block; }

    /* Show hamburger on mobile */
    .nav-toggle { display: inline-flex; }

    /* Tighter, well-aligned mobile container */
    .nav-container {
        height: 68px;
        padding: 0 14px;
        gap: 0;
        display: grid;
        grid-template-columns: 1fr auto;          /* logo · toggle */
        align-items: center;
    }

    /* Collapsible drawer */
    .nav-collapsible {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        padding: 14px 16px 20px;
        gap: 14px;
        flex-direction: column;
        align-items: stretch;
        transform: translateY(-6px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms var(--ease-out),
                    transform 220ms var(--ease-out);
        box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.22);
    }
    body.nav-open .nav-collapsible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
    }
    .nav-menu a {
        padding: 14px 14px;
        font-size: 16px;
        justify-content: flex-start;
        border-radius: 12px;                      /* square pill on mobile */
    }
    .nav-menu a.active,
    .nav-menu a[aria-current="page"] {
        background-color: var(--accent-light);
        color: var(--accent-strong);
    }

    .cta-btn {
        justify-content: center;
        padding: 14px 18px;
        font-size: 15px;
        width: 100%;
        margin-top: 4px;
    }
}

/* Very small phones ---------------------------------------------- */
@media (max-width: 380px) {
    .logo-title   { font-size: 19px; }
    .logo-subtitle--mobile { font-size: 10px; letter-spacing: 0.2em; }
}

/* ------------------------------------------------------------------ */
/* Main                                                                */
/* ------------------------------------------------------------------ */

.main-content { min-height: calc(100vh - 84px - 120px); }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
    padding: 1rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.0rem, 4.3vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--ink-muted);
    line-height: 1.8;
    max-width: 550px;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/* Hero studio badge — "AI Engineering Studio" eyebrow                */
/* ------------------------------------------------------------------ */

.hero-studio {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 12px 22px;
    background: var(--paper-card);
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 999px;
    box-shadow:
        0 12px 32px -16px rgba(17, 17, 17, 0.18),
        0 2px 6px   rgba(17, 17, 17, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin: -1.5rem 0 1.75rem;
    transition: box-shadow 320ms var(--ease-out),
                border-color 320ms var(--ease-out);
    animation: hero-studio-in 700ms var(--ease-out) both;
    max-width: 100%;
}

.hero-studio:hover {
    border-color: rgba(255, 106, 0, 0.55);
    box-shadow:
        0 18px 44px -14px rgba(255, 106, 0, 0.28),
        0 4px 12px  rgba(17, 17, 17, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@keyframes hero-studio-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-studio { animation: none; }
}

/* --- Right-side content ------------------------------------------ */
.hero-studio-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.hero-studio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #FF6A00;
}

.hero-studio-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF6A00;
    box-shadow:
        0 0 0 3px rgba(255, 106, 0, 0.15),
        0 0 8px  rgba(255, 106, 0, 0.6);
}

.hero-studio-services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.hero-studio-service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    padding: 4px 10px;
    border-radius: 999px;
    background: transparent;
    transition: transform 240ms var(--ease-out),
                background-color 240ms var(--ease-out),
                color 240ms var(--ease-out);
    opacity: 0;
    animation: hero-studio-service-in 500ms var(--ease-out) forwards;
}

.hero-studio-service:nth-child(1) { animation-delay: 350ms; }
.hero-studio-service:nth-child(2) { animation-delay: 450ms; }
.hero-studio-service:nth-child(3) { animation-delay: 550ms; }
.hero-studio-service:nth-child(4) { animation-delay: 650ms; }

@keyframes hero-studio-service-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-studio-service {
        opacity: 1;
        animation: none;
    }
}

@media (hover: hover) {
    .hero-studio-service:hover {
        transform: translateY(-4px);
        background: rgba(255, 106, 0, 0.08);
        color: #111111;
    }
}

/* --- Mobile ------------------------------------------------------ */
@media (max-width: 768px) {
    .hero-studio {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
        border-radius: 22px;
    }

    .hero-studio-services {
        gap: 8px;
        width: 100%;
    }

    .hero-studio-service {
        font-size: 0.88rem;
    }
}

/* Hero highlights — clickable service cards --------------------- */
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    max-width: 680px;
}

.highlight-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: 12px;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 220ms var(--ease-out),
                background-color 220ms var(--ease-out),
                border-color 220ms var(--ease-out),
                color 220ms var(--ease-out),
                box-shadow 220ms var(--ease-out);
    will-change: transform;
}

/* .highlight-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background-color 220ms var(--ease-out),
                color 220ms var(--ease-out);
} */

.highlight-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;

    /* Premium black */
    background: linear-gradient(
        135deg,
        #2A2A2A 0%,
        #151515 45%,
        #000000 100%
    );

    /* Gold checkmark */
    color: #D4AF37;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 3px 10px rgba(0,0,0,.18);

    transition: all .25s ease;
}

.highlight-label {
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

/* @media (hover: hover) {
    .highlight-card:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 24px -10px rgba(79, 70, 229, 0.55),
                    0 4px 10px -6px rgba(79, 70, 229, 0.30);
    }
    .highlight-card:hover .highlight-icon {
        background: #ffffff;
        color: var(--accent-strong);
    }
}

.highlight-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.highlight-card:active {
    transform: translateY(0);
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    color: #ffffff;
}
.highlight-card:active .highlight-icon {
    background: #ffffff;
    color: var(--accent-strong);
}

.highlight-card:visited { color: var(--ink); }
.highlight-card:visited .highlight-icon { background: var(--accent); color: #ffffff; }

@media (prefers-reduced-motion: reduce) {
    .highlight-card,
    .highlight-icon { transition: none; }
    .highlight-card:hover,
    .highlight-card:active { transform: none; }
} */

/* ==========================================================
   Hero Highlight Cards - Premium Metallic Gold Interaction
========================================================== */

/* Hover (Desktop) ----------------------------------------- */
@media (hover: hover) {
    .highlight-card:hover {
        background: linear-gradient(
            135deg,
            #FFFDF4 0%,
            #F9EDB3 12%,
            #F0D878 25%,
            #D4AF37 45%,
            #C89B3C 60%,
            #B8860B 80%,
            #8B6B11 100%
        );

        border-color: #D4AF37;
        color: #111111;

        transform: translateY(-3px);

        box-shadow:
            0 16px 36px -14px rgba(212, 175, 55, 0.45),
            0 6px 16px rgba(212, 175, 55, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.55);

        transition: all 0.25s ease;
    }

    .highlight-card:hover .highlight-icon {
        background: #111111;
        color: #D4AF37;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.08),
            0 3px 10px rgba(0,0,0,.18);
    }
}

/* Keyboard Focus ------------------------------------------ */
.highlight-card:focus-visible {
    outline: none;

    background: linear-gradient(
        135deg,
        #FFFDF4 0%,
        #F9EDB3 12%,
        #F0D878 25%,
        #D4AF37 45%,
        #C89B3C 60%,
        #B8860B 80%,
        #8B6B11 100%
    );

    border-color: #D4AF37;
    color: #111111;

    box-shadow:
        0 16px 36px -14px rgba(212,175,55,.45),
        0 6px 16px rgba(212,175,55,.28),
        inset 0 1px 0 rgba(255,255,255,.55);
}

.highlight-card:focus-visible .highlight-icon {
    background: #111111;
    color: #D4AF37;
}

/* Active (Mobile Tap / Click) ----------------------------- */
.highlight-card:active {
    transform: scale(0.98);

    background: linear-gradient(
        135deg,
        #FFFDF4 0%,
        #F9EDB3 12%,
        #F0D878 25%,
        #D4AF37 45%,
        #C89B3C 60%,
        #B8860B 80%,
        #8B6B11 100%
    );

    border-color: #D4AF37;
    color: #111111;
}

.highlight-card:active .highlight-icon {
    background: #111111;
    color: #D4AF37;
}

/* Visited State ------------------------------------------- */
.highlight-card:visited {
    color: var(--ink);
}

.highlight-card:visited .highlight-icon {
    background: var(--accent);
    color: #ffffff;
}

/* Remove Mobile Blue Tap Highlight ------------------------ */
.highlight-card {
    -webkit-tap-highlight-color: transparent;
}

/* Reduced Motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .highlight-card,
    .highlight-icon {
        transition: none;
    }

    .highlight-card:hover,
    .highlight-card:active {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-highlights {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto 2.5rem;
    }
    .hero-actions { justify-content: center; }
    .hero-studio { margin: 0 auto 1.5rem; }
    /* On touch devices the hover block is suppressed; active already covers it */
}

/* ------------------------------------------------------------------ */
/* Hero visual (AI assistant mock card)                                */
/* ------------------------------------------------------------------ */

.hero-visual { display: flex; justify-content: center; align-items: center; }

.mock-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(11, 16, 32, 0.12);
    position: relative;
    overflow: hidden;
}

.mock-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.mock-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.mock-title { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.mock-status { font-size: 0.78rem; color: #16a34a; display: flex; align-items: center; gap: 6px; }
.mock-status::before {
    content: "";
    width: 6px; height: 6px;
    background: #16a34a; border-radius: 50%;
}

.mock-bubbles { display: flex; flex-direction: column; gap: 0.6rem; }
.mock-bubble {
    font-size: 0.85rem;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    line-height: 1.4;
    max-width: 85%;
}
.mock-bubble.user {
    background: var(--accent-light);
    color: var(--accent-strong);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.mock-bubble.ai {
    background: var(--paper);
    color: var(--ink);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-soft);
}

.mock-tags {
    display: flex;
    gap: 6px;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.mock-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-strong);
    background: var(--accent-light);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn-primary {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--ink-soft);
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    border: 1.5px solid var(--border);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Features / Services section                                         */
/* ------------------------------------------------------------------ */

.features {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
    border-top: 1px solid var(--border);
    padding: 2rem 2rem;
}

.features-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: inline-block;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.section-lead {
    color: var(--ink-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.service-card {
    display: block;
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 16, 32, 0.08);
    border-color: var(--accent);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-color: var(--accent);
}
.service-card:active { transform: translateY(-1px); }
.service-card:visited { color: inherit; }

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card::before { transition: none; }
    .service-card:hover,
    .service-card:active { transform: none; }
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 1.25rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.service-body {
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-points li {
    font-size: 0.85rem;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-points li::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.25rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Approach section                                                    */
/* ------------------------------------------------------------------ */

.approach-section { padding: 5rem 2rem; background: #ffffff; }
.approach-inner { max-width: 1100px; margin: 0 auto; }

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

.approach-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.approach-point-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 10px;
}

.approach-point-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.approach-point-body {
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 900px) { .approach-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .approach-points { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Stats / Trust section                                               */
/* ------------------------------------------------------------------ */

.stats-section {
    background: var(--ink);
    color: #ffffff;
    padding: 4rem 2rem;
}
.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat {
    text-align: center;
    padding: 1rem;
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(120deg, #ffffff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 500;
}
@media (max-width: 768px) { .stats-inner { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ */
/* CTA banner (pre-footer)                                             */
/* ------------------------------------------------------------------ */

.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #ffffff;
    padding: 64px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}
.cta-banner-inner { max-width: 720px; margin: 0 auto; position: relative; }
.cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #ffffff;
}
.cta-banner-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin: 0 0 32px 0;
    opacity: 0.95;
}
.cta-banner-btn {
    display: inline-block;
    background: #ffffff;
    color: var(--accent-strong);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.cta-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer {
    background: #050817;
    color: #cbd5e1;
    padding: 3rem 2rem 1.5rem;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1f2540;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: #94a3b8; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-brand-block { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-tagline { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-bottom {
    max-width: var(--max-width);
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Floating WhatsApp button                                            */
/* ------------------------------------------------------------------ */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1100;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.whatsapp-float .fa { line-height: 1; }

/* ------------------------------------------------------------------ */
/* Forms (auth + contact)                                              */
/* ------------------------------------------------------------------ */

.auth-section, .contact-section {
    min-height: calc(100vh - 82px - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.auth-container, .contact-container { width: 100%; max-width: 520px; }

.auth-header, .contact-header { text-align: center; margin-bottom: 2rem; }
.auth-title, .contact-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.auth-subtitle, .contact-subtitle { font-size: 0.95rem; color: var(--ink-muted); }

.auth-card, .contact-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(11, 16, 32, 0.05);
}

.flash {
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.flash.success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.flash.error   { background: var(--danger-light); color: var(--danger); border: 1px solid #fecaca; }
.flash.info    { background: var(--accent-light); color: var(--accent-strong); border: 1px solid #c7d2fe; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-faint); }

.form-textarea { min-height: 120px; resize: vertical; font-family: inherit; }

.form-error {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 0.3rem;
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--ink);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--accent); transform: translateY(-1px); }

.auth-switch, .contact-foot {
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin-top: 1rem;
}
.auth-switch a, .contact-foot a { color: var(--accent); font-weight: 500; }
.auth-switch a:hover, .contact-foot a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* About / generic content                                             */
/* ------------------------------------------------------------------ */

.content-section { padding: 5rem 2rem; }
.content-inner { max-width: 1100px; margin: 0 auto; }

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}
.about-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
}
.about-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
}
.about-card-body { color: var(--ink-muted); line-height: 1.7; font-size: 0.95rem; }

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

.value-strip {
    background: var(--ink);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.value-cell h3 {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}
.value-cell p { color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 768px) { .value-strip { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Thank you                                                           */
/* ------------------------------------------------------------------ */

.thanks-section {
    min-height: calc(100vh - 82px - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}
.thanks-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;

    /* Green gradient */
    background: linear-gradient(
        135deg,
        #34D399 0%,
        #22C55E 45%,
        #15803D 100%
    );

    color: #ffffff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 36px;
    margin-bottom: 1.5rem;

    box-shadow:
        0 12px 30px rgba(34, 197, 94, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);
}
.thanks-title { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); margin-bottom: 0.75rem; }
.thanks-lead { color: var(--ink-muted); max-width: 480px; margin: 0 auto 2rem; font-size: 1.05rem; line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* Mobile nav toggle                                                   */
/* ------------------------------------------------------------------ */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: inherit;
}
.nav-toggle:hover { background: rgba(0, 0, 0, 0.05); }
.nav-toggle:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-collapsible {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 12px 16px 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        border-top: 1px solid var(--border);
        flex-direction: column;
        gap: 4px;
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        z-index: 1000;
    }
    .nav-collapsible.open { display: flex; }
    .nav-menu { flex-direction: column; width: 100%; gap: 0; align-items: stretch; }
    .nav-menu > li { width: 100%; }
    .nav-menu a {
        display: flex;
        width: 100%;
        padding: 14px 8px;
        min-height: 48px;
        font-size: 16px;
        align-items: center;
        justify-content: flex-start;
    }
    .cta-btn { display: flex; width: 100%; justify-content: center; margin-top: 12px; padding: 14px; font-size: 16px; }
    body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ */
/* Generic responsive                                                  */
/* ------------------------------------------------------------------ */

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 480px) {
    .hero { padding: 3rem 1rem 2rem; }
    .nav-container { padding: 0 16px; }
    .logo-title { font-size: 18px; }
    .logo-subtitle { display: block; }
}

img, video, iframe { max-width: 100%; height: auto; }
html, body { overflow-x: hidden; max-width: 100%; }


