/* ============================================
   SCALR APEX — Style System
   Design: Impactful Minimalism
   ============================================ */

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

:root {
    --white: #FFFFFF;
    --black: #0A0A0A;
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-800: #1A1A1A;
    --gray-900: #111111;

    --font-heading: 'Inter Tight', 'Arial Black', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
    --font-accent: 'Caveat', cursive;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    cursor: none;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 120px);
    width: 100%;
}

.accent {
    color: var(--accent);
}

.accent-italic {
    font-style: italic;
    color: var(--accent);
}


/* --- Custom Cursor — Bullseye Mechanical Rig --- */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), box-shadow 0.3s;
    box-shadow:
        0 0 6px rgba(37, 99, 235, 0.9),
        0 0 18px rgba(37, 99, 235, 0.4);
}

.cursor-follower {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--ease-out-expo), height 0.5s var(--ease-out-expo), opacity 0.3s;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bullseye middle ring */
.cursor-bullseye-mid {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.45);
    transition: all 0.3s ease;
}

/* Inner gear — spins clockwise */
.cursor-gear-inner {
    position: absolute;
    width: 38px;
    height: 38px;
    animation: gearSpinCW 5s linear infinite;
}

.cursor-gear-inner circle {
    stroke: var(--accent);
    stroke-width: 1.8;
    opacity: 0.8;
}

/* Outer gear — spins counter-clockwise */
.cursor-gear-outer {
    position: absolute;
    width: 62px;
    height: 62px;
    animation: gearSpinCCW 8s linear infinite;
}

.cursor-gear-outer circle {
    stroke: var(--black);
    stroke-width: 1.4;
    opacity: 0.6;
}

.cursor-gear-outer line {
    stroke: var(--accent);
    stroke-width: 1.8;
    opacity: 0.9;
}

@keyframes gearSpinCW {
    to { transform: rotate(360deg); }
}

@keyframes gearSpinCCW {
    to { transform: rotate(-360deg); }
}

/* Crosshair lines */
.cursor-crosshair {
    position: absolute;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.cursor-ch-h {
    width: 28px;
    height: 1.5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent 0%, var(--black) 30%, var(--accent) 70%, transparent 100%);
}

.cursor-ch-v {
    width: 1.5px;
    height: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, transparent 0%, var(--accent) 30%, var(--black) 70%, transparent 100%);
}

/* ── Hover state — expand + intensify ── */
.cursor.active {
    width: 8px;
    height: 8px;
    background: var(--accent);
    box-shadow:
        0 0 10px rgba(37, 99, 235, 1),
        0 0 30px rgba(37, 99, 235, 0.5),
        0 0 60px rgba(10, 10, 10, 0.2);
}

.cursor-follower.active {
    width: 74px;
    height: 74px;
}

.cursor-follower.active .cursor-bullseye-mid {
    width: 28px;
    height: 28px;
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.25);
}

.cursor-follower.active .cursor-gear-inner {
    animation-duration: 1.5s;
}

.cursor-follower.active .cursor-gear-inner circle {
    stroke: var(--accent);
    stroke-width: 2.2;
    opacity: 1;
}

.cursor-follower.active .cursor-gear-outer {
    animation-duration: 3s;
}

.cursor-follower.active .cursor-gear-outer circle {
    stroke: var(--black);
    stroke-width: 1.8;
    opacity: 0.9;
}

.cursor-follower.active .cursor-gear-outer line {
    stroke: var(--accent);
    stroke-width: 2.2;
    opacity: 1;
}

.cursor-follower.active .cursor-crosshair {
    opacity: 0.7;
}

/* ── Mouse moving fast — stretch effect via JS class ── */
.cursor.moving {
    width: 7px;
    height: 12px;
    border-radius: 40%;
}

/* Hide on touch/mobile */
@media (hover: none), (max-width: 768px) {
    .cursor, .cursor-follower { display: none !important; }
}


/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--white);
    display: flex;
    gap: 2px;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: letterIn 0.5s var(--ease-out-expo) forwards;
}

.loader-text span:nth-child(1) { animation-delay: 0.05s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.15s; }
.loader-text span:nth-child(4) { animation-delay: 0.2s; }
.loader-text span:nth-child(5) { animation-delay: 0.25s; }
.loader-text span:nth-child(6) { animation-delay: 0.4s; }
.loader-text span:nth-child(7) { animation-delay: 0.45s; }
.loader-text span:nth-child(8) { animation-delay: 0.5s; }
.loader-text span:nth-child(9) { animation-delay: 0.55s; }

.loader-accent {
    color: var(--accent) !important;
}

@keyframes letterIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    animation: loadProgress 1.8s var(--ease-out-quart) 0.3s forwards;
}

@keyframes loadProgress {
    to { width: 100%; }
}


/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px clamp(24px, 5vw, 120px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s, box-shadow 0.5s;
}

