/* =====================================================
   UPNOVA — Design System
   ===================================================== */
:root {
    --bg: #05060a;
    --bg-2: #0b0d14;
    --bg-3: #11141d;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --border-2: rgba(255, 255, 255, 0.14);
    --text: #ececf1;
    --muted: #8b8ea0;
    --dim: #5b5e70;
    --accent: #c6ff3d;        /* lime electric */
    --accent-2: #7cf0ff;      /* cyan */
    --accent-3: #b68bff;      /* violet */
    --grad: linear-gradient(135deg, #c6ff3d 0%, #7cf0ff 50%, #b68bff 100%);

    --radius: 18px;
    --radius-lg: 28px;
    --ease: cubic-bezier(.2,.8,.2,1);
    --container: 1280px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(124,240,255,.08), transparent 60%),
        radial-gradient(900px 500px at 110% 20%, rgba(182,139,255,.08), transparent 60%),
        radial-gradient(700px 400px at 50% 120%, rgba(198,255,61,.05), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #000; }

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}
.kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}

/* =====================================================
   Preloader
   ===================================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; width: min(360px, 80vw); }
.preloader__text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3em;
    text-indent: 0.3em;
}
.preloader__bar {
    margin-top: 22px;
    height: 2px;
    background: var(--border);
    overflow: hidden;
    border-radius: 2px;
}
.preloader__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--grad);
    animation: loadBar 1.2s var(--ease) forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* =====================================================
   Navbar
   ===================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(20px, 4vw, 48px);
    z-index: 100;
    background: rgba(5, 6, 10, 0.5);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(5, 6, 10, 0.75);
}

.nav__brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; letter-spacing: -0.02em;
    font-size: 18px;
}
.nav__mark {
    width: 22px; height: 22px;
    background: var(--grad);
    border-radius: 6px;
    position: relative;
    box-shadow: 0 6px 24px rgba(198,255,61,.25);
}
.nav__mark::after {
    content: '';
    position: absolute; inset: 4px;
    background: var(--bg);
    border-radius: 3px;
}

.nav__menu {
    display: flex; gap: 32px;
    font-size: 14px;
    color: var(--muted);
}
.nav__menu a { position: relative; padding: 6px 0; }
.nav__menu a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width .3s var(--ease);
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
    display: none;
    flex-direction: column; gap: 5px;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--border);
    border-radius: 10px;
    align-items: center; justify-content: center;
    cursor: pointer;
}
.nav__toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap;
}
.btn--primary {
    background: var(--accent);
    color: #07080c;
    box-shadow: 0 10px 40px -10px rgba(198,255,61,.5);
}
.btn--primary:hover { transform: translateY(-2px); background: #d9ff6f; color: #07080c; }
.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-2);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--accent); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px clamp(20px, 5vw, 60px) 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.hero__canvas {
    position: absolute; inset: 0;
    z-index: 0;
    opacity: .6;
}
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    background: rgba(255,255,255,.02);
    backdrop-filter: blur(10px);
    margin-bottom: 28px;
}
.pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(198,255,61,.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(198,255,61,.7); }
    70% { box-shadow: 0 0 0 12px rgba(198,255,61,0); }
    100% { box-shadow: 0 0 0 0 rgba(198,255,61,0); }
}

.hero__title {
    font-size: clamp(2.4rem, 7vw, 6rem);
    line-height: 1;
    letter-spacing: -0.035em;
    max-width: 18ch;
    margin-bottom: 28px;
}
.hero__title .serif {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    max-width: 56ch;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--muted);
    margin-bottom: 36px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 72px; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 3vw, 40px);
    padding-top: 36px;
    border-top: 1px solid var(--border);
    max-width: 900px;
}
.hero__stats dt {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__stats dd {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 1px solid var(--border-2);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 2;
}
.hero__scroll span {
    width: 3px; height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* =====================================================
   Marquee
   ===================================================== */
