/* ============ SHARED STYLES — Brand Upgrade ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #0a0a0a;
    --bg-surface: rgba(255,255,255,0.03);
    --bg-surface-hover: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.18);
    --text: #e8e8e8;
    --text-muted: #888;
    --text-dim: #555;
    --accent: #48b066;
    --accent-strong: #5ec97c;
    --accent-muted: rgba(72,176,102,0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --container: 1320px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body::after {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Placeholder */
.ph {
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 20px, rgba(255,255,255,0.04) 20px 40px),
        linear-gradient(180deg, #111 0%, #0a0a0a 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: ui-monospace, Menlo, monospace;
    font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-dim); text-align: center; padding: 1rem;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 1.25rem; left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(10,10,10,0.65);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    display: flex; align-items: center; gap: 0.25rem;
    transition: padding 0.5s var(--ease), gap 0.5s var(--ease), background 0.4s var(--ease);
}
.nav--shrunk { padding: 0.4rem 0.4rem 0.4rem 1.1rem; background: rgba(10,10,10,0.85); }
.nav--shrunk .nav__links { opacity: 0; pointer-events: none; max-width: 0; overflow: hidden; }
.nav__logo { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; letter-spacing: -0.02em; white-space: nowrap; margin-right: 1rem; }
.nav__links { display: flex; gap: 0.125rem; list-style: none; transition: opacity 0.4s var(--ease), max-width 0.5s var(--ease); max-width: 600px; }
.nav__links a { font-size: 0.825rem; font-weight: 500; padding: 0.5rem 0.875rem; border-radius: 999px; transition: background 0.3s var(--ease), color 0.3s var(--ease); color: var(--text-muted); white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-current { background: var(--bg-surface-hover); color: var(--text); }
.nav__links a.is-current { color: var(--accent); }
.nav__cta { font-size: 0.825rem; font-weight: 600; padding: 0.5rem 1.25rem; border-radius: 999px; background: var(--accent); color: #061b0e; margin-left: 0.5rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s; white-space: nowrap; }
.nav__cta:hover { transform: translateY(-1px); background: var(--accent-strong); box-shadow: 0 8px 24px -8px var(--accent-muted); }

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 9rem 0 4rem;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    top: 20%; right: -10%;
    width: 45%; aspect-ratio: 1;
    background: radial-gradient(circle at center, var(--accent-muted), transparent 60%);
    filter: blur(80px);
    z-index: -1; opacity: 0.75;
    animation: float 14s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.1); } }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem 0.35rem 0.55rem;
    border: 1px solid var(--accent-muted);
    border-radius: 999px;
    background: rgba(72,176,102,0.05);
}
.hero__eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    animation: livePulse 1.8s var(--ease) infinite;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
    70%  { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}
.hero__headline-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: end;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.hero h1 span { color: var(--text-muted); }
.hero__desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 44ch;
    line-height: 1.7;
}

/* ============ STATS STRIP ============ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 4rem;
}
.stat { background: var(--bg); padding: 1.75rem 1.75rem 1.6rem; }
.stat__val {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: block;
    margin-bottom: 0.5rem;
}
.stat__label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============ SECTION HEADER ============ */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.section-head__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-head__meta {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============ MARQUEE ============ */
.clients { padding: 6rem 0; border-top: 1px solid var(--border); margin-top: 4rem; }
.clients__label {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 1rem; }
.marquee__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
}
.marquee--reverse .marquee__track { animation: scrollRight 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee__item {
    flex: 0 0 auto;
    height: 64px;
    padding: 0 1.25rem;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-surface);
    transition: color 0.3s, border-color 0.3s, background 0.3s;
    white-space: nowrap;
    min-width: 160px;
}
.marquee__item:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-surface-hover); }
.marquee__item img { max-height: 40px; width: auto; object-fit: contain; opacity: 0.78; filter: grayscale(1) brightness(1.6) contrast(0.9); transition: opacity 0.3s, filter 0.3s; }
.marquee__item:hover img { opacity: 1; filter: grayscale(0) brightness(1) contrast(1); }

/* ============ CTA BAR ============ */
.cta-bar { padding: 7rem 0; border-top: 1px solid var(--border); text-align: center; position: relative; isolation: isolate; }
.cta-bar::before {
    content: '';
    position: absolute;
    top: 30%; left: 50%;
    width: 60%; aspect-ratio: 2;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, var(--accent-muted), transparent 60%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.7;
}
.cta-bar h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 20ch;
    margin: 0 auto 1rem;
}
.cta-bar p { color: var(--text-muted); max-width: 50ch; margin: 0 auto 2.5rem; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1rem 0.875rem 1.75rem;
    background: var(--accent);
    color: #061b0e;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); background: var(--accent-strong); box-shadow: 0 14px 40px -10px rgba(72,176,102,0.4); }
.btn-primary__icon { display: grid; place-items: center; width: 30px; height: 30px; background: #061b0e; color: var(--accent); border-radius: 50%; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.4rem;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.btn-ghost:hover { background: var(--bg-surface-hover); border-color: var(--text-muted); }

/* ============ FOOTER ============ */
footer.site-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: 0.8rem; color: var(--text-dim); }
.footer__links { display: flex; gap: 1.5rem; list-style: none; }
.footer__links a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--text); }

@media (max-width: 1024px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .hero__headline-row { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
}
@media (max-width: 768px) {
    .nav__links { display: none; }
    .container { padding: 0 1rem; }
    .hero { padding: 7rem 0 3rem; }
}
