/* =========================================================
   Zazz — Agency Site Style
   Pure HTML/CSS/JS · easy to edit manually
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
    /* Brand — Zazz palette: orange / black / white */
    --olive:        #ff4400;  /* primary brand */
    --olive-deep:   #cc3700;  /* hover / active */
    --olive-soft:   #ff6633;  /* soft variant */
    --sage:         #555555;  /* neutral gray detail */
    --lime:         #ff4400;  /* accent on dark = same orange */
    --lime-soft:    #ffeae0;  /* light orange tint */

    /* Surfaces */
    --ink:          #111111;  /* near-black for dark sections */
    --ink-1:        #1a1a1a;
    --ink-2:        #222222;
    --paper:        #ffffff;  /* clean white */
    --paper-2:      #f5f5f5;
    --white:        #ffffff;
    --line:         rgba(17, 17, 17, 0.10);
    --line-dark:    rgba(255, 255, 255, 0.10);

    /* Text */
    --text-dark:    #111111;
    --text-soft:    rgba(17, 17, 17, 0.66);
    --text-mute:    rgba(17, 17, 17, 0.46);
    --text-light:   #ffffff;
    --text-light-soft: rgba(255, 255, 255, 0.72);
    --text-light-mute: rgba(255, 255, 255, 0.48);

    /* Type — DM Sans (base, varying weight) + Instrument Serif italic (accent) */
    --f-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
    --f-sans:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --f-mono:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Motion */
    --ease:      cubic-bezier(.22, .8, .26, 1);
    --ease-out:  cubic-bezier(.16, 1, .3, 1);

    /* Radii */
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --r-pill: 999px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body { margin: 0; padding: 0; height: 100%; }

body {
    font-family: var(--f-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-dark);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--olive); color: #fff; }

/* ---------- 3. CONTAINERS / SCROLL ---------- */
.container {
    width: 100%;
    max-width: 1280px;
    padding: 0 clamp(20px, 4vw, 48px);
    margin: 0 auto;
}

.scroller {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroller::-webkit-scrollbar { width: 0; }
.scroller { scrollbar-width: none; }

.section {
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(80px, 10vh, 140px) 0 clamp(60px, 8vh, 100px);
    overflow: hidden;
}

.section[data-theme="dark"]  { background: var(--ink); color: var(--text-light); }
.section[data-theme="light"] { background: var(--paper); color: var(--text-dark); }

/* ---------- 4. TYPE ---------- */
.display {
    font-family: var(--f-sans);
    font-weight: 500;
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 40;
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
    color: inherit;
}
.display em {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--olive);
}
.section[data-theme="dark"] .display em { color: var(--lime); }

.display.center { text-align: center; }
.display.giant  { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }

.hero-title {
    font-family: var(--f-sans);
    font-weight: 500;
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 40;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 24px 0 48px;
    color: var(--text-light);
}
.hero-title span { display: block; }
.hero-title em {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--lime);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-soft);
    margin-bottom: 28px;
}
.section[data-theme="dark"] .section-tag { color: var(--text-light-soft); }
.tag-line {
    display: block;
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.section-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 60ch;
    margin: 24px 0 0;
}
.section[data-theme="dark"] .section-lead { color: var(--text-light-soft); }
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head { text-align: center; margin-bottom: clamp(48px, 7vh, 88px); }
.section-head .section-tag { justify-content: center; }

/* ---------- 5. BUTTONS ---------- */
.btn {
    --bg: var(--olive);
    --fg: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    background: var(--bg);
    color: var(--fg);
    border-radius: var(--r-pill);
    font-family: var(--f-sans);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: transform .4s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .4s var(--ease);
    will-change: transform;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -18px rgba(255, 68, 0, 0.55);
}
.btn:active { transform: translateY(0); }

