/* AKVIT LAB — styles */

/* ─── RESET ──────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
      scroll-padding-top: 52px;
    }
    :focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; border-radius: 4px; }
    ::selection { background: rgba(0,113,227,0.15); }
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: #fff; }
    ::-webkit-scrollbar-thumb { background: #d2d2d7; border-radius: 4px; }

    /* ─── TOKENS ─────────────────────────────────────────────── */
    :root {
      --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

      /* Apple-style type scale — SF Pro inspired */
      --t-micro:  clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);
      --t-caption:clamp(0.75rem,   0.72rem + 0.15vw, 0.8125rem);
      --t-body:   clamp(1rem,      0.95rem + 0.25vw, 1.0625rem);
      --t-intro:  clamp(1.125rem,  1rem + 0.6vw, 1.4375rem);
      --t-title3: clamp(1.5rem,    1.2rem + 1vw, 1.9375rem);
      --t-title2: clamp(2rem,      1.2rem + 2.5vw, 3.5rem);
      --t-title1: clamp(3rem,      1rem + 5.5vw, 6.5rem);
      --t-display:clamp(3.5rem,    0.5rem + 8vw, 8rem);

      --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
      --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
      --sp-12: 48px; --sp-14: 56px; --sp-16: 64px; --sp-20: 80px;
      --sp-24: 96px; --sp-32: 128px;

      --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px; --r-2xl: 32px;

      /* Apple palette */
      --blue: #0071e3;
      --blue-dark: #0077ed;
      --text: #1d1d1f;
      --text-2: #6e6e73;
      --text-3: #86868b;
      --text-inv: #f5f5f7;
      --bg: #ffffff;
      --bg-2: #f5f5f7;
      --bg-3: #fbfbfd;
      --bg-dark: #1d1d1f;
      --bg-dark-2: #2d2d2f;
      --bg-dark-3: #161617;
      --border: rgba(0,0,0,0.08);
      --border-dark: rgba(255,255,255,0.1);

      --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
      --shadow-lg: 0 24px 64px rgba(0,0,0,0.14);

      --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --t: 0.3s;

      --max: 980px;
      --max-wide: 1200px;
    }

    body {
      font-family: var(--font);
      font-size: var(--t-body);
      color: var(--text);
      background: var(--bg);
      line-height: 1.47059;
      letter-spacing: -0.022em;
      overflow-x: hidden;
    }

    /* ─── NAV (Apple-style translucent bar) ─────────────────── */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
      height: 52px; width: 100%;
      display: flex; align-items: center;
      padding: 0 22px;
      background: rgba(255,255,255,0.85);
      backdrop-filter: saturate(180%) blur(20px);
      -webkit-backdrop-filter: saturate(180%) blur(20px);
      border-bottom: 1px solid var(--border);
      transition: background var(--t) var(--ease);
    }
    .nav.dark-nav {
      background: rgba(29,29,31,0.85);
      border-bottom-color: var(--border-dark);
    }
    .nav-logo {
      display: flex; align-items: center; gap: 8px;
      text-decoration: none; flex-shrink: 0; min-width: 140px;
    }
    .nav-logo-name {
      font-size: 17px; font-weight: 600; letter-spacing: -0.03em;
      color: var(--text); transition: color var(--t);
    }
    .nav.dark-nav .nav-logo-name { color: var(--text-inv); }

    .nav-links {
      display: flex; align-items: center; gap: 0;
      list-style: none; white-space: nowrap;
      flex: 1; justify-content: center;
    }
    .nav-links a {
      display: block; padding: 0 14px; height: 52px; line-height: 52px;
      text-decoration: none; font-size: 12px; font-weight: 400;
      letter-spacing: -0.01em; color: var(--text);
      opacity: 0.85; transition: opacity var(--t);
      white-space: nowrap;
    }
    .nav.dark-nav .nav-links a { color: var(--text-inv); }
    .nav-links a:hover { opacity: 1; }

    .nav-right {
      display: flex; align-items: center; gap: 16px;
      justify-content: flex-end;
    }
    .nav-cta-link {
      font-size: 12px; color: var(--blue); text-decoration: none;
      letter-spacing: -0.01em; transition: opacity var(--t);
    }
    .nav-cta-link:hover { opacity: 0.75; }
    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 4px;
    }
    .hamburger span {
      display: block; width: 18px; height: 1.5px;
      background: var(--text); border-radius: 2px;
      transition: transform 0.3s var(--ease-out), opacity 0.3s;
    }
    .nav.dark-nav .hamburger span { background: var(--text-inv); }
    .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    .mobile-menu {
      position: fixed; inset: 0; top: 52px; z-index: 8000;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(24px);
      display: none; flex-direction: column; align-items: center;
      justify-content: center; gap: 32px;
      opacity: 0; pointer-events: none;
      transition: opacity 0.25s var(--ease-out);
    }
    .mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }
    .mobile-menu a {
      text-decoration: none; font-size: 28px; font-weight: 600;
      letter-spacing: -0.03em; color: var(--text);
      transition: color var(--t);
    }
    .mobile-menu a:hover { color: var(--blue); }

    /* ─── HERO ───────────────────────────────────────────────── */
    /* Full-bleed dark hero exactly like Apple product pages */
    .hero {
      min-height: 100svh;
      background: var(--bg-dark-3);
      display: flex; flex-direction: column;
      align-items: center; justify-content: flex-start;
      text-align: center; padding: 120px 24px 0;
      position: relative; overflow: hidden;
    }
    .hero-ambient {
      position: absolute; inset: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 90% 55% at 50% 30%,
          rgba(0,113,227,0.18) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 20% 80%,
          rgba(100,60,200,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 35% at 80% 70%,
          rgba(0,200,180,0.08) 0%, transparent 60%);
    }
    /* Subtle grid */
    .hero-grid {
      position: absolute; inset: 0; pointer-events: none;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent 80%);
    }
    .hero-content { position: relative; z-index: 2; max-width: 860px; margin: auto 0; padding-bottom: 60px; }
    .hero-eyebrow {
      font-size: var(--t-caption); font-weight: 600;
      letter-spacing: 0.06em; text-transform: uppercase;
      color: #6e9ef7; margin-bottom: 16px;
      animation: fadeUp 0.9s var(--ease-out) both;
    }
    .hero-title {
      font-size: var(--t-display); font-weight: 700;
      line-height: 1.04; letter-spacing: -0.04em;
      color: #f5f5f7; margin-bottom: 24px;
      animation: fadeUp 0.9s 0.1s var(--ease-out) both;
    }
    .hero-title span { color: #6e9ef7; }
    .hero-sub {
      font-size: var(--t-intro); font-weight: 400;
      color: rgba(245,245,247,0.65); line-height: 1.5;
      letter-spacing: -0.02em; max-width: 600px; margin: 0 auto 40px;
      animation: fadeUp 0.9s 0.2s var(--ease-out) both;
    }
    .hero-actions {
      display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
      animation: fadeUp 0.9s 0.3s var(--ease-out) both;
    }
    .btn-blue {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 14px 28px; border-radius: 980px;
      background: var(--blue); color: #fff;
      font-size: 17px; font-weight: 400; letter-spacing: -0.022em;
      text-decoration: none; border: none; cursor: pointer;
      transition: background var(--t), transform var(--t);
      white-space: nowrap;
    }
    .btn-blue:hover { background: #0077ed; transform: scale(1.02); }
    .btn-blue:active { transform: scale(0.98); }
    .btn-ghost {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 14px 28px; border-radius: 980px;
      background: transparent; color: #6e9ef7;
      font-size: 17px; font-weight: 400; letter-spacing: -0.022em;
      text-decoration: none; border: 1.5px solid rgba(110,158,247,0.4);
      cursor: pointer;
      transition: border-color var(--t), color var(--t), transform var(--t);
      white-space: nowrap;
    }
    .btn-ghost:hover { border-color: rgba(110,158,247,0.8); color: #a0bfff; transform: scale(1.02); }

    /* Scroll cue */
    @keyframes scrollLine { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.15)} }

    /* Hero stats bar */
    .hero-stats {
      display: flex; justify-content: center;
      width: 100%;
      border-top: 1px solid rgba(255,255,255,0.06);
      margin-top: auto;
      padding-top: 0;
      animation: fadeIn 1s 0.6s both;
    }
    .hero-stats-inner {
      display: flex; gap: 0; max-width: var(--max-wide); width: 100%;
    }
    .hero-stat {
      flex: 1; padding: 24px;
      border-right: 1px solid rgba(255,255,255,0.06);
      text-align: center;
    }
    .hero-stat:last-child { border-right: none; }
    .hero-stat-num {
      font-size: var(--t-title3); font-weight: 700;
      letter-spacing: -0.03em; color: #f5f5f7; display: block;
    }
    .hero-stat-lbl {
      font-size: var(--t-caption); color: rgba(245,245,247,0.45);
      letter-spacing: -0.01em;
    }

    /* ─── SECTION BASE ───────────────────────────────────────── */
    section { position: relative; }
    .section-wrap {
      max-width: var(--max); margin: 0 auto;
      padding: clamp(64px, 8vw, 120px) 24px;
    }
    .section-wrap-wide {
      max-width: var(--max-wide); margin: 0 auto;
      padding: clamp(64px, 8vw, 120px) 24px;
    }

    /* ─── SECTION INTRO (Apple "title + body" centred) ───────── */
    .section-intro {
      text-align: center; max-width: 700px; margin: 0 auto var(--sp-14);
    }
    .section-eyebrow {
      font-size: var(--t-caption); font-weight: 600;
      letter-spacing: 0.05em; text-transform: uppercase;
      color: var(--blue); margin-bottom: 10px; display: block;
    }
    .section-title {
      font-size: var(--t-title1); font-weight: 700;
      line-height: 1.07; letter-spacing: -0.03em;
      color: var(--text); margin-bottom: 16px;
    }
    .section-title.light { color: #f5f5f7; }
    .section-body {
      font-size: var(--t-intro); color: var(--text-2);
      line-height: 1.55; letter-spacing: -0.02em;
    }
    .section-body.light { color: rgba(245,245,247,0.65); }

    /* ─── REVEAL ─────────────────────────────────────────────── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes scaleIn {
      from { opacity: 0; transform: scale(0.96); }
      to   { opacity: 1; transform: scale(1); }
    }
    .reveal {
      opacity: 0; transform: translateY(24px);
      transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
      will-change: opacity, transform;
    }
    .reveal-scale {
      opacity: 0; transform: scale(0.96);
      transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }
    .reveal.in, .reveal-scale.in { opacity: 1; transform: none; }
    .d1{transition-delay:.05s} .d2{transition-delay:.12s} .d3{transition-delay:.19s}
    .d4{transition-delay:.26s} .d5{transition-delay:.33s} .d6{transition-delay:.40s}

    /* ─── FULLWIDTH DARK BAND (Apple "cinematic" section) ─────── */
    .band-dark { background: var(--bg-dark-3); }
    .band-mid  { background: var(--bg-dark-2); }
    .band-light{ background: var(--bg-2); }
    .band-white{ background: var(--bg); }

    /* ─── SERVICES GRID ──────────────────────────────────────── */
    /* Apple-style: centered intro, then large-tile grid */
    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      max-width: var(--max-wide);
      margin: 0 auto;
      padding: 0 24px;
      margin-bottom: clamp(48px, 6vw, 80px);
    }
    .service-tile {
      background: var(--bg-2);
      padding: clamp(40px,5vw,72px) clamp(32px,4vw,64px);
      position: relative; overflow: hidden;
      cursor: default;
      transition: background var(--t);
    }
    .service-tile:hover { background: #ececec; }
    .service-tile.dark { background: var(--bg-dark-2); }
    .service-tile.dark:hover { background: #252527; }
    .service-tile.dark-3 { background: var(--bg-dark-3); }
    .service-tile.dark-3:hover { background: #1a1a1c; }
    .service-tile-icon {
      font-size: 32px; margin-bottom: 20px; display: block;
      filter: var(--icon-filter, none);
    }
    .service-tile-eyebrow {
      font-size: var(--t-caption); letter-spacing: 0.05em;
      text-transform: uppercase; font-weight: 600;
      color: var(--blue); margin-bottom: 8px; display: block;
    }
    .service-tile-eyebrow.inv { color: #6e9ef7; }
    .service-tile-title {
      font-size: var(--t-title3); font-weight: 700;
      letter-spacing: -0.025em; color: var(--text);
      margin-bottom: 12px; line-height: 1.15;
    }
    .service-tile-title.inv { color: #f5f5f7; }
    .service-tile-body {
      font-size: var(--t-body); color: var(--text-2);
      line-height: 1.6; letter-spacing: -0.01em; max-width: 38ch;
    }
    .service-tile-body.inv { color: rgba(245,245,247,0.6); }
    .service-tile-tags {
      display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
    }
    .stag {
      font-size: 11px; padding: 4px 10px; border-radius: 980px;
      border: 1px solid var(--border); color: var(--text-3);
      letter-spacing: 0.01em; background: rgba(0,0,0,0.03);
    }
    .stag.inv {
      border-color: rgba(255,255,255,0.12);
      color: rgba(245,245,247,0.45); background: rgba(255,255,255,0.04);
    }
    /* span 2 cols for featured tile */
    .service-tile.span2 { grid-column: span 2; }

    /* ─── OUTSTAFFING SPLIT ──────────────────────────────────── */
    .split {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: center;
    }
    .split-text {}
    .split-text .section-eyebrow { text-align: left; }
    .split-text .section-title { font-size: var(--t-title2); text-align: left; }
    .split-text .section-body { text-align: left; margin-bottom: 32px; }
    .feature-list { display: flex; flex-direction: column; gap: 0; }
    .feature-row {
      display: flex; align-items: flex-start; gap: 16px;
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
    }
    .feature-row:first-child { border-top: 1px solid var(--border); }
    .feature-row-icon {
      font-size: 20px; width: 36px; flex-shrink: 0; text-align: center;
      padding-top: 2px;
    }
    .feature-row-body {}
    .feature-row-title {
      font-size: var(--t-body); font-weight: 600;
      letter-spacing: -0.02em; color: var(--text); margin-bottom: 2px;
    }
    .feature-row-desc {
      font-size: 13px; color: var(--text-3);
      line-height: 1.55; letter-spacing: -0.01em;
    }

    /* Role pills visual */
    .roles-visual {
      background: var(--bg-2); border-radius: var(--r-2xl);
      padding: 40px 32px; display: grid;
      grid-template-columns: 1fr 1fr; gap: 8px;
    }
    .role-pill {
      display: flex; align-items: center; gap: 10px;
      background: #fff; border-radius: 980px;
      padding: 10px 14px; font-size: 13px;
      font-weight: 500; color: var(--text);
      letter-spacing: -0.01em;
      box-shadow: var(--shadow-sm);
      transition: transform var(--t), box-shadow var(--t);
    }
    .role-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
    .pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

    /* ─── INTEGRATION SECTION ────────────────────────────────── */
    /* Dark band, split layout */
    .integration-split {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: start;
    }
    .process-list { display: flex; flex-direction: column; gap: 0; }
    .process-item {
      display: grid; grid-template-columns: 28px 1fr; gap: 16px;
      padding: 24px 0;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .process-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
    .process-n {
      font-size: 12px; font-weight: 600; color: #6e9ef7;
      letter-spacing: 0.02em; padding-top: 3px;
    }
    .process-body {}
    .process-title {
      font-size: var(--t-body); font-weight: 600; color: #f5f5f7;
      letter-spacing: -0.02em; margin-bottom: 4px;
    }
    .process-desc {
      font-size: 13px; color: rgba(245,245,247,0.5);
      line-height: 1.6; letter-spacing: -0.01em;
    }

    .tech-groups { display: flex; flex-direction: column; gap: 28px; }
    .tech-group-label {
      font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em;
      color: rgba(245,245,247,0.3); margin-bottom: 10px; font-weight: 600;
    }
    .tech-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    .chip {
      font-size: 12px; padding: 5px 12px; border-radius: 980px;
      border: 1px solid rgba(255,255,255,0.12); color: rgba(245,245,247,0.6);
      letter-spacing: 0.01em;
      transition: border-color var(--t), color var(--t);
    }
    .chip:hover { border-color: rgba(110,158,247,0.5); color: #6e9ef7; }

    /* ─── CASE STUDIES ───────────────────────────────────────── */
    /* Apple-style: big headline, then 3-col tiles */
    .cases-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 24px;
      max-width: var(--max-wide);
      margin: 0 auto;
      padding: 0 24px;
      margin-bottom: clamp(48px, 6vw, 80px);
    }
    .case-tile {
      background: var(--bg-2); padding: 40px 36px 48px;
      display: flex; flex-direction: column; gap: 16px;
      transition: background var(--t);
    }
    .case-tile:hover { background: #ececec; }
    .case-tile-line {
      height: 3px; width: 48px; border-radius: 2px; background: var(--blue);
    }
    .case-tile-line.t { background: #30c0b0; }
    .case-tile-line.p { background: #8e44fc; }
    .case-industry {
      font-size: var(--t-caption); letter-spacing: 0.05em;
      text-transform: uppercase; font-weight: 600; color: var(--text-3);
    }
    .case-title {
      font-size: var(--t-title3); font-weight: 700;
      letter-spacing: -0.025em; color: var(--text); line-height: 1.15;
    }
    .case-body {
      font-size: 14px; color: var(--text-2); line-height: 1.65;
      letter-spacing: -0.01em; flex: 1;
    }
    .case-result {
      font-size: 13px; color: var(--blue);
      font-weight: 600; letter-spacing: -0.01em;
    }

    /* ─── WHY US ─────────────────────────────────────────────── */
    /* Apple "grid of reasons" on white */
    .why-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 40px 48px;
    }
    .why-item {}
    .why-item-icon {
      font-size: 24px; margin-bottom: 12px; display: block;
    }
    .why-item-title {
      font-size: var(--t-body); font-weight: 700;
      letter-spacing: -0.022em; color: var(--text); margin-bottom: 6px;
    }
    .why-item-desc {
      font-size: 14px; color: var(--text-3);
      line-height: 1.6; letter-spacing: -0.01em;
    }

    /* ─── MARQUEE ────────────────────────────────────────────── */
    .marquee-wrap {
      overflow: hidden; padding: 20px 0;
      background: var(--bg-2); border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .marquee-track {
      display: flex; gap: 40px; width: max-content;
      animation: marquee 25s linear infinite;
    }
    .marquee-track:hover { animation-play-state: paused; }
    .marquee-item {
      font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
      color: var(--text-3); white-space: nowrap;
      display: flex; align-items: center; gap: 14px;
    }
    .marquee-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
    @keyframes marquee { to { transform: translateX(-50%); } }

    /* ─── CTA SECTION ────────────────────────────────────────── */
    /* Apple-style: centred on white, simple and clean */
    .cta-section {
      background: var(--bg-dark-3); text-align: center;
      padding: clamp(80px,10vw,140px) 24px;
    }
    .cta-title {
      font-size: var(--t-title1); font-weight: 700;
      letter-spacing: -0.04em; line-height: 1.05;
      color: #f5f5f7; margin-bottom: 16px;
    }
    .cta-body {
      font-size: var(--t-intro); color: rgba(245,245,247,0.6);
      letter-spacing: -0.02em; max-width: 500px; margin: 0 auto 36px;
      line-height: 1.55;
    }
    .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .cta-note {
      margin-top: 24px; font-size: 13px; color: rgba(245,245,247,0.35);
      letter-spacing: -0.01em;
    }
    .cta-note a {
      color: #6e9ef7; text-decoration: none;
      transition: color var(--t);
    }
    .cta-note a:hover { color: #a0bfff; }

    /* ─── FOOTER ─────────────────────────────────────────────── */
    .footer {
      background: var(--bg-dark-3); border-top: 1px solid rgba(255,255,255,0.06);
      padding: 0 24px 24px;
    }
    .footer-inner { max-width: var(--max-wide); margin: 0 auto; }
    .footer-top {
      display: grid; grid-template-columns: 1fr repeat(3,auto); gap: 48px;
      padding: 48px 0 36px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer-brand-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
    .footer-brand-logo span {
      font-size: 15px; font-weight: 600; letter-spacing: -0.03em; color: #f5f5f7;
    }
    .footer-brand-desc { font-size: 12px; color: rgba(245,245,247,0.35); line-height: 1.6; max-width: 28ch; }
    .footer-col-label {
      font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
      color: rgba(245,245,247,0.3); margin-bottom: 16px; font-weight: 600;
    }
    .footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col-links a {
      text-decoration: none; font-size: 13px; color: rgba(245,245,247,0.55);
      letter-spacing: -0.01em; transition: color var(--t);
    }
    .footer-col-links a:hover { color: #f5f5f7; }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 8px; padding-top: 20px;
    }
    .footer-copy { font-size: 12px; color: rgba(245,245,247,0.25); letter-spacing: -0.01em; }

    /* ─── LINK ARROW ─────────────────────────────────────────── */
    .link-more {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: var(--t-body); color: var(--blue); text-decoration: none;
      font-weight: 400; letter-spacing: -0.022em; margin-top: 20px;
      transition: gap var(--t), color var(--t);
    }
    .link-more:hover { gap: 8px; }
    .link-more-inv {
      color: #6e9ef7;
    }
    .arrow { font-size: 0.9em; }

    /* ─── DIVIDER ────────────────────────────────────────────── */
    .divider { height: 1px; background: var(--border); }
    .divider-dark { height: 1px; background: rgba(255,255,255,0.06); }

    /* ─── RESPONSIVE ─────────────────────────────────────────── */
    @media (max-width: 860px) {
      .services-grid { grid-template-columns: 1fr; }
      .service-tile.span2 { grid-column: span 1; }
      .split { grid-template-columns: 1fr; gap: 48px; }
      .integration-split { grid-template-columns: 1fr; gap: 48px; }
      .cases-grid { grid-template-columns: 1fr; }
      .why-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
      .hero-stats-inner { flex-wrap: wrap; }
      .hero-stat { min-width: 50%; }
      .footer-top { grid-template-columns: 1fr 1fr; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .nav { justify-content: space-between; }
      .split-text .section-eyebrow,
      .split-text .section-title,
      .split-text .section-body { text-align: center; }
      .flow-wrap { padding: 20px 16px 16px; }
      .flow-arrow,
      .flow-v-arrow { display: none; }
      .flow-row { gap: 8px; }
      .flow-node { flex: 1 1 calc(50% - 4px); min-width: 0; }
      .flow-center-node { flex: 1 1 100%; }
    }
    @media (max-width: 560px) {
      .why-grid { grid-template-columns: 1fr; }
      .hero-stat { min-width: 100%; }
      .roles-visual { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; }
      .hero-actions { flex-direction: column; align-items: center; }
      .cta-actions { flex-direction: column; align-items: center; }
    }
    /* No bottom padding for section-wrap that precede external grids */
    .section-wrap--no-pb { padding-bottom: 0 !important; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }
  
    /* ── HERO CARDS ──────────────────────────────────────────── */
    .hero-cards {
      position: absolute; inset: 0; pointer-events: none; z-index: 1;
      overflow: hidden;
    }
    .hcard {
      position: absolute; background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      backdrop-filter: blur(12px);
      border-radius: 16px; padding: 14px 18px;
      display: flex; align-items: center; gap: 10px;
    }
    .hcard-dot { width: 8px; height: 8px; border-radius: 50%; background: #6e9ef7; flex-shrink:0; }
    .hcard-lines { display: flex; flex-direction: column; gap: 6px; }
    .hcard-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.2); }
    .hcard-line.w80 { width: 80px; } .hcard-line.w60 { width: 60px; }
    .hcard-line.w50 { width: 50px; } .hcard-line.w40 { width: 40px; }
    .hcard-bar { height: 28px; border-radius: 6px; background: rgba(110,158,247,0.25); margin-bottom:4px; width: 36px; }
    .hcard-bar.hb2 { width: 52px; background: rgba(110,158,247,0.18); }
    .hcard-bar.hb3 { width: 28px; background: rgba(110,158,247,0.12); }
    .hcard-check { font-size: 14px; color: #30c0b0; font-weight: 700; }
    .hcard-label { font-size: 11px; color: rgba(245,245,247,0.7); white-space: nowrap; }

    .hc1 { top: 18%; right: 8%; animation: cardFloat1 6s ease-in-out infinite; }
    .hc2 { bottom: 28%; right: 12%; display: flex; flex-direction:column; animation: cardFloat2 7s 1s ease-in-out infinite; }
    .hc3 { top: 30%; left: 6%; animation: cardFloat3 5.5s 0.5s ease-in-out infinite; }
    .hc4 { bottom: 22%; left: 8%; animation: cardFloat1 8s 2s ease-in-out infinite; }

    @keyframes cardFloat1 {
      0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-16px) rotate(1deg)}
    }
    @keyframes cardFloat2 {
      0%,100%{transform:translateY(0) rotate(1deg)} 50%{transform:translateY(-12px) rotate(-1deg)}
    }
    @keyframes cardFloat3 {
      0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-20px) rotate(-2deg)}
    }
    @media (max-width: 860px) { .hero-cards { display: none; } }


    /* ── CODE ANIM ─────────────────────────────────────── */
    .code-window {
      background: #1e1e2e; border-radius: 12px; overflow: hidden;
      margin-top: 32px; box-shadow: 0 24px 60px rgba(0,0,0,0.4);
      border: 1px solid rgba(255,255,255,0.08);
    }
    .code-titlebar {
      background: #2a2a3e; padding: 10px 16px;
      display: flex; align-items: center; gap: 8px;
    }
    .code-dot { width: 12px; height: 12px; border-radius: 50%; }
    .cd-red { background: #ff5f57; } .cd-yellow { background: #ffbd2e; } .cd-green { background: #28c840; }
    .code-body { padding: 20px 24px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; line-height: 1.8; }
    .cl { display: flex; gap: 12px; }
    .cl-num { color: rgba(255,255,255,0.2); user-select: none; min-width: 16px; text-align: right; }
    .cl-code { color: #cdd6f4; }
    .kw { color: #cba6f7; } .fn { color: #89b4fa; } .str { color: #a6e3a1; }
    .cm { color: #6c7086; } .nm { color: #fab387; }
    /* Typing cursor line */
    .cl.active .cl-code::after {
      content: '|'; color: #89b4fa;
      animation: blink 1s step-end infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
    /* Animate lines appearing */
    .cl { opacity: 0; animation: lineIn 0.4s var(--ease-out) forwards; }
    .cl:nth-child(1){animation-delay:.2s} .cl:nth-child(2){animation-delay:.5s}
    .cl:nth-child(3){animation-delay:.8s} .cl:nth-child(4){animation-delay:1.1s}
    .cl:nth-child(5){animation-delay:1.4s} .cl:nth-child(6){animation-delay:1.7s}
    .cl:nth-child(7){animation-delay:2s}
    @keyframes lineIn { to { opacity: 1; } }


    /* ── NETWORK CANVAS ─────────────────────────────────── */
    .network-canvas-wrap {
      border-radius: var(--r-2xl); overflow: hidden;
      background: #1a1a2e; position: relative; min-height: 420px;
      display: flex; align-items: center; justify-content: center;
    }
    #networkCanvas { display: block; width: 100%; height: 420px; }
    .network-label {
      position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
      font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.08em;
      text-transform: uppercase; white-space: nowrap;
    }
    /* Mobile role pills fallback */
    .roles-mobile {
      display: none;
      grid-template-columns: 1fr 1fr;
      gap: 8px; margin-top: 0;
    }
    @media (max-width: 860px) {
      .network-canvas-wrap { display: none; }
      .roles-mobile { display: grid; }
    }


    /* ── INTEGRATION FLOW ─────────────────────────────── */
    .flow-wrap {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 20px; padding: 32px 24px 24px;
      margin-bottom: 40px;
    }
    .flow-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    .flow-node {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
      padding: 10px 14px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 10px; min-width: 72px;
      font-size: 10px; color: rgba(245,245,247,0.6);
      text-align: center; letter-spacing: 0.03em;
      transition: border-color .3s, background .3s;
    }
    .flow-node:hover { border-color: rgba(110,158,247,0.5); background: rgba(110,158,247,0.08); color: #6e9ef7; }
    .flow-node-icon { font-size: 18px; margin-bottom: 2px; }
    .flow-arrow {
      width: 32px; height: 2px; background: transparent;
      position: relative; flex-shrink: 0;
    }
    .flow-arrow::after { display: none; }
    /* Animated pulse on arrows */
    .flow-arrow-pulse {
      position: absolute; top: -1px; left: 0;
      height: 2px; width: 0; border-radius: 2px;
      background: #6e9ef7;
      animation: flowPulse 2.5s ease-in-out infinite;
    }
    .flow-arrow:nth-child(2) .flow-arrow-pulse { animation-delay: .4s; }
    .flow-arrow:nth-child(4) .flow-arrow-pulse { animation-delay: .8s; }
    .flow-arrow:nth-child(6) .flow-arrow-pulse { animation-delay: 1.2s; }
    @keyframes flowPulse {
      0%{width:0;left:0;opacity:1} 50%{width:100%;left:0;opacity:1} 100%{width:0;left:100%;opacity:0}
    }
    /* vertical arrow */
    .flow-v-arrow {
      width: 2px; height: 24px; background: rgba(255,255,255,0.12);
      margin: 0 auto 8px; position: relative;
    }
    .flow-v-pulse {
      position: absolute; top: 0; left: 0; width: 2px; height: 0;
      background: #6e9ef7; border-radius: 2px;
      animation: flowVPulse 2.5s 0.6s ease-in-out infinite;
    }
    @keyframes flowVPulse {
      0%{height:0;top:0;opacity:1} 50%{height:100%;top:0;opacity:1} 100%{height:0;top:100%;opacity:0}
    }
    .flow-center-node {
      background: rgba(110,158,247,0.15);
      border-color: rgba(110,158,247,0.4);
      color: #6e9ef7;
    }


    /* ── CTA GLOBE ─────────────────────────────────────── */
    .cta-globe-wrap {
      position: absolute; inset: 0; display: flex;
      align-items: center; justify-content: center;
      pointer-events: none; overflow: hidden;
    }
    .cta-globe-svg { opacity: 0.12; width: min(600px, 90vw); }
    .globe-ring { fill: none; stroke: rgba(110,158,247,1); stroke-width: 0.8; }
    .globe-ring-h { animation: globeSpin 18s linear infinite; transform-origin: 50% 50%; }
    .globe-ring-h2 { animation: globeSpin 24s linear infinite reverse; transform-origin: 50% 50%; }
    @keyframes globeSpin { to { transform: rotate(360deg); } }
    .globe-dots circle { animation: dotPulse 3s ease-in-out infinite; }
    .globe-dots circle:nth-child(2) { animation-delay: .5s; }
    .globe-dots circle:nth-child(3) { animation-delay: 1s; }
    .globe-dots circle:nth-child(4) { animation-delay: 1.5s; }
    .globe-dots circle:nth-child(5) { animation-delay: 2s; }
    @keyframes dotPulse { 0%,100%{opacity:.4;r:3} 50%{opacity:1;r:5} }