.marquee {
    position: relative;
    padding: 28px 0;
    border-block: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-2);
}
.marquee__track {
    display: inline-flex;
    gap: 48px;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-style: italic;
}
.marquee__track span { color: var(--text); }
.marquee__track i { color: var(--accent); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =====================================================
   Sections
   ===================================================== */
.section {
    position: relative;
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
    max-width: var(--container);
    margin: 0 auto;
    z-index: 1;
}
.section__head {
    max-width: 820px;
    margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head h2 {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.section__head h2 em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section__sub {
    margin-top: 20px;
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    max-width: 60ch;
}

/* =====================================================
   About / Pillars
   ===================================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
}
.about__lead {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: var(--text);
    line-height: 1.6;
}
.pillars {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.pillars li {
    padding: 28px;
    background: var(--bg-2);
    transition: background .3s var(--ease);
}
.pillars li:hover { background: var(--bg-3); }
.pillars h3 {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pillars h3::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
.pillars p { color: var(--muted); font-size: 14px; }

/* =====================================================
   Ecosystem grid
   ===================================================== */
.ecosystem__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.ecoCard {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-2);
    transition: background .4s var(--ease), transform .4s var(--ease);
    overflow: hidden;
}
.ecoCard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity .4s var(--ease);
    z-index: 0;
}
.ecoCard:hover { background: var(--bg-3); }
.ecoCard > * { position: relative; z-index: 1; }
.ecoCard__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--dim);
    margin-bottom: 30px;
}
.ecoCard h3 {
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.ecoCard p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.ecoCard__tags {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--dim);
    letter-spacing: 0.04em;
}

/* =====================================================
   Web3 Feature
   ===================================================== */
.web3 { position: relative; }
.web3__bg {
    position: absolute;
    inset: 10% 0;
    background: radial-gradient(ellipse at center, rgba(124,240,255,.08), transparent 65%);
    z-index: 0;
    pointer-events: none;
}
.web3__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    position: relative;
    z-index: 1;
}
.web3__card {
    position: relative;
    padding: 32px 24px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.web3__card:hover {
    transform: translateY(-4px);
    border-color: var(--border-2);
    background: var(--bg-3);
}
.web3__card span {
    display: inline-block;
    font-size: 28px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.web3__card h3 { font-size: 18px; margin-bottom: 8px; }
.web3__card p { color: var(--muted); font-size: 14px; }

/* =====================================================
   Cases
   ===================================================== */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.caseCard {
    grid-column: span 1;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.caseCard--lg { grid-column: span 2; }
.caseCard:hover { transform: translateY(-6px); border-color: var(--border-2); }
.caseCard__art {
    aspect-ratio: 16 / 9;
    background: var(--bg-3);
    position: relative;
    overflow: hidden;
}
.caseCard__art::before {
    content: attr(data-art);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-style: italic;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.8;
}
.caseCard__art::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 200px at 30% 30%, rgba(198,255,61,.18), transparent 60%),
        radial-gradient(500px 200px at 70% 70%, rgba(124,240,255,.18), transparent 60%);
    mix-blend-mode: screen;
}
.caseCard__body { padding: 28px; }
.caseCard__body h3 { font-size: 22px; margin-bottom: 10px; }
.caseCard__body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.caseCard__body ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.caseCard__body li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 4px 10px;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    color: var(--muted);
}

/* =====================================================
   Process / Steps
   ===================================================== */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.steps li {
    padding: 32px 28px;
    background: var(--bg-2);
    position: relative;
    transition: background .3s var(--ease);
}
.steps li:hover { background: var(--bg-3); }
.steps li span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
}
.steps li h3 { font-size: 20px; margin-bottom: 10px; }
.steps li p { color: var(--muted); font-size: 14px; }

/* =====================================================
   Stats banner
   ===================================================== */
.statsBanner {
    padding-top: 60px;
    padding-bottom: 60px;
}
.statsBanner__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px clamp(24px, 4vw, 48px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent),
        var(--bg-2);
}
.statsBanner__grid > div {
    padding-right: 20px;
}
.statsBanner__grid dt {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}
.statsBanner__grid dd {
    color: var(--muted);
    font-size: 14px;
    max-width: 28ch;
}

/* =====================================================
   Stack rows
   ===================================================== */