.btn-primary {
    --bg: var(--olive);
    --fg: #fff;
    box-shadow: 0 10px 30px -12px rgba(255, 68, 0, 0.45);
}
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
    --bg: transparent;
    --fg: var(--text-dark);
    border: 1px solid var(--line);
}
.section[data-theme="dark"] .btn-ghost {
    --fg: var(--text-light);
    border-color: var(--line-dark);
}
.btn-ghost:hover {
    --bg: var(--text-dark);
    --fg: #fff;
    box-shadow: none;
}
.section[data-theme="dark"] .btn-ghost:hover {
    --bg: #fff;
    --fg: var(--text-dark);
}
.btn-small  { padding: 11px 18px; font-size: 13px; }
.btn-lg     { padding: 19px 32px; font-size: 15px; }
.btn-magnet { will-change: transform; }

/* Soft orange glow halo — layered on top of any other shadow */
.btn-glow {
    box-shadow:
        0 12px 32px -10px rgba(255, 68, 0, 0.55),
        0 0 48px -8px rgba(255, 68, 0, 0.28);
}
.btn-glow:hover {
    box-shadow:
        0 18px 40px -10px rgba(255, 68, 0, 0.65),
        0 0 64px -8px rgba(255, 68, 0, 0.38);
}

/* ---------- 6. PRELOADER ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ink);
    display: grid;
    place-items: center;
    transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.preloader-logo {
    width: 180px;
    opacity: 0;
    animation: pulseIn .6s var(--ease) forwards;
}
.preloader-bar {
    width: 180px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}
.preloader-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--olive), var(--lime));
    animation: loadBar 1.4s var(--ease) forwards;
}
@keyframes pulseIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes loadBar {
    to { width: 100%; }
}

/* ---------- 7. NAV ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 22px 0;
    transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    padding: 14px 0;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--line-dark);
}
.nav.light.scrolled {
    background: rgba(246, 244, 236, 0.75);
    border-bottom-color: var(--line);
}

.nav-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nav-logo img {
    height: 28px;
    width: auto;
    transition: opacity .3s var(--ease);
}
.nav.light .nav-logo img { content: url("../images/zazz-logo-dark.svg"); }

.nav-menu ul {
    display: flex;
    gap: clamp(20px, 2.4vw, 40px);
}
.nav-menu a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-light-soft);
    transition: color .25s var(--ease);
    position: relative;
}
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.nav-menu a:hover { color: var(--text-light); }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav.light .nav-menu a { color: var(--text-soft); }
.nav.light .nav-menu a:hover { color: var(--text-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
    display: none;
    width: 38px; height: 38px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 20px; height: 1.5px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    margin: 0 auto;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- 8. SECTION DOTS ---------- */
.section-dots {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 14px;
    pointer-events: auto;
}
.section-dots .dot {
    width: 22px; height: 22px;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.section-dots .dot span {
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.3;
    transition: all .35s var(--ease);
}
.section-dots .dot:hover span { opacity: 0.7; transform: scale(1.2); }
.section-dots .dot.active span {
    width: 8px; height: 8px;
    opacity: 1;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(255, 68, 0, 0.18);
}
.section-dots.on-light .dot span { color: var(--text-dark); }
.section-dots.on-light .dot.active span { background: var(--olive); box-shadow: 0 0 0 4px rgba(255, 68, 0, 0.15); }

/* ---------- 9. CURSOR ---------- */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--lime);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9000;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), opacity .3s;
    mix-blend-mode: difference;
    opacity: 0;
}
.cursor-dot.visible { opacity: 1; }
.cursor-dot.hover { width: 36px; height: 36px; background: var(--lime); }
@media (hover: none), (max-width: 768px) {
    .cursor-dot { display: none; }
}

