/*
 * ConnectSoft Marketing Site - Figma Redesign Styles
 * 
 * This file contains styles for the new Figma design implementation.
 * Overrides existing styles to match the new design specifications.
 * 
 * Design Source: Figma - Marketing Site Redesign 2026
 */

/* ============================================
   COLOR SYSTEM - FIGMA DESIGN TOKENS
   ============================================ */

:root {
    /* Neutrals (Dark Mode Bases) */
    --figma-neutral-900: #000000;        /* Black */
    --figma-neutral-800: #08090A;        /* Page */
    --figma-neutral-700: #121315;        /* Surface */
    --figma-neutral-600: #1C1E21;        /* Elevated */
    
    /* Alphas (White Overlays) */
    --figma-white-100: #FFFFFF;          /* 100% */
    --figma-white-80: rgba(255, 255, 255, 0.8);   /* 80% */
    --figma-white-40: rgba(255, 255, 255, 0.4);   /* 40% */
    --figma-white-20: rgba(255, 255, 255, 0.2);   /* 20% */
    --figma-white-10: rgba(255, 255, 255, 0.1);   /* 10% */
    
    /* Brand (Accents) */
    --figma-blue-primary: #0052FF;       /* Primary */
    --figma-blue-dark: #0039B3;          /* Dark */
    --figma-blue-glow: rgba(0, 82, 255, 0.6);     /* Glow (60% opacity) */

    /* Light hero noise multiply plate — only mix palette tokens */
    --figma-noise-light-plate: color-mix(in srgb, var(--figma-neutral-900) 42%, var(--figma-white-100));
}

/* Dark Theme Variables */
[data-theme="dark"] {
    /* Color Scheme 1 - Semantic Tokens */
    
    /* Text */
    --text-primary: var(--figma-white-100);         /* White / 100% */
    --text-secondary: var(--figma-white-80);        /* White / 80% */
    
    /* Backgrounds */
    --bg-page: var(--figma-neutral-800);            /* Neutral / 800 (Page) */
    --bg-surface: var(--figma-neutral-700);         /* Neutral / 700 (Surface/Card) */
    --bg-overlay: rgba(0, 0, 0, 0.8);               /* Neutral / 900 (80% opacity) */
    --bg-elevated: var(--figma-neutral-600);        /* Neutral / 600 (Elevated) */
    
    /* Borders */
    --border-subtle: var(--figma-white-10);         /* White / 10% */
    --border-strong: var(--figma-white-20);         /* White / 20% */
    --border-medium: var(--figma-white-20);
    
    /* Actions/Accents */
    --accent-primary: var(--figma-blue-primary);    /* Blue / Primary */
    --accent-primary-hover: var(--figma-blue-dark);
    --accent-glow: var(--figma-blue-glow);
    
    /* Additional semantic tokens */
    --text-tertiary: var(--figma-white-40);
}

/* ============================================
   GLOBAL PAGE BACKGROUND
   ============================================ */

html,
body {
    background-color: var(--figma-neutral-800);
}

/* ============================================
   MAIN GUTTERS (Figma-aligned)
   Apply consistent left/right insets globally
   so marketing pages match the Figma frames.
   ============================================ */
.marketing-main-gutters {
    width: 100%;
    padding-left: 100px;
    padding-right: 100px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .marketing-main-gutters {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 640px) {
    .marketing-main-gutters {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Dark theme: unify all gray page backgrounds to #08090A */
[data-theme="dark"] .bg-gray-900,
[data-theme="dark"] .bg-gray-950,
[data-theme="dark"] .dark\:bg-gray-900,
[data-theme="dark"] section.bg-gray-900,
[data-theme="dark"] div.bg-gray-900 {
    background-color: #08090A !important;
}

/* Dark theme: clients section seamless with hero — no border / no gap */
[data-theme="dark"] section.border-t.border-gray-800.section-gap {
    border-top: none !important;
    margin-top: 0 !important;
}

/* ============================================
   HOME PAGE - HERO SECTION (Figma Redesign)
   ============================================ */

/* H1 Desktop - "Scale your engineering team" */
.hero-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -0.02em; /* -2% */
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

/* Dark Theme Override */
[data-theme="dark"] .hero-title {
    color: #FFFFFF;
}

/* Light Theme Override */
[data-theme="light"] .hero-title {
    color: #1c1e21;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
        line-height: 100%;
        letter-spacing: -0.63px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
        line-height: 100%;
        letter-spacing: -0.54px;
    }
}

/* Hero Description - Body Large */
/* Figma: Body large · Heebo 400 · 18px · 140% lh · 0% ls · Center · Text/Secondary (white 80%) */
.hero-description {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;
    color: var(--text-secondary);
    margin: 0 auto 2rem;
    max-width: 560px;
}

[data-theme="dark"] .hero-description {
    color: var(--text-secondary); /* White / 80% */
}

[data-theme="light"] .hero-description {
    color: #4b5563;
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 16px;
    }
}

/* ============================================
   HOME PAGE - HERO SECTION LAYOUT
   Atmosphere (layers, grain, a11y): docs/HomeHeroFilmGrain.md
   ============================================ */

.home-hero-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    padding: 80px 0 0;
    /* Figma: deep navy wash top-right fading to near-black (under volumetric rays) */
    background:
        radial-gradient(ellipse 115% 90% at 100% -10%, rgba(0, 78, 245, 0.34) 0%, transparent 56%),
        radial-gradient(ellipse 78% 62% at 94% 6%, rgba(66, 140, 238, 0.20) 0%, transparent 52%),
        radial-gradient(ellipse 70% 65% at 96% 28%, rgba(66, 140, 238, 0.18) 0%, transparent 62%),
        radial-gradient(ellipse 80% 60% at 72% 0%, rgba(8, 20, 45, 0.9) 0%, transparent 55%),
        var(--figma-neutral-800);
}

/* Hero + tagline + clients logo strip: full section under content (z-index 1 vs content 2) */
.home-hero-noise-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    max-width: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    /* Tune strength via opacity / blend tokens on wrap */
    --hero-noise-opacity: 0.19;
    --hero-noise-blend: overlay;
    --hero-grid-size: 28px;
    --hero-grid-line: color-mix(in srgb, var(--figma-white-100) 11%, transparent);
    /* Slightly softer — more lines when cells are small */
    --hero-grid-opacity: 0.22;
    --hero-grid-blend: soft-light;
}

/* Non-zero bbox so filter #cs-hero-grain / #cs-hero-grain-static resolve everywhere (0×0 SVG breaks filter:url in some UAs). */
.home-hero-noise-filter-defs {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: visible;
    pointer-events: none;
    opacity: 0;
}

/* Monochrome noise layer — filter:url() on a filled box (reliable vs filtered <rect> sizing) */
.home-hero-noise {
    position: absolute;
    /* Oversized surface so we can pan across the grain without revealing hard edges */
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    background-color: var(--figma-white-100);
    opacity: var(--hero-noise-opacity);
    mix-blend-mode: var(--hero-noise-blend);
    filter: url(#cs-hero-grain);
    -webkit-filter: url(#cs-hero-grain);
    animation: hero-grain-drift 52s ease-in-out infinite;
    will-change: transform;
}

/* Subtle rectilinear grid on top of grain (Figma-style tech overlay) */
.home-hero-noise-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--hero-grid-opacity);
    mix-blend-mode: var(--hero-grid-blend);
    background-image:
        linear-gradient(to right, var(--hero-grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--hero-grid-line) 1px, transparent 1px);
    background-size: var(--hero-grid-size) var(--hero-grid-size);
}

/* Traveling highlights on actual grid lines — horizontal (rows) + vertical (columns); stagger ≈ random */
.home-hero-noise-pulses {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-hero-noise-pulse {
    position: absolute;
    pointer-events: none;
}

/* Track clips the moving head; blend + blur on track */
.home-hero-noise-pulse--h {
    left: 0;
    width: 100%;
    height: 2px;
    overflow: hidden;
    mix-blend-mode: plus-lighter;
    filter: blur(0.4px);
}

.home-hero-noise-pulse--h .home-hero-noise-pulse__head {
    position: absolute;
    top: 0;
    width: 42%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 28%,
        color-mix(in srgb, var(--figma-white-100) 42%, transparent) 50%,
        color-mix(in srgb, var(--figma-blue-primary) 26%, transparent) 52%,
        transparent 72%,
        transparent 100%
    );
    opacity: 0;
    will-change: left, opacity;
    animation-name: hero-pulse-h-head-move, hero-pulse-h-head-fade;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
}

.home-hero-noise-pulse--h1 {
    top: calc(5 * var(--hero-grid-size) + 1px);
}

.home-hero-noise-pulse--h1 .home-hero-noise-pulse__head {
    animation-duration: 15.5s, 15.5s;
    animation-delay: -1.2s, -1.2s;
}

.home-hero-noise-pulse--h2 {
    top: calc(13 * var(--hero-grid-size) + 5px);
}

.home-hero-noise-pulse--h2 .home-hero-noise-pulse__head {
    animation-duration: 21s, 21s;
    animation-delay: -6.5s, -6.5s;
}

.home-hero-noise-pulse--h3 {
    top: calc(27 * var(--hero-grid-size) - 3px);
}

.home-hero-noise-pulse--h3 .home-hero-noise-pulse__head {
    animation-duration: 26s, 26s;
    animation-delay: -11s, -11s;
}

.home-hero-noise-pulse--v {
    top: 0;
    height: 100%;
    width: 2px;
    overflow: hidden;
    mix-blend-mode: plus-lighter;
    filter: blur(0.4px);
}

.home-hero-noise-pulse--v .home-hero-noise-pulse__head {
    position: absolute;
    left: 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 30%,
        color-mix(in srgb, var(--figma-white-100) 38%, transparent) 50%,
        color-mix(in srgb, var(--figma-blue-primary) 24%, transparent) 52%,
        transparent 70%,
        transparent 100%
    );
    opacity: 0;
    will-change: top, opacity;
    animation-name: hero-pulse-v-head-move, hero-pulse-v-head-fade;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
}

.home-hero-noise-pulse--v1 {
    left: calc(4 * var(--hero-grid-size) + 2px);
}

.home-hero-noise-pulse--v1 .home-hero-noise-pulse__head {
    animation-duration: 18s, 18s;
    animation-delay: -3.5s, -3.5s;
}

.home-hero-noise-pulse--v2 {
    left: calc(16 * var(--hero-grid-size) - 2px);
}

.home-hero-noise-pulse--v2 .home-hero-noise-pulse__head {
    animation-duration: 24s, 24s;
    animation-delay: -9s, -9s;
}

.home-hero-noise-pulse--v3 {
    left: calc(33 * var(--hero-grid-size) + 4px);
}

.home-hero-noise-pulse--v3 .home-hero-noise-pulse__head {
    animation-duration: 29s, 29s;
    animation-delay: -14.5s, -14.5s;
}

@keyframes hero-pulse-h-head-move {
    from {
        left: -38%;
    }

    to {
        left: 112%;
    }
}

@keyframes hero-pulse-h-head-fade {
    0% {
        opacity: 0;
    }

    14% {
        opacity: 0.72;
    }

    86% {
        opacity: 0.52;
    }

    100% {
        opacity: 0;
    }
}

@keyframes hero-pulse-v-head-move {
    from {
        top: -38%;
    }

    to {
        top: 112%;
    }
}

@keyframes hero-pulse-v-head-fade {
    0% {
        opacity: 0;
    }

    16% {
        opacity: 0.68;
    }

    84% {
        opacity: 0.48;
    }

    100% {
        opacity: 0;
    }
}

/* Bursts: default idle; JS adds .home-hero-noise-burst--pop when pulse heads overlap */
.home-hero-noise-burst {
    position: absolute;
    width: clamp(80px, 12vw, 168px);
    height: clamp(80px, 12vw, 168px);
    margin: 0;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: plus-lighter;
    background: radial-gradient(
        circle at 50% 50%,
        color-mix(in srgb, var(--figma-white-100) 72%, transparent) 0%,
        color-mix(in srgb, var(--figma-blue-primary) 48%, transparent) 32%,
        transparent 64%
    );
    transform: translate(-50%, -50%) scale(0.12);
    opacity: 0;
    filter: blur(2px);
    will-change: transform, opacity, filter;
}

.home-hero-noise-burst--1 {
    left: calc(4 * var(--hero-grid-size) + 2px);
    top: calc(5 * var(--hero-grid-size) + 1px);
}

.home-hero-noise-burst--2 {
    left: calc(16 * var(--hero-grid-size) - 2px);
    top: calc(13 * var(--hero-grid-size) + 5px);
}

.home-hero-noise-burst--3 {
    left: calc(33 * var(--hero-grid-size) + 4px);
    top: calc(27 * var(--hero-grid-size) - 3px);
}

.home-hero-noise-burst--4 {
    left: calc(16 * var(--hero-grid-size) - 2px);
    top: calc(5 * var(--hero-grid-size) + 1px);
}

.home-hero-noise-burst.home-hero-noise-burst--pop {
    animation: hero-grid-burst-pop 0.58s ease-out forwards;
}

@keyframes hero-grid-burst-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.18);
        opacity: 0;
        filter: blur(4px);
    }

    38% {
        transform: translate(-50%, -50%) scale(1.02);
        opacity: 0.92;
        filter: blur(0);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.65);
        opacity: 0;
        filter: blur(12px);
    }
}

/* Main hero content wrapper — vertically centered, takes remaining space */
.home-hero-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 56px;
    position: relative;
    z-index: 2;
    /* Fill hero width (flex item + margin-inline:auto otherwise shrinks to content and looks "centered") */
    align-self: stretch;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    /* Figma: hero content starts at y=114 within the rays frame */
    padding-top: 114px;
    box-sizing: border-box;
    /* Horizontal inset comes from .marketing-main-gutters on <main> — do not double 100px here */
    padding-inline: 0;
}

/* Clients logos row at the bottom of the hero section (MarqueeStrip clips horizontally; keep no vertical clip so atmosphere shows). */
.home-hero-clients {
    position: relative;
    z-index: 2;
    padding: 60px 0 40px;
}

.home-hero-logos-track {
    display: flex;
    width: max-content;
    animation: scroll-rtl 30s linear infinite;
    will-change: transform;
}

.home-hero-clients:hover .home-hero-logos-track {
    animation-play-state: paused;
}

.home-hero-logos-set {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    box-sizing: border-box;
    padding-right: 24px;
}

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

.home-hero-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 232px;
    height: 100px;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.home-hero-logo-item:hover {
    opacity: 1;
}

.home-hero-logo-item img {
    max-height: 28px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Volumetric light rays — masked multi-layer conic (Figma: top-right → center-left)
   NOTE: conic color-stop angles are measured from 12 o'clock, clockwise (use from 0deg
   so stops 200°–280° aim into the page; a non-zero `from` rotates ALL stops and broke rays). */
/* Full section height so volumetric light + glow reach tagline + clients strip (Figma: beam/grain over logo row). */
.home-hero-rays {
    position: absolute;
    inset: 0;
    width: auto;
    max-width: none;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    /* Focal point: upper-right; conic + mask share this */
    --hero-rays-origin: 86% 9%;
    --hero-rays-mask-fade: 72%;
}

/* Soft blue bloom — #004EF5 / #428CEE ellipses (Figma-style source glow) */
.home-hero-rays__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 58% 52% at 92% 12%,
            rgba(255, 255, 255, 0.26) 0%,
            rgba(255, 255, 255, 0.10) 34%,
            transparent 60%),
        radial-gradient(ellipse 70% 70% at 90% 18%,
            rgba(0, 78, 245, 0.62) 0%,
            rgba(0, 82, 255, 0.26) 42%,
            transparent 72%),
        radial-gradient(ellipse 60% 60% at 98% 6%,
            rgba(66, 140, 238, 0.52) 0%,
            rgba(80, 140, 255, 0.22) 42%,
            transparent 66%);
    filter: blur(72px);
    mix-blend-mode: plus-lighter;
    animation: hero-glow-breathe 12s ease-in-out infinite;
}