/* Accent line at bottom of nav */
.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding-top: 14px;
    padding-bottom: 14px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.nav.scrolled::after {
    opacity: 0.4;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.nav-logo-img {
    height: clamp(24px, 2.2vw, 34px);
    width: auto;
    display: block;
    transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.8;
}

/* Logo dark/light swap — light hidden by default */
.nav-logo-light {
    display: none !important;
}

.nav-logo-dark {
    display: block;
}

/* When mobile menu is open, hide both nav logos — mobile menu has its own */
.nav.menu-open .nav-logo-dark,
.nav.menu-open .nav-logo-light {
    display: none !important;
}

/* Mobile menu logo */
.mobile-menu-logo {
    padding: 0 0 24px;
}

.mobile-menu-logo-img {
    height: clamp(24px, 5vw, 32px);
    width: auto;
    display: block;
}

/* ── Logo Container ── */
.logo-mark {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(24px, 2.2vw, 32px);
    letter-spacing: -0.02em;
    line-height: 1;
    position: relative;
    white-space: nowrap;
    gap: clamp(3px, 0.3vw, 5px);
}

/* ── SCALR word group ── */
.logo-scalr {
    display: inline-flex;
    align-items: center;
}

.logo-scalr > span {
    display: inline-block;
    color: var(--black);
    transition: color 0.4s ease, transform 0.4s var(--ease-out-expo);
    opacity: 0;
    animation: logoCharIn 0.5s var(--ease-out-expo) forwards;
}

.logo-s  { animation-delay: 0.4s !important; }
.logo-c  { animation-delay: 0.46s !important; }
.logo-a1 { animation-delay: 0.52s !important; }
.logo-l  { animation-delay: 0.58s !important; }
.logo-r  { animation-delay: 0.64s !important; }

@keyframes logoCharIn {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Arrow-A in SCALR ── */
.logo-a1 {
    position: relative;
    line-height: 0;
}

.logo-arrow-a {
    width: 0.72em;
    height: 0.95em;
    display: block;
    color: var(--accent);
    position: relative;
    top: 0.02em;
    transition: color 0.4s ease;
}

.logo-arrow-a .arrow-head {
    animation: arrowPulseUp 2s ease-in-out infinite;
    transform-origin: center center;
}

.logo-arrow-a .arrow-body {
    animation: arrowStretch 2s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes arrowPulseUp {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-2.5px); opacity: 0.85; }
}

@keyframes arrowStretch {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(1.06); opacity: 0.9; }
}

/* ── APEX word group ── */
.logo-apex {
    display: inline-flex;
    align-items: center;
}

.logo-apex > span {
    display: inline-block;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoCharIn 0.5s var(--ease-out-expo) forwards, apexShimmer 5s ease-in-out 2s infinite;
    opacity: 0;
    transition: transform 0.4s var(--ease-out-expo);
}

.logo-a2 { animation-delay: 0.75s, 2s !important; }
.logo-p  { animation-delay: 0.81s, 2s !important; }
.logo-e  { animation-delay: 0.87s, 2s !important; }
.logo-x  { animation-delay: 0.93s, 2s !important; }

@keyframes apexShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ── Hover Effects ── */
.nav-logo:hover .logo-s  { transform: translateY(-2px); transition-delay: 0s; }
.nav-logo:hover .logo-c  { transform: translateY(-2px); transition-delay: 0.02s; }
.nav-logo:hover .logo-a1 { transform: translateY(-3px); transition-delay: 0.04s; }
.nav-logo:hover .logo-l  { transform: translateY(-2px); transition-delay: 0.06s; }
.nav-logo:hover .logo-r  { transform: translateY(-2px); transition-delay: 0.08s; }

.nav-logo:hover .logo-arrow-a .arrow-head {
    animation: arrowPulseUpHover 0.8s ease-in-out infinite;
}

@keyframes arrowPulseUpHover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.nav-logo:hover .logo-a2 { transform: translateY(-2px) scale(1.06); transition-delay: 0.1s; }
.nav-logo:hover .logo-p  { transform: translateY(-2px) scale(1.06); transition-delay: 0.12s; }
.nav-logo:hover .logo-e  { transform: translateY(-2px) scale(1.06); transition-delay: 0.14s; }
.nav-logo:hover .logo-x  { transform: translateY(-2px) scale(1.08); transition-delay: 0.16s; }

/* ── Mobile Menu Open — white text ── */
.nav.menu-open .logo-scalr > span {
    color: var(--white);
}

.nav.menu-open .logo-arrow-a {
    color: #60a5fa;
}

/* ── Scrolled — slightly compact ── */
.nav.scrolled .logo-mark {
    font-size: clamp(20px, 1.8vw, 26px);
    transition: font-size 0.5s var(--ease-out-expo);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    transition: background 0.4s var(--ease-out-expo);
}

/* Number prefix */
.nav-num {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    transition: color 0.4s var(--ease-out-expo);
    flex-shrink: 0;
}

/* Text slide effect */
.nav-link span[data-text] {
    display: block;
    position: relative;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-link span[data-text]::after {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--accent);
}

.nav-link:hover span[data-text] {
    transform: translateY(-100%);
}

.nav-link:hover .nav-num {
    color: var(--accent);
}

/* Active section indicator */
.nav-link.is-active {
    background: rgba(37, 99, 235, 0.06);
}

.nav-link.is-active .nav-num {
    color: var(--accent);
}

/* CTA button */
.nav-cta {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    background: var(--black);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
    display: inline-flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.nav-cta-arrow {
    width: 0;
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--accent);
    gap: 8px;
    padding-right: 24px;
}

.nav-cta:hover .nav-cta-arrow {
    width: 14px;
    opacity: 1;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    width: 36px;
    height: 24px;
    position: relative;
    cursor: none;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--black);
    position: absolute;
    left: 0;
    transition: all 0.5s var(--ease-out-expo);
}

.nav-hamburger span:first-child {
    top: 4px;
    width: 100%;
}

.nav-hamburger span:last-child {
    bottom: 4px;
    width: 60%;
    right: 0;
    left: auto;
    transition: all 0.5s var(--ease-out-expo);
}

/* Hover: bottom line expands */
.nav-hamburger:hover span:last-child {
    width: 100%;
}

/* When mobile menu is open, invert nav colors */
.nav.menu-open {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Mobile menu: logo colors handled via .menu-open overrides in logo section */

.nav.menu-open::after {
    opacity: 0 !important;
}

.nav-hamburger.active span {
    background: var(--white);
}

.nav-hamburger.active span:first-child {
    top: 11px;
    transform: rotate(45deg);
}

.nav-hamburger.active span:last-child {
    bottom: 11px;
    width: 100%;
    transform: rotate(-45deg);
}


/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    padding: 90px clamp(24px, 6vw, 60px) 40px;
    position: relative;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(36px, 10vw, 64px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--white);
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), color 0.3s;
    transition-delay: calc(var(--i, 0) * 0.1s);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.mobile-num {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    min-width: 28px;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
    transition-delay: calc(var(--i, 0) * 0.1s + 0.15s);
}