/* ---------- 10. BLOBS / GRAIN ---------- */
.blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.blob {
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
}
.blob-1 { background: radial-gradient(circle at 50% 50%, #ff4400 0%, transparent 60%); top: -20%; left: -15%; animation: blobFloat 18s ease-in-out infinite alternate; }
.blob-2 { background: radial-gradient(circle at 50% 50%, #ff6633 0%, transparent 60%); bottom: -25%; right: -10%; width: 50vmax; height: 50vmax; opacity: 0.32; animation: blobFloat2 22s ease-in-out infinite alternate; }
.blob-3 { background: radial-gradient(circle at 50% 50%, #444444 0%, transparent 60%); top: 30%; right: 20%; width: 30vmax; height: 30vmax; opacity: 0.4; animation: blobFloat3 16s ease-in-out infinite alternate; }
.blob-4 { background: radial-gradient(circle at 50% 50%, #ff6633 0%, transparent 60%); top: -30%; right: -10%; width: 55vmax; height: 55vmax; opacity: 0.25; animation: blobFloat 20s ease-in-out infinite alternate; }
.blob-5 { background: radial-gradient(circle at 50% 50%, #ff4400 0%, transparent 60%); bottom: -30%; left: -10%; width: 60vmax; height: 60vmax; opacity: 0.5; animation: blobFloat2 24s ease-in-out infinite alternate; }
.blob-6 { background: radial-gradient(circle at 50% 50%, #444444 0%, transparent 60%); bottom: 10%; left: 30%; width: 50vmax; height: 50vmax; opacity: 0.35; animation: blobFloat3 20s ease-in-out infinite alternate; }
.blob-9 { background: radial-gradient(circle at 50% 50%, #ff4400 0%, transparent 60%); top: -25%; right: -10%; width: 55vmax; height: 55vmax; opacity: 0.42; animation: blobFloat 20s ease-in-out infinite alternate; }
.blob-10 { background: radial-gradient(circle at 50% 50%, #ff6633 0%, transparent 60%); bottom: -30%; left: -5%; width: 50vmax; height: 50vmax; opacity: 0.28; animation: blobFloat2 24s ease-in-out infinite alternate; }
.blob-11 { background: radial-gradient(circle at 50% 50%, #ff4400 0%, transparent 60%); top: -15%; left: -10%; width: 50vmax; height: 50vmax; opacity: 0.38; animation: blobFloat3 22s ease-in-out infinite alternate; }
.blob-12 { background: radial-gradient(circle at 50% 50%, #ff6633 0%, transparent 60%); bottom: -25%; right: -5%; width: 55vmax; height: 55vmax; opacity: 0.28; animation: blobFloat 20s ease-in-out infinite alternate; }
.blob-13 { background: radial-gradient(circle at 50% 50%, #ff4400 0%, transparent 60%); top: -20%; left: -10%; width: 55vmax; height: 55vmax; opacity: 0.4; animation: blobFloat2 22s ease-in-out infinite alternate; }
.blob-14 { background: radial-gradient(circle at 50% 50%, #ff6633 0%, transparent 60%); bottom: -25%; right: -10%; width: 50vmax; height: 50vmax; opacity: 0.28; animation: blobFloat3 18s ease-in-out infinite alternate; }

@keyframes blobFloat {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(6%, -4%) scale(1.05); }
    100% { transform: translate(-3%, 5%) scale(0.97); }
}
@keyframes blobFloat2 {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(-5%, 4%) scale(1.08); }
    100% { transform: translate(4%, -3%) scale(0.95); }
}
@keyframes blobFloat3 {
    0%   { transform: translate(0,0) scale(1) rotate(0deg); }
    50%  { transform: translate(3%, 3%) scale(1.06) rotate(2deg); }
    100% { transform: translate(-2%, -4%) scale(0.96) rotate(-2deg); }
}

.grain {
    position: absolute;
    inset: -50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.06;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* ---------- 11. HERO ---------- */
.section-hero { padding-top: clamp(110px, 14vh, 160px); }

.section.section-hero {
    background-color: var(--ink);
}
/* Soft orange blur in the bottom-right — masks the Gemini watermark on the
   source video while reading as ambient brand lighting. Desktop only. */
.section.section-hero::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 32vmax;
    height: 32vmax;
    background: radial-gradient(
        circle at 65% 65%,
        rgba(255, 68, 0, 0.75) 0%,
        rgba(255, 68, 0, 0.4) 30%,
        rgba(255, 68, 0, 0.15) 55%,
        transparent 75%
    );
    filter: blur(50px);
    pointer-events: none;
    z-index: 2;
}
@media (max-width: 768px) {
    .section.section-hero::after { display: none; }
}
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.94));
    z-index: 1;
    pointer-events: none;
}
/* Lift blobs above the overlay so the orange ambient still tints the scene */
.section-hero .blobs { z-index: 2; }
.section-hero .hero-grid,
.section-hero .hero-bottom { z-index: 3; }

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(32px, 5vw, 70px);
    align-items: center;
}

.hero-copy { max-width: 640px; }

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 68, 0, 0.22); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 68, 0, 0.08); }
}

.hero-sub {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-light-soft);
    margin: 0 0 36px;
    max-width: 52ch;
}
.hero-sub strong {
    color: var(--text-light);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

/* --- Hero visual / phone --- */
.hero-visual {
    position: relative;
    height: clamp(480px, 64vh, 720px);
    display: grid;
    place-items: center;
}
.phone-stage {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 0.5;
    max-height: 100%;
    display: grid;
    place-items: center;
    will-change: transform;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.phone-glow {
    position: absolute;
    inset: 8%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 68, 0, 0.45), transparent 65%);
    filter: blur(60px);
    z-index: 1;
    animation: glow 4s ease-in-out infinite alternate;
}

/* --- Agent control card --- */
.agent-card {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    border-radius: var(--r-lg);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 12px 24px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: floatY 6s ease-in-out infinite;
    will-change: transform;
}
.agent-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(255, 68, 0, 0.14), transparent 55%);
    pointer-events: none;
}

.agent-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line-dark);
}
.agent-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-light);
}
.agent-live-dot {
    width: 6px; height: 6px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 68, 0, 0.22);
    animation: pulseDot 1.8s ease-in-out infinite;
}
.agent-card-time {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-light-mute);
}

.agent-kpis {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.agent-kpi {
    flex: 1;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border-bottom: 1px solid var(--line-dark);
}
.agent-kpi:last-child { border-bottom: 0; }

.agent-kpi-label {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light-mute);
}
.agent-kpi-value {
    font-family: var(--f-sans);
    font-weight: 500;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    letter-spacing: -0.04em;
    color: var(--lime);
    line-height: 1;
    margin-top: 2px;
}
.agent-kpi-delta {
    font-family: var(--f-mono);
    font-size: 10.5px;
    color: var(--text-light-mute);
    letter-spacing: 0.04em;
}

.agent-card-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--line-dark);
}
.agent-foot-label {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-light-soft);
}
.agent-dots {
    display: inline-flex;
    gap: 6px;
}
.agent-dots .agent-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--lime);
}
.agent-dots .agent-dot:nth-child(1) { animation: dotPulse 1.6s ease-in-out 0s infinite; }
.agent-dots .agent-dot:nth-child(2) { animation: dotPulse 1.6s ease-in-out 0.4s infinite; }
.agent-dots .agent-dot:nth-child(3) { animation: dotPulse 1.6s ease-in-out 0.8s infinite; }
@keyframes dotPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50%      { opacity: 1; transform: scale(1.1); }
}
@keyframes glow {
    from { opacity: 0.7; transform: scale(1); }
    to   { opacity: 1;   transform: scale(1.08); }
}