/* Three stacked conic layers: radial mask + subtle skew sway */
.home-hero-rays__layer1,
.home-hero-rays__layer2,
.home-hero-rays__layer3 {
    position: absolute;
    inset: -18%;
    z-index: 1;
    transform-origin: var(--hero-rays-origin);
    /* Simple two-stop mask — reliable in WebKit; rgba mid-stops can invalidate mask */
    -webkit-mask-image: radial-gradient(
        circle at var(--hero-rays-origin),
        white 0%,
        transparent var(--hero-rays-mask-fade)
    );
    mask-image: radial-gradient(
        circle at var(--hero-rays-origin),
        white 0%,
        transparent var(--hero-rays-mask-fade)
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    mix-blend-mode: plus-lighter;
    filter: blur(18px);
    will-change: transform;
    pointer-events: none;
}

/* Fan ~178°–280°: white + blue streaks (pre–literal Figma angular copy) */
.home-hero-rays__layer1 {
    z-index: 1;
    background: conic-gradient(
        from 0deg at var(--hero-rays-origin),
        transparent 0deg,
        transparent 178deg,
        rgba(255, 255, 255, 0.20) 184deg,
        transparent 189deg,
        rgba(120, 175, 255, 0.22) 196deg,
        transparent 201deg,
        rgba(255, 255, 255, 0.24) 208deg,
        transparent 214deg,
        rgba(0, 82, 255, 0.20) 220deg,
        transparent 226deg,
        rgba(255, 255, 255, 0.18) 232deg,
        transparent 238deg,
        rgba(80, 140, 255, 0.22) 245deg,
        transparent 252deg,
        rgba(255, 255, 255, 0.16) 258deg,
        transparent 265deg,
        rgba(100, 160, 255, 0.18) 272deg,
        transparent 280deg,
        transparent 360deg
    );
    animation: hero-rays-sway 3.5s linear infinite alternate;
}

.home-hero-rays__layer2 {
    z-index: 2;
    background: conic-gradient(
        from 0deg at var(--hero-rays-origin),
        transparent 0deg,
        transparent 182deg,
        rgba(0, 82, 255, 0.18) 188deg,
        transparent 193deg,
        rgba(255, 255, 255, 0.18) 200deg,
        transparent 206deg,
        rgba(66, 140, 238, 0.20) 212deg,
        transparent 218deg,
        rgba(255, 255, 255, 0.22) 225deg,
        transparent 231deg,
        rgba(80, 140, 255, 0.18) 238deg,
        transparent 244deg,
        rgba(255, 255, 255, 0.14) 250deg,
        transparent 256deg,
        rgba(0, 78, 245, 0.16) 262deg,
        transparent 269deg,
        rgba(255, 255, 255, 0.16) 276deg,
        transparent 284deg,
        transparent 360deg
    );
    animation: hero-rays-sway 7s linear infinite alternate;
    animation-delay: -1.2s;
}

.home-hero-rays__layer3 {
    z-index: 3;
    background: conic-gradient(
        from 0deg at var(--hero-rays-origin),
        transparent 0deg,
        transparent 186deg,
        rgba(255, 255, 255, 0.14) 192deg,
        transparent 197deg,
        rgba(140, 185, 255, 0.18) 204deg,
        transparent 210deg,
        rgba(255, 255, 255, 0.20) 216deg,
        transparent 222deg,
        rgba(0, 82, 255, 0.16) 228deg,
        transparent 234deg,
        rgba(255, 255, 255, 0.13) 240deg,
        transparent 246deg,
        rgba(100, 160, 255, 0.18) 253deg,
        transparent 260deg,
        rgba(255, 255, 255, 0.14) 268deg,
        transparent 275deg,
        rgba(66, 140, 238, 0.16) 282deg,
        transparent 290deg,
        transparent 360deg
    );
    animation: hero-rays-sway 6.5s linear infinite alternate;
    animation-delay: -2.4s;
}

@keyframes hero-rays-sway {
    to {
        transform: skewX(-10deg) skewY(2deg);
    }
}

/* Under-glow — subtle breathing (Figma variants are gentle) */
@keyframes hero-glow-breathe {
    0%   { opacity: 1;    transform: scale(1);      }
    35%  { opacity: 0.72; transform: scale(0.98);  }
    65%  { opacity: 1.05; transform: scale(1.02);   }
    100% { opacity: 1;    transform: scale(1);      }
}

/* Irregular path + plateaus (%…% same transform) = slow drift with moments when everything “rests” */
@keyframes hero-grain-drift {
    0%,
    12% {
        transform: translate(0, 0);
    }
    21% {
        transform: translate(5.2%, -4.8%);
    }
    21%,
    30% {
        transform: translate(5.2%, -4.8%);
    }
    39% {
        transform: translate(-4.1%, 6.5%);
    }
    39%,
    49% {
        transform: translate(-4.1%, 6.5%);
    }
    57% {
        transform: translate(3.8%, 4.2%);
    }
    57%,
    68% {
        transform: translate(3.8%, 4.2%);
    }
    76% {
        transform: translate(-5.5%, -3.6%);
    }
    76%,
    87% {
        transform: translate(-5.5%, -3.6%);
    }
    95%,
    100% {
        transform: translate(0, 0);
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-hero-rays__layer1,
    .home-hero-rays__layer2,
    .home-hero-rays__layer3,
    .home-hero-rays__glow {
        animation: none;
    }

    .home-hero-noise {
        animation: none;
        filter: url(#cs-hero-grain-static);
        -webkit-filter: url(#cs-hero-grain-static);
    }

    .home-hero-noise-pulse--h .home-hero-noise-pulse__head,
    .home-hero-noise-pulse--v .home-hero-noise-pulse__head {
        animation: none !important;
        opacity: 0 !important;
    }

    .home-hero-noise-burst,
    .home-hero-noise-burst.home-hero-noise-burst--pop {
        animation: none !important;
        opacity: 0 !important;
    }

    .home-hero-showcase__item {
        transition: opacity 0.45s ease;
    }

    .home-hero-showcase__item:hover {
        transform: scale(1);
    }
}

/* RTL: mirror rays to visual left; mirror showcase layout, un-flip images */
[dir="rtl"] .home-hero-rays {
    transform: scaleX(-1);
}

[dir="rtl"] .home-hero-showcase {
    transform: scaleX(-1);
}

[dir="rtl"] .home-hero-showcase__item img {
    transform: scaleX(-1);
}

[dir="rtl"] .home-hero-noise-grid,
[dir="rtl"] .home-hero-noise-pulses {
    transform: scaleX(-1);
}

.home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.home-hero-title {
    text-align: start !important;
}

.home-hero-desc {
    text-align: start !important;
    margin-inline: 0 !important;
    margin-bottom: 60px !important;
    max-width: 608px;
}

/* .hero-description is globally centered for other pages; home hero matches Figma (start + no auto margins) */
.home-hero-section .hero-description {
    text-align: start !important;
    margin-inline: 0 !important;
    max-width: 608px;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

/* ---- Hero showcase — overlapping cards matching Figma absolute layout ---- */
.home-hero-showcase {
    position: relative;
    z-index: 1;
    /* Wider block so the four cards read larger */
    width: 67%;
    aspect-ratio: 755 / 509;
    flex-shrink: 0;
}

.home-hero-showcase__item {
    position: absolute;
    overflow: hidden;
    border-radius: 14px;
    opacity: 0.04;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: scale(1);
    transform-origin: center center;
    transition: opacity 0.55s ease, transform 0.55s ease;
    z-index: 1;
}

/* plan — top-center-left */
.home-hero-showcase__item:nth-child(1) {
    left: 5%;
    top: 3%;
    width: 42%;
    height: 48%;
}

/* code — top-right, blend lighten */
.home-hero-showcase__item:nth-child(2) {
    left: 52%;
    top: 1%;
    width: 41%;
    height: 58%;
    mix-blend-mode: lighten;
}

/* mockup — bottom-left, blend lighten */
.home-hero-showcase__item:nth-child(3) {
    left: 2%;
    top: 43%;
    width: 58%;
    height: 55%;
    mix-blend-mode: lighten;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* roles — bottom-right */
.home-hero-showcase__item:nth-child(4) {
    left: 54%;
    top: 51%;
    width: 42%;
    height: 46%;
}

.home-hero-showcase__item:hover {
    opacity: 1;
    transform: scale(1.085);
    z-index: 8;
}

/* Mobile: cards always visible (Figma mobile); desktop keeps hover reveal */
@media (max-width: 768px) {
    .home-hero-showcase__item {
        opacity: 1;
        -webkit-tap-highlight-color: transparent;
    }
}

.home-hero-showcase__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .home-hero-showcase {
        width: 56%;
    }
}

@media (max-width: 768px) {
    .home-hero-showcase {
        width: 100%;
        aspect-ratio: 3 / 2;
        margin-top: 40px;
    }
}

/* Tagline — between hero content and clients logos */
.home-hero-tagline {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 50px 0 0;
}

.home-hero-tagline .clients-title {
    margin-bottom: 0;
}

.home-hero-tagline .clients-subtitle {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .home-hero-section {
        padding: 60px 0 0;
    }
    /* No scale — scaling the whole stack shrinks paint into the corner and strips rays from the copy area */
    .home-hero-rays {
        transform: none;
        --hero-rays-origin: 88% 8%;
        --hero-rays-mask-fade: 76%;
    }
    [dir="rtl"] .home-hero-rays {
        transform: scaleX(-1);
    }
    .home-hero-clients {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .home-hero-section {
        padding: 48px 0 0;
        min-height: auto;
    }

    .home-hero-main {
        flex: 0 0 auto !important;
        flex-direction: column;
        align-items: stretch;
        padding-top: 0 !important; /* keep mobile spacing consistent */
    }

    /* Narrow screens: pull focal in; stack still fills section so strip stays inside the light field */
    .home-hero-rays {
        transform: none;
        inset: 0;
        --hero-rays-origin: 78% 12%;
        --hero-rays-mask-fade: 92%;
    }
    [dir="rtl"] .home-hero-rays {
        transform: scaleX(-1);
    }

    .home-hero-rays__layer1,
    .home-hero-rays__layer2,
    .home-hero-rays__layer3 {
        filter: blur(11px);
        inset: -18%;
    }

    .home-hero-rays__glow {
        filter: blur(36px);
    }

    .home-hero-content {
        max-width: 100%;
    }

    .home-hero-title {
        font-size: 42px !important;
        line-height: 100% !important;
        letter-spacing: -0.63px !important;
        margin-bottom: 16px !important;
    }

    .home-hero-desc {
        font-size: 16px !important;
        line-height: 140% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
    }

    .home-hero-actions {
        margin-top: 60px !important;
        width: 100%;
        gap: 24px !important;
        flex-wrap: nowrap !important;
    }

    .home-hero-actions > * {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .home-hero-cta-primary,
    .hero-btn-secondary {
        display: flex !important;
        justify-content: center !important;
        padding: 16px 24px !important;
    }

    .hero-btn-secondary {
        border: 1px solid white !important;
        border-radius: 30px !important;
    }

    .home-hero-tagline {
        margin-top: 160px;
        padding: 0;
        gap: 8px;
    }

    .home-hero-tagline .clients-title,
    .home-hero-tagline .clients-subtitle {
        font-size: 16px !important;
    }

    .home-hero-clients {
        padding: 24px 0 !important;
        overflow: hidden !important;
    }

    .home-hero-logos-set {
        padding: 0 !important;
    }

    .home-hero-logo-item svg {
        height: 20px !important;
        width: auto !important;
    }

    .home-hero-logo-item img {
        max-height: 20px !important;
        max-width: 160px !important;
    }
}

/* Hero title — two-tone effect for dark theme (Figma) */
[data-theme="dark"] .hero-title-accent {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Home clients section — H3 Desktop */
.clients-title {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    color: #FFFFFF !important;
}

/* Home clients subtitle — H3 Regular Desktop */
.clients-subtitle {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Home section title — H2 Desktop */
.home-section-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.72px;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-align: center;
}

/* Home section subtitle — Body large */
.home-section-subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 636px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .home-section-title { font-size: 32px; }
    .home-section-subtitle { font-size: 16px; }
    .clients-title { font-size: 18px !important; }
    .clients-subtitle { font-size: 18px !important; }
}

/* ============================================
   PRICING HERO - FIGMA REDESIGN
   ============================================ */

.pricing-hero-section {
    background-color: var(--figma-neutral-800);
    padding: 60px 0 80px;
    text-align: center;
}

.pricing-hero-content {
    max-width: 1040px;
    margin: 0 auto;
}

.pricing-hero-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -0.015em;
    color: var(--figma-white-100);
    margin: 0 0 24px;
}

.pricing-hero-subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    color: var(--text-secondary);
    margin: 0;
    max-width: 640px;
    display: inline-block;
}

@media (max-width: 1024px) {
    .pricing-hero-section {
        padding: 60px 0 60px;
    }
    .pricing-hero-title {
        font-size: 48px;
    }
    .pricing-hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .pricing-hero-section {
        padding: 48px 0 48px;
    }
    .pricing-hero-title {
        font-size: 42px;
        letter-spacing: -0.63px;
    }
    .pricing-hero-subtitle {
        font-size: 16px;
    }
}

/* ============================================
   PRICING CARDS - FIGMA REDESIGN
   ============================================ */

.pricing-cards-section {
    background-color: var(--figma-neutral-800);
    padding: 0 0 40px;
}

/* Grid wrapper: 100px horizontal padding, full width */
.pricing-grid-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.pricing-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .pricing-grid-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .pricing-cards-row {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing-grid-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .pricing-card--popular {
        order: -1;
    }
    .pricing-card {
        border-radius: 16px;
        padding: 16px;
    }
    .pricing-card__icon svg {
        width: 40px;
        height: 40px;
    }
    .pricing-card__name {
        font-size: 20px;
    }
    .pricing-card__description {
        font-size: 14px;
    }
}

/* Base card */
.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 26px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    transition: border-color 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pricing-card:hover {
    border-color: var(--border-medium);
}

/* Popular card — inner blue border + drop shadow */
.pricing-card--popular {
    background: linear-gradient(rgba(0, 82, 255, 0.04), rgba(0, 82, 255, 0.04)),
                rgba(255, 255, 255, 0.04);
    border: none;
    box-shadow:
        inset 0 0 0 1px #0052FF,
        0 0 20px 4px rgba(0, 82, 255, 0.24);
}

.pricing-card--popular:hover {
    border: none;
    box-shadow:
        inset 0 0 0 1px #0052FF,
        0 0 28px 6px rgba(0, 82, 255, 0.35);
}

/* Icon container */
/* Icon + Badge row — flex layout from Figma 819:26950 */
.pricing-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

/* Name + Description wrapper — Figma 819:26953 */
.pricing-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-card__icon {
    display: inline-flex;
    align-items: flex-start;
    flex-shrink: 0;
    overflow: visible;
}

/* "Most popular" badge — tags: Heebo 500 · 16px · 90% lh · Text/Primary */
.pricing-card__badge {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--figma-white-100);
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 90%;
    letter-spacing: 0;
    padding: 8px 16px;
    border-radius: 30px;
    white-space: nowrap;
}

/* Plan title — H3 Desktop: Heebo 700 · 24px · 130% lh · 0% ls · Text/Primary */
.pricing-card__name {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0;
    color: var(--figma-white-100);
    margin: 0;
}

/* Separator — 1px · Border/Strong (#FFFFFF 20%) */
.pricing-card__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
}

/* Plan description */
.pricing-card__description {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-secondary);
    margin: 0;
}

/* Features container */
.pricing-card__features {
    flex-grow: 1;
}

.pricing-card__features-label {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0 0 16px;
}

.pricing-card__features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-card__feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card__check-icon {
    flex-shrink: 0;
}

.pricing-card__feature-text {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--figma-white-100);
}

/* ============================================
   PRICING CTA SECTION - FIGMA REDESIGN
   ============================================ */

.pricing-cta-section {
    background-color: var(--figma-neutral-800);
    padding: 100px 0 64px;
}

.pricing-cta-card {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 26px;
    padding: 48px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    overflow: hidden;
}

.pricing-cta-card > * {
    position: relative;
    z-index: 2;
}

/* Ellipse 26 — blue ambient glow, 826×346px, #0052FF 24%, blur 400 */
.pricing-cta-card::before {
    content: '';
    position: absolute;
    width: 826px;
    height: 346px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 82, 255, 0.24);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

/* Ellipse 28 — amber/orange glow, 826×346px, #FF3C00 24%, blur 400 */
.pricing-cta-card::after {
    content: '';
    position: absolute;
    width: 826px;
    height: 346px;
    right: -413px;
    top: 0;
    transform: translateY(-50%);
    background: rgba(255, 60, 0, 0.24);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .pricing-cta-section {
        padding: 48px 0;
    }
    .pricing-cta-card {
        padding: 48px 40px;
    }
}

@media (max-width: 768px) {
    .pricing-cta-section {
        padding: 80px 0;
    }
    .pricing-cta-card {
        padding: 48px 16px;
        border-radius: 16px;
    }
}

/* ============================================
   PRICING - LIGHT THEME OVERRIDES
   ============================================ */

[data-theme="light"] .pricing-hero-section {
    background-color: #F8F9FA;
}

[data-theme="light"] .pricing-hero-title {
    color: var(--figma-neutral-800);
}

[data-theme="light"] .pricing-hero-subtitle {
    color: #6B7280;
}

[data-theme="light"] .pricing-cards-section {
    background-color: #F8F9FA;
}

[data-theme="light"] .pricing-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: transparent;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

[data-theme="light"] .pricing-card:hover {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-card--popular {
    background: linear-gradient(rgba(0, 82, 255, 0.03), rgba(0, 82, 255, 0.03)),
                rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 0 1px #0052FF,
        0 0 20px 4px rgba(0, 82, 255, 0.24);
}

[data-theme="light"] .pricing-card__badge {
    color: var(--figma-neutral-800);
    border-color: #D1D5DB;
}

[data-theme="light"] .pricing-card__name {
    color: var(--figma-neutral-800);
}

[data-theme="light"] .pricing-card__description {
    color: #6B7280;
}

[data-theme="light"] .pricing-card__divider {
    border-top-color: #E5E7EB;
}

[data-theme="light"] .pricing-card__features-label {
    color: #6B7280;
}

[data-theme="light"] .pricing-card__feature-text {
    color: #1F2937;
}

[data-theme="light"] .pricing-cta-section {
    background-color: transparent;
}

[data-theme="light"] .pricing-cta-card {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid white;
}

[data-theme="light"] .pricing-cta-card h2 {
    color: #1c1e21 !important;
}

[data-theme="light"] .pricing-cta-card p {
    color: rgba(0, 0, 0, 0.5) !important;
}


/* ============================================
   LEGAL PAGES (Terms, Privacy, etc.) - FIGMA REDESIGN
   ============================================ */

/* Hero Section */
.legal-hero-section {
    background-color: var(--figma-neutral-800);
    padding: 80px 0 60px;
    text-align: center;
}

.legal-hero-content {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 60px;
}

.legal-hero-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -1.44px;
    color: var(--figma-white-100);
    margin: 0;
}

.legal-hero-subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-secondary);
    margin: 0;
}

/* Content Section */
.legal-content-section {
    background-color: var(--figma-neutral-800);
    padding: 0 0 80px;
    position: relative;
}

.legal-content-wrapper {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

/* Content Blocks */
.legal-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-block__heading {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: var(--figma-white-100);
    margin: 0;
}

.legal-block__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-block__paragraph {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-secondary);
    margin: 0;
}

/* Numbered Sections (1., 2., etc.) */
.legal-numbered-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-numbered-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-numbered-section__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-secondary);
    margin: 0;
}

