/* ============================================================
   SmartSYNX — Main Stylesheet
   Theme: Dark tech / premium corporate
   Accent: #ff6f00 (SmartSYNX Orange)
   Fonts: Outfit (primary) + Libre Baskerville (display accents)
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --bg:           #0a0a0c;
    --bg-2:         #0f0f12;
    --bg-3:         #18181d;
    --bg-card:      #131317;

    --border:       rgba(255,255,255,0.07);
    --border-hover: rgba(255, 111, 0, 0.35);

    --accent:       #ff6f00;
    --accent-dim:   rgba(255, 111, 0, 0.12);
    --accent-glow:  rgba(255, 111, 0, 0.25);

    --text:         #eaeaf0;
    --text-muted:   #72728a;
    --text-faint:   #32323f;

    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Libre Baskerville', serif;

    --radius:       8px;
    --radius-lg:    16px;
    --shadow:       0 4px 24px rgba(0,0,0,0.45);
    --shadow-lg:    0 12px 48px rgba(0,0,0,0.6);

    --nav-h:        68px;

    --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    /* starts transparent over hero, darkens on scroll */
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 32px rgba(0,0,0,0.5);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.logo-image {
    height: 20px;
    width: auto;
    display: block;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
}

.nav-link {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(234, 234, 240, 0.7);
    letter-spacing: 0.01em;
    transition: color var(--transition), background var(--transition);
}

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

.nav-link.active {
    color: var(--accent);
    background: var(--accent-dim);
}

.nav-dashboard {
    border: 1px solid var(--border);
    margin-left: 0.35rem;
}

.nav-dashboard:hover {
    border-color: var(--border-hover);
    background: var(--accent-dim);
    color: var(--accent);
}

/* Desktop CTA button */
.btn-nav-cta {
    flex-shrink: 0;
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: #000;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-nav-cta:hover {
    background: #ff8c2a;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px var(--accent-glow);
}


/* Hamburger (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}

/* Animated X state */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    background: var(--accent);
    color: #000;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #ff8c2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary.btn-large {
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
    transform: translateY(-2px);
}


/* ============================================================
   HERO — WebGL canvas + content overlay
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050505; /* fallback while canvas loads */
}

/* Canvas fills the full hero section */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

/* Content sits above the canvas */
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 5rem) 2rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* left-aligned on desktop, centered on mobile */
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 111, 0, 0.08);
    border: 1px solid rgba(255,111,0,0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    width: fit-content;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    animation: dot-blink 2s ease-in-out infinite;
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.hero-headline {
    font-family: var(--font-primary);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--text);
    max-width: 680px;
}

.headline-accent {
    color: var(--accent);
    background: linear-gradient(135deg, #ff6f00, #ffaa44);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* Brand strip */
.brand-strip {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    max-width: 520px;
}

.brand-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(234,234,240,0.3);
    font-weight: 500;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.brand-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.28rem 0.7rem;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 100px;
    color: rgba(234,234,240,0.45);
    letter-spacing: 0.02em;
    transition: border-color var(--transition), color var(--transition);
    cursor: default;
}

.brand-tag:hover {
    border-color: rgba(255,111,0,0.35);
    color: rgba(255,111,0,0.8);
}

/* Hero stats panel (desktop only) */
.hero-panel {
    position: absolute;
    right: max(2rem, calc((100vw - 1240px) / 2));
    top: 35%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    z-index: 1;
}

.serve-card {
    background: rgba(19, 19, 23, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.75rem;
    min-width: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.serve-card:hover {
    border-color: rgba(255,111,0,0.5);
    box-shadow: 0 0 15px rgba(255,111,0,0.25), inset 0 0 15px rgba(255,111,0,0.05);
    transform: translateX(-4px);
}

.serve-label {
    font-size: 0.95rem;
    color: rgba(234,234,240,0.7);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.panel-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 200, 100, 0.07);
    border: 1px solid rgba(0,200,100,0.18);
    color: #00c864;
    font-size: 0.73rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 100px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #00c864;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-dot.pulse {
    animation: pulse-ring 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(0, 200, 100, 0.4);
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(0,200,100,0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(0,200,100,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,200,100,0); }
}


/* ============================================================
   PAGE BODY (below hero — solid background)
   ============================================================ */
.page-body {
    position: relative;
    background: var(--bg);
    z-index: 1;
}


/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
    padding: 6rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ============================================================
   SERVICES PREVIEW GRID
   ============================================================ */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
}

.preview-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.preview-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.preview-card.featured {
    border-color: rgba(255,111,0,0.28);
    background: linear-gradient(145deg, rgba(255,111,0,0.05), var(--bg-card));
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(255,111,0,0.22);
    padding: 0.22rem 0.6rem;
    border-radius: 100px;
}

.card-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-dim);
    border: 1px solid rgba(255,111,0,0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 21px;
    height: 21px;
    color: var(--accent);
}