.float-pill {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--r-pill);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
    will-change: transform;
    animation: pillFloat 5s ease-in-out infinite;
}
.float-pill svg { color: var(--lime); flex-shrink: 0; }
.float-pill-1 { top: 6%;   left: -22%; animation-delay: 0s; }
.float-pill-2 { top: 44%;  right: -26%; animation-delay: 1.2s; }
.float-pill-3 { bottom: 10%; left: -14%; animation-delay: 2.4s; }
@keyframes pillFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* --- Hero bottom --- */
.hero-bottom {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding-bottom: 24px;
}
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-light-mute);
    width: max-content;
    margin: 0 auto;
}
.scroll-indicator svg { animation: bounceY 1.8s ease-in-out infinite; }
@keyframes bounceY {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%      { transform: translateY(6px); opacity: 1; }
}

/* ---------- 11.5 DIFFERENTIAL (stats + diff cards) ---------- */
.section-differential {
    padding: clamp(80px, 11vh, 140px) 0;
}

.stats-banner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: clamp(40px, 6vh, 72px);
    padding: 36px 0;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.stat-big {
    padding: 16px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    border-right: 1px solid var(--line-dark);
}
.stat-big:last-child { border-right: 0; }
.stat-big-n {
    font-family: var(--f-sans);
    font-weight: 500;
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    letter-spacing: -0.04em;
    color: var(--lime);
    line-height: 1;
}
.stat-big-l {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-light-soft);
    max-width: 26ch;
}
.stat-big-s {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-light-mute);
}