.mobile-link-text {
    display: block;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-num {
    opacity: 1;
    transform: translateX(0);
}

.mobile-link:nth-child(1) { --i: 1; }
.mobile-link:nth-child(2) { --i: 2; }
.mobile-link:nth-child(3) { --i: 3; }
.mobile-link:nth-child(4) { --i: 4; }

.mobile-link:hover {
    color: var(--accent);
}

.mobile-link:hover .mobile-num {
    transform: translateX(4px);
}

.mobile-link-cta .mobile-link-text {
    color: var(--accent);
}

/* Mobile Menu — Creative Filler */
.mobile-menu-filler {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.mobile-menu-watermark {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(80px, 28vw, 180px);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1;
    -webkit-text-stroke: 1px rgb(255 255 255 / 24%);
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo) 0.4s, transform 0.8s var(--ease-out-expo) 0.4s;
    user-select: none;
}

.mobile-menu.active .mobile-menu-watermark {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-ticker {
    width: 100%;
    overflow: hidden;
    margin-top: 12px;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo) 0.6s;
}

.mobile-menu.active .mobile-menu-ticker {
    opacity: 1;
}

.mobile-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: mobileTicker 12s linear infinite;
}

.mobile-ticker-track span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.12);
    padding-right: 8px;
    flex-shrink: 0;
}

@keyframes mobileTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-menu-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-bottom: 4px;
}

.mobile-menu-email {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-400);
    transition: color 0.3s;
}

.mobile-menu-email:hover {
    color: var(--accent);
}

.mobile-menu-socials {
    display: flex;
    gap: 20px;
}

.mobile-menu-socials a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-600);
    transition: color 0.3s;
}

.mobile-menu-socials a:hover {
    color: var(--accent);
}

.mobile-menu-tagline {
    font-family: var(--font-accent);
    font-weight: 700;
    font-style: italic;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.02em;
}


/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 120px);
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    position: relative;
}

.hero-tag::before {
    content: '';
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    flex-shrink: 0;
}

.hero-tag::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: tagDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes tagDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

.tag-line {
    display: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(52px, 10vw, 180px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.reveal-line {
    display: block;
    overflow: hidden;
}

.reveal-line span {
    display: block;
    transform: translateY(110%);
    animation: heroReveal 1s var(--ease-out-expo) forwards;
}

.reveal-line:nth-child(2) span {
    animation-delay: 0.15s;
}

.reveal-line:nth-child(3) span {
    animation-delay: 0.3s;
}

/* Typewriter line — keep all children inline */
.hero-typewriter-line {
    min-height: 1em;
}

.hero-typewriter-line > span {
    display: block;
}

.hero-typewriter-line span span {
    display: inline;
}

@keyframes heroReveal {
    to {
        transform: translateY(0);
    }
}

/* --- Hero "WIN." Accent --- */
.hero-win {
    position: relative;
    display: inline-block;
    animation: winGlow 3s ease-in-out 2.5s infinite;
}

.hero-win::after {
    display: none;
}

@keyframes winGlow {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 30px rgba(37, 99, 235, 0.3), 0 0 60px rgba(37, 99, 235, 0.1); }
}

/* Typewriter effect */
.typewriter-wrap {
    display: inline;
    color: var(--accent);
    font-style: italic;
}

.typewriter {
    display: inline;
}

.typewriter-cursor {
    display: inline;
    color: var(--accent);
    font-style: normal;
    font-weight: 900;
    animation: cursorBlink 0.7s steps(1) infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-sub {
    font-size: clamp(16px, 1.5vw, 24px);
    color: var(--gray-500);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-scroll-indicator span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    writing-mode: vertical-rl;
    font-weight: 500;
}


/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    background: var(--black);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid var(--black);
    cursor: none;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.5s var(--ease-out-expo);
    z-index: -1;
    border-radius: 100px;
}

.btn-primary:hover::before {
    left: 0;
}

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

.btn-primary svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover svg {
    transform: translate(3px, -3px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    color: var(--black);
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid var(--gray-200);
    cursor: none;
    transition: all 0.4s var(--ease-out-expo);
    background: transparent;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid var(--black);
    cursor: none;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.5s var(--ease-out-expo);
    z-index: -1;
    border-radius: 100px;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: var(--white);
}

.btn-outline svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-outline:hover svg {
    transform: translateX(4px);
}


/* --- Marquee --- */
.marquee-section {
    padding: 28px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-400);
    transition: color 0.3s;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
    color: var(--black);
}

.marquee-dot {
    font-size: 8px;
    color: var(--accent);
    display: flex;
    align-items: center;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* --- Stats --- */
.stats {
    padding: 80px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 20px 48px;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(40px, 5vw, 80px);
    letter-spacing: -0.03em;
    line-height: 1;
    display: inline;
    background: linear-gradient(135deg, var(--black) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(40px, 5vw, 80px);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--accent);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--gray-200);
}


/* --- Trusted By --- */
.trusted-by {
    padding: 48px 0;
    border-top: 1px solid var(--gray-200);
}

.trusted-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 28px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    flex-wrap: wrap;
}

.trusted-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(14px, 1.5vw, 18px);
    letter-spacing: 0.1em;
    color: var(--gray-300);
    transition: color 0.4s var(--ease-out-expo);
    white-space: nowrap;
}

.trusted-logo:hover {
    color: var(--black);
}


/* --- Section Common --- */
.section-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
}

.section-tag::before {
    content: '';
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    flex-shrink: 0;
}

.section-tag::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: tagDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(36px, 5vw, 96px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}


/* --- Work / Portfolio --- */
.work {
    padding: 120px 0;
    background: var(--gray-50);
}

.work-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.work-card-large {
    grid-row: span 2;
}