/* Lettered Items (a., b., c.) */
.legal-lettered-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-lettered-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 0 8px;
}

.legal-lettered-item__letter {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.legal-lettered-item__text {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-secondary);
    margin: 0;
}

.legal-lettered-item__label {
    font-weight: 600;
    color: var(--figma-white-100);
}

.legal-contact-text {
    padding-left: 8px;
}

.legal-email-link {
    color: #0052FF;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-email-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Legal Pages — Responsive */
@media (max-width: 1024px) {
    .legal-hero-section {
        padding: 60px 0 40px;
    }
    .legal-hero-content {
        padding-top: 40px;
    }
    .legal-hero-title {
        font-size: 48px;
    }
    .legal-content-section {
        padding: 0 0 60px;
    }
    .legal-content-wrapper {
        padding: 0;
    }
}

@media (max-width: 640px) {
    .legal-hero-section {
        padding: 40px 0 32px;
    }
    .legal-hero-content {
        padding-top: 24px;
    }
    .legal-hero-title {
        font-size: 36px;
    }
    .legal-hero-subtitle {
        font-size: 16px;
    }
    .legal-content-section {
        padding: 0 0 40px;
    }
    .legal-content-wrapper {
        gap: 40px;
    }
}

/* Legal Pages — Light Theme */
[data-theme="light"] .legal-hero-section {
    background-color: #f0ecec;
}

[data-theme="light"] .legal-hero-title {
    color: #1c1e21;
}

[data-theme="light"] .legal-hero-subtitle {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .legal-content-section {
    background-color: #f0ecec;
}

[data-theme="light"] .legal-block__heading {
    color: #1c1e21;
}

[data-theme="light"] .legal-block__paragraph {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .legal-numbered-section__title {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .legal-lettered-item__letter {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .legal-lettered-item__text {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .legal-lettered-item__label {
    color: #1c1e21;
}

[data-theme="light"] .legal-email-link {
    color: #0052FF;
}


/* ============================================
   FOOTER - FIGMA REDESIGN
   ============================================ */

.footer-root {
    position: relative;
    background-color: #08090A;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 0;
    overflow: hidden;
}

.footer-root::before {
    content: '';
    position: absolute;
    width: 826px;
    height: 346px;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    background: rgba(0, 82, 255, 0.16);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.footer-root > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .footer-root {
        padding: 60px 40px;
    }
}

@media (max-width: 640px) {
    .footer-root {
        padding: 40px 16px;
        gap: 40px;
    }
}

/* ===========================================
   HEADER
   =========================================== */

.header-root {
    background-color: #08090A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 50;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo svg {
    height: 32px;
    width: auto;
}

.header-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.header-nav .nav-link {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.15s;
}

.header-nav .nav-link:hover {
    color: #FFFFFF;
}

.header-nav .nav-link.active {
    color: #FFFFFF;
    font-weight: 700;
    background-color: transparent;
    background: none;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .header-actions {
        display: flex;
    }
}

.header-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.15s;
    flex-shrink: 0;
}

.header-theme-toggle:hover {
    color: #FFFFFF;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 30px;
    border: none;
    color: #08090A;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 90%;
    text-decoration: none;
    background: #FFFFFF;
    white-space: nowrap;
    transition: background-color 0.15s;
}

.header-cta:hover {
    background: #E5E5E5;
    color: #08090A;
}

/* Company Dropdown */
.company-dropdown {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    margin-top: 8px;
    width: 380px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 8px;
    z-index: 50;
}

.company-dropdown__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.company-dropdown__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

.company-dropdown__item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.company-dropdown__icon {
    width: 47px;
    height: 47px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
}

.company-dropdown__icon svg {
    width: 30px;
    height: 30px;
    overflow: visible;
}

.company-dropdown__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-dropdown__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: white;
}

.company-dropdown__desc {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
    .header-inner {
        padding: 20px 40px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding: 16px;
    }
}

/* ===========================================
   MOBILE MENU (Figma 848:55197)
   =========================================== */

/* Hamburger toggle button in header bar */
.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: background-color 0.15s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Fullscreen overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: var(--page-background, #08090A);
    display: flex;
    flex-direction: column;
    overflow-y: hidden; /* keep footer pinned; list scrolls */
    overflow-x: hidden;
}

/* Ambient blur / ellipse behind the mobile menu (Figma 848:55514) */
.mobile-menu-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mobile-menu-ambient::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(ellipse at 80% 35%, rgba(0, 82, 255, 0.22) 0%, transparent 60%);
    opacity: 0.9;
}

.mobile-menu-ambient-ellipse {
    position: absolute;
    left: 50%;
    top: 248px;
    width: 826px;
    height: 409px;
    transform: translate(-50%, -50%) rotate(-90deg);
    border-radius: 9999px;
    background: rgba(0, 82, 255, 0.16);
    filter: blur(170px);
}

/* Header row: logo + close */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.mobile-menu-header .header-logo svg {
    height: 24px;
    width: auto;
}

/* Close button */
.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.15s;
}

.mobile-menu-close:hover {
    color: #FFFFFF;
}

/* Scrollable nav items */
.mobile-menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 48px 16px 16px;
    overflow-y: auto; /* scroll only the list */
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}

/* Divider lines between items */
.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Single nav link */
.mobile-menu-link {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    transition: color 0.15s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: start;
}

.mobile-menu-link:hover {
    color: #FFFFFF;
}

/* Expandable item (Company) */
.mobile-menu-link--expandable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-menu-chevron {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mobile-menu-chevron--open {
    transform: rotate(180deg);
}

/* Submenu */
.mobile-menu-submenu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-inline-start: 16px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
    margin-inline-start: 4px;
    margin-top: 4px;
}

.mobile-menu-submenu__link {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.15s;
}

.mobile-menu-submenu__link:hover {
    color: #FFFFFF;
}

/* Language switcher inline row */
.mobile-menu-link--inline {
    display: flex;
    align-items: center;
}

.mobile-menu-link--inline .nav-link {
    font-size: 18px;
    line-height: 140%;
}

/* Theme toggle inline row */
.mobile-menu-link--theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Footer area: CTA pinned to bottom */
.mobile-menu-footer {
    padding: 16px;
    flex-shrink: 0;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 30px;
    background: #FFFFFF;
    color: var(--page-background, #08090A);
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 90%;
    text-decoration: none;
    transition: background-color 0.15s;
}

.mobile-menu-cta:hover {
    background: #E5E5E5;
    color: var(--page-background, #08090A);
}

/* ===========================================
   FAQ PAGE
   =========================================== */

/* Page wrapper — matches Figma 819:26882
   flex column, gap 80px, centers hero + cards */
.faq-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.faq-hero-section {
    padding: 60px 0 0;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.faq-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.faq-hero-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -1.44px;
    color: var(--figma-white-100, #FFFFFF);
    margin: 0;
}

.faq-hero-subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    margin: 0;
}

/* Ellipse 26 — Figma 819:26886
   1132×474, fill #0052FF 16%, Layer blur.
   Positioned at Y:263 inside hero (= behind cards area).
   Centered horizontally on the page. */
.faq-ellipse {
    position: absolute;
    width: 1132px;
    height: 474px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 82, 255, 0.16);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.faq-section {
    position: relative;
    padding: 0;
    width: 100%;
    z-index: 1;
}

.faq-cards-row {
    position: relative;
    z-index: 1;
}

.faq-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.faq-cards-row {
    display: flex;
    gap: 24px;
}

.faq-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-height: 129px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.faq-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.faq-card__question {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: var(--figma-white-100, #FFFFFF);
    margin: 0;
}

.faq-card__answer {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    margin: 0;
}

/* --- FAQ light theme (Figma node 819:26882) --- */
[data-theme="light"] .faq-hero-title {
    color: #1c1e21;
}

[data-theme="light"] .faq-hero-subtitle {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .faq-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .faq-card:hover {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .faq-card__question {
    color: #1c1e21;
}

[data-theme="light"] .faq-card__answer {
    color: rgba(0, 0, 0, 0.5);
}

/* --- FAQ responsive --- */
@media (max-width: 1024px) {
    .faq-page-wrapper {
        gap: 60px;
    }

    .faq-hero-section {
        padding: 40px 0 0;
    }

    .faq-hero-title {
        font-size: 48px;
    }

    .faq-section {
        padding: 0;
    }

    .faq-ellipse {
        width: 900px;
        height: 380px;
        top: 200px;
    }
}

@media (max-width: 768px) {
    .faq-page-wrapper {
        gap: 40px;
    }

    .faq-hero-section {
        padding: 32px 0 0;
    }

    .faq-hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .faq-hero-subtitle {
        font-size: 16px;
    }

    .faq-section {
        padding: 0;
    }

    .faq-cards-row {
        flex-direction: column;
    }

    .faq-card {
        min-height: auto;
    }

    .faq-card__question {
        font-size: 20px;
    }

    .faq-ellipse {
        width: 600px;
        height: 300px;
        top: 160px;
    }
}

/* ===========================================
   TEAM PAGE
   =========================================== */

.team-section {
    padding: 64px 0;
    max-width: 1440px;
    margin: 0 auto;
}

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

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    width: 464px;
    height: 194px;
    background: rgba(0, 82, 255, 0.24);
    filter: blur(400px);
    border-radius: 50%;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.team-card > * {
    position: relative;
    z-index: 1;
}

.team-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
}

.team-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
}

.team-card__avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;
    background: rgba(0, 82, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
}

.team-card__name {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: #FFFFFF;
    margin: 0;
}

.team-card__position {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    margin-top: 4px;
}

.team-card__divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

.team-card__bio {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.team-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.team-card__skill {
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 90%;
    color: #FFFFFF;
    background: transparent;
}

.team-card__social {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.team-card__social-link {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.15s;
    display: flex;
    align-items: center;
}

.team-card__social-link:hover {
    color: #FFFFFF;
}

/* ============================================
   TEAM - LIGHT THEME OVERRIDES
   ============================================ */

[data-theme="light"] .team-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

[data-theme="light"] .team-card::before {
    background: rgba(0, 82, 255, 0.12);
}

[data-theme="light"] .team-card__name {
    color: #1C1E21;
}

[data-theme="light"] .team-card__position {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .team-card__divider {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .team-card__bio {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .team-card__skill {
    border-color: rgba(0, 0, 0, 0.2);
    color: #1C1E21;
}

[data-theme="light"] .team-card__social-link {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .team-card__social-link:hover {
    color: #1C1E21;
}

@media (max-width: 1024px) {
    .team-section {
        padding: 64px 0;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-section {
        padding: 40px 0;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   CASE STUDIES PAGE
   =========================================== */

/* Filter Section */
.cs-filter-section {
    padding: 0 0 60px;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.cs-filter-wrapper {
    display: flex;
    justify-content: center;
}

.cs-filter-bar {
    display: inline-flex;
    align-items: center;
    padding: 6px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.cs-filter-tab {
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #FFFFFF;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.cs-filter-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cs-filter-tab--active {
    background: #FFFFFF;
    color: #08090A;
    box-shadow: 0 0 10px 0 rgba(0, 82, 255, 0.6);
}

.cs-filter-tab--active:hover {
    background: #FFFFFF;
}

/* Studies Section */
.cs-studies-section {
    padding: 0;
    max-width: 1440px;
    margin: 0 auto;
}

.cs-studies-container {
    width: 100%;
}

.cs-cards-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Card */
.cs-card {
    position: relative;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 26px;
    overflow: hidden;
}

.cs-card::before {
    content: '';
    position: absolute;
    width: 826px;
    height: 346px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.cs-card--glow-blue::before {
    background: rgba(0, 82, 255, 0.24);
    left: 0;
    top: 0;
}

.cs-card--glow-orange::before {
    background: rgba(255, 60, 0, 0.24);
    left: 20%;
    top: 10%;
}

.cs-card > * {
    position: relative;
    z-index: 1;
}

/* Card Content */
.cs-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: stretch;
    min-width: 0;
}

.cs-card__content--reversed {
    order: 2;
}

.cs-card__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cs-card__title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-card__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.72px;
    color: #FFFFFF;
    margin: 0;
}

.cs-card__url {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #0052FF;
    text-decoration: none;
}

.cs-card__url:hover {
    text-decoration: underline;
}

.cs-card__description {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Tech Icons */
.cs-card__tech {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cs-card__tech-icon {
    padding: 2px;
    display: flex;
    align-items: flex-start;
}

.cs-card__tech-icon img {
    width: 32px;
    height: 32px;
}

.cs-card__tech-badge {
    padding: 4px 12px;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
}

/* CTA Button */
.cs-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid #FFFFFF;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 90%;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
    width: fit-content;
}

.cs-card__cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Card Image */
.cs-card__image {
    width: 503px;
    height: 322px;
    flex-shrink: 0;
    border-radius: 26px;
    overflow: hidden;
}

.cs-card__image--reversed {
    order: 1;
}

.cs-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
}

.cs-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
}

/* Pagination */
.cs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.cs-pagination__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.15s;
}

.cs-pagination__nav--disabled {
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

.cs-pagination__pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-pagination__page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
}

.cs-pagination__page--active {
    background: #FFFFFF;
    color: #08090A;
    box-shadow: 0 0 10px 0 rgba(0, 82, 255, 0.6);
}

.cs-pagination__gap {
    padding: 8px 16px;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #FFFFFF;
}

/* ============================================
   CASE STUDIES - LIGHT THEME OVERRIDES
   ============================================ */

[data-theme="light"] .cs-filter-bar {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cs-filter-tab {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .cs-filter-tab:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .cs-filter-tab--active {
    background: #1C1E21;
    color: #FFFFFF;
}

[data-theme="light"] .cs-filter-tab--active:hover {
    background: #1C1E21;
}

[data-theme="light"] .cs-card__title {
    color: #1C1E21;
}

[data-theme="light"] .cs-card__description {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .cs-card__tech-badge {
    color: rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cs-card__cta {
    border-color: #1C1E21;
    color: #1C1E21;
}

[data-theme="light"] .cs-card__cta:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .cs-card__img-placeholder {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cs-pagination__nav {
    color: #1C1E21;
}

[data-theme="light"] .cs-pagination__nav--disabled {
    color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .cs-pagination__page {
    color: #1C1E21;
}

[data-theme="light"] .cs-pagination__page--active {
    background: #1C1E21;
    color: #FFFFFF;
}

[data-theme="light"] .cs-pagination__gap {
    color: #1C1E21;
}

/* Case Studies - Responsive */
@media (max-width: 1024px) {
    .cs-filter-section {
        padding: 0 0 40px;
    }
    .cs-studies-section {
        padding: 0;
    }
    .cs-card {
        flex-direction: column;
        gap: 24px;
    }
    .cs-card__content--reversed {
        order: unset;
    }
    .cs-card__image--reversed {
        order: unset;
    }
    .cs-card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 503 / 322;
    }
    .cs-card__title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .cs-filter-section {
        padding: 0 0 32px;
    }
    .cs-filter-bar {
        flex-wrap: wrap;
        justify-content: center;
    }
    .cs-studies-section {
        padding: 0;
    }
    .cs-card {
        padding: 16px;
    }
    .cs-card__title {
        font-size: 28px;
    }
    .cs-pagination {
        flex-wrap: wrap;
    }
}

/* ===========================================
   SERVICES PAGE
   =========================================== */

.services-hero-section {
    position: relative;
    padding: 80px 0 64px;
    text-align: center;
}

.services-hero-section::after {
    content: '';
    position: absolute;
    width: 1082px;
    height: 126px;
    background: rgba(255, 60, 0, 0.85);
    border-radius: 50%;
    filter: blur(70px);
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.services-hero-section > * {
    position: relative;
    z-index: 1;
}

.services-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
    flex-wrap: wrap;
}

.services-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 56px;
}

.services-stat-divider {
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.services-stat-value {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}

.services-stat-label {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    white-space: nowrap;
}

/* Service Row (large alternating cards) */
.services-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
}

.service-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    padding: 32px;
    gap: 40px;
    box-shadow: 0 0 10px 2px rgba(0, 82, 255, 0.2);
}

.service-row--reverse {
    flex-direction: row-reverse;
}

.service-row__content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.service-row__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 110%;
    color: #FFFFFF;
    margin: 0;
}

.service-row__description {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.service-row__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-row__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    color: #FFFFFF;
}

.service-row__feature::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 14.5C5 14.5 6.5 14.5 8.5 18C8.5 18 14.0588 8.83333 19 7' stroke='%23FF4400' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.service-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.service-row__tag {
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 90%;
    letter-spacing: 0;
    color: #FFFFFF;
    background: transparent;
}

.service-row__image {
    flex: 0 0 538px;
    width: 538px;
    height: 400px;
    background: linear-gradient(180deg, #111417 0%, #121A1F 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specialized Expertise Section */
.services-expertise-section {
    padding: 80px 0;
    text-align: center;
}

.services-expertise-section .section-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 110%;
    color: #FFFFFF;
    margin: 0 0 16px 0;
}

.services-expertise-section .section-description {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 60px;
    max-width: 640px;
}

.services-expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.services-expertise-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

/* Border only — clipped at top-right corner, card background stays full */
.services-expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.18),
        inset 0 0 20px rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
    pointer-events: none;
    z-index: 1;
}

.services-expertise-icon {
    width: 50px;
    height: 50px;
    color: #0052FF;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-expertise-icon svg {
    width: 100%;
    height: 100%;
    margin-top: 5px;
}

.services-expertise-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.services-expertise-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0;
    text-align: left;
    color: #FFFFFF;
    margin: 0;
}

.services-expertise-desc {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.services-expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.services-expertise-tag {
    padding: 5px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 90%;
    letter-spacing: 0;
    color: #FFFFFF;
    background: transparent;
}

@media (max-width: 1024px) {
    .services-hero-section,
    .services-rows,
    .services-expertise-section {
        padding-left: 0;
        padding-right: 0;
    }
    .services-expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* === SERVICES HERO === */
    .services-hero-section {
        padding: 48px 0 !important;
        margin-top: 0 !important;
    }
    .services-hero-section .hero-title {
        font-size: 42px;
        line-height: 100%;
        letter-spacing: -0.63px;
    }
    .services-hero-section .hero-description {
        font-size: 16px;
        line-height: 140%;
    }

    /* === SERVICES STATS 2×2 GRID === */
    .services-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
    .services-stat-divider {
        display: none;
    }
    .services-stat-item {
        padding: 16px;
        align-items: center;
    }
    .services-stat-value {
        font-size: 42px;
        line-height: 100%;
        letter-spacing: -0.63px;
    }
    .services-stat-label {
        font-size: 14px;
        line-height: 140%;
    }
    /* 2×2 grid borders: 2nd column gets left border, 2nd row gets top border */
    .services-stat-item:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .services-stat-item:nth-child(5) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .services-stat-item:nth-child(7) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* === SERVICE ROWS === */
    .services-rows {
        padding: 0;
        gap: 16px;
    }
    .service-row,
    .service-row--reverse {
        flex-direction: column;
        padding: 16px;
        border-radius: 16px;
        gap: 24px;
    }
    .service-row__title {
        font-size: 32px;
        line-height: 120%;
        letter-spacing: -0.16px;
    }
    .service-row__description {
        font-size: 16px;
        line-height: 140%;
    }
    .service-row__features {
        gap: 8px;
    }
    .service-row__tags {
        gap: 8px;
    }
    .service-row__tag {
        padding: 8px 16px;
    }
    .service-row__image {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 538 / 400;
        min-height: unset;
        border-radius: 16px;
    }
    .service-row__image img {
        border-radius: 16px;
    }

    /* === EXPERTISE SECTION === */
    .services-expertise-section {
        padding: 80px 0 !important;
    }
    .services-expertise-section .section-title {
        font-size: 32px;
        line-height: 120%;
        letter-spacing: -0.16px;
    }
    .services-expertise-section .section-description {
        font-size: 16px;
        line-height: 140%;
        margin-bottom: 48px;
    }
    .services-expertise-grid {
        gap: 16px;
    }
    .services-expertise-card {
        padding: 16px;
        border-radius: 16px;
        gap: 16px;
    }
    .services-expertise-icon {
        width: 40px;
        height: 40px;
    }
    .services-expertise-icon svg {
        width: 40px;
        height: 40px;
    }
    .services-expertise-title {
        font-size: 20px;
        line-height: 130%;
    }
    .services-expertise-desc {
        font-size: 14px;
        line-height: 140%;
    }
    .services-expertise-tags {
        gap: 8px;
    }
    .services-expertise-tag {
        padding: 8px 16px;
    }

    /* === CTA (shared CtaSection component) === */
    .pricing-cta-card h2 {
        font-size: 32px !important;
        line-height: 120% !important;
        letter-spacing: -0.16px !important;
    }
    .pricing-cta-card p {
        font-size: 16px !important;
        line-height: 140% !important;
    }
}

/* ===========================================
   TESTIMONIALS PAGE (Figma-matched)
   =========================================== */

/* Hero Section */
.testimonials-hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0 64px;
    text-align: center;
    gap: 24px;
}

.testimonials-hero-section::after {
    content: '';
    position: absolute;
    width: 900px;
    height: 120px;
    background: rgba(0, 82, 255, 0.65);
    border-radius: 50%;
    filter: blur(70px);
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.testimonials-hero-section > * {
    position: relative;
    z-index: 1;
}

.testimonials-hero-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: var(--figma-white-100, #FFFFFF);
    max-width: 840px;
    margin: 0;
}

.testimonials-hero-subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--figma-white-80, rgba(255, 255, 255, 0.8));
    max-width: 788px;
    margin: 0;
}

/* Grid Section */
.testimonials-grid-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 64px 0 80px;
}

.testimonials-grid-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    padding: 0;
    box-sizing: border-box;
}

.testimonials-card-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

/* Card */
.testimonials-card {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonials-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45), 0 0 10px 2px rgba(0, 82, 255, 0.15);
}

/* Bottom blue glow inside card */
.testimonials-card-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 464px;
    height: 194px;
    background: radial-gradient(ellipse at center, rgba(0, 82, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.testimonials-card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.testimonials-card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.testimonials-card-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #d9d9d9 0%, #bfbfbf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #08090a;
    overflow: hidden;
}

.testimonials-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.testimonials-card-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    justify-content: center;
}

.testimonials-card-name {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0;
    color: var(--figma-white-100, #FFFFFF);
    margin: 0;
}

.testimonials-card-role {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--figma-white-80, rgba(255, 255, 255, 0.8));
    margin: 0;
}

.testimonials-card-divider {
    width: 100%;
    height: 1px;
    background: var(--figma-white-10, rgba(255, 255, 255, 0.1));
    flex-shrink: 0;
}

.testimonials-card-quote {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--figma-white-80, rgba(255, 255, 255, 0.8));
    flex: 1;
}

.testimonials-card-quote p {
    margin: 0;
}

/* Pagination */
.testimonials-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.testimonials-pagination-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--figma-white-100, #FFFFFF);
    transition: all 0.2s ease;
}

.testimonials-pagination-nav:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.testimonials-pagination-nav--disabled {
    color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    cursor: not-allowed;
}

.testimonials-pagination-nav--disabled:hover {
    background: transparent;
}

.testimonials-pagination-list {
    display: flex;
    gap: 4px;
    align-items: center;
}

.testimonials-pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--figma-white-100, #FFFFFF);
    transition: all 0.2s ease;
}

.testimonials-pagination-page:hover {
    background: rgba(255, 255, 255, 0.08);
}

.testimonials-pagination-page--active {
    background: var(--figma-white-100, #FFFFFF);
    color: var(--figma-neutral-800, #08090a);
    box-shadow: 0 0 10px 0px var(--figma-blue-glow, rgba(0, 82, 255, 0.6));
    font-weight: 700;
}

.testimonials-pagination-page--active:hover {
    background: var(--figma-white-100, #FFFFFF);
}

.testimonials-pagination-gap {
    padding: 8px 4px;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--figma-white-80, rgba(255, 255, 255, 0.8));
}

/* Light Theme Overrides */
[data-theme="light"] .testimonials-hero-section::after {
    background: rgba(0, 82, 255, 0.25);
}

[data-theme="light"] .testimonials-hero-title {
    color: #111827;
}

[data-theme="light"] .testimonials-hero-subtitle {
    color: #4b5563;
}

[data-theme="light"] .testimonials-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

[data-theme="light"] .testimonials-card:hover {
    border-color: rgba(0, 82, 255, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 24px rgba(0, 82, 255, 0.1);
}

[data-theme="light"] .testimonials-card-glow {
    background: radial-gradient(ellipse at center, rgba(0, 82, 255, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .testimonials-card-avatar {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #374151;
}

[data-theme="light"] .testimonials-card-name {
    color: #111827;
}

[data-theme="light"] .testimonials-card-role {
    color: #6b7280;
}

[data-theme="light"] .testimonials-card-divider {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .testimonials-card-quote {
    color: #4b5563;
}

[data-theme="light"] .testimonials-pagination-nav {
    color: #374151;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .testimonials-pagination-nav:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .testimonials-pagination-nav--disabled {
    color: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .testimonials-pagination-page {
    color: #374151;
}

[data-theme="light"] .testimonials-pagination-page:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .testimonials-pagination-page--active {
    background: #111827;
    color: #FFFFFF;
    box-shadow: 0 0 10px 0px rgba(0, 82, 255, 0.3);
}

[data-theme="light"] .testimonials-pagination-gap {
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonials-hero-section {
        padding: 48px 0 40px;
    }

    .testimonials-hero-title {
        font-size: 48px;
    }

    .testimonials-grid-container {
        padding: 0;
    }

    .testimonials-card-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .testimonials-hero-section {
        padding: 32px 0 24px;
    }

    .testimonials-hero-section::after {
        width: 500px;
        height: 80px;
    }

    .testimonials-hero-title {
        font-size: 36px;
        letter-spacing: -0.01em;
    }

    .testimonials-hero-subtitle {
        font-size: 16px;
    }

    .testimonials-grid-container {
        padding: 0;
    }

    .testimonials-grid-section {
        padding: 40px 0;
        gap: 40px;
    }

    .testimonials-card {
        padding: 24px;
    }

    .testimonials-card-name {
        font-size: 20px;
    }

    .testimonials-card-avatar {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 12px;
        font-size: 16px;
    }
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: fit-content;
    height: 42px;
    text-decoration: none;
}

.footer-description {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
    white-space: nowrap;
}

.footer-section-title {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.footer-link {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-bottom {
    width: 100%;
    padding-top: 32px;
    text-align: center;
}

.footer-copyright {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright a {
    color: inherit;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-email {
    color: #0052FF;
}

.footer-email:hover {
    color: #3375FF;
}

/* ============================================
   BUTTONS - FIGMA REDESIGN
   ============================================ */

/* Big Buttons Typography (for CTA buttons like "Hire Developers") */
.hero-btn-primary,
.hero-btn-secondary {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 90% !important;
    letter-spacing: 0 !important;
}

/* Primary CTA Button - use pricing-card__cta--popular, extra sizing override */
.home-hero-cta-primary {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(105deg, #FFFBF2 0%, #FADCC3 99.645%) !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: 'Heebo', sans-serif !important;
    line-height: 90% !important;
    white-space: nowrap;
    isolation: isolate;
}

/* Warm glow orb — radial gradient that drifts across the button */
.home-hero-cta-primary::before {
    content: '';
    position: absolute;
    width: 121px;
    height: 121px;
    top: -38px;
    left: -60px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 245, 0.75) 3.5%,
        rgba(255, 213, 187, 0.60) 15%,
        rgba(255, 170, 129, 0.40) 26.5%,
        rgba(255, 218, 159, 0.30) 37.5%,
        rgba(255, 170, 129, 0.10) 49%,
        transparent 92.5%
    );
    pointer-events: none;
    z-index: 1;
    animation: hero-btn-shimmer 4s ease-in-out infinite;
}

/* Blurred wider sweep — second glow layer, delayed */
.home-hero-cta-primary::after {
    content: '';
    position: absolute;
    width: 204px;
    height: 103px;
    top: -29px;
    left: -120px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse 60% 50% at 50% 50%,
        rgba(255, 255, 247, 0.55) 29%,
        rgba(255, 250, 205, 0.40) 48.5%,
        rgba(244, 210, 191, 0.25) 60.7%,
        transparent 100%
    );
    filter: blur(2.5px);
    pointer-events: none;
    z-index: 1;
    animation: hero-btn-shimmer-wide 4s ease-in-out 1.2s infinite;
}

/* Intensify glow on hover */
.home-hero-cta-primary:hover::before {
    animation-duration: 2.5s;
}
.home-hero-cta-primary:hover::after {
    animation-duration: 2.5s;
}

/* Secondary Button - "View Services" (dark outline) */
.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 16px 32px !important;
    border-radius: 100px !important;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

/* ============================================
   HOW IT WORKS PAGE  (hiw-*)
   ============================================ */

/* ---------- Hero ---------- */
.hiw-hero-section {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--figma-neutral-900, #08090A);
}

.hiw-hero-title {
    font-family: 'Heebo', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -1.44px;
    color: var(--figma-white-100);
    margin: 0 0 24px 0;
}

.hiw-hero-subtitle {
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: var(--text-secondary, rgba(255, 255, 255, 0.6));
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- Process Timeline ---------- */
/* Behavior / RTL / JS: docs/HowItWorksProcessTimeline.md */
.hiw-process-section {
    padding: 80px 0;
    background: var(--figma-neutral-900, #08090A);
    position: relative;
    z-index: 2;
}

.hiw-timeline {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    /* Match other page rails (e.g. benefits); axis must include this inset */
    padding: 0 24px;
    box-sizing: border-box;
    --hiw-progress-y: 0px;
    --hiw-badge-col: 160px;
    --hiw-connector-col: 284px;
    --hiw-axis-x: calc(24px + var(--hiw-badge-col) + var(--hiw-connector-col) / 2);
    z-index: 2;
}

/* Vertical guide through dots — logical start matches LTR left / RTL right */
.hiw-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: var(--hiw-axis-x);
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hiw-timeline-progress {
    position: absolute;
    top: 0;
    inset-inline-start: var(--hiw-axis-x);
    width: 1px;
    height: var(--hiw-progress-y, 0px);
    background: linear-gradient(180deg, #ffcf82 0%, #ff5c00 100%);
    pointer-events: none;
    z-index: 1;
    transition: height 220ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .hiw-timeline-progress {
        transition: none;
    }
}

/* Step row: grid keeps badge | connector | content in LTR and mirrors in RTL (flex+dir=rtl is inconsistent across engines) */
.hiw-step {
    display: grid;
    align-items: start;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
    grid-template-columns: var(--hiw-badge-col) var(--hiw-connector-col) minmax(0, 1fr);
}

.hiw-step-badge-col,
.hiw-step-connector,
.hiw-step-content {
    grid-row: 1;
    align-self: start;
}

.hiw-step:last-child {
    margin-bottom: 0;
    padding-bottom: 24px;
}

/* Duration badge column (fixed 160 px) */
.hiw-step-badge-col {
    grid-column: 1;
    width: var(--hiw-badge-col, 160px);
    min-width: 0;
    display: grid;
    grid-template-rows: 76px 30px; /* icon+gap band, then same vertical band as dot */
    align-items: center;
    justify-items: end;
    padding-top: 0;
}

.hiw-duration-badge {
    grid-row: 2;
    align-self: center;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    max-width: 100%;
}

.hiw-duration-badge svg {
    flex-shrink: 0;
}

/*
 * Connector: line › dot › line — inner grid 76px + 30px rows match .hiw-step-badge-col; all segments on row 2 only.
 */
.hiw-step-connector {
    grid-column: 2;
    box-sizing: border-box;
    height: 106px;
    width: var(--hiw-connector-col, 284px);
    min-width: 0;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    grid-template-rows: 76px 30px;
    grid-auto-rows: 0;
    align-content: start;
    align-items: center;
    /* No z-index: stacking the connector above .hiw-step-content drew lines/glow on top of RTL text (right-aligned against the spine). */
    direction: ltr;
}

.hiw-connector-line--before {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    min-width: 0;
    min-height: 0;
}

.hiw-connector-line--after {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    min-width: 0;
    min-height: 0;
}

.hiw-connector-line {
    width: 100%;
    min-width: 0;
    height: 1px;
    position: relative;
    overflow: hidden;
    background: repeating-linear-gradient(
        to right,
        rgba(255, 255, 255, 0.15) 0px,
        rgba(255, 255, 255, 0.15) 4px,
        transparent 4px,
        transparent 10px
    );
}

.hiw-connector-line::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 220ms ease-out;
    background: linear-gradient(90deg, #fff3c4 0%, #ffcf82 55%, #ff5c00 100%);
}

.hiw-step-dot-button {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-height: 30px;
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
    display: block;
    overflow: visible;
}

.hiw-step-dot-button:focus-visible {
    outline: 2px solid rgba(255, 92, 0, 0.8);
    outline-offset: 6px;
}

/* Dots — SVGs are position:absolute so large glow never expands the connector grid row */
.hiw-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    z-index: 2;
    overflow: visible;
    isolation: isolate;
    display: block;
}

.hiw-step-dot svg {
    display: block;
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.hiw-step-dot-cold {
    width: 38px;
    height: 38px;
    opacity: 1;
}

.hiw-step-dot-hot {
    width: 106px;
    height: 106px;
    opacity: 0;
}

.hiw-step.is-complete .hiw-step-dot-cold {
    opacity: 0;
}

.hiw-step.is-complete .hiw-step-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: radial-gradient(circle at center, #ffcf82 15%, #ff5c00 80%);
    box-shadow: 0 0 12px rgba(255, 92, 0, 0.35);
}

.hiw-step.is-active .hiw-step-dot-cold,
.hiw-step.is-active .hiw-step-dot::before {
    opacity: 0;
}

.hiw-step.is-active .hiw-step-dot-hot {
    opacity: 1;
}

/* Progressive highlight: completed = both segments hot; active = both sides solid (Figma) */
.hiw-step.is-active .hiw-connector-line--before::after,
.hiw-step.is-active .hiw-connector-line--after::after,
.hiw-step.is-complete .hiw-connector-line::after {
    opacity: 1;
}

/* Content area (main + deliverables) */
.hiw-step-content {
    grid-column: 3;
    display: flex;
    gap: 24px;
    min-width: 0;
}

.hiw-step-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.hiw-step-icon {
    margin-bottom: 16px;
    width: 60px;
    height: 60px;
}

.hiw-step-icon svg {
    display: block;
    width: 60px;
    height: 60px;
}

/* Step text */
.hiw-step-title {
    font-family: 'Heebo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
    color: var(--figma-white-100);
    margin: 0 0 4px 0;
}

.hiw-step-number {
    color: var(--figma-blue-primary, #0052FF);
}

.hiw-step-description {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: var(--text-secondary, rgba(255, 255, 255, 0.6));
    margin: 0;
}

/* Deliverables */
.hiw-step-deliverables {
    width: 287px;
    flex-shrink: 0;
    padding-top: 76px;   /* 60px icon + 16px gap → aligns with title */
}

.hiw-deliverables-label {
    display: block;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.hiw-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hiw-deliverable-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.7);
}

.hiw-deliverable-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- Benefits Section ---------- */
.hiw-benefits-section {
    padding: 80px 0;
    background: var(--figma-neutral-900, #08090A);
    position: relative;
    z-index: 1;
}

.hiw-benefits-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.hiw-benefits-header {
    text-align: center;
    margin-bottom: 80px;
}

.hiw-benefits-title {
    font-family: 'Heebo', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.72px;
    color: var(--figma-white-100);
    margin: 0 0 16px 0;
}

.hiw-benefits-subtitle {
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: var(--text-secondary, rgba(255, 255, 255, 0.6));
    max-width: 600px;
    margin: 0 auto;
}

.hiw-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hiw-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.hiw-benefit-icon {
    margin-bottom: 0;
}

.hiw-benefit-icon svg {
    display: block;
}

.hiw-benefit-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hiw-benefit-card-title {
    font-family: 'Heebo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
    color: var(--figma-white-100);
    margin: 0 0 8px 0;
}

.hiw-benefit-card-desc {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: var(--text-secondary, rgba(255, 255, 255, 0.6));
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hiw-hero-title {
        font-size: 48px;
        letter-spacing: -0.96px;
    }

    /* Slim vertical rail on inline-start (scroll progress from process-timeline.js); connector column stays hidden */
    .hiw-timeline {
        --hiw-axis-x: 10px;
    }

    /* Card-like blocks (Figma mobile): raised surface + radius so phases read as modules, not loose stack */
    .hiw-step {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
        grid-template-columns: none;
        box-sizing: border-box;
        padding: 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-inline-start-width: 3px;
        border-inline-start-color: rgba(255, 255, 255, 0.14);
    }

    .hiw-step.is-active {
        border-inline-start-color: #ff5c00;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    }

    .hiw-step-badge-col,
    .hiw-step-connector,
    .hiw-step-content {
        grid-column: auto;
        width: auto;
    }

    .hiw-step-badge-col {
        display: flex;
        width: auto;
        justify-content: flex-start;
        padding-top: 0;
        grid-template-rows: none;
    }

    .hiw-duration-badge {
        grid-row: auto;
        align-self: auto;
        justify-self: auto;
    }

    .hiw-step-connector {
        display: none;
    }

    .hiw-step-content {
        flex-direction: column;
        gap: 24px;
    }

    .hiw-step-deliverables {
        width: 100%;
        padding-top: 0;
    }

    .hiw-benefits-title {
        font-size: 36px;
    }

    .hiw-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    [data-theme="light"] .hiw-step {
        background: rgba(0, 0, 0, 0.03);
        border-color: rgba(0, 0, 0, 0.1);
        border-inline-start-color: rgba(0, 0, 0, 0.12);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }

    [data-theme="light"] .hiw-step.is-active {
        border-inline-start-color: #ff4400;
        background: rgba(0, 0, 0, 0.04);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 768px) {
    /* --- Hero --- */
    .hiw-hero-section {
        padding: 48px 0;
    }

    .hiw-hero-title {
        font-size: 42px;
        letter-spacing: -0.63px;
        line-height: 1;
    }

    .hiw-hero-subtitle {
        font-size: 16px;
    }

    /* --- Process timeline --- */
    .hiw-process-section {
        padding: 0 0 32px;
    }

    .hiw-timeline {
        padding-inline-end: 16px;
        padding-inline-start: 24px;
        --hiw-axis-x: 10px;
    }

    .hiw-step {
        gap: 24px;
        margin-bottom: 24px;
        padding: 20px;
    }

    /* Badge moves to bottom of each step on mobile */
    .hiw-step-badge-col {
        order: 3;
    }

    .hiw-step-icon {
        width: 40px;
        height: 40px;
    }

    .hiw-step-icon svg {
        width: 40px;
        height: 40px;
    }

    .hiw-step-title {
        font-size: 20px;
    }

    .hiw-step-description {
        font-size: 14px;
    }

    .hiw-duration-badge {
        font-size: 16px;
        padding: 8px 16px;
    }

    /* --- Benefits --- */
    .hiw-benefits-section {
        padding: 80px 0;
    }

    .hiw-benefits-content {
        padding: 0 16px;
    }

    .hiw-benefits-header {
        margin-bottom: 48px;
    }

    .hiw-benefits-title {
        font-size: 32px;
        letter-spacing: -0.16px;
        line-height: 1.2;
    }

    .hiw-benefits-subtitle {
        font-size: 16px;
    }

    .hiw-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hiw-benefit-card {
        gap: 16px;
    }

    .hiw-benefit-icon svg {
        width: 40px;
        height: 40px;
    }

    .hiw-benefit-card-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .hiw-benefit-card-desc {
        font-size: 14px;
    }
}

/* ---------- RTL ----------
 * Grid columns mirror automatically: track 1 is inline-start = right, so the same
 * grid-column: 1|2|3 as LTR keeps badge | connector | content visually correct.
 */

/* DOM: svg then span; RTL row → checkmark on inline-start (right of the line), text left of it */
[dir="rtl"] .hiw-deliverable-item {
    flex-direction: row;
    text-align: right;
}

[dir="rtl"] .hiw-step-main,
[dir="rtl"] .hiw-step-deliverables {
    text-align: right;
}

[dir="rtl"] .hiw-deliverables-label {
    text-align: right;
}

/* Connector grid is direction:ltr; swap segment columns in RTL so col1 = toward content */
[dir="rtl"] .hiw-connector-line--before {
    grid-column: 3;
}

[dir="rtl"] .hiw-connector-line--after {
    grid-column: 1;
}

/* Dot→pill segment; flip hot gradient so orange sits on the dot */
[dir="rtl"] .hiw-connector-line--before::after {
    transform: scaleX(-1);
}

@media (max-width: 1024px) {
    [dir="rtl"] .hiw-step {
        flex-direction: column;
    }
}

/* ---------- Light Theme ---------- */
[data-theme="light"] .hiw-hero-section,
[data-theme="light"] .hiw-process-section,
[data-theme="light"] .hiw-benefits-section {
    background: var(--figma-white-100, #FFFFFF);
}

[data-theme="light"] .hiw-hero-title,
[data-theme="light"] .hiw-step-title,
[data-theme="light"] .hiw-benefits-title,
[data-theme="light"] .hiw-benefit-card-title {
    color: var(--figma-neutral-800, #1a1a2e);
}

[data-theme="light"] .hiw-hero-subtitle,
[data-theme="light"] .hiw-step-description,
[data-theme="light"] .hiw-benefits-subtitle,
[data-theme="light"] .hiw-benefit-card-desc,
[data-theme="light"] .hiw-duration-badge,
[data-theme="light"] .hiw-deliverable-item {
    color: var(--figma-neutral-600, #555);
}

[data-theme="light"] .hiw-duration-badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hiw-connector-line {
    background: repeating-linear-gradient(
        to right,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 4px,
        transparent 4px,
        transparent 10px
    );
}

[data-theme="light"] .hiw-connector-line::after {
    background: linear-gradient(90deg, #ffd8ae 0%, #ffb267 55%, #ff4400 100%);
}

[data-theme="light"] .hiw-step-dot {
    background: transparent;
}

[data-theme="light"] .hiw-step-dot--active {
    background: transparent;
}

[data-theme="light"] .hiw-timeline::before {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hiw-timeline-progress {
    background: linear-gradient(180deg, #ffb267 0%, #ff4400 100%);
}

[data-theme="light"] .hiw-deliverables-label {
    color: rgba(0, 0, 0, 0.4);
}

/* Protect HowItWorks SVG icons from global theme-overrides.css
   that forces path[fill-opacity] → #374151 / opacity:1 */
[data-theme="light"] .hiw-step-icon svg path[fill-opacity],
[data-theme="light"] .hiw-benefit-icon svg path[fill-opacity] {
    fill: #0052FF !important;
    fill-opacity: 0.16 !important;
}

[data-theme="light"] .hiw-step-icon svg path[fill="white"],
[data-theme="light"] .hiw-benefit-icon svg path[fill="white"] {
    fill: white !important;
}

[data-theme="light"] .hiw-step-icon svg path[stroke="white"],
[data-theme="light"] .hiw-benefit-icon svg path[stroke="white"] {
    stroke: white !important;
}

[data-theme="light"] .hiw-step-icon svg path[fill="#0052FF"],
[data-theme="light"] .hiw-benefit-icon svg path[fill="#0052FF"] {
    fill: #0052FF !important;
}

/* ============================================
   HOME PAGE - SERVICE CARDS (Figma Redesign)
   ============================================ */

/* Service card — Figma dark glass (589-8244): frost blur + layered fill + top-left specular (~-45°) */
.service-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    isolation: isolate !important;
    padding: 24px !important;
    border-radius: 26px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        rgba(255, 255, 255, 0.045) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.1) inset !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.14) inset,
        0 16px 40px rgba(0, 0, 0, 0.18) !important;
}

/* Icon: 60×60, blue glow shadow */
.service-icon {
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    filter: drop-shadow(0px 0px 10px rgba(0, 82, 255, 0.6));
}

.service-icon img,
.service-icon svg {
    width: 60px;
    height: 60px;
}

/* Title — H3 Desktop: Heebo 700 · 24px · 130% */
.service-title {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    color: var(--figma-white-100) !important;
    margin-bottom: 8px !important;
}

/* Description — Body base: Heebo 400 · 16px · 140% */
.service-description {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 140% !important;
    letter-spacing: 0 !important;
    color: var(--text-secondary) !important;
}

/* ============================================
   HOME PAGE - ROLES SECTION (Figma Redesign)
   ============================================ */

/* Roles section wrapper — needs warm glow at bottom */
.home-roles-section {
    position: relative;
    overflow: hidden;
    padding-top: 12px !important;
    padding-bottom: 62px !important;
}

/* Warm ellipse glow at bottom of Roles section */
.home-roles-section::after {
    content: '';
    position: absolute;
    width: 826px;
    height: 346px;
    left: 50%;
    bottom: -100px;
    transform: translateX(-50%);
    background: rgba(255, 60, 0, 0.24);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.home-roles-section > * {
    position: relative;
    z-index: 1;
}

/* Role title — H2 Regular: Heebo 400 · 48px · 120% */
.role-title {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 48px !important;
    line-height: 120% !important;
    letter-spacing: -0.72px !important;
    color: var(--figma-white-100) !important;
    margin-bottom: 32px !important;
}

/* Role tags — tags: Heebo 500 · 16px · 90% */
.role-tag {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 90% !important;
    letter-spacing: 0 !important;
    padding: 8px 16px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 9999px !important;
    color: var(--figma-white-100) !important;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Role card — Figma inner grid lines (desktop 3×2) */
.role-card {
    padding: 24px !important;
}

.roles-grid {
    position: relative;
}

@media (min-width: 1024px) {
    .role-card {
        border: solid rgba(255, 255, 255, 0.1);
        border-width: 0 1px 1px 0;
    }
    .role-card:nth-child(3n) {
        border-right-width: 0;
    }
    .role-card:nth-child(n+4) {
        border-bottom-width: 0;
    }

    /* Decorative diamond at grid center intersection */
    .roles-grid::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        top: 50%;
        left: 66.67%;
        transform: translate(-50%, -50%) rotate(45deg);
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .role-title {
        font-size: 32px !important;
    }
}

/* ============================================
   HOME PAGE - COLLABORATION CARDS (Figma Redesign)
   ============================================ */

/* Card — glass-morphism: rgba(255,255,255,0.04), 26px radius, blur(4px) */
.collab-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 26px !important;
    padding: 24px !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    transition: border-color 0.2s ease;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

.collab-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Icon container — 100×100, gradient black, 20px radius */
.collab-icon {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, #000000 100%) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.collab-icon svg {
    filter: drop-shadow(0px 0px 10px rgba(0, 82, 255, 0.6));
}

.collab-content {
    flex: 1;
    min-width: 0;
}

/* Title — H3 Desktop: Heebo 700 · 24px · 130% */
.collab-title {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    color: var(--figma-white-100) !important;
    margin-bottom: 8px !important;
}

/* Description — Body base: Heebo 400 · 16px · 140% */
.collab-description {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 140% !important;
    letter-spacing: 0 !important;
    color: var(--text-secondary) !important;
}

/* Learn more link — blue #0052FF · Heebo Medium 16px */
.collab-link {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 140% !important;
    color: #0052FF !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: opacity 0.2s ease;
}

.collab-link:hover {
    color: #0052FF !important;
    opacity: 0.8;
}

.collab-link svg {
    color: #0052FF !important;
    stroke: #0052FF !important;
}

/* RTL: flip collab-link directional arrow */
[dir="rtl"] .collab-link svg {
    transform: scaleX(-1);
}

/* ============================================
   HOME PAGE - WHY CONNECTSOFT (Figma Redesign)
   ============================================ */

/* Section — warm glow at bottom */
.home-why-section {
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 120px !important;
}

.home-why-section::after {
    content: '';
    position: absolute;
    width: 826px;
    height: 346px;
    left: 50%;
    bottom: -100px;
    transform: translateX(-50%);
    background: rgba(255, 60, 0, 0.24);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.home-why-section > * {
    position: relative;
    z-index: 1;
}

/* Title — H2 Desktop: Heebo 700 · 48px · 120% · -0.72px */
.why-section-title {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    line-height: 120% !important;
    letter-spacing: -0.72px !important;
    color: var(--figma-white-100) !important;
    text-align: center !important;
    margin-bottom: 24px !important;
}

/* Subtitle — Body large: Heebo 400 · 18px · 140% */
.why-section-subtitle {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 140% !important;
    letter-spacing: 0 !important;
    color: var(--text-secondary) !important;
    text-align: center !important;
    max-width: 636px !important;
    margin: 0 auto !important;
}

/* Feature card — no background, 24px padding */
.feature-card {
    padding: 24px !important;
    text-align: start !important;
    background: transparent !important;
}

/* Icon — 60×60, blue glow shadow */
.feature-icon {
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin-bottom: 24px !important;
    filter: drop-shadow(0px 0px 10px rgba(0, 82, 255, 0.6));
}

.feature-icon img,
.feature-icon svg {
    width: 60px;
    height: 60px;
}

/* Feature title — H3 Desktop: Heebo 700 · 24px · 130% */
.feature-title {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    color: var(--figma-white-100) !important;
    margin-bottom: 8px !important;
}

/* Feature description — Body base: Heebo 400 · 16px · 140% */
.feature-description {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 140% !important;
    letter-spacing: 0 !important;
    color: var(--text-secondary) !important;
    max-width: 350px !important;
}

/* ============================================
   HOME PAGE - TESTIMONIAL (Figma Redesign)
   ============================================ */

.testimonial-quote {
    font-family: 'Heebo', sans-serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    color: var(--figma-white-100) !important;
    text-align: center !important;
    margin-bottom: 60px !important;
    max-width: 1030px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 768px) {
    .testimonial-quote {
        font-size: 18px !important;
    }
}

/* ============================================
   HOME PAGE - SECTION LAYOUT (Figma: 100px padding)
   ============================================ */

.home-section-wrapper {
    padding-left: 100px !important;
    padding-right: 100px !important;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .home-section-wrapper {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 640px) {
    .home-section-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ============================================
   HOME PAGE - LIGHT THEME OVERRIDES (Figma)
   ============================================ */

/* Hero Section - light theme */
[data-theme="light"] .home-hero-section {
    /* Soft blue tint top-right on lavender (pairs with hero rays) */
    background:
        radial-gradient(ellipse 95% 70% at 100% -5%, rgba(0, 82, 255, 0.12) 0%, transparent 50%),
        #E8E6EC !important;
}

[data-theme="light"] .home-hero-rays__layer1,
[data-theme="light"] .home-hero-rays__layer2,
[data-theme="light"] .home-hero-rays__layer3 {
    mix-blend-mode: normal !important;
    filter: blur(14px) !important;
}

[data-theme="light"] .home-hero-rays__layer1 {
    background: conic-gradient(
        from 0deg at var(--hero-rays-origin),
        transparent 0deg,
        transparent 178deg,
        rgba(0, 82, 255, 0.28) 184deg,
        transparent 189deg,
        rgba(80, 140, 255, 0.32) 196deg,
        transparent 201deg,
        rgba(0, 78, 245, 0.30) 208deg,
        transparent 214deg,
        rgba(60, 120, 255, 0.28) 220deg,
        transparent 226deg,
        rgba(0, 82, 255, 0.22) 232deg,
        transparent 238deg,
        rgba(100, 160, 255, 0.30) 245deg,
        transparent 252deg,
        rgba(0, 82, 255, 0.20) 258deg,
        transparent 265deg,
        rgba(80, 140, 255, 0.26) 272deg,
        transparent 280deg,
        transparent 360deg
    ) !important;
}

[data-theme="light"] .home-hero-rays__layer2 {
    background: conic-gradient(
        from 0deg at var(--hero-rays-origin),
        transparent 0deg,
        transparent 182deg,
        rgba(0, 82, 255, 0.24) 188deg,
        transparent 193deg,
        rgba(100, 160, 255, 0.26) 200deg,
        transparent 206deg,
        rgba(0, 78, 245, 0.28) 212deg,
        transparent 218deg,
        rgba(80, 140, 255, 0.28) 225deg,
        transparent 231deg,
        rgba(0, 82, 255, 0.22) 238deg,
        transparent 244deg,
        rgba(66, 140, 238, 0.26) 250deg,
        transparent 256deg,
        rgba(0, 82, 255, 0.20) 262deg,
        transparent 269deg,
        rgba(80, 140, 255, 0.24) 276deg,
        transparent 284deg,
        transparent 360deg
    ) !important;
}

[data-theme="light"] .home-hero-rays__layer3 {
    background: conic-gradient(
        from 0deg at var(--hero-rays-origin),
        transparent 0deg,
        transparent 186deg,
        rgba(80, 140, 255, 0.22) 192deg,
        transparent 197deg,
        rgba(0, 82, 255, 0.26) 204deg,
        transparent 210deg,
        rgba(100, 160, 255, 0.26) 216deg,
        transparent 222deg,
        rgba(0, 78, 245, 0.22) 228deg,
        transparent 234deg,
        rgba(66, 140, 238, 0.24) 240deg,
        transparent 246deg,
        rgba(0, 82, 255, 0.20) 253deg,
        transparent 260deg,
        rgba(80, 140, 255, 0.26) 268deg,
        transparent 275deg,
        rgba(0, 82, 255, 0.18) 282deg,
        transparent 290deg,
        transparent 360deg
    ) !important;
}

[data-theme="light"] .home-hero-noise-wrap {
    /* Light hero: a touch stronger to match Figma visibility on pale rays */
    --hero-noise-opacity: 0.10;
    --hero-noise-blend: multiply;
    --hero-grid-line: color-mix(in srgb, var(--figma-neutral-900) 11%, transparent);
    --hero-grid-opacity: 0.22;
    --hero-grid-blend: multiply;
}

[data-theme="light"] .home-hero-noise {
    background-color: var(--figma-noise-light-plate);
}

[data-theme="light"] .home-hero-noise-pulse--h,
[data-theme="light"] .home-hero-noise-pulse--v {
    mix-blend-mode: soft-light;
}

[data-theme="light"] .home-hero-noise-burst {
    mix-blend-mode: soft-light;
}

[data-theme="light"] .home-hero-rays__glow {
    background:
        radial-gradient(ellipse 42% 38% at 88% 10%,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.35) 38%,
            transparent 58%),
        radial-gradient(ellipse 48% 52% at 84% 14%,
            rgba(0, 82, 255, 0.45) 0%,
            rgba(80, 140, 255, 0.28) 38%,
            transparent 68%),
        radial-gradient(ellipse 38% 42% at 94% 6%,
            rgba(66, 140, 238, 0.38) 0%,
            rgba(100, 160, 255, 0.22) 40%,
            transparent 62%) !important;
    filter: blur(28px) !important;
    mix-blend-mode: normal !important;
}

/* Showcase cards invisible in light theme — Figma: opacity 0% */
[data-theme="light"] .home-hero-showcase__item {
    opacity: 0 !important;
}

[data-theme="light"] .home-hero-showcase__item:hover {
    opacity: 1 !important;
}

/* Mobile: light theme showcase must stay visible (rule above forces opacity 0 on all viewports) */
@media (max-width: 768px) {
    [data-theme="light"] .home-hero-showcase__item {
        opacity: 1 !important;
    }
}

/* Clients section — hide border and gap, seamless with hero */
[data-theme="light"] section.border-t.border-gray-800.section-gap {
    border-top: none !important;
    margin-top: 0 !important;
    background-color: #E8E6EC !important;
}

/* Hero secondary button — light theme (bordered, dark text) */
[data-theme="light"] .hero-btn-secondary {
    background: transparent !important;
    color: #111827 !important;
    border: 1px solid #4a4a4a !important;
}

/* Hero title — two-tone effect for light theme (Figma) */
[data-theme="light"] .hero-title-accent {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .hero-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: #9CA3AF !important;
}

/* Clients Section - light theme */
[data-theme="light"] .clients-title {
    color: #111827 !important;
}

[data-theme="light"] .clients-subtitle {
    color: #4B5563 !important;
}

/* Section Titles / Subtitles - light theme */
[data-theme="light"] .home-section-title {
    color: #111827 !important;
}

[data-theme="light"] .home-section-subtitle {
    color: #4B5563 !important;
}

/* Services Section - light theme — glass (819-18511): translucent + blur, not opaque white */
[data-theme="light"] .service-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.38) 48%, rgba(255, 255, 255, 0) 74%),
        rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.88) !important;
    box-shadow:
        0 0 0 1px rgba(0, 82, 255, 0.07) inset,
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 36px rgba(17, 24, 39, 0.07),
        0 2px 8px rgba(165, 163, 174, 0.22) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

[data-theme="light"] .service-card:hover {
    border-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        0 0 0 1px rgba(0, 82, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 14px 44px rgba(17, 24, 39, 0.09),
        0 2px 10px rgba(165, 163, 174, 0.28) !important;
}

[data-theme="light"] .service-icon {
    filter: drop-shadow(0px 0px 8px rgba(0, 82, 255, 0.38)) !important;
}

[data-theme="light"] .service-title {
    color: #111827 !important;
}

[data-theme="light"] .service-description {
    color: #4B5563 !important;
}

[data-theme="light"] .collab-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
}

[data-theme="light"] .collab-card:hover {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .collab-icon {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #ffffff 100%) !important;
}

[data-theme="light"] .collab-icon svg {
    filter: drop-shadow(0px 0px 10px rgba(0, 82, 255, 0.6)) !important;
}

[data-theme="light"] .collab-title {
    color: #111827 !important;
}

[data-theme="light"] .collab-description {
    color: #4B5563 !important;
}

[data-theme="light"] .collab-link {
    color: #0052FF !important;
}

[data-theme="light"] .collab-link svg {
    color: #0052FF !important;
    stroke: #0052FF !important;
}

[data-theme="light"] .why-section-title {
    color: #111827 !important;
}

[data-theme="light"] .why-section-subtitle {
    color: #4B5563 !important;
}

[data-theme="light"] .feature-icon {
    filter: none !important;
}

[data-theme="light"] .feature-title {
    color: #111827 !important;
}

[data-theme="light"] .feature-description {
    color: #4B5563 !important;
}

[data-theme="light"] .home-roles-section::after {
    background: rgba(255, 60, 0, 0.12);
    filter: blur(140px);
}

[data-theme="light"] .home-why-section::after {
    background: rgba(255, 60, 0, 0.12);
    filter: blur(140px);
}

[data-theme="light"] .role-title {
    color: #111827 !important;
}

[data-theme="light"] .role-tag {
    background: transparent !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}

[data-theme="light"] .role-card {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .testimonial-quote {
    color: #111827 !important;
}

/* ============================================
   HOME PAGE - TESTIMONIAL SECTION (Figma Full)
   ============================================ */

.home-testimonial-section {
    padding: 80px 0 !important;
    background-color: #0f1526 !important;
    position: relative !important;
    overflow: hidden !important;
}

.home-testimonial-section::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: url('/images/about/world-map-dots.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 88% auto !important;
    opacity: 0.15 !important;
    pointer-events: none !important;
}

.home-testimonial-section > * {
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 1024px) {
    .home-testimonial-section {
        padding: 60px 0 !important;
    }
}

@media (max-width: 640px) {
    .home-testimonial-section {
        padding: 40px 0 !important;
    }
}

.testimonial-author {
    font-family: 'Heebo', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 130% !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    color: var(--figma-white-100) !important;
    margin-bottom: 8px !important;
}

.testimonial-role {
    font-family: 'Heebo', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 140% !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.testimonial-nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

.testimonial-nav-btn svg {
    width: 24px !important;
    height: 24px !important;
}

/* RTL: flip testimonial navigation arrows */
[dir="rtl"] .testimonial-nav-btn svg {
    transform: scaleX(-1);
}

/* Testimonial slide fade-in when @key changes */
.testimonial-slide {
    animation: testimonial-fade-in 0.4s ease-out;
}

@keyframes testimonial-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-slide {
        animation: none;
    }
}

/* ============================================
   HOME PAGE - CTA / CONTACT SECTION (Figma)
   ============================================ */

/* Contact page — standalone section fills viewport */
.contact-page-section.home-cta-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.home-cta-section {
    background-color: #08090a !important;
    padding: 120px 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 1024px) {
    .home-cta-section {
        padding: 80px 0 !important;
    }
}

@media (max-width: 640px) {
    .home-cta-section {
        padding: 60px 0 !important;
    }
}

.cta-title {
    font-family: 'Heebo', sans-serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 120% !important;
    letter-spacing: -0.72px !important;
    color: var(--figma-white-100) !important;
    margin-bottom: 24px !important;
}

@media (max-width: 767px) {
    .cta-title {
        font-size: 32px !important;
        letter-spacing: -0.48px !important;
    }
}

.cta-description {
    font-family: 'Heebo', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 140% !important;
    letter-spacing: 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* CTA Column layout — Figma: left 636px, right 503px */
.cta-left-col {
    flex: 0 0 636px;
    max-width: 636px;
    width: 636px;
}

.cta-right-col {
    flex: 0 0 503px;
    max-width: 503px;
    width: 503px;
}

@media (max-width: 1024px) {
    .cta-left-col,
    .cta-right-col {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
}

/* CTA Illustration — Figma: 490 × 507px, ml: 11px */
.cta-illustration {
    display: block;
    width: 490px;
    height: 507px;
    max-width: 100%;
    object-fit: contain;
    margin-left: 11px;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .cta-illustration {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
}

/* CTA Form Inputs (TextField, TextArea) */
.home-cta-section input[type="text"],
.home-cta-section input[type="email"],
.home-cta-section input[type="tel"],
.home-cta-section textarea,
.home-cta-section .input-field {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 130% !important;
    color: rgba(255, 255, 255, 0.8) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.home-cta-section input[type="text"]::placeholder,
.home-cta-section input[type="email"]::placeholder,
.home-cta-section input[type="tel"]::placeholder,
.home-cta-section textarea::placeholder,
.home-cta-section .input-field::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.home-cta-section input[type="text"]:focus,
.home-cta-section input[type="email"]:focus,
.home-cta-section input[type="tel"]:focus,
.home-cta-section textarea:focus,
.home-cta-section .input-field:focus {
    border-color: rgba(255, 255, 255, 0.4) !important;
    outline: none !important;
    box-shadow: none !important;
}

.cta-privacy-label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 130% !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.cta-privacy-link {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 130% !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.cta-privacy-link:hover {
    text-decoration: underline !important;
}

/* CTA Submit Button - Orange Gradient (Figma) */
.cta-submit-btn {
    background: linear-gradient(129.59deg, #FFFBF2 0%, #FADCC3 99.65%) !important;
    color: #08090a !important;
    font-family: 'Heebo', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 0.9 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 16px 24px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    box-shadow: 0px 4px 30px 6px rgba(235, 138, 53, 0.4),
                0px 0px 8px 0px rgba(234, 95, 26, 0.7),
                inset 0px 2px 3px 0px rgba(255, 255, 255, 0.9) !important;
    transition: all 0.2s ease-in-out !important;
}

.cta-submit-btn:hover {
    background: linear-gradient(153deg, #ffffff 0%, #f9cdb0 100%) !important;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.9), 0 0 16px rgba(234, 95, 26, 0.85) !important;
}

/* Warm glow orb — radial shimmer */
.cta-submit-btn::before {
    content: '';
    position: absolute;
    width: 121px;
    height: 121px;
    top: -38px;
    left: -60px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 245, 0.75) 3.5%,
        rgba(255, 213, 187, 0.60) 15%,
        rgba(255, 170, 129, 0.40) 26.5%,
        rgba(255, 218, 159, 0.30) 37.5%,
        rgba(255, 170, 129, 0.10) 49%,
        transparent 92.5%
    );
    pointer-events: none;
    z-index: 1;
    animation: hero-btn-shimmer 4s ease-in-out infinite;
}

/* Blurred wider sweep — second glow layer */
.cta-submit-btn::after {
    content: '';
    position: absolute;
    width: 204px;
    height: 103px;
    top: -29px;
    left: -120px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse 60% 50% at 50% 50%,
        rgba(255, 255, 247, 0.55) 29%,
        rgba(255, 250, 205, 0.40) 48.5%,
        rgba(244, 210, 191, 0.25) 60.7%,
        transparent 100%
    );
    filter: blur(2.5px);
    pointer-events: none;
    z-index: 1;
    animation: hero-btn-shimmer-wide 4s ease-in-out 1.2s infinite;
}

.cta-submit-btn:hover::before {
    animation-duration: 2.5s;
}
.cta-submit-btn:hover::after {
    animation-duration: 2.5s;
}

/* CTA Form spacing - 24px gap between fields */
.home-cta-section .space-y-4 > * + * {
    margin-top: 24px !important;
}

/* Contact form — inline success (Figma dark 644-10175, light 644-10405) */
@keyframes contact-form-success-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.contact-form-success {
    width: 100%;
}

.contact-form-success__card {
    border-radius: 28px;
    padding: 48px 40px;
    text-align: center;
    background: rgba(18, 22, 32, 0.72);
    border: 1px solid rgba(0, 82, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 48px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    animation: contact-form-success-in 0.45s ease-out both;
}

.contact-form-success__icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #0052ff;
    box-shadow:
        0 0 32px rgba(0, 82, 255, 0.55),
        0 0 8px rgba(0, 82, 255, 0.4);
    background: rgba(0, 82, 255, 0.08);
}

.contact-form-success__icon {
    width: 36px;
    height: 36px;
    display: block;
    color: #0052ff;
}

.contact-form-success__title {
    font-family: 'Heebo', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 120% !important;
    color: #ffffff !important;
    margin: 0 0 16px !important;
}

@media (max-width: 767px) {
    .contact-form-success__title {
        font-size: 24px !important;
    }

    .contact-form-success__card {
        padding: 40px 24px !important;
    }
}

.contact-form-success__body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 150% !important;
    color: rgba(255, 255, 255, 0.65) !important;
    margin: 0 0 32px !important;
    max-width: 100%;
}

.contact-form-success__footer {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 150% !important;
    margin: 0 !important;
}

.contact-form-success__footer-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}

.contact-form-success__footer-link {
    color: #0052ff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.contact-form-success__footer-link:hover {
    text-decoration: underline !important;
}

.contact-form-success__footer-accent {
    color: #0052ff !important;
    font-weight: 500 !important;
}

/* ============================================
   HOME PAGE - DESKTOP SPACING (replaces inline styles)
   ============================================ */

/* Services section: Figma — 120px top/bottom padding, no extra margin */
.home-services-section {
    margin-top: 0;
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

/* Services header: no extra padding (Figma) */
.home-services-header {
    padding-top: 0;
    padding-bottom: 0;
}

/* Section header: replaces inline margin-bottom: 80px */
.home-section-header {
    margin-bottom: 80px;
}

/* Collab section: replaces inline padding: 120px 100px */
.home-collab-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative 3D images */
.collab-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.collab-decor-star {
    top: 101px;
    left: 230px;
    width: 132px;
    height: 132px;
    transform: rotate(24deg);
    animation: decor-float-1 8s ease-in-out infinite;
}

.collab-decor-ring {
    top: 78px;
    right: 40px;
    width: 198px;
    height: 198px;
    opacity: 0.8;
    animation: decor-float-2 10s ease-in-out infinite;
}

.collab-decor-cylinder {
    bottom: 104px;
    left: 62.3%;
    width: 122px;
    height: 124px;
    animation: decor-float-3 12s ease-in-out infinite;
}

@keyframes decor-float-1 {
    0%, 100% { transform: rotate(24deg) translateY(0); }
    50%      { transform: rotate(24deg) translateY(-18px); }
}

@keyframes decor-float-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(8deg); }
}

@keyframes decor-float-3 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-20px); }
}

@media (prefers-reduced-motion: reduce) {
    .collab-decor-star,
    .collab-decor-ring,
    .collab-decor-cylinder {
        animation: none;
    }
}

.home-collab-section > .mx-auto {
    position: relative;
    z-index: 1;
}

/* Testimonial nav: replaces inline margin-top: 60px */
.testimonial-nav-wrapper {
    margin-top: 60px;
}

/* ============================================
   HOME PAGE - TABLET RESPONSIVE (≤ 1024px)
   ============================================ */

@media (max-width: 1024px) {
    .home-collab-section {
        padding: 80px 0;
    }

    .home-services-section {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }

    .home-why-section {
        padding-top: 0 !important;
        padding-bottom: 100px !important;
    }

    /* Scale decorative images on tablet */
    .collab-decor-star {
        left: 120px;
        width: 100px;
        height: 100px;
    }

    .collab-decor-ring {
        right: 20px;
        width: 150px;
        height: 150px;
    }

    .collab-decor-cylinder {
        width: 90px;
        height: 92px;
    }
}

/* ============================================
   HOME PAGE - MOBILE RESPONSIVE (≤ 768px)
   ============================================ */

@media (max-width: 768px) {
    /* Services: Figma mobile — tighter padding, no extra margin */
    .home-services-section {
        margin-top: 0;
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    .home-services-header {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Roles: Figma mobile — tighter padding */
    .home-roles-section {
        padding-top: 8px !important;
        padding-bottom: 40px !important;
    }

    /* Section header spacing: 80px → 40px */
    .home-section-header {
        margin-bottom: 40px;
    }

    /* Roles card: tighter padding */
    .role-card {
        padding: 16px !important;
    }

    /* Collab section: match Figma mobile (py-80 px-16) */
    .home-collab-section {
        padding: 80px 0;
    }

    /* Hide large decorative images on mobile */
    .collab-decor-star,
    .collab-decor-ring {
        display: none;
    }

    .collab-decor-cylinder {
        width: 70px;
        height: 72px;
        left: auto;
        right: 16px;
        bottom: 60px;
    }

    .home-collab-section .flex.flex-col.gap-6 {
        gap: 16px !important;
    }

    /* Collab card: column layout, Figma p-16 r-16 */
    .collab-card {
        padding: 16px !important;
        border-radius: 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .collab-icon {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        padding: 10px !important;
        border-radius: 10px !important;
    }

    .collab-title {
        font-size: 20px !important;
        line-height: 130% !important;
    }

    .collab-description {
        font-size: 14px !important;
        line-height: 140% !important;
    }

    .collab-link {
        position: static !important;
        align-self: flex-start;
        margin-top: 16px;
    }

    .collab-content {
        padding-bottom: 0 !important;
    }

    /* Why section: Figma mobile — no top padding, 80px bottom */
    .home-why-section {
        padding-top: 0 !important;
        padding-bottom: 80px !important;
    }

    /* Feature grid: keep 2 columns on mobile per Figma */
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .feature-card {
        padding: 12px !important;
    }

    .feature-description {
        max-width: 100% !important;
    }

    .feature-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .feature-icon img,
    .feature-icon svg {
        width: 48px !important;
        height: 48px !important;
    }

    /* Testimonials: tighter spacing */
    .testimonial-quote {
        margin-bottom: 32px !important;
    }

    .testimonial-nav-wrapper {
        margin-top: 32px;
    }

    /* CTA: show illustration on mobile, sized for mobile viewport */
    .cta-illustration {
        display: block !important;
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        margin: 24px auto 32px !important;
    }
}

/* ============================================
   HOME PAGE - BOTTOM SECTIONS LIGHT THEME
   ============================================ */

[data-theme="light"] .home-testimonial-section {
    background-color: #E8E6EC !important;
}

[data-theme="light"] .home-testimonial-section::before {
    opacity: 0.15 !important;
    filter: invert(1) !important;
}

[data-theme="light"] .testimonial-author {
    color: #111827 !important;
}

[data-theme="light"] .testimonial-role {
    color: #4B5563 !important;
}

[data-theme="light"] .testimonial-nav-btn svg path {
    stroke: #6B7280 !important;
}

[data-theme="light"] .testimonial-nav-btn:hover svg path {
    stroke: #111827 !important;
}

[data-theme="light"] .home-cta-section {
    background-color: #E8E6EC !important;
}

[data-theme="light"] .cta-title {
    color: #111827 !important;
}

[data-theme="light"] .cta-description {
    color: #4B5563 !important;
}

[data-theme="light"] .home-cta-section input[type="text"],
[data-theme="light"] .home-cta-section input[type="email"],
[data-theme="light"] .home-cta-section input[type="tel"],
[data-theme="light"] .home-cta-section textarea,
[data-theme="light"] .home-cta-section .input-field {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}

[data-theme="light"] .home-cta-section input[type="text"]::placeholder,
[data-theme="light"] .home-cta-section input[type="email"]::placeholder,
[data-theme="light"] .home-cta-section input[type="tel"]::placeholder,
[data-theme="light"] .home-cta-section textarea::placeholder,
[data-theme="light"] .home-cta-section .input-field::placeholder {
    color: #9CA3AF !important;
}

[data-theme="light"] .cta-submit-btn {
    box-shadow: 0px 4px 30px 6px rgba(235, 138, 53, 0.25),
                0px 0px 8px 0px rgba(234, 95, 26, 0.4),
                inset 0px 2px 3px 0px rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .cta-privacy-label {
    color: #4B5563 !important;
}

[data-theme="light"] .cta-checkbox-scope label {
    color: #4B5563 !important;
}

[data-theme="light"] .cta-privacy-link {
    color: #111827 !important;
    font-weight: 500 !important;
}

[data-theme="light"] .contact-form-success__card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(0, 82, 255, 0.28) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.85) inset,
        0 16px 40px rgba(17, 24, 39, 0.08) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
}

[data-theme="light"] .contact-form-success__icon-wrap {
    box-shadow:
        0 0 28px rgba(0, 82, 255, 0.35),
        0 0 6px rgba(0, 82, 255, 0.22) !important;
    background: rgba(0, 82, 255, 0.06) !important;
    border-color: #0052ff !important;
}

[data-theme="light"] .contact-form-success__icon {
    color: #0052ff !important;
}

[data-theme="light"] .contact-form-success__title {
    color: #111827 !important;
}

[data-theme="light"] .contact-form-success__body {
    color: #4b5563 !important;
}

[data-theme="light"] .contact-form-success__footer-muted {
    color: #6b7280 !important;
}

[data-theme="light"] .contact-form-success__footer-link,
[data-theme="light"] .contact-form-success__footer-accent {
    color: #0052ff !important;
}

[data-theme="light"] .home-cta-section input[type="text"]:focus,
[data-theme="light"] .home-cta-section input[type="email"]:focus,
[data-theme="light"] .home-cta-section input[type="tel"]:focus,
[data-theme="light"] .home-cta-section textarea:focus,
[data-theme="light"] .home-cta-section .input-field:focus {
    border-color: rgba(0, 0, 0, 0.3) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ============================================
   FOOTER - LIGHT THEME (Figma node 819:18626)
   ============================================ */

[data-theme="light"] .footer-root {
    background-color: #f0ecec !important;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .footer-root::before {
    background: rgba(0, 82, 255, 0.08) !important;
}

[data-theme="light"] .footer-root .text-white {
    color: #1c1e21 !important;
}

[data-theme="light"] .footer-root .text-gray-400 {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .footer-root .text-gray-300 {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .footer-root .hover\:text-white:hover {
    color: #1c1e21 !important;
}

[data-theme="light"] .footer-root .bg-gray-800 {
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .footer-root .border-gray-700 {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .footer-root .hover\:bg-gray-700\/50:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .footer-root .border-gray-800 {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Footer SVG logo + social icons go dark in light theme */
[data-theme="light"] .footer-root svg path[fill="white"] {
    fill: #1c1e21 !important;
}

[data-theme="light"] .footer-root .footer-section-title {
    color: #1c1e21 !important;
}

[data-theme="light"] .footer-root .footer-link {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .footer-root .footer-link:hover {
    color: #1c1e21 !important;
}

[data-theme="light"] .footer-root .footer-description {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .footer-root .footer-email {
    color: #0052FF !important;
}

[data-theme="light"] .footer-root .footer-email:hover {
    color: #0052FF !important;
    opacity: 0.8;
}

[data-theme="light"] .footer-root .footer-copyright {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .footer-root .footer-copyright a {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .footer-root .footer-copyright a:hover {
    color: #1c1e21 !important;
}

/* Social icon SVGs */
[data-theme="light"] .footer-root .text-gray-400 svg {
    color: #1c1e21 !important;
}

[data-theme="light"] .footer-root .text-gray-400 svg path[fill="currentColor"],
[data-theme="light"] .footer-root .text-gray-400 svg path[fill="currentcolor"] {
    fill: #1c1e21 !important;
}

/* ============================================
   ABOUT PAGE – Base grid & card styles
   ============================================ */
.about-values-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-values-row {
    display: flex;
    gap: 24px;
}

.about-value-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-clip: padding-box;
    background-color: #000;
    height: 352px;
}

.about-value-wide   { flex: 57 1 0; min-width: 0; }
.about-value-narrow { flex: 43 1 0; min-width: 0; }

/* ============================================
   ABOUT PAGE – Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
    .about-hero-content {
        padding: 0 !important;
    }
    .about-hero-stats-bar {
        padding: 0 0 64px !important;
    }
    .about-mission-inner,
    .about-core-inner {
        padding: 0 !important;
    }
}

/* ============================================
   ABOUT PAGE – Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
    /* === ABOUT HERO === */
    .about-hero-section {
        margin-top: 0 !important;
        padding: 48px 0 0 !important;
    }
    .about-hero-content {
        padding: 0 !important;
    }
    .about-hero-title {
        font-size: 42px !important;
        line-height: 100% !important;
        letter-spacing: -0.63px !important;
    }
    .about-hero-subtitle {
        font-size: 16px !important;
        line-height: 140% !important;
        margin: 0 auto 40px !important;
    }

    /* === ABOUT STATS 2×2 GRID === */
    .about-hero-stats-bar {
        padding: 0 !important;
    }
    .about-stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 !important;
    }
    .about-stat-item {
        padding: 16px;
        text-align: center;
    }
    .about-stat-item:nth-child(2) {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .about-stat-item:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .about-stat-item:nth-child(4) {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .about-stat-value {
        font-size: 42px !important;
        line-height: 100% !important;
        letter-spacing: -0.63px !important;
    }
    .about-stat-label {
        font-size: 14px !important;
        line-height: 140% !important;
    }

    /* === ABOUT MISSION SECTION === */
    .about-mission-section {
        padding: 48px 0 !important;
    }
    .about-mission-inner {
        padding: 0 !important;
    }
    .about-section-title {
        font-size: 32px !important;
        line-height: 120% !important;
        letter-spacing: -0.16px !important;
    }
    .about-section-desc {
        font-size: 16px !important;
        line-height: 140% !important;
    }
    .about-mission-card {
        padding: 16px !important;
        border-radius: 16px !important;
        min-height: unset !important;
        gap: 16px;
    }
    .about-mission-card svg {
        width: 40px !important;
        height: 40px !important;
    }
    .about-mission-card h3 {
        font-size: 20px !important;
        line-height: 130% !important;
    }
    .about-mission-card p {
        font-size: 14px !important;
        line-height: 140% !important;
    }

    /* === ABOUT CORE VALUES SECTION === */
    .about-core-section {
        padding: 80px 0 !important;
    }
    .about-core-inner {
        padding: 0 !important;
    }
    .about-values-row {
        gap: 16px;
    }
    .about-values-grid {
        gap: 16px;
    }
    .about-value-wide,
    .about-value-narrow {
        flex: 1 1 0;
    }
    .about-value-card {
        height: 224px !important;
        border-radius: 16px !important;
    }
    .about-value-text {
        padding: 16px !important;
    }
    .about-value-card h3 {
        font-size: 20px !important;
        line-height: 130% !important;
    }
    .about-value-card p {
        font-size: 14px !important;
        line-height: 140% !important;
    }
}

/* ===== WHY US PAGE — MOBILE REDESIGN ===== */

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .whyus-hero-content {
        padding: 0 !important;
    }
    .whyus-stats-bar {
        padding: 0 0 80px !important;
    }
    .whyus-benefits-inner {
        padding: 0 !important;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    /* --- Hero Section --- */
    .whyus-hero-section {
        margin-top: 0 !important;
        padding: 48px 0 0 !important;
    }
    .whyus-hero-content {
        padding: 0 !important;
    }
    .whyus-hero-title {
        font-size: 42px !important;
        line-height: 1 !important;
        letter-spacing: -0.63px !important;
    }
    .whyus-hero-title--muted {
        color: rgba(255,255,255,0.8) !important;
    }
    .whyus-hero-subtitle {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin: 16px auto 0 !important;
        max-width: none !important;
    }

    /* --- Stats Bar (2×2 grid) --- */
    .whyus-stats-bar {
        padding: 0 0 80px !important;
    }
    .whyus-stats-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
    }
    .whyus-stat-item {
        padding: 16px !important;
        text-align: center;
    }
    .whyus-stat-item:nth-child(even) {
        border-left: 1px solid rgba(255,255,255,0.1);
    }
    .whyus-stat-item:nth-child(n+3) {
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .whyus-stat-value {
        font-size: 42px !important;
        line-height: 1 !important;
        letter-spacing: -0.63px !important;
    }
    .whyus-stat-label {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    .whyus-stat-divider {
        display: none !important;
    }

    /* --- Benefits Section (single column) --- */
    .whyus-benefits-section {
        padding: 0 !important;
    }
    .whyus-benefits-inner {
        padding: 0 !important;
    }
    .whyus-benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .whyus-benefit-card {
        background: rgba(255,255,255,0.04) !important;
        border: none !important;
        border-radius: 16px !important;
        padding: 16px !important;
        min-height: auto !important;
        gap: 16px !important;
    }
    .whyus-benefit-card svg {
        width: 40px !important;
        height: 40px !important;
    }
    .whyus-benefit-card > div:first-child {
        margin-bottom: 0 !important;
    }
    .whyus-benefit-card h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .whyus-benefit-card p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* --- Comparison Section (hidden on mobile) --- */
    .whyus-comparison-section {
        display: none !important;
    }
}

/* ============================================
   LANDING PAGE
   ============================================ */

/* ---------- Hero ---------- */
.landing-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg-page, #08090A);
}
.landing-hero__glow {
    position: absolute;
    width: 1651px;
    height: 1061px;
    left: 50%;
    top: 340px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 170, 0, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.landing-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.landing-hero__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: var(--figma-white-100);
    margin: 0 0 24px;
}
.landing-hero__subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.landing-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 30px;
    background: linear-gradient(108deg, rgb(255, 251, 242) 0%, rgb(250, 220, 195) 100%);
    color: #08090A;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: filter 0.2s;
    box-shadow: 0px 4px 30px 6px rgba(235, 138, 53, 0.4), 0px 0px 8px 0px rgba(234, 95, 26, 0.7), inset 0px 2px 3px 0px rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}
.landing-hero__cta:hover {
    filter: brightness(0.95);
}

/* Mockup */
.landing-hero__mockup {
    position: relative;
    z-index: 1;
    max-width: 992px;
    margin: 60px auto 0;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: #4B5563;
    aspect-ratio: 992 / 715;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.landing-hero__mockup-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.landing-hero__mockup-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #374151;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.landing-hero__mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9CA3AF;
}
.landing-hero__mockup-body {
    flex: 1;
    display: flex;
}
.landing-hero__mockup-sidebar {
    width: 220px;
    background: #374151;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.landing-hero__mockup-sidebar-item {
    height: 14px;
    border-radius: 6px;
    background: #9CA3AF;
}
.landing-hero__mockup-sidebar-item:first-child { width: 70%; }
.landing-hero__mockup-sidebar-item:nth-child(2) { width: 90%; }
.landing-hero__mockup-sidebar-item:nth-child(3) { width: 55%; }
.landing-hero__mockup-sidebar-item:nth-child(4) { width: 80%; }
.landing-hero__mockup-sidebar-item:nth-child(5) { width: 65%; }
.landing-hero__mockup-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #1F2A37;
}
.landing-hero__mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.landing-hero__mockup-card {
    border-radius: 8px;
    background: #374151;
    padding: 20px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.landing-hero__mockup-card-line {
    height: 10px;
    border-radius: 4px;
    background: #4B5563;
}
.landing-hero__mockup-card-line:first-child { width: 50%; background: #9CA3AF; }
.landing-hero__mockup-card-line:nth-child(2) { width: 80%; }
.landing-hero__mockup-card-line:nth-child(3) { width: 65%; }
.landing-hero__mockup-chart {
    flex: 1;
    border-radius: 8px;
    background: #374151;
    min-height: 120px;
}

/* Client logos */
.landing-clients {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
    text-align: center;
}
.landing-clients__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-tertiary);
    margin: 0 0 32px;
}
.landing-clients__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: nowrap;
    min-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.landing-clients__logo {
    opacity: 0.8;
    transition: opacity 0.2s;
}
.landing-clients__logo:hover { opacity: 1; }

/* ---------- Services ---------- */
.landing-services {
    padding: 120px 0;
    background: var(--bg-page, #08090A);
}
.landing-services__header {
    max-width: 636px;
    margin: 0 auto 48px;
    text-align: center;
}
.landing-services__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.015em;
    color: var(--figma-white-100);
    margin: 0 0 16px;
}
.landing-services__subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 24px;
}
.landing-services__link {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #0052FF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.landing-services__link:hover { color: #3377FF; }
.landing-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1240px;
}
.landing-service-card {
    border-radius: 26px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: border-color 0.2s, background 0.2s;
}
.landing-service-card:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.06);
}
.landing-service-card__icon {
    width: 72px;
    height: 66px;
    flex-shrink: 0;
}
.landing-service-card__icon svg {
    width: 100%;
    height: 100%;
}
.landing-service-card__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.landing-service-card__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: var(--figma-white-100);
    margin: 0;
}
.landing-service-card__desc {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
}

/* ---------- Features ---------- */
.landing-features {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(23, 40, 80, 0.4) 0%, rgba(17, 23, 34, 0.4) 100%);
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.landing-feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}
.landing-feature-row--reverse { flex-direction: row-reverse; }
.landing-feature-row__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.landing-feature-row__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.015em;
    color: var(--figma-white-100);
    margin: 0;
}
.landing-feature-row__desc {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}
.landing-feature-row__checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.landing-feature-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.landing-feature-check__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}
.landing-feature-check__text {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-secondary);
}
.landing-feature-row__image {
    flex: 1;
    border-radius: 8px;
    border: 1px solid #374151;
    background: var(--bg-surface);
    aspect-ratio: 608 / 529;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.landing-feature-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Testimonials ---------- */
.landing-testimonials {
    padding: 120px 0;
    background: var(--bg-page, #08090A);
    position: relative;
    overflow: hidden;
}
.landing-testimonials__glow-blue {
    position: absolute;
    width: 600px;
    height: 400px;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 82, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.landing-testimonials__glow-orange {
    position: absolute;
    width: 600px;
    height: 400px;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 68, 0, 0.10) 0%, transparent 70%);
    pointer-events: none;
}
.landing-testimonials__header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.landing-testimonials__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.015em;
    color: var(--figma-white-100);
    margin: 0 0 16px;
}
.landing-testimonials__subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.landing-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}
.landing-testimonial-card {
    border-radius: 26px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}
.landing-testimonial-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 100px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 82, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.landing-testimonial-card__top {
    display: flex;
    align-items: center;
    gap: 16px;
}
.landing-testimonial-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--figma-white-10);
    flex-shrink: 0;
    overflow: hidden;
}
.landing-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.landing-testimonial-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.landing-testimonial-card__name {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: var(--figma-white-100);
    margin: 0;
}
.landing-testimonial-card__role {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-tertiary);
    margin: 0;
}
.landing-testimonial-card__divider {
    width: 100%;
    height: 1px;
    background: var(--border-subtle);
}
.landing-testimonial-card__quote {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}
.landing-testimonials__more {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.landing-testimonials__more-btn {
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--figma-white-100);
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.landing-testimonials__more-btn:hover {
    background: var(--figma-white-10);
    border-color: var(--figma-white-40);
}

/* ---------- Stats ---------- */
.landing-stats {
    padding: 0 0 80px;
    background: var(--bg-page, #08090A);
    position: relative;
    overflow: hidden;
}
.landing-stats__glow {
    position: absolute;
    width: 1082px;
    height: 126px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 170, 0, 0.22) 0%, transparent 70%);
    pointer-events: none;
}
.landing-stats__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}
.landing-stat-item {
    flex: 1;
    text-align: center;
    padding: 0 40px;
    position: relative;
}
.landing-stat-item + .landing-stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: var(--figma-white-20);
}
.landing-stat-item__number {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: var(--figma-white-100);
    margin: 0;
}
.landing-stat-item__label {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 8px 0 0;
}

/* ---------- Pricing ---------- */
.landing-pricing {
    padding: 120px 0;
    background: var(--bg-page, #08090A);
}
.landing-pricing__header {
    text-align: center;
    margin-bottom: 48px;
}
.landing-pricing__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.015em;
    color: var(--figma-white-100);
    margin: 0 0 16px;
}
.landing-pricing__subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.landing-pricing__tabs {
    display: inline-flex;
    border-radius: 30px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    gap: 0;
}
.landing-pricing__tab {
    padding: 12px 48px;
    border-radius: 30px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.landing-pricing__tab--active {
    background: var(--figma-white-100);
    color: #08090A;
    box-shadow: 0 0 10px rgba(0, 82, 255, 0.6);
}
.landing-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 48px auto 0;
}
.landing-pricing-card {
    border-radius: 26px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.landing-pricing-card--popular {
    border-color: #0052FF;
    background: linear-gradient(90deg, rgba(0, 82, 255, 0.04) 0%, rgba(0, 82, 255, 0.04) 100%), rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 20px 4px rgba(0, 82, 255, 0.24);
    overflow: hidden;
}
.landing-pricing-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--figma-white-100);
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 0.9;
    width: fit-content;
}
.landing-pricing-card__name {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: var(--figma-white-100);
    margin: 0;
}
.landing-pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
}
.landing-pricing-card__amount {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--figma-white-100);
}
.landing-pricing-card__period {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text-tertiary);
}
.landing-pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.landing-pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 8px;
}
.landing-pricing-card__feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
.landing-pricing-card__feature-text {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-secondary);
}
.landing-pricing-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 30px;
    border: 1px solid white;
    background: transparent;
    color: var(--figma-white-100);
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    width: 100%;
    text-align: center;
}
.landing-pricing-card__cta:hover {
    background: var(--figma-white-10);
    border-color: var(--figma-white-40);
}
.landing-pricing-card__cta--primary {
    background: linear-gradient(108deg, rgb(255, 251, 242) 0%, rgb(250, 220, 195) 100%);
    border-color: transparent;
    color: #08090A;
    box-shadow: 0px 4px 30px 6px rgba(235, 138, 53, 0.4), 0px 0px 8px 0px rgba(234, 95, 26, 0.7), inset 0px 2px 3px 0px rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}
.landing-pricing-card__cta--primary:hover {
    filter: brightness(0.95);
    background: linear-gradient(108deg, rgb(255, 251, 242) 0%, rgb(250, 220, 195) 100%);
    border-color: transparent;
}

/* ---------- Pricing card extras ---------- */
.landing-pricing-card__name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.landing-pricing-card__desc {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
}
.landing-pricing-card__divider {
    width: 100%;
    height: 1px;
    background: var(--border-subtle);
}
.landing-pricing-card__section-label {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0 0 -8px;
    text-transform: uppercase;
}

/* ---------- CTA ---------- */
.landing-cta {
    padding: 0 0 120px;
    background: var(--bg-page, #08090A);
}
.landing-cta__card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    padding: 48px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
}
.landing-cta__glow-blue {
    position: absolute;
    width: 400px;
    height: 300px;
    left: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 82, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.landing-cta__glow-orange {
    position: absolute;
    width: 400px;
    height: 300px;
    right: -100px;
    top: -100px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 140, 50, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.landing-cta__sphere {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3366FF 0%, #0052FF 50%, #0040CC 100%);
    box-shadow: 0 8px 24px rgba(0, 82, 255, 0.3);
    position: relative;
    z-index: 1;
}
.landing-cta__sphere::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 16px;
    width: 20px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}
.landing-cta__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.015em;
    color: var(--figma-white-100);
    margin: 0;
    position: relative;
    z-index: 1;
}
.landing-cta__subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
    max-width: 640px;
    position: relative;
    z-index: 1;
}
.landing-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 30px;
    background: linear-gradient(108deg, rgb(255, 251, 242) 0%, rgb(250, 220, 195) 100%);
    color: #08090A;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: filter 0.2s;
    box-shadow: 0px 4px 30px 6px rgba(235, 138, 53, 0.4), 0px 0px 8px 0px rgba(234, 95, 26, 0.7), inset 0px 2px 3px 0px rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}
.landing-cta__btn:hover {
    filter: brightness(0.95);
}

/* ============================================
   LANDING PAGE - LIGHT THEME OVERRIDES
   ============================================ */

[data-theme="light"] .landing-hero {
    background: #F8F9FA;
}
[data-theme="light"] .landing-hero__glow {
    background: radial-gradient(ellipse at center, rgba(255, 170, 0, 0.10) 0%, transparent 70%);
}
[data-theme="light"] .landing-hero__title {
    color: #08090A;
}
[data-theme="light"] .landing-hero__subtitle {
    color: #4B5563;
}
[data-theme="light"] .landing-hero__mockup {
    border-color: #E5E7EB;
    background: #E5E7EB;
}
[data-theme="light"] .landing-hero__mockup-topbar {
    background: #F3F4F6;
    border-bottom-color: #E5E7EB;
}
[data-theme="light"] .landing-hero__mockup-dot {
    background: #D1D5DB;
}
[data-theme="light"] .landing-hero__mockup-sidebar {
    background: #F3F4F6;
    border-right-color: #E5E7EB;
}
[data-theme="light"] .landing-hero__mockup-sidebar-item {
    background: #D1D5DB;
}
[data-theme="light"] .landing-hero__mockup-main {
    background: #FFFFFF;
}
[data-theme="light"] .landing-hero__mockup-card {
    background: #F3F4F6;
}
[data-theme="light"] .landing-hero__mockup-card-line {
    background: #E5E7EB;
}
[data-theme="light"] .landing-hero__mockup-card-line:first-child {
    background: #D1D5DB;
}
[data-theme="light"] .landing-hero__mockup-chart {
    background: #F3F4F6;
}

[data-theme="light"] .landing-clients {
}
[data-theme="light"] .landing-clients__title {
    color: #9CA3AF;
}
[data-theme="light"] .landing-clients__logo svg path {
    fill: #6B7280;
}

[data-theme="light"] .landing-services {
    background: #F8F9FA;
}
[data-theme="light"] .landing-services__title {
    color: #08090A;
}
[data-theme="light"] .landing-services__subtitle {
    color: #4B5563;
}
[data-theme="light"] .landing-service-card {
    background: #FFFFFF;
    border-color: #E5E7EB;
}
[data-theme="light"] .landing-service-card:hover {
    border-color: #D1D5DB;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .landing-service-card__title {
    color: #08090A;
}
[data-theme="light"] .landing-service-card__desc {
    color: #4B5563;
}

[data-theme="light"] .landing-features {
    background: #F8F9FA;
}
[data-theme="light"] .landing-feature-row__title {
    color: #08090A;
}
[data-theme="light"] .landing-feature-row__desc {
    color: #4B5563;
}
[data-theme="light"] .landing-feature-check__text {
    color: #4B5563;
}
[data-theme="light"] .landing-feature-row__image {
    background: #FFFFFF;
    border-color: #E5E7EB;
}

[data-theme="light"] .landing-testimonials {
    background: #F8F9FA;
}
[data-theme="light"] .landing-testimonials__title {
    color: #08090A;
}
[data-theme="light"] .landing-testimonials__subtitle {
    color: #4B5563;
}
[data-theme="light"] .landing-testimonial-card {
    background: #FFFFFF;
    border-color: #E5E7EB;
}
[data-theme="light"] .landing-testimonial-card__name {
    color: #08090A;
}
[data-theme="light"] .landing-testimonial-card__role {
    color: #9CA3AF;
}
[data-theme="light"] .landing-testimonial-card__divider {
    background: #E5E7EB;
}
[data-theme="light"] .landing-testimonial-card__quote {
    color: #4B5563;
}
[data-theme="light"] .landing-testimonials__more-btn {
    border-color: #D1D5DB;
    color: #08090A;
}
[data-theme="light"] .landing-testimonials__more-btn:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

[data-theme="light"] .landing-stats {
    background: #F8F9FA;
}
[data-theme="light"] .landing-stats__glow {
    background: radial-gradient(ellipse at center, rgba(255, 170, 0, 0.12) 0%, transparent 70%);
}
[data-theme="light"] .landing-stat-item + .landing-stat-item::before {
    background: #D1D5DB;
}
[data-theme="light"] .landing-stat-item__number {
    color: #08090A;
}
[data-theme="light"] .landing-stat-item__label {
    color: #4B5563;
}

[data-theme="light"] .landing-pricing {
    background: #F8F9FA;
}
[data-theme="light"] .landing-pricing__title {
    color: #08090A;
}
[data-theme="light"] .landing-pricing__subtitle {
    color: #4B5563;
}
[data-theme="light"] .landing-pricing__tabs {
    background: #FFFFFF;
    border-color: #E5E7EB;
}
[data-theme="light"] .landing-pricing__tab {
    color: #4B5563;
}
[data-theme="light"] .landing-pricing__tab--active {
    background: #08090A;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(0, 82, 255, 0.3);
}
[data-theme="light"] .landing-pricing-card {
    background: #FFFFFF;
    border-color: #E5E7EB;
}
[data-theme="light"] .landing-pricing-card--popular {
    border-color: rgba(0, 82, 255, 0.3);
    background: rgba(0, 82, 255, 0.03);
}
[data-theme="light"] .landing-pricing-card__name {
    color: #08090A;
}
[data-theme="light"] .landing-pricing-card__amount {
    color: #08090A;
}
[data-theme="light"] .landing-pricing-card__period {
    color: #9CA3AF;
}
[data-theme="light"] .landing-pricing-card__feature-text {
    color: #4B5563;
}
[data-theme="light"] .landing-pricing-card__cta {
    border-color: #D1D5DB;
    color: #08090A;
}
[data-theme="light"] .landing-pricing-card__cta:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

[data-theme="light"] .landing-features {
    background: linear-gradient(180deg, rgba(23, 40, 80, 0.08) 0%, rgba(17, 23, 34, 0.05) 100%);
}
[data-theme="light"] .landing-feature-row__image {
    border-color: #E5E7EB;
}

[data-theme="light"] .landing-cta {
    background: #F8F9FA;
}
[data-theme="light"] .landing-cta__card {
    background: #FFFFFF;
    border-color: #E5E7EB;
}
[data-theme="light"] .landing-cta__title {
    color: #08090A;
}
[data-theme="light"] .landing-cta__subtitle {
    color: #4B5563;
}
[data-theme="light"] .landing-pricing-card__desc {
    color: #4B5563;
}
[data-theme="light"] .landing-pricing-card__section-label {
    color: #9CA3AF;
}
[data-theme="light"] .landing-pricing-card__divider {
    background: #E5E7EB;
}
[data-theme="light"] .landing-testimonial-card__name {
    font-size: 24px;
}

/* ============================================
   LANDING PAGE - RESPONSIVE (MOBILE ≤ 768px)
   ============================================ */

@media (max-width: 768px) {
    .landing-hero {
        padding: 120px 0 40px !important;
    }
    .landing-hero__title {
        font-size: 36px !important;
        line-height: 115% !important;
    }
    .landing-hero__subtitle {
        font-size: 16px !important;
    }
    .landing-hero__mockup {
        margin-top: 40px;
    }
    .landing-hero__mockup-sidebar {
        width: 120px;
        padding: 16px 10px;
    }
    .landing-hero__mockup-cards {
        grid-template-columns: 1fr;
    }

    .landing-clients {
        padding: 40px 0 20px !important;
    }
    .landing-clients__row {
        gap: 24px;
    }
    .landing-clients__logo svg {
        max-width: 80px;
        height: auto;
    }

    .landing-services {
        padding: 60px 0 !important;
    }
    .landing-services__title {
        font-size: 28px !important;
    }
    .landing-services__subtitle {
        font-size: 16px !important;
    }
    .landing-services__grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .landing-service-card {
        padding: 24px;
        border-radius: 16px;
    }

    .landing-features {
        padding: 60px 0 !important;
        gap: 60px !important;
    }
    .landing-feature-row {
        flex-direction: column !important;
        gap: 32px;
    }
    .landing-feature-row--reverse {
        flex-direction: column !important;
    }
    .landing-feature-row__title {
        font-size: 28px !important;
    }
    .landing-feature-row__desc {
        font-size: 16px !important;
    }

    .landing-testimonials {
        padding: 60px 0 !important;
    }
    .landing-testimonials__title {
        font-size: 28px !important;
    }
    .landing-testimonials__subtitle {
        font-size: 16px !important;
    }
    .landing-testimonials__grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .landing-testimonial-card {
        padding: 20px;
        border-radius: 16px;
    }

    .landing-stats {
        padding: 40px 0 !important;
    }
    .landing-stats__row {
        flex-direction: column;
        gap: 32px;
    }
    .landing-stat-item + .landing-stat-item::before {
        display: none;
    }
    .landing-stat-item__number {
        font-size: 48px !important;
    }
    .landing-stat-item__label {
        font-size: 16px !important;
    }

    .landing-pricing {
        padding: 60px 0 !important;
    }
    .landing-pricing__title {
        font-size: 28px !important;
    }
    .landing-pricing__subtitle {
        font-size: 16px !important;
    }
    .landing-pricing__grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .landing-pricing-card {
        padding: 24px;
        border-radius: 16px;
    }
    .landing-pricing-card--popular {
        order: -1;
    }
    .landing-pricing-card__amount {
        font-size: 36px !important;
    }
    .landing-pricing__tabs {
        padding: 4px;
    }
    .landing-pricing__tab {
        padding: 10px 24px;
        font-size: 16px;
    }

    .landing-cta {
        padding: 0 0 60px !important;
    }
    .landing-cta__card {
        padding: 32px 20px;
        border-radius: 16px;
    }
    .landing-cta__title {
        font-size: 28px !important;
    }
    .landing-cta__subtitle {
        font-size: 14px !important;
    }
}

/* ============================================
   ERROR 404 PAGE
   ============================================ */

.error-404-section {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #090a0c;
    padding: 60px 16px;
}

/* Background radial glow */
.error-404-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background:
        radial-gradient(ellipse 55% 55% at 50% 50%,
            rgba(0, 82, 255, 0.12) 0%,
            rgba(0, 82, 255, 0.04) 50%,
            transparent 80%);
    filter: blur(60px);
    pointer-events: none;
}

/* Floating 3D decorative elements */
.error-404-decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.error-404-decor--star {
    width: 80px;
    height: 80px;
    top: 18%;
    left: 8%;
    animation: error-float-1 8s ease-in-out infinite;
}

.error-404-decor--ring {
    width: 115px;
    height: 105px;
    top: 10%;
    left: 30%;
    animation: error-float-2 10s ease-in-out infinite;
}

.error-404-decor--cylinder {
    width: 164px;
    height: 164px;
    top: 35%;
    left: 3%;
    animation: error-float-3 12s ease-in-out infinite;
}

.error-404-decor--star2 {
    width: 80px;
    height: 80px;
    top: 12%;
    right: 15%;
    animation: error-float-2 9s ease-in-out infinite;
}

.error-404-decor--ring2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 3%;
    animation: error-float-1 11s ease-in-out infinite;
}

.error-404-decor--cylinder2 {
    width: 83px;
    height: 83px;
    bottom: 15%;
    right: 10%;
    transform: rotate(135deg);
    animation: error-float-3 8s ease-in-out infinite;
}

@keyframes error-float-1 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}

@keyframes error-float-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-12px) rotate(5deg); }
}

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

@media (prefers-reduced-motion: reduce) {
    .error-404-decor {
        animation: none !important;
    }
}

/* Center content */
.error-404-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 0;
}

.error-404-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 24px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.error-404-title-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.error-404-code-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.error-404-code {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 180px;
    line-height: 1;
    letter-spacing: -3.6px;
    color: var(--figma-primary, #0052ff);
    margin: 0;
}

.error-404-subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: var(--figma-primary, #0052ff);
    margin: 0;
}

.error-404-heading {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: white;
    margin: 0;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 30px;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 0.9;
    color: #08090a;
    text-decoration: none;
    background: linear-gradient(101deg, #fffbf2 0%, #fadcc3 100%);
    box-shadow:
        0 4px 30px 6px rgba(235, 138, 53, 0.4),
        0 0 8px 0 rgba(234, 95, 26, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-404-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 36px 8px rgba(235, 138, 53, 0.5),
        0 0 12px 0 rgba(234, 95, 26, 0.8);
}

/* Light theme */
[data-theme="light"] .error-404-section {
    background: #f0ecec;
}

[data-theme="light"] .error-404-glow {
    background:
        radial-gradient(ellipse 55% 55% at 50% 50%,
            rgba(0, 82, 255, 0.06) 0%,
            rgba(0, 82, 255, 0.02) 50%,
            transparent 80%);
}

[data-theme="light"] .error-404-card {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .error-404-heading {
    color: #1c1e21;
}

/* Responsive */
@media (max-width: 768px) {
    .error-404-content {
        padding: 60px 0;
    }

    .error-404-card {
        padding: 16px;
        gap: 32px;
    }

    .error-404-title-desc {
        gap: 24px;
    }

    .error-404-code-group {
        gap: 16px;
    }

    .error-404-code {
        font-size: 100px;
        letter-spacing: -2px;
    }

    .error-404-subtitle {
        font-size: 18px;
    }

    .error-404-heading {
        font-size: 28px;
        letter-spacing: -0.4px;
    }

    .error-404-decor--cylinder,
    .error-404-decor--ring2 {
        display: none;
    }

    .error-404-decor--star { width: 50px; height: 50px; }
    .error-404-decor--ring { width: 70px; height: 65px; }
    .error-404-decor--star2 { width: 50px; height: 50px; }
    .error-404-decor--cylinder2 { width: 50px; height: 50px; }
}

/* ============================================
   SCROLL-REVEAL ENTRANCE ANIMATIONS
   ============================================ */

/* Hidden state — elements start invisible and shifted down */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Visible state — applied by IntersectionObserver */
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child cards */
.scroll-reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.scroll-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