.diff-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.diff-card {
    padding: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-dark);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .5s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.diff-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}
.diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 68, 0, 0.12);
    color: var(--lime);
    display: grid;
    place-items: center;
    margin-bottom: 6px;
}
.diff-card h3 {
    font-family: var(--f-sans);
    font-weight: 500;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0;
    color: var(--text-light);
}
.diff-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-light-soft);
}

/* ---------- 12. PULSE DOT (used by footer status) ---------- */
.dot-pulse {
    width: 6px; height: 6px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 68, 0, 0.3);
    animation: pulseDot 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

/* ---------- 12.5 MODELS (two tracks) ---------- */
.section.section-manifesto {
    background-color: #faf9f6;  /* warm off-white to break the flat white */
}
.section.section-manifesto::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: center;
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}
.section.section-manifesto > .container {
    position: relative;
    z-index: 1;
}

.models-intro {
    max-width: 640px;
    margin: 0 auto clamp(48px, 7vh, 80px);
    text-align: center;
}
.models-intro .section-tag { justify-content: center; }
.models-intro .section-lead { margin-left: auto; margin-right: auto; }

.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.track {
    position: relative;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px -40px rgba(17, 17, 17, 0.15);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .35s var(--ease);
}
.track:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 80px -30px rgba(17, 17, 17, 0.2);
    border-color: rgba(255, 68, 0, 0.25);
}

/* Top accent line + soft radial in a corner — mirrored between the two cards
   so the pair feels like a matched set without coloring them differently. */
.track::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), transparent 75%);
    z-index: 2;
}
.track::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 68, 0, 0.06), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.track > * { position: relative; z-index: 1; }
.track:nth-child(2)::before {
    background: linear-gradient(90deg, transparent 25%, var(--olive));
}
.track:nth-child(2)::after {
    background: radial-gradient(ellipse at top left, rgba(255, 68, 0, 0.06), transparent 55%);
}

.track-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.track-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 68, 0, 0.1);
    color: var(--olive);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.track-eyebrow {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.2;
}
.track-eyebrow > span {
    font-family: var(--f-mono);
    text-transform: uppercase;
}
.track-eyebrow > span:first-child {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-mute);
}
.track-eyebrow > span:last-child {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--olive);
}

.track h3 {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
    color: var(--text-dark);
}

.track > p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-soft);
    margin: 0;
}

.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}
.ttag {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(255, 68, 0, 0.08);
    color: var(--olive);
    border: 1px solid rgba(255, 68, 0, 0.2);
}

.track-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.track-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-soft);
}
.track-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 68, 0, 0.1);
    color: var(--olive);
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    margin-top: 1px;
}

.track-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--olive);
    transition: gap .25s var(--ease);
    align-self: flex-start;
}
.track-link:hover {
    gap: 14px;
}

/* ---------- 13. FEATURES ---------- */
.section-features { padding-top: clamp(80px, 11vh, 130px); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature {
    grid-column: span 1;
    padding: 36px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-dark);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .5s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 68, 0,0.06), transparent 50%);
    opacity: 0;
    transition: opacity .5s var(--ease);
}
.feature:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}
.feature:hover::before { opacity: 1; }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 68, 0, 0.1);
    color: var(--lime);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}