.work-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.work-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.work-card-large .work-card-img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 480px;
}

.work-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    transition: transform 0.8s var(--ease-out-expo);
}

.work-card:hover .work-placeholder {
    transform: scale(1.05);
}

.work-placeholder-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(20px, 3vw, 36px);
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.15);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-view {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    padding: 12px 28px;
    border: 1.5px solid var(--white);
    border-radius: 100px;
    letter-spacing: 0.02em;
    transition: all 0.4s var(--ease-out-expo);
    transform: translateY(12px);
    opacity: 0;
}

.work-card:hover .work-view {
    transform: translateY(0);
    opacity: 1;
}

.work-view:hover {
    background: var(--white);
    color: var(--black);
}

.work-info {
    padding: 24px;
}

.work-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.work-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 4px 12px;
    border-radius: 100px;
}

.work-info h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(20px, 1.5vw, 28px);
    margin-bottom: 8px;
}

.work-result {
    font-size: 14px;
    color: var(--gray-500);
    transition: transform 0.5s var(--ease-out-expo);
}

.work-card:hover .work-result {
    transform: translateX(4px);
}

.work-metric {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 18px;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-cta {
    text-align: center;
}


/* --- Services (Bento Grid) --- */
.services {
    padding: 120px 0;
}

.services-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: 80px;
}

.services-top-right {
    max-width: 360px;
    text-align: right;
}

.services-top-right p {
    font-size: clamp(15px, 1.1vw, 18px);
    color: var(--gray-500);
    line-height: 1.7;
}

/* Service Rows — Expandable list */
.svc-rows {
    display: flex;
    flex-direction: column;
    will-change: contents;
}

.svc-row {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: start;
    gap: clamp(24px, 3vw, 48px);
    padding: clamp(32px, 3.5vw, 52px) 0;
    border-top: 1px solid var(--gray-200);
    cursor: pointer;
    position: relative;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.svc-row:last-child {
    border-bottom: 1px solid var(--gray-200);
}

/* Accent line that fills on active */
.svc-row::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #7c3aed);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-row.is-active::before {
    width: 100%;
}

/* Number */
.svc-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gray-200);
    transition: -webkit-text-stroke-color 0.8s ease;
    user-select: none;
}

.svc-row.is-active .svc-num {
    -webkit-text-stroke-color: var(--accent);
}

.svc-row:hover:not(.is-active) .svc-num {
    -webkit-text-stroke-color: var(--gray-400);
}

/* Center — Name + expand area */
.svc-row-center {
    position: relative;
    min-width: 0;
}

.svc-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(28px, 3.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    transform: translateX(0);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s ease;
}

.svc-row:hover:not(.is-active) .svc-name {
    transform: translateX(8px);
}

.svc-row.is-active .svc-name {
    transform: translateX(12px);
    color: var(--accent);
}

/* Expandable details — use grid for smooth height animation */
.svc-expand {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-row.is-active .svc-expand {
    grid-template-rows: 1fr;
}

.svc-expand-inner {
    overflow: hidden;
    min-height: 0;
}

/* Wrapper inside expand for proper overflow */
.svc-desc {
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 560px;
    padding-top: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s, padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-row.is-active .svc-desc {
    padding-top: clamp(16px, 1.5vw, 24px);
    opacity: 1;
    transform: translateY(0);
}

.svc-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: clamp(8px, 1vw, 14px);
    padding-bottom: 4px;
}

.svc-tags span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: 5px 14px;
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.svc-row.is-active .svc-tags span {
    opacity: 1;
    transform: translateY(0);
}

.svc-row.is-active .svc-tags span:nth-child(1) { transition-delay: 0.2s; }
.svc-row.is-active .svc-tags span:nth-child(2) { transition-delay: 0.26s; }
.svc-row.is-active .svc-tags span:nth-child(3) { transition-delay: 0.32s; }
.svc-row.is-active .svc-tags span:nth-child(4) { transition-delay: 0.38s; }

/* Right side — highlight + arrow */
.svc-row-right {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    flex-shrink: 0;
    padding-top: 6px;
}

.svc-highlight {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(11px, 0.85vw, 14px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.6s ease, transform 0.6s ease, color 0.6s ease;
    white-space: nowrap;
}

.svc-row.is-active .svc-highlight {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

.svc-arrow {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-400);
    flex-shrink: 0;
    transition: background 0.6s ease, border-color 0.6s ease, color 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.svc-row:hover:not(.is-active) .svc-arrow {
    border-color: var(--gray-400);
    color: var(--black);
}

.svc-row.is-active .svc-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
}

/* Dimming non-active rows */
.svc-rows:has(.svc-row.is-active) .svc-row:not(.is-active) {
    opacity: 0.35;
}

.svc-rows:has(.svc-row.is-active) .svc-row:not(.is-active):hover {
    opacity: 0.6;
}


/* --- Process --- */
.process {
    padding: clamp(80px, 10vw, 140px) 0;
    background: #f8fafc;
    color: var(--black);
    overflow: visible;
    position: relative;
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-bottom: clamp(48px, 5vw, 72px);
}

.process-header-right {
    max-width: 340px;
    text-align: right;
}

.process-header-right p {
    font-size: clamp(15px, 1.1vw, 18px);
    color: #64748b;
    line-height: 1.7;
}

.process .section-title {
    color: var(--black);
}

.process .section-tag {
    color: var(--accent);
}

.process .section-tag::before {
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* Horizontal progress track */
.process-track {
    position: relative;
    margin-bottom: clamp(40px, 4vw, 56px);
}

.process-line-h {
    width: 100%;
    height: 3px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.process-line-h-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #ea580c, #059669);
    border-radius: 3px;
    transition: width 0.3s linear;
}

/* Horizontal 4-column grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

/* Individual Card */
.process-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: clamp(28px, 2.5vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 2px solid #e2e8f0;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-card:hover {
    border-color: var(--card-accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.process-card:hover::before {
    opacity: 1;
}

/* Card Top — Number + Tag */
.process-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(20px, 2vw, 32px);
}

.process-big-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--card-accent);
    opacity: 0.15;
    transition: all 0.5s var(--ease-out-expo);
    user-select: none;
}

.process-card:hover .process-big-num {
    opacity: 0.35;
    transform: scale(1.05);
}

.process-phase-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--card-accent);
    background: color-mix(in srgb, var(--card-accent) 10%, transparent);
    padding: 5px 14px;
    border-radius: 100px;
}