.stack__rows { display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.stack__row {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    color: var(--dim);
    animation: stackScroll 40s linear infinite;
    width: max-content;
}
.stack__row span { transition: color .3s var(--ease); }
.stack__row span:hover { color: var(--text); }
.stack__row--rev { animation-direction: reverse; animation-duration: 52s; }
@keyframes stackScroll { to { transform: translateX(-50%); } }

/* Duplicate content via ::after for seamless loop */
.stack__row::after {
    content: '';
    display: inline-block;
    width: 40px;
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonials blockquote {
    padding: 32px 28px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .3s var(--ease), transform .3s var(--ease);
    position: relative;
}
.testimonials blockquote::before {
    content: '“';
    position: absolute;
    top: 8px; right: 20px;
    font-family: 'Instrument Serif', serif;
    font-size: 80px;
    line-height: 1;
    color: var(--accent);
    opacity: .3;
}
.testimonials blockquote:hover { border-color: var(--border-2); transform: translateY(-4px); }
.testimonials blockquote p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 24px;
}
.testimonials blockquote footer {
    font-size: 13px;
    color: var(--muted);
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.testimonials blockquote strong { color: var(--text); font-weight: 600; margin-right: 8px; }

/* =====================================================
   Contact
   ===================================================== */
.contact__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    padding: clamp(40px, 6vw, 80px);
    background:
        linear-gradient(180deg, rgba(198,255,61,.04), transparent 60%),
        var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.contact__box::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    top: -300px; right: -300px;
    background: radial-gradient(circle, rgba(198,255,61,.12), transparent 60%);
    pointer-events: none;
}
.contact__copy h2 {
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.contact__copy h2 em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.contact__copy > p {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 15px;
}
.contact__meta {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact__meta li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}
.contact__meta strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--dim);
    font-weight: 400;
}
.contact__meta a, .contact__meta span { font-size: 15px; color: var(--text); }
.contact__meta a:hover { color: var(--accent); }

.contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.contact__form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact__form label.full { grid-column: 1 / -1; }
.contact__form span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact__form input,
.contact__form textarea,
.contact__form select {
    padding: 14px 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-2);
}
.contact__form textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.contact__form button { grid-column: 1 / -1; justify-self: start; }
.contact__ok {
    grid-column: 1 / -1;
    color: var(--accent);
    font-size: 14px;
}

/* =====================================================
   Footer
   ===================================================== */
.foot {
    padding: 80px clamp(20px, 5vw, 60px) 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    position: relative;
    z-index: 1;
}
.foot__top {
    max-width: var(--container);
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
}
.foot__brand p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
    max-width: 40ch;
}
.foot__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.foot__cols h4 {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
}
.foot__cols a {
    display: block;
    padding: 6px 0;
    color: var(--muted);
    font-size: 14px;
}
.foot__cols a:hover { color: var(--text); }
.foot__bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--dim);
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

/* =====================================================
   Float CTA
   ===================================================== */
.floatCta {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25d366;
    color: #fff;
    z-index: 90;
    box-shadow: 0 12px 32px rgba(37, 211, 102, .35);
    transition: transform .25s var(--ease);
}
.floatCta:hover { transform: scale(1.08); color: #fff; }

/* =====================================================
   Reveal on scroll
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 960px) {
    .about__grid { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
    .cases__grid { grid-template-columns: 1fr 1fr; }
    .caseCard--lg { grid-column: span 2; }
    .steps { grid-template-columns: 1fr 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .contact__box { grid-template-columns: 1fr; }
    .foot__top { grid-template-columns: 1fr; gap: 40px; }
    .statsBanner__grid { grid-template-columns: 1fr 1fr; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .nav__menu { display: none; }
    .nav__toggle { display: flex; }
    .nav.is-open .nav__menu {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        padding: 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        gap: 8px;
    }
    .nav.is-open .nav__menu a { padding: 12px 0; font-size: 16px; color: var(--text); }
    .nav__actions .btn--ghost { display: none; }

    .cases__grid, .steps, .foot__cols { grid-template-columns: 1fr; }
    .caseCard--lg { grid-column: auto; }
    .statsBanner__grid { grid-template-columns: 1fr; }
    .contact__form { grid-template-columns: 1fr; }
    .contact__form label.full { grid-column: auto; }
    .hero { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