.feature-cat {
    display: block;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--lime);
    margin-bottom: 8px;
}
.feature h3 {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--text-light);
    line-height: 1.25;
}
.feature h3 em {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    color: var(--lime);
}
.feature p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-light-soft);
    max-width: 38ch;
}
/* ---------- 14. IMPLEMENTAÇÃO DE IA (agent cards) ---------- */
.section.section-implementacao {
    background-color: #faf9f6;
}
.section.section-implementacao::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center;
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}
.section.section-implementacao > .container {
    position: relative;
    z-index: 1;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.agent-svc {
    position: relative;
    padding: 32px 32px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px -30px rgba(17, 17, 17, 0.14);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .35s var(--ease);
}
.agent-svc:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -25px rgba(255, 68, 0, 0.22);
    border-color: rgba(255, 68, 0, 0.3);
}

/* Same orange accent system used in Models tracks — top line + corner radial.
   Radial sits under the agent-badge (top-right), giving the number a subtle halo. */
.agent-svc::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), transparent 75%);
    z-index: 2;
}
.agent-svc::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 68, 0, 0.07), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.agent-svc > * { position: relative; z-index: 1; }

.agent-badge {
    position: absolute;
    top: 24px;
    right: 26px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-mute);
}

.agent-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;  /* circle — differentiator vs rounded squares elsewhere */
    background: rgba(255, 68, 0, 0.1);
    color: var(--olive);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.agent-cat {
    display: block;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--olive);
    margin-bottom: 8px;
}

.agent-svc h3 {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--text-dark);
}

.agent-svc p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-soft);
}

/* ---------- 15. PROCESSO (implementação — 3 step cards) ---------- */
.proc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;  /* extra horizontal gap to fit arrow connectors */
    position: relative;
    z-index: 2;
}

.proc-step {
    position: relative;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-dark);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .5s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.proc-step:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Arrow connector between step cards (skipped after the last one) */
.proc-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -26px;
    transform: translateY(-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    border: 1px solid var(--line-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--lime);
    animation: procArrowFlow 2.2s ease-in-out infinite;
}
.proc-step:nth-child(2):not(:last-child)::after {
    animation-delay: 0.55s;
}
@keyframes procArrowFlow {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
        box-shadow: 0 0 0 0 rgba(255, 68, 0, 0);
        border-color: var(--line-dark);
    }
    50% {
        transform: translateY(-50%) translateX(4px);
        box-shadow: 0 0 0 6px rgba(255, 68, 0, 0.14);
        border-color: rgba(255, 68, 0, 0.4);
    }
}

.proc-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.proc-num {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light-mute);
}
.proc-dur {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--lime);
    text-align: right;
}
.proc-step h3 {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
    color: var(--text-light);
}
.proc-step > p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-light-soft);
}
.proc-ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid var(--line-dark);
}
.proc-ul li {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-light-mute);
}
.proc-ul li::before {
    content: "—";
    color: var(--text-light-mute);
    flex-shrink: 0;
    opacity: 0.6;
}

/* Inline link used inside section leads (orange, no underline) */
.inline-link {
    color: var(--lime);
    font-weight: 600;
    transition: opacity .2s var(--ease);
}
.inline-link:hover { opacity: 0.78; }