/* Card Body */
.process-card-body {
    flex: 1;
    margin-bottom: clamp(16px, 1.5vw, 24px);
}

.process-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: clamp(10px, 1vw, 16px);
}

.process-desc {
    font-size: clamp(14px, 1vw, 16px);
    color: #64748b;
    line-height: 1.65;
}

/* Deliverable Tags */
.process-deliverables {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
}

.process-deliverables span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--card-accent);
    background: color-mix(in srgb, var(--card-accent) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-accent) 20%, transparent);
    padding: 5px 12px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.process-card:hover .process-deliverables span {
    background: color-mix(in srgb, var(--card-accent) 14%, transparent);
    border-color: color-mix(in srgb, var(--card-accent) 35%, transparent);
}

/* Card corner icon */
.process-card-icon {
    position: absolute;
    top: clamp(28px, 2.5vw, 40px);
    right: clamp(28px, 2.5vw, 40px);
    color: #cbd5e1;
    transition: all 0.4s ease;
    display: none;
}


/* --- Testimonial --- */
.testimonial {
    padding: 120px 0;
}

.testimonial-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 64px;
    background: var(--gray-50);
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    position: relative;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
}

.testimonial-stars svg {
    opacity: 0.9;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 120px;
    line-height: 0.5;
    color: var(--accent);
    opacity: 0.08;
    margin-bottom: 24px;
    position: absolute;
    top: 48px;
    left: 48px;
}

.testimonial blockquote {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(20px, 2.5vw, 40px);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

.testimonial blockquote strong {
    color: var(--accent);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray-500);
}


/* --- Why Us --- */
.why-us {
    padding: 120px 0;
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 100px);
    align-items: start;
}

.why-left .section-title {
    position: sticky;
    top: 120px;
}

.why-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: why-counter;
}

.why-item {
    padding: 32px 0 32px 28px;
    border-bottom: 1px solid var(--gray-200);
    border-left: 3px solid transparent;
    transition: border-color 0.4s var(--ease-out-expo), padding-left 0.4s var(--ease-out-expo);
    counter-increment: why-counter;
    position: relative;
}

.why-item::before {
    content: "0" counter(why-counter);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--gray-300);
    display: block;
    margin-bottom: 16px;
    transition: color 0.4s var(--ease-out-expo);
}

.why-item:hover {
    border-left-color: var(--accent);
    padding-left: 36px;
}

.why-item:hover::before {
    color: var(--accent);
}

.why-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-item h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(20px, 1.5vw, 28px);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    transition: transform 0.4s var(--ease-out-expo);
}

.why-item:hover h4 {
    transform: translateX(4px);
}

.why-item p {
    font-size: clamp(15px, 1vw, 18px);
    color: var(--gray-500);
    line-height: 1.7;
}



/* --- CTA / Contact --- */
.cta-section {
    padding: 0;
    background: var(--black);
    color: var(--white);
}

.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Left Panel */
.cta-left {
    display: flex;
    align-items: center;
    padding: clamp(60px, 6vw, 120px);
    position: relative;
}

.cta-left-inner {
    position: sticky;
    top: 120px;
}

.cta-left .section-tag {
    margin-bottom: 24px;
}

.cta-headline {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(48px, 7vw, 120px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    padding-bottom: 8px;
    padding-right: 0.05em;
    color: var(--white);
}

.cta-headline em.accent-italic {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.cta-sub {
    font-size: clamp(15px, 1.1vw, 18px);
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 48px;
}

/* Trust Signals */
.cta-trust {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 48px;
}

.cta-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cta-trust-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(24px, 2.5vw, 36px);
    letter-spacing: -0.03em;
    color: var(--white);
}

.cta-trust-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.cta-trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Email Link */
.cta-email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(14px, 1vw, 17px);
    color: var(--gray-400);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s var(--ease-out-expo);
}

.cta-email-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.cta-email-link svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.cta-email-link:hover svg {
    transform: translate(3px, -3px);
}

/* Right Panel — Form */
.cta-right {
    padding: clamp(48px, 5vw, 100px);
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.cta-right .form-wrapper {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

/* Steps Indicator */
.form-steps-indicator {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 48px;
}

.form-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    opacity: 0.3;
    transition: opacity 0.5s var(--ease-out-expo);
}

.form-step-dot.active {
    opacity: 1;
}

.form-step-dot.done {
    opacity: 0.6;
}

.form-dot-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-out-expo);
}

.form-step-dot.active .form-dot-num {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}

.form-step-dot.done .form-dot-num {
    border-color: var(--accent);
    background: transparent;
    color: var(--accent);
}

.form-dot-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.form-step-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.form-step-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: width 0.6s var(--ease-out-expo);
}

/* Form Step */
.lead-form {
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: formStepIn 0.5s var(--ease-out-expo);
}

@keyframes formStepIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-question {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(22px, 2vw, 28px);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Service Selection Cards (Step 1) */
.form-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}

.form-svc-option input {
    display: none;
}

.form-svc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.form-svc-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.form-svc-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.4s var(--ease-out-expo);
}

.form-svc-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    flex: 1;
}

.form-svc-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out-expo);
    color: transparent;
}