.preview-card h3 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.preview-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.card-link {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity var(--transition);
}

.card-link:hover { opacity: 0.75; }

.section-cta {
    text-align: center;
    margin-top: 3rem;
}


/* ============================================================
   WHY SMARTSYNX
   ============================================================ */
.why-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.why-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-text .section-tag,
.why-text .section-title { text-align: left; }

.why-text p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.975rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.925rem;
    color: var(--text-muted);
}

.why-icon {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
    background: var(--accent-dim);
    border: 1px solid rgba(255,111,0,0.18);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tech grid diagram */
.why-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-grid {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tech-node {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.55rem 0.85rem;
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    color: var(--text);
    line-height: 1.3;
    transition: border-color var(--transition), transform var(--transition);
}

.tech-node small {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
}

.tech-node:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.node-1 { top: 5%;  left: 5%; }
.node-2 { top: 5%;  right: 5%; }
.node-3 { bottom: 5%; left: 5%; }
.node-4 { bottom: 5%; right: 5%; }

.tech-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    color: #000;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    white-space: nowrap;
    box-shadow: 0 0 28px var(--accent-glow);
    z-index: 1;
}


/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 2rem;
}

.cta-strip-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-strip h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
}

.cta-strip p {
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-size: 0.975rem;
}


/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
    padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.7;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 4.5rem 2rem 0;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-logo-link {
    display: inline-flex;
    width: fit-content;
    transition: opacity var(--transition);
}

.footer-logo-link:hover { opacity: 0.8; }

.footer-logo-image {
    height: 20px;
    width: auto;
    display: block;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-top: 0.1rem;
}

.footer-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 260px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links h4 {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    margin-bottom: 0.3rem;
}

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

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom span {
    font-size: 0.78rem;
    color: var(--text-faint);
}

.footer-accent {
    color: var(--accent) !important;
    font-weight: 500;
    font-size: 0.72rem !important;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}


/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-section {
    max-width: 400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.login-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.login-form { display: flex; flex-direction: column; gap: 1.5rem; }

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

.login-form .form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.login-form .form-group input {
    background: #1a1a1f;
    border: 2px solid #ff6f00;
    border-radius: var(--radius);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.login-form .form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.login-form .form-group input::placeholder { color: var(--text-faint); }

.login-form .btn-primary {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    justify-content: center;
}


/* ============================================================
   ERROR PAGES
   ============================================================ */
.error-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.error-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
}

.error-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-left"]  { transform: translateX(28px); }
[data-animate="fade-right"] { transform: translateX(-28px); }

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* ============================================================
   RESPONSIVE — Tablet (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
    .hero-panel { display: none; }
}


/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    .why-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-visual { display: none; }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-desc { max-width: 100%; }
}


/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    /* Hide desktop CTA button */
    .btn-nav-cta { display: none; }

    /* Hamburger visible */
    .hamburger { display: flex; }

    /* Nav drawer */
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(10, 10, 12, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 1.5rem;
        gap: 0.2rem;
        z-index: 199;
    }

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

    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.975rem;
        border-radius: var(--radius);
        color: var(--text);
    }


    /* Hero content centered on mobile */
    .hero-content {
        padding: calc(var(--nav-h) + 4rem) 1.5rem 4rem;
        align-items: center;
        text-align: center;
    }

    .hero-headline { max-width: 100%; }
    .hero-sub { max-width: 100%; }
    .hero-eyebrow { align-self: center; }
    .hero-actions { justify-content: center; }
    .brand-strip { align-items: center; max-width: 100%; }
    .brand-logos { justify-content: center; }

    /* CTA strip */
    .cta-strip-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-brand { grid-column: auto; }

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


/* ============================================================
   RESPONSIVE — Small mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }

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

    .section { padding: 4rem 1.25rem; }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
/* ============================================================
   AUDIENCE PATHWAYS (Homepage)
   ============================================================ */
.audience-section {
    padding-top: 4rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.audience-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

.audience-card h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.audience-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
}

.audience-highlights li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.audience-highlights li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}


/* ============================================================
   AREAS WE SERVE (Homepage)
   ============================================================ */
.areas-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.area-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color var(--transition);
}

.area-group:hover { border-color: var(--border-hover); }

.area-group h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.area-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.area-group li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.area-group li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .eyebrow-dot { animation: none; }
    .badge-dot.pulse { animation: none; }
}