/* ---------- 15.6 TIME (3 member cards) ---------- */
.time-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: clamp(40px, 6vh, 64px);
    position: relative;
    z-index: 2;
}
.time-intro .section-tag { margin-bottom: 18px; }
.time-intro .display { margin: 0; }
.time-tagline {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-light-soft);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
    z-index: 2;
}
.member {
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-dark);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    transition: transform .5s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.member:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}
.m-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;  /* matches the source 1024x1280 photos */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}
.m-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s var(--ease);
}
.member:hover .m-avatar img {
    transform: scale(1.04);
}
.m-info {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.m-name {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-light);
    margin: 0;
}
.m-role {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--lime);
}
.m-bio {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-light-soft);
    max-width: 32ch;
}
.m-linkedin {
    margin-top: 16px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-dark);
    color: var(--text-light-soft);
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.m-linkedin:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- 16. FAQ ---------- */
.section.section-faq {
    background-color: #faf9f6;
}
.section.section-faq::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0,
        transparent 28px,
        rgba(17, 17, 17, 0.04) 28px,
        rgba(17, 17, 17, 0.04) 29px
    );
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}
/* Soft warm glow on bottom-left to break the flat light bg */
.section.section-faq::after {
    content: "";
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 50vmax;
    height: 50vmax;
    background: radial-gradient(circle at 50% 50%, rgba(255, 68, 0, 0.2), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}
.section.section-faq > .container {
    position: relative;
    z-index: 1;
}

.faq-wrap {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 80px;
    align-items: start;
}

.faq-left .display { margin: 0 0 16px; }
.faq-left .section-lead {
    margin: 0 0 28px;
    max-width: 30ch;
}
.faq-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid var(--olive);
    border-radius: var(--r-pill);
    color: var(--olive);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: background .25s var(--ease), color .25s var(--ease), gap .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-contact:hover {
    background: var(--olive);
    color: #fff;
    gap: 12px;
    box-shadow: 0 12px 24px -12px rgba(255, 68, 0, 0.45);
}

.faq-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
    border-top: 1px solid var(--line);
}
.faq-q {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--f-sans);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    color: var(--text-dark);
    cursor: pointer;
    transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--olive); }
.faq-q > span:first-child { flex: 1; }
.faq-plus {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 68, 0, 0.1);
    color: var(--olive);
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.faq-item.open .faq-plus {
    transform: rotate(45deg);
    background: var(--olive);
    color: #fff;
}

/* Animated height collapse using grid-template-rows trick (0fr → 1fr) */
.faq-a-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
}
.faq-item.open .faq-a-wrap {
    grid-template-rows: 1fr;
}
.faq-a {
    overflow: hidden;
}
.faq-a p {
    margin: 0;
    padding: 0 0 22px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-soft);
    max-width: 70ch;
}

/* ---------- 18. FINALE / FOOTER ---------- */
.section-finale { padding: clamp(80px, 12vh, 140px) 0 40px; }
.finale-inner {
    text-align: center;
    padding: clamp(20px, 4vh, 60px) 0 clamp(60px, 10vh, 110px);
    position: relative;
    z-index: 2;
}

/* CTA box — dark glassy card with orange top accent line */
.cta-box {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(48px, 7vh, 80px) clamp(32px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-dark);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
}
.cta-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--olive), transparent);
}
.cta-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(255, 68, 0, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.cta-box > * { position: relative; z-index: 1; }

.cta-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 68, 0, 0.12);
    border: 1px solid rgba(255, 68, 0, 0.3);
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--lime);
    margin-bottom: 22px;
}

.cta-box .display.giant { margin: 0 0 18px; }
.cta-box .section-lead { margin: 0 auto 36px; max-width: none; }

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
}

.cta-trust {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-light-mute);
}
.cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cta-trust span::before {
    content: "✓";
    color: var(--lime);
    font-size: 13px;
    line-height: 1;
}

/* Decorative wordmark behind/under the CTA box */
.big-mark {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(8rem, 22vw, 22rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    letter-spacing: -0.04em;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}

/* Footer — dark theme */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line-dark);
    padding-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-brand img {
    height: 28px;
    margin-bottom: 18px;
}
.footer-brand p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-light-soft);
    max-width: 34ch;
}
.footer-brand .footer-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light-mute);
    max-width: none;
}
.footer-brand .footer-status .dot-pulse {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 0 2px rgba(255, 68, 0, 0.3);
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}
/* When social icons live inside a footer-nav column, the column's title
   already provides the top margin — drop the extra gap. */