/* Checked state */
.form-svc-option input:checked + .form-svc-card {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

.form-svc-option input:checked + .form-svc-card .form-svc-icon {
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
}

.form-svc-option input:checked + .form-svc-card .form-svc-check {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}

/* Form Fields V2 — underline style */
.form-fields-v2 {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.form-row-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-field-v2 label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    text-transform: uppercase;
}

.form-field-v2 input,
.form-field-v2 select,
.form-field-v2 textarea {
    font-family: var(--font-body);
    font-size: 16px;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    color: var(--white);
    outline: none;
    transition: border-color 0.4s var(--ease-out-expo);
    cursor: none;
    width: 100%;
}

.form-field-v2 input::placeholder,
.form-field-v2 textarea::placeholder {
    color: var(--gray-600);
}

.form-field-v2 input:focus,
.form-field-v2 select:focus,
.form-field-v2 textarea:focus {
    border-color: var(--accent);
}

.form-field-v2 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23737373' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-field-v2 select option {
    background: var(--gray-900);
}

.form-field-v2 textarea {
    resize: vertical;
    min-height: 80px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.12);
}

/* Form Navigation V2 */
.form-nav-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-400);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 0;
    transition: color 0.3s;
}

.form-btn-back:hover {
    color: var(--white);
}

.form-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    background: var(--white);
    color: var(--black);
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.form-btn-next:hover {
    background: var(--accent);
    color: var(--white);
}

.form-btn-next svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.form-btn-next:hover svg {
    transform: translateX(4px);
}

.form-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.form-btn-submit:hover {
    background: var(--white);
    color: var(--black);
}

.form-btn-submit svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.form-btn-submit:hover svg {
    transform: translate(3px, -3px);
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.form-success.active {
    display: block;
    animation: formStepIn 0.5s var(--ease-out-expo);
}

.success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 0 0 16px rgba(37, 99, 235, 0); }
}

.success-check-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: drawCheck 0.6s var(--ease-out-expo) 0.3s forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.form-success h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(20px, 1.5vw, 26px);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--gray-500);
    font-size: 15px;
}


/* --- Footer --- */
.footer {
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.footer-logo-img {
    height: clamp(28px, 2.5vw, 40px);
    width: auto;
    display: block;
    margin-bottom: 24px;
}

/* Giant Logo Marquee */
.footer-marquee {
    overflow: hidden;
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: footerMarquee 20s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.footer-giant-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(72px, 10vw, 160px);
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
    padding: 0 20px;
    transition: -webkit-text-stroke-color 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
    line-height: 1;
    flex-shrink: 0;
}

.footer-giant-text:hover {
    -webkit-text-stroke-color: var(--accent);
    text-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}

.footer-giant-text .accent {
    -webkit-text-stroke-color: var(--accent);
    opacity: 0.7;
}

.footer-giant-text:hover .accent {
    opacity: 1;
}

.footer-giant-dot {
    font-size: clamp(24px, 3vw, 48px);
    color: var(--accent);
    opacity: 0.3;
    padding: 0 24px;
    flex-shrink: 0;
}

@keyframes footerMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Footer CTA Row */
.footer-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    padding: 80px 0 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta-left {
    max-width: 520px;
}

.footer-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 3.5vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.footer-cta-desc {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-cta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 36px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.footer-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s var(--ease-out-expo);
}

.footer-cta-btn:hover::before {
    left: 100%;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35);
}

.footer-cta-btn-icon {
    display: flex;
    transition: transform 0.4s var(--ease-out-expo);
}

.footer-cta-btn:hover .footer-cta-btn-icon {
    transform: translate(3px, -3px);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(16px, 1.2vw, 20px);
    color: var(--accent);
    padding: 14px 28px;
    border: 1.5px solid rgba(37, 99, 235, 0.3);
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
}

.footer-email:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.footer-email svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.footer-email:hover svg {
    transform: translate(3px, -3px);
}

.footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-back-top svg {
    width: 28px;
    height: 28px;
    padding: 5px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: all 0.4s var(--ease-out-expo);
}

.footer-back-top:hover {
    color: var(--accent);
}

.footer-back-top:hover svg {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Footer Grid */
.footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0;
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.footer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-400);
    transition: all 0.3s var(--ease-out-expo);
}

.footer-link:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-link:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-link-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease-out-expo);
    color: var(--accent);
}

.footer-link:hover .footer-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Socials */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray-400);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-expo);
}

.footer-social:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social svg {
    flex-shrink: 0;
    transition: color 0.3s;
}

.footer-social:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-social:hover svg {
    color: var(--accent);
}

/* Footer Bottom */
.footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: var(--gray-600);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-sep {
    color: var(--gray-600);
    font-size: 8px;
}

.footer .footer-tagline {
    font-family: var(--font-accent);
    font-weight: 700;
    font-style: italic;
    color: var(--accent);
    font-size: 20px;
    letter-spacing: 0.02em;
}

/* Footer Info Block (Location column) */
.footer-info-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
}

.footer-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.5; box-shadow: 0 0 16px rgba(34, 197, 94, 0.6); }
}

.footer-location {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-hours {
    font-size: 13px;
    color: var(--gray-600);
    letter-spacing: 0.02em;
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-left h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.footer-newsletter-left p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 360px;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.footer-newsletter-input {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 100px 0 0 100px;
    color: var(--white);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    width: 260px;
    transition: border-color 0.3s, background 0.3s;
}

.footer-newsletter-input::placeholder {
    color: var(--gray-600);
}

.footer-newsletter-input:focus {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.05);
}

.footer-newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid var(--accent);
    border-radius: 0 100px 100px 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    white-space: nowrap;
}

.footer-newsletter-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.footer-newsletter-btn svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.footer-newsletter-btn:hover svg {
    transform: translateX(3px);
}


/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   CREATIVE ENHANCEMENTS
   ============================================ */

/* --- Film Grain Noise Overlay --- */
.grain-svg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    mix-blend-mode: overlay;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent);
    z-index: 10001;
    transition: width 0.05s linear;
    border-radius: 0 2px 2px 0;
}

/* --- Mouse-Following Gradient Spotlight --- */
.gradient-follow {
    position: relative;
}

.gradient-follow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        700px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(37, 99, 235, 0.07),
        transparent 60%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s;
    opacity: 0;
}

.gradient-follow.glow-active::before {
    opacity: 1;
}

.hero .hero-content,
.hero .hero-scroll-indicator,
.hero .hero-deco,
.cta-section .container {
    position: relative;
    z-index: 2;
}

/* --- Decorative Floating Shapes --- */
.hero-deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.hero-deco-1 {
    top: 18%;
    right: 12%;
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-deco-2 {
    bottom: 20%;
    right: 22%;
    animation: floatSlow 12s ease-in-out infinite reverse;
}

.hero-deco-3 {
    top: 35%;
    right: 32%;
    animation: floatSlow 6s ease-in-out infinite 2s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* --- Big Statement Scroll Reveal --- */
.big-statement {
    padding: 120px 0;
    overflow: hidden;
}

.big-statement-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 60px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--gray-200);
    max-width: 1000px;
}

.big-statement-text .word {
    display: inline-block;
    transition: color 0.4s var(--ease-out-expo);
}

.big-statement-text .word.lit {
    color: var(--black);
}

.big-statement-text em.accent-italic {
    color: var(--gray-200);
    transition: color 0.4s var(--ease-out-expo);
}

.big-statement-text em.accent-italic.lit {
    color: var(--accent);
}

/* --- 3D Tilt Cards --- */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* --- Staggered Reveal for Service Rows --- */

/* --- Nav Link Slide Underline --- */
/* Scrolled logo scale */
.nav.scrolled .nav-logo {
    transform: scale(0.92);
    transition: transform 0.5s var(--ease-out-expo);
}

/* Scrolled link spacing tightens */
.nav.scrolled .nav-links {
    gap: 28px;
    transition: gap 0.5s var(--ease-out-expo);
}

/* --- Animated SVG Draw on Scroll --- */
.hero-deco svg circle,
.hero-deco svg rect,
.hero-deco svg line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: svgDraw 2.5s var(--ease-out-expo) forwards;
}

.hero-deco-1 svg circle { animation-delay: 2.5s; }
.hero-deco-2 svg rect { animation-delay: 2.8s; stroke-dasharray: 500; stroke-dashoffset: 500; }
.hero-deco-3 svg line:first-child { animation-delay: 3s; stroke-dasharray: 40; stroke-dashoffset: 40; }
.hero-deco-3 svg line:last-child { animation-delay: 3.2s; stroke-dasharray: 40; stroke-dashoffset: 40; }