.footer-nav .footer-social { margin-top: 0; }
.footer .footer-social a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-dark);
    color: var(--text-light-soft);
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer .footer-social a:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
    transform: translateY(-2px);
}
.footer-nav span {
    display: block;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light-mute);
    margin-bottom: 18px;
}
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a {
    font-size: 13.5px;
    color: var(--text-light-soft);
    transition: color .25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-nav a:hover { color: var(--lime); }
.footer-nav svg { opacity: 0.6; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--line-dark);
    font-size: 12.5px;
    color: var(--text-light-mute);
}
.footer-signature {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light-mute);
    transition: color .25s var(--ease), transform .25s var(--ease);
}
.back-top:hover { color: var(--lime); transform: translateY(-2px); }

/* ---------- 19. REVEAL ANIMATIONS ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .9s var(--ease-out),
        transform 1s var(--ease-out);
    transition-delay: 0ms;
}
[data-section].in-view [data-reveal] {
    opacity: 1;
    transform: translateY(0);
}
[data-section]:not(.in-view) [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

/* Suppress reveals while preloader is visible — JS removes body.loading
   when preloader is gone, then the transition runs as the user sees the hero. */
body.loading [data-section] [data-reveal],
body.loading [data-section].in-view [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

/* "Focus-in" reveal: translate + scale + blur. Used across cards on multiple
   sections to keep entrance language consistent. */
.diff-card[data-reveal],
.track[data-reveal],
.feature[data-reveal],
.agent-svc[data-reveal],
.member[data-reveal] {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(10px);
    transition:
        opacity 1s var(--ease-out),
        transform 1.1s var(--ease-out),
        filter 1.1s var(--ease-out);
}
[data-section].in-view .diff-card[data-reveal],
[data-section].in-view .track[data-reveal],
[data-section].in-view .feature[data-reveal],
[data-section].in-view .agent-svc[data-reveal],
[data-section].in-view .member[data-reveal] {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
[data-section]:not(.in-view) .diff-card[data-reveal],
[data-section]:not(.in-view) .track[data-reveal],
[data-section]:not(.in-view) .feature[data-reveal],
[data-section]:not(.in-view) .agent-svc[data-reveal],
[data-section]:not(.in-view) .member[data-reveal] {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(10px);
}
body.loading [data-section] .diff-card[data-reveal],
body.loading [data-section].in-view .diff-card[data-reveal],
body.loading [data-section] .track[data-reveal],
body.loading [data-section].in-view .track[data-reveal],
body.loading [data-section] .feature[data-reveal],
body.loading [data-section].in-view .feature[data-reveal],
body.loading [data-section] .agent-svc[data-reveal],
body.loading [data-section].in-view .agent-svc[data-reveal],
body.loading [data-section] .member[data-reveal],
body.loading [data-section].in-view .member[data-reveal] {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(10px);
}

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .stats-banner, .diff-grid, .models-grid { grid-template-columns: 1fr; }
    .agents-grid { grid-template-columns: 1fr 1fr; }
    .proc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .proc-step:not(:last-child)::after { display: none; }
    .time-top {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }
    .team-grid { grid-template-columns: 1fr; }
    .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
    .stat-big {
        border-right: 0;
        border-bottom: 1px solid var(--line-dark);
        padding: 22px 16px;
    }
    .stat-big:last-child { border-bottom: 0; }
    .hero-visual { height: clamp(360px, 50vh, 540px); }
    .section-dots { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 100px 0 60px; }
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .agents-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .float-pill { display: none; }
    .scroll-indicator { display: none; }
    .scroller { scroll-snap-type: none; }
    .section { min-height: auto; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
    .display { font-size: clamp(2rem, 8vw, 3rem); }
    .big-mark { font-size: 26vw; }
}

@media (max-width: 768px) {
    /* Mobile menu drawer */
    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(17, 17, 17, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 199;
        display: grid;
        place-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s var(--ease), visibility .35s;
    }
    .nav-menu.open {
        display: grid;
        opacity: 1;
        visibility: visible;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 28px;
        align-items: center;
        text-align: center;
    }
    .nav-menu a {
        font-family: var(--f-sans);
        font-weight: 500;
        font-size: clamp(1.5rem, 6vw, 2rem);
        letter-spacing: -0.02em;
        color: var(--text-light);
    }
}

/* ---------- 21. PREFERS REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}