@keyframes svgDraw {
    to { stroke-dashoffset: 0; }
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .svc-row {
        grid-template-columns: 60px 1fr auto;
        gap: 16px;
    }

    .svc-num {
        font-size: clamp(32px, 4vw, 48px);
    }

    .svc-highlight {
        display: none;
    }

    .services-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .services-top-right {
        text-align: left;
        max-width: 100%;
    }

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

    .work-card-large {
        grid-row: span 1;
    }

    .cta-split {
        grid-template-columns: 1fr 1fr;
    }

    .cta-left {
        padding: clamp(48px, 4vw, 80px);
    }

    .cta-right {
        padding: clamp(48px, 4vw, 80px);
    }

    .cta-headline {
        font-size: clamp(40px, 5vw, 72px);
    }

    .process-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .process-header-right {
        text-align: left;
        max-width: 100%;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-left .section-title {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor, .cursor-follower {
        display: none;
    }

    .hero-deco {
        display: none;
    }

    .gradient-follow::before {
        display: none;
    }

    .big-statement {
        padding: 80px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: clamp(40px, 12vw, 72px);
    }

    .hero-scroll-indicator {
        display: none;
    }

    .stats-grid {
        flex-direction: column;
        gap: 8px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .stat {
        padding: 16px 24px;
    }

    .work, .services, .process, .testimonial, .why-us, .cta-section {
        padding: 80px 0;
    }

    .trusted-by {
        padding: 36px 0;
    }

    .trusted-logos {
        gap: 24px;
    }

    .trusted-logo {
        font-size: 12px;
    }

    .testimonial-content {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .testimonial-quote {
        display: none;
    }

    .why-item {
        padding-left: 20px;
    }

    .why-item:hover {
        padding-left: 28px;
    }

    .svc-row {
        grid-template-columns: 48px 1fr 48px;
        gap: 12px;
        padding: 24px 0;
    }

    .svc-num {
        font-size: 28px;
    }

    .svc-name {
        font-size: clamp(22px, 5vw, 32px);
    }

    .svc-highlight {
        display: none;
    }

    .svc-arrow {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .svc-tags span {
        opacity: 1;
        transform: translateY(0);
    }

    /* ── Process Mobile: Stacked cards ── */
    .process {
        padding: 80px 0;
    }

    .process-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 48px;
    }

    .process-header-right {
        text-align: left;
        max-width: 100%;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-track {
        margin-bottom: 32px;
    }

    .process-card {
        padding: 24px;
        border-radius: 16px;
    }

    .process-big-num {
        font-size: 40px;
    }

    .process-title {
        font-size: 22px;
    }

    .process-title br {
        display: none;
    }

    .process-desc {
        font-size: 14px;
    }

    .process-deliverables span {
        font-size: 10px;
        padding: 4px 10px;
    }

    .cta-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .cta-left {
        padding: 80px clamp(24px, 5vw, 60px) 40px;
    }

    .cta-left-inner {
        position: relative;
        top: auto;
    }

    .cta-headline {
        font-size: clamp(40px, 12vw, 64px);
    }

    .cta-trust {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cta-right {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 48px clamp(24px, 5vw, 60px) 80px;
    }

    .form-services {
        grid-template-columns: 1fr;
    }

    .form-row-v2 {
        grid-template-columns: 1fr;
    }

    .form-steps-indicator {
        margin-bottom: 36px;
    }

    .form-dot-label {
        display: none;
    }

    .footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 48px 0;
    }

    .footer-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 48px 0;
    }

    .footer-cta-right {
        align-items: flex-start;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 36px 0;
    }

    .footer-newsletter-input {
        width: 200px;
    }

    .footer .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-giant-text {
        -webkit-text-stroke-width: 1px;
    }
}

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

    .footer-marquee {
        padding: 32px 0;
    }

    .footer-email {
        font-size: 14px;
        padding: 12px 20px;
    }

    .footer-cta-btn {
        padding: 16px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .footer-newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .footer-newsletter-input {
        width: 100%;
        border-radius: 100px;
        border-right: 1.5px solid rgba(255, 255, 255, 0.1);
    }

    .footer-newsletter-input:focus {
        border-right-color: var(--accent);
    }

    .footer-newsletter-btn {
        border-radius: 100px;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-ghost {
        text-align: center;
        justify-content: center;
    }

    /* Process — extra small */
    .process {
        padding: 60px 0;
    }

    .process-card {
        padding: 20px;
        border-radius: 12px;
    }

    .process-big-num {
        font-size: 36px;
    }

    .process-title {
        font-size: 20px;
    }

    .process-desc {
        font-size: 13px;
    }

    .process-deliverables span {
        font-size: 9px;
        padding: 3px 10px;
    }
}


/* ============================================
   LARGE SCREENS (1440px+)
   ============================================ */

@media (min-width: 1440px) {
    .hero {
        padding: 180px 0 140px;
    }

    .hero-tag {
        font-size: 14px;
        margin-bottom: 40px;
        gap: 16px;
    }

    .hero-tag::before {
        width: 40px;
    }

    .hero-sub {
        margin-bottom: 56px;
    }

    .btn-primary {
        padding: 20px 44px;
        font-size: 16px;
    }

    .btn-ghost, .btn-outline {
        padding: 20px 44px;
        font-size: 16px;
    }

    .marquee-track {
        font-size: 18px;
        gap: 52px;
    }

    .stats {
        padding: 100px 0;
    }

    .stat {
        padding: 24px 64px;
    }

    .stat-label {
        font-size: 16px;
        margin-top: 12px;
    }

    .work, .services, .process, .testimonial, .why-us, .cta-section, .big-statement {
        padding: 160px 0;
    }

    .big-statement-text {
        max-width: 1200px;
    }

    .section-header {
        margin-bottom: 80px;
    }

    .section-tag {
        font-size: 14px;
        margin-bottom: 24px;
        gap: 16px;
    }

    .section-tag::before {
        width: 40px;
    }

    .work-info {
        padding: 32px;
    }

    .work-info h3 {
        margin-bottom: 12px;
    }

    .work-metric {
        font-size: 22px;
    }

    .work-result {
        font-size: 16px;
    }

    .work-tag {
        font-size: 13px;
        padding: 6px 16px;
    }

    .svc-name {
        font-size: clamp(32px, 4vw, 56px);
    }

    .process-grid {
        gap: 28px;
    }

    .process-card {
        padding: 36px;
    }

    .process-title {
        font-size: clamp(26px, 2.5vw, 36px);
    }

    .process-desc {
        font-size: 16px;
    }

    .process-deliverables span {
        font-size: 11px;
        padding: 6px 14px;
    }

    .process-big-num {
        font-size: 64px;
    }

    .process-header {
        margin-bottom: 64px;
    }

    .testimonial-quote {
        font-size: 160px;
    }

    .why-right {
        gap: 0;
    }

    .why-item {
        padding: 40px 0 40px 32px;
    }

    .cta-sub {
        font-size: 19px;
    }

    .cta-right .form-wrapper {
        max-width: 560px;
    }

    .form-svc-card {
        padding: 22px 24px;
    }

    .form-question {
        font-size: 30px;
    }

    .footer-marquee {
        padding: 64px 0 56px;
    }

    .footer-cta-row {
        padding: 100px 0 88px;
    }

    .footer .footer-grid {
        gap: 72px;
        padding: 72px 0;
    }

    .footer-link, .footer-social {
        font-size: 17px;
        padding: 16px 0;
    }

    .footer-newsletter-input {
        width: 300px;
    }

    .logo-mark {
        font-size: 30px;
        letter-spacing: -0.02em;
    }

    .nav-link {
        font-size: 15px;
    }

    .nav-cta {
        font-size: 15px;
        padding: 14px 32px;
    }
}


/* ============================================
   ULTRAWIDE SCREENS (1920px+)
   ============================================ */

@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
        padding: 0 140px;
    }

    .nav {
        padding-left: 140px;
        padding-right: 140px;
    }

    .hero-content {
        max-width: 1800px;
        padding: 0 140px;
    }

    .hero {
        padding: 220px 0 180px;
    }

    .work-grid {
        gap: 40px;
    }

    .work-card-large .work-card-img {
        min-height: 560px;
    }

    .svc-num {
        font-size: 80px;
    }

    .svc-row {
        gap: 48px;
        padding: 56px 0;
    }

    .process-grid {
        gap: 32px;
    }

    .process-card {
        padding: 48px;
    }

    .process-big-num {
        font-size: 80px;
    }

    .stat-divider {
        height: 80px;
    }

    .footer-giant-text {
        -webkit-text-stroke-width: 2px;
    }

    .footer .footer-grid {
        gap: 80px;
    }

    .cta-left {
        padding: 140px;
    }

    .cta-right {
        padding: 100px 120px;
    }

    .cta-right .form-wrapper {
        max-width: 580px;
    }

    .form-svc-card {
        padding: 24px 28px;
    }

    .form-svc-name {
        font-size: 15px;
    }
}


/* ============================================
   ACCESSIBILITY — 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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .reveal-line span {
        transform: none;
    }

    .hero-win::after {
        width: 104%;
    }
}
