﻿  /* ===================================================================
     THEME TOKENS
     Light is the DEFAULT (:root). Dark is opt-in via [data-theme="dark"].
     Legacy hard-coded colours were converted to RGB-tuple tokens
     (--blue-rgb, --surface-tint, --section-tint, --shell-tint) so a single
     variable flip drives the entire palette. See the dark block below.
     =================================================================== */
  :root {
    color-scheme: light;

    /* Brand accents — readable on light surfaces */
    --blue: #0284c7;
    --purple: #7c3aed;
    --blue-rgb: 2,132,199;       /* was 0,200,255  (rgba(...) accents)   */
    --purple-rgb: 124,58,237;    /* was 162,89,255                       */
    --blue-dim: rgba(var(--blue-rgb),0.10);
    --purple-dim: rgba(var(--purple-rgb),0.10);
    --glow-blue: 0 10px 30px rgba(var(--blue-rgb),0.18);
    --glow-purple: 0 10px 30px rgba(var(--purple-rgb),0.18);

    /* Surfaces */
    --black: #f4f7fc;            /* base page background (soft, not stark white) */
    --navy: #ffffff;             /* elevated card / panel surface */
    --card-bg: #ffffffe6;        /* glassy card fill */
    --surface-hover: #eef3fa;    /* card hover */

    /* Text — high contrast for a 40–70 audience */
    --text: #0f172a;             /* ~15:1 on light bg */
    --text-muted: #4d5a72;       /* ~7:1 on white */

    /* Lines / glass / legacy tint tuples */
    --border: rgba(15,23,42,0.12);
    --glass: rgba(15,23,42,0.03);
    --surface-tint: 15,23,42;    /* was rgba(var(--surface-tint),x) overlays */
    --section-tint: 226,232,240; /* was rgba(var(--section-tint),x) section bands */
    --shell-tint: 255,255,255;   /* was rgba(var(--shell-tint),x) nav backdrop  */

    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }

  [data-theme="dark"] {
    color-scheme: dark;

    --blue: #00c8ff;
    --purple: #a259ff;
    --blue-rgb: 0,200,255;
    --purple-rgb: 162,89,255;
    --glow-blue: 0 0 40px rgba(var(--blue-rgb),0.35);
    --glow-purple: 0 0 40px rgba(var(--purple-rgb),0.35);

    --black: #04060f;
    --navy: #070d1f;
    --card-bg: rgba(10, 15, 35, 0.6);
    --surface-hover: rgba(10,18,40,0.95);

    --text: #e8eaf2;
    --text-muted: #97a0bd;       /* lifted from #7a82a0 for AA on dark */

    --border: rgba(var(--surface-tint),0.07);
    --glass: rgba(var(--surface-tint),0.04);
    --surface-tint: 255,255,255;
    --section-tint: 7,13,31;
    --shell-tint: 4,6,15;
  }

  /* Smooth, opt-in cross-fade only while toggling (avoids perma-transitions) */
  html.theme-transition,
  html.theme-transition *,
  html.theme-transition *::before,
  html.theme-transition *::after {
    transition: background-color 0.45s ease, color 0.45s ease,
                border-color 0.45s ease, box-shadow 0.45s ease, fill 0.45s ease !important;
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; font-size: 17px; } /* gentle bump for readability (40–70 audience) */

  /* ─── ACCESSIBILITY: visible keyboard focus + skip link ─── */
  a:focus-visible, button:focus-visible, summary:focus-visible,
  input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
  }
  .skip-link {
    position: absolute; top: 8px; left: 50%;
    transform: translate(-50%, -160%);
    z-index: 1000;
    background: var(--navy); color: var(--text);
    border: 1px solid var(--blue);
    padding: 0.65rem 1.3rem; border-radius: 10px;
    font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease;
  }
  .skip-link:focus { transform: translate(-50%, 0); }

  body {
    background: var(--black);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; line-height: 1.15; }

  /* â”€â”€â”€ SCROLLBAR â”€â”€â”€ */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--black); }
  ::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--purple)); border-radius: 4px; }

  /* â”€â”€â”€ CANVAS â”€â”€â”€ */
  #particle-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
  }
  [data-theme="dark"] #particle-canvas { opacity: 0.45; }

  /* â”€â”€â”€ NAV â”€â”€â”€ */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 5%;
    height: 100px;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(var(--shell-tint), 0.75);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
  }

  .nav-logo {
    display: flex; align-items: center;
    text-decoration: none;
    flex-shrink: 0;
  }
  .nav-logo-img {
    /* Transparent-background logo (black keyed out) renders correctly on
       both light and dark navbars — no blend hack needed. */
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: filter 0.3s, transform 0.3s;
  }
  .nav-logo:hover .nav-logo-img { transform: translateY(-1px); }
  /* Lift the wordmark slightly in light mode so the gradient stays vivid */
  [data-theme="dark"] .nav-logo-img { filter: saturate(1.05) brightness(1.05); }

  .nav-links {
    display: flex; gap: 2.5rem; list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.25s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; right: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    transition: right 0.3s ease;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after { right: 0; }

  .nav-cta {
    padding: 0.55rem 1.4rem;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none; border-radius: 50px;
    color: #fff; font-family: 'Syne', sans-serif;
    font-size: 0.875rem; font-weight: 600;
    cursor: pointer; text-decoration: none;
    box-shadow: 0 0 20px rgba(var(--blue-rgb),0.3);
    transition: box-shadow var(--transition), transform 0.2s;
    white-space: nowrap;
  }
  .nav-cta:hover {
    box-shadow: 0 0 35px rgba(var(--blue-rgb),0.55), 0 0 70px rgba(var(--purple-rgb),0.25);
    transform: translateY(-1px);
  }

  /* Subtle elevation once the page is scrolled (set via JS .scrolled class) */
  nav.scrolled {
    background: rgba(var(--shell-tint), 0.92);
    box-shadow: 0 1px 0 var(--border), 0 8px 30px rgba(15,23,42,0.04);
  }

  /* ─── THEME TOGGLE ─── */
  .theme-toggle {
    width: 38px; height: 38px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s;
  }
  .theme-toggle:hover {
    color: var(--blue);
    border-color: rgba(var(--blue-rgb), 0.45);
    background: rgba(var(--blue-rgb), 0.06);
  }
  .theme-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }
  .theme-toggle svg { width: 18px; height: 18px; }
  /* Show the icon that represents the action: sun in dark (→light), moon in light (→dark) */
  .theme-toggle .icon-sun  { display: none; }
  .theme-toggle .icon-moon { display: block; }
  [data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
  [data-theme="dark"] .theme-toggle .icon-moon { display: none; }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

  /* â”€â”€â”€ SECTIONS WRAPPER â”€â”€â”€ */
  section { position: relative; z-index: 1; }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

  /* â”€â”€â”€ HERO â”€â”€â”€ */
  #hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 100px;
    overflow: visible;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 5% 8rem;
    overflow: visible;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(var(--blue-rgb),0.25);
    border-radius: 50px;
    background: rgba(var(--blue-rgb),0.07);
    font-size: 0.78rem; font-weight: 500;
    color: var(--blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease forwards;
  }
  .hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
    animation: pulse 2s infinite;
  }

  .hero-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.1s ease forwards;
    opacity: 0;
  }
  .hero-title .gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeUp 0.8s 0.2s ease forwards;
    opacity: 0;
  }

  .hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease forwards;
    opacity: 0;
  }

  .btn-primary {
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none; border-radius: 50px;
    color: #fff; font-family: 'Syne', sans-serif;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 0 30px rgba(var(--blue-rgb),0.35);
    transition: box-shadow var(--transition), transform 0.2s;
  }
  .btn-primary:hover {
    box-shadow: 0 0 50px rgba(var(--blue-rgb),0.55), 0 0 100px rgba(var(--purple-rgb),0.3);
    transform: translateY(-2px);
  }
  .btn-primary svg { transition: transform 0.3s; }
  .btn-primary:hover svg { transform: translateX(4px); }

  .btn-ghost {
    padding: 0.85rem 2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: border-color var(--transition), background var(--transition);
    backdrop-filter: blur(10px);
  }
  .btn-ghost:hover {
    border-color: rgba(var(--blue-rgb),0.4);
    background: rgba(var(--blue-rgb),0.06);
  }

  .hero-stats {
    display: flex; gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s 0.45s ease forwards;
    opacity: 0;
  }
  .stat-item {}
  .stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .stat-label {
    font-size: 0.8rem; color: var(--text-muted);
    font-weight: 500; letter-spacing: 0.03em;
  }

  /* â”€â”€â”€ HERO VISUAL â”€â”€â”€ */
  .hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    animation: fadeIn 1s 0.3s ease forwards;
    opacity: 0;
    overflow: visible;
  }

  .neural-globe {
    width: 380px; height: 380px;
    position: relative;
    flex-shrink: 0;
  }
  .neural-globe svg {
    width: 100%; height: 100%;
    animation: rotateSlow 30s linear infinite;
  }

  .orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: orbitSpin linear infinite;
  }
  .orbit-1 {
    width: 100%; height: 100%; top: 0; left: 0;
    border-color: rgba(var(--blue-rgb),0.2);
    animation-duration: 12s;
  }
  .orbit-2 {
    width: 75%; height: 75%; top: 12.5%; left: 12.5%;
    border-color: rgba(var(--purple-rgb),0.2);
    animation-duration: 8s;
    animation-direction: reverse;
  }
  .orbit-3 {
    width: 50%; height: 50%; top: 25%; left: 25%;
    border-color: rgba(var(--blue-rgb),0.15);
    animation-duration: 5s;
  }

  .orbit-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 12px var(--blue);
    top: -4px; left: 50%; transform: translateX(-50%);
  }
  .orbit-dot-purple {
    background: var(--purple);
    box-shadow: 0 0 12px var(--purple);
  }

  /* Logo is the centerpiece of the hero, framed by the orbital rings */
  .globe-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; height: 200px;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
  }
  /* Soft, slowly breathing halo behind the mark */
  .globe-glow {
    position: absolute; inset: -12%;
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(var(--blue-rgb), 0.30),
      rgba(var(--purple-rgb), 0.16) 45%,
      transparent 70%);
    filter: blur(8px);
    animation: glowPulse 6s ease-in-out infinite;
    z-index: 0;
  }
  .globe-logo {
    position: relative;
    width: 80%; height: auto;
    z-index: 1;
    filter: drop-shadow(0 8px 26px rgba(var(--blue-rgb), 0.40))
            drop-shadow(0 3px 12px rgba(var(--purple-rgb), 0.30));
    animation: logoFloat 7s ease-in-out infinite;
    will-change: transform;
  }
  @keyframes glowPulse {
    0%, 100% { opacity: 0.65; transform: scale(0.95); }
    50%      { opacity: 1;    transform: scale(1.06); }
  }
  @keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }

  .floating-card {
    position: absolute;
    background: var(--navy);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    min-width: 155px;
    z-index: 10;
  }
  /* Top-left - sits above and left of globe center, fully inside visual column */
  .fc-1 {
    top: -30px; left: -20px;
    animation: floatCard 6s ease-in-out infinite;
    border-color: rgba(var(--blue-rgb),0.22);
  }
  /* Bottom-right - sits below right edge, contained */
  .fc-2 {
    bottom: -20px; right: -10px;
    animation: floatCard 7s 1.2s ease-in-out infinite;
    border-color: rgba(var(--purple-rgb),0.22);
  }
  /* Bottom-left - sits below left edge, contained */
  .fc-3 {
    bottom: -20px; left: -20px;
    animation: floatCard 5.5s 2.2s ease-in-out infinite;
    border-color: rgba(74,222,128,0.22);
    min-width: 148px;
  }

  /* card header row */
  .fc-header {
    display: flex; align-items: center; gap: 7px;
    margin-bottom: 0.5rem;
  }
  .fc-dot {
    width: 7px; height: 7px; border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
  }
  .fc-label {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted);
  }
  /* card value */
  .fc-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem; font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.18rem;
  }
  .fc-value.blue { color: var(--blue); }
  .fc-value.purple { color: var(--purple); }
  .fc-value.green { color: #4ade80; }
  /* card sub */
  .fc-sub {
    font-size: 0.72rem; color: var(--text-muted);
    font-weight: 300;
  }
  /* inline systems list */
  .fc-systems {
    display: flex; flex-direction: column; gap: 4px;
    margin-top: 0.1rem;
  }
  .fc-system-row {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.72rem; color: var(--text-muted);
  }
  .fc-system-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
    flex-shrink: 0;
  }

  /* â”€â”€â”€ SECTION SHARED â”€â”€â”€ */
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  .section-tag {
    display: inline-block;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1.5rem;
  }
  .section-tag::before, .section-tag::after {
    content: '';
    position: absolute; top: 50%;
    width: 30px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue));
  }
  .section-tag::before { right: 100%; transform: translateX(12px); background: linear-gradient(90deg, transparent, var(--blue)); }
  .section-tag::after { left: 100%; transform: translateX(-12px); background: linear-gradient(90deg, var(--blue), transparent); }

  .section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  .section-sub {
    color: var(--text-muted);
    font-size: 1rem; font-weight: 300;
    max-width: 520px; margin: 0 auto;
    line-height: 1.7;
  }

  /* â”€â”€â”€ SERVICES â”€â”€â”€ */
  #services {
    padding: 8rem 0;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5px;
    background: linear-gradient(135deg, rgba(var(--blue-rgb),0.15), rgba(var(--purple-rgb),0.15));
    border-radius: 24px;
    overflow: hidden;
  }

  .service-card[data-modal] { cursor: pointer; }
  .service-card {
    background: var(--navy);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background var(--transition);
  }
  .service-card:first-child { border-radius: 24px 0 0 0; }
  .service-card:nth-child(2) { border-radius: 0 24px 0 0; }
  .service-card:nth-child(3) { border-radius: 0 0 0 24px; }
  .service-card:last-child { border-radius: 0 0 24px 0; }

  .service-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(var(--blue-rgb),0.07) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
  }
  .service-card:hover { background: var(--surface-hover); }
  .service-card:hover::before { opacity: 1; }

  .service-number {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem; font-weight: 700;
    color: var(--blue); letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    opacity: 0.6;
  }

  .service-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-dim), var(--purple-dim));
    border: 1px solid rgba(var(--blue-rgb),0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    transition: box-shadow var(--transition), border-color var(--transition);
  }
  .service-card:hover .service-icon {
    box-shadow: 0 0 20px rgba(var(--blue-rgb),0.3);
    border-color: rgba(var(--blue-rgb),0.5);
  }
  .service-icon svg { width: 24px; height: 24px; stroke: var(--blue); }
  .service-icon.purple svg { stroke: var(--purple); }
  .service-icon.purple { border-color: rgba(var(--purple-rgb),0.2); }
  .service-card:hover .service-icon.purple { box-shadow: 0 0 20px rgba(var(--purple-rgb),0.3); border-color: rgba(var(--purple-rgb),0.5); }

  .service-title {
    font-size: 1.3rem; font-weight: 700;
    margin-bottom: 0.8rem;
    transition: color var(--transition);
  }
  .service-card:hover .service-title { color: var(--blue); }

  .service-desc {
    color: var(--text-muted);
    font-size: 0.9rem; line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
  }

  .service-tags {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
  }
  .service-tag {
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.72rem; font-weight: 500;
    background: var(--blue-dim);
    color: var(--blue);
    border: 1px solid rgba(var(--blue-rgb),0.15);
    letter-spacing: 0.03em;
  }
  .service-tag.purple {
    background: var(--purple-dim);
    color: var(--purple);
    border-color: rgba(var(--purple-rgb),0.15);
  }

  .service-arrow {
    position: absolute; bottom: 2.5rem; right: 2.5rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    opacity: 0;
  }
  .service-arrow svg { width: 14px; height: 14px; stroke: var(--blue); }
  .service-card:hover .service-arrow {
    opacity: 1;
    border-color: rgba(var(--blue-rgb),0.4);
    background: rgba(var(--blue-rgb),0.08);
  }

  /* â”€â”€â”€ PROCESS â”€â”€â”€ */
  #process {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(var(--section-tint),0.8) 20%, rgba(var(--section-tint),0.8) 80%, transparent);
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 48px; left: 12.5%; right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--blue));
    opacity: 0.3;
  }

  .process-step {
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
  }

  .step-bubble {
    width: 96px; height: 96px;
    border-radius: 50%;
    border: 1px solid;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition);
  }
  .step-bubble-1 { border-color: rgba(var(--blue-rgb),0.4); background: rgba(var(--blue-rgb),0.06); }
  .step-bubble-2 { border-color: rgba(100,180,255,0.4); background: rgba(100,180,255,0.06); }
  .step-bubble-3 { border-color: rgba(140,120,255,0.4); background: rgba(140,120,255,0.06); }
  .step-bubble-4 { border-color: rgba(var(--purple-rgb),0.4); background: rgba(var(--purple-rgb),0.06); }

  .process-step:hover .step-bubble { transform: scale(1.06); }
  .process-step:hover .step-bubble-1 { box-shadow: 0 0 30px rgba(var(--blue-rgb),0.25); }
  .process-step:hover .step-bubble-2 { box-shadow: 0 0 30px rgba(100,180,255,0.25); }
  .process-step:hover .step-bubble-3 { box-shadow: 0 0 30px rgba(140,120,255,0.25); }
  .process-step:hover .step-bubble-4 { box-shadow: 0 0 30px rgba(var(--purple-rgb),0.25); }

  .step-bubble svg { width: 32px; height: 32px; }

  .step-num {
    position: absolute; top: -8px; right: -8px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem; font-weight: 700;
    color: #fff;
  }

  .step-title {
    font-size: 1.05rem; font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
  }
  .step-desc {
    font-size: 0.85rem; color: var(--text-muted);
    font-weight: 300; line-height: 1.6;
  }

  /* â”€â”€â”€ VALUE PROP â”€â”€â”€ */
  #value {
    padding: 8rem 0;
  }

  .value-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .value-left {}
  .value-eyebrow {
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 1rem;
  }
  .value-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800; letter-spacing: -0.02em;
    line-height: 1.12; margin-bottom: 1.5rem;
  }
  .value-desc {
    color: var(--text-muted); font-weight: 300;
    line-height: 1.7; font-size: 1rem;
    margin-bottom: 2rem;
  }

  .value-pillars {
    display: flex; flex-direction: column; gap: 1rem;
  }
  .pillar {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: border-color var(--transition), transform var(--transition);
    cursor: default;
  }
  .pillar:hover {
    border-color: rgba(var(--blue-rgb),0.25);
    transform: translateX(6px);
  }
  .pillar-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-dim), var(--purple-dim));
    border: 1px solid rgba(var(--blue-rgb),0.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .pillar-icon svg { width: 18px; height: 18px; stroke: var(--blue); }
  .pillar-icon.p-purple { border-color: rgba(var(--purple-rgb),0.2); }
  .pillar-icon.p-purple svg { stroke: var(--purple); }
  .pillar-text {}
  .pillar-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
  .pillar-desc { font-size: 0.82rem; color: var(--text-muted); font-weight: 300; }

  .value-right {
    position: relative;
  }
  .tech-showcase {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
  }
  .tech-showcase::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(var(--purple-rgb),0.15), transparent 70%);
    pointer-events: none;
  }
  .tech-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
  }
  .tech-header-title { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
  .tech-badge { padding: 0.25rem 0.6rem; background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2); border-radius: 50px; font-size: 0.7rem; font-weight: 600; color: #4ade80; display: flex; align-items: center; gap: 5px; }
  .tech-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }

  .tech-metric-row {
    display: flex; flex-direction: column; gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .tech-metric {
    display: flex; align-items: center; gap: 1rem;
  }
  .tech-metric-label { font-size: 0.8rem; color: var(--text-muted); min-width: 130px; }
  .tech-metric-bar {
    flex: 1; height: 4px; background: rgba(var(--surface-tint),0.07);
    border-radius: 50px; overflow: hidden;
  }
  .tech-metric-fill {
    height: 100%; border-radius: 50px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    position: relative;
    animation: fillBar 2s ease forwards;
  }
  @keyframes fillBar { from { width: 0 !important; } }
  .tech-metric-val { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--blue); min-width: 36px; text-align: right; }

  .tech-tags-title { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }
  .tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .tech-tag {
    padding: 0.3rem 0.7rem;
    background: rgba(var(--surface-tint),0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.75rem; color: var(--text-muted);
    transition: all 0.25s;
    cursor: default;
  }
  .tech-tag:hover {
    border-color: rgba(var(--blue-rgb),0.3);
    color: var(--blue);
    background: rgba(var(--blue-rgb),0.06);
  }

  /* â”€â”€â”€ CASE STUDIES â”€â”€â”€ */
  #cases {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(var(--section-tint),0.8) 20%, rgba(var(--section-tint),0.8) 80%, transparent);
  }

  .cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .case-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: default;
  }
  .case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--blue-rgb),0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(var(--blue-rgb),0.08);
  }

  .case-header {
    padding: 1.8rem 1.8rem 1.2rem;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  .case-industry {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
  }
  .case-title { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; }
  .case-glow {
    position: absolute; top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    filter: blur(20px);
  }

  .case-body { padding: 1.5rem 1.8rem; }

  .case-comparison {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: 10px; overflow: hidden;
    margin-bottom: 1.5rem;
  }
  .comp-side {
    padding: 1rem;
    background: var(--navy);
  }
  .comp-label {
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 0.4rem;
  }
  .comp-label.before { color: #ef4444; }
  .comp-label.after { color: #4ade80; }
  .comp-value { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; }
  .comp-value.before { color: rgba(239,68,68,0.8); }
  .comp-value.after { color: #4ade80; }
  .comp-desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

  .case-metrics {
    display: flex; gap: 1rem;
  }
  .case-metric {
    flex: 1;
    padding: 0.8rem;
    background: rgba(var(--blue-rgb),0.04);
    border: 1px solid rgba(var(--blue-rgb),0.1);
    border-radius: 10px;
    text-align: center;
  }
  .case-metric-val { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800; }
  .case-metric-val.blue { color: var(--blue); }
  .case-metric-val.purple { color: var(--purple); }
  .case-metric-val.green { color: #4ade80; }
  .case-metric-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }

  /* â”€â”€â”€ ABOUT â”€â”€â”€ */
  #about {
    padding: 8rem 0;
  }

  .about-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
  }

  .about-visual {
    position: relative;
  }

  .team-constellation {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 420px;
  }
  .team-node {
    position: absolute;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
  }
  .team-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-dim), var(--purple-dim));
    border: 2px solid;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem; font-weight: 700;
    transition: all var(--transition);
    cursor: default;
  }
  .team-node:hover .team-avatar { transform: scale(1.1); }
  .team-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; text-align: center; }

  .node-center { top: 50%; left: 50%; transform: translate(-50%, -55%); }
  .node-center .team-avatar { width: 88px; height: 88px; font-size: 0.9rem; border-color: rgba(var(--blue-rgb),0.5); box-shadow: var(--glow-blue); }
  .node-1 { top: 5%; left: 10%; }
  .node-1 .team-avatar { border-color: rgba(var(--blue-rgb),0.35); }
  .node-2 { top: 5%; right: 10%; }
  .node-2 .team-avatar { border-color: rgba(var(--purple-rgb),0.35); }
  .node-3 { bottom: 10%; left: 5%; }
  .node-3 .team-avatar { border-color: rgba(var(--purple-rgb),0.35); }
  .node-4 { bottom: 10%; right: 5%; }
  .node-4 .team-avatar { border-color: rgba(var(--purple-rgb),0.25); }

  .constellation-lines {
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: 0.2;
  }

  .about-content {}
  .about-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
  .about-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 1.5rem; }
  .about-text { color: var(--text-muted); font-weight: 300; line-height: 1.8; font-size: 1rem; margin-bottom: 1rem; }

  .about-highlights {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  .about-highlight {
    padding: 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: border-color var(--transition);
  }
  .about-highlight:hover { border-color: rgba(var(--blue-rgb),0.25); }
  .ah-number { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .ah-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

  /* â”€â”€â”€ CTA â”€â”€â”€ */
  #cta {
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  #cta::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(var(--blue-rgb),0.06), rgba(var(--purple-rgb),0.04), transparent 70%);
    pointer-events: none;
  }

  .cta-inner { position: relative; }
  .cta-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(var(--blue-rgb),0.25);
    border-radius: 50px;
    font-size: 0.78rem; font-weight: 600;
    color: var(--blue); letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    background: rgba(var(--blue-rgb),0.05);
  }
  .cta-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
  }
  .cta-sub {
    color: var(--text-muted); font-size: 1.1rem;
    font-weight: 300; line-height: 1.7;
    max-width: 480px; margin: 0 auto 3rem;
  }
  .cta-actions {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 3rem;
  }
  .cta-note { font-size: 0.8rem; color: var(--text-muted); }
  .cta-note span { color: var(--text); font-weight: 500; }

  /* â”€â”€â”€ FOOTER â”€â”€â”€ */
  footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
  }
  .footer-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-copy { font-size: 0.82rem; color: var(--text-muted); }
  .footer-links { display: flex; gap: 1.5rem; list-style: none; }
  .footer-links a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--blue); }

  /* â”€â”€â”€ HERO TRUST â”€â”€â”€ */
  .hero-trust {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s 0.45s ease forwards;
    opacity: 0;
  }
  .trust-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.82rem; color: var(--text-muted);
    font-weight: 400;
  }

  /* â”€â”€â”€ INLINE STRATEGY CTA â”€â”€â”€ */
  .strategy-cta-bar {
    margin-top: 2.5rem;
    padding: 1.4rem 1.8rem;
    background: rgba(var(--blue-rgb),0.05);
    border: 1px solid rgba(var(--blue-rgb),0.18);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.35s ease forwards;
    opacity: 0;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
  }
  .scta-text {}
  .scta-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    margin-bottom: 0.2rem;
  }
  .scta-sub { font-size: 0.8rem; color: var(--text-muted); font-weight: 300; }
  .scta-btn {
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none; border-radius: 50px;
    color: #fff; font-family: 'Syne', sans-serif;
    font-size: 0.85rem; font-weight: 700;
    cursor: pointer; text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(var(--blue-rgb),0.3);
    transition: box-shadow var(--transition), transform 0.2s;
    flex-shrink: 0;
  }
  .scta-btn:hover {
    box-shadow: 0 0 40px rgba(var(--blue-rgb),0.55), 0 0 80px rgba(var(--purple-rgb),0.25);
    transform: translateY(-1px);
  }
  /* â”€â”€â”€ SERVICE MODALS â”€â”€â”€ */
  .modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(var(--shell-tint), 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  .modal {
    background: var(--navy);
    border: 1px solid rgba(var(--blue-rgb),0.18);
    border-radius: 20px;
    width: min(92vw, 860px);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 60px rgba(var(--blue-rgb),0.07), 0 30px 80px rgba(0,0,0,0.7);
    position: relative;
    transform: translateY(24px);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
  }
  .modal-overlay.open .modal {
    transform: translateY(0);
  }

  /* Scrollable area is only the body, header stays fixed */
  .modal-header {
    flex-shrink: 0;
    padding: 2.25rem 2.75rem 1.75rem;
    border-bottom: 1px solid rgba(var(--surface-tint),0.07);
    position: relative;
    background: var(--navy);
  }
  .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2.75rem 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--blue-rgb),0.3) transparent;
  }
  .modal-body::-webkit-scrollbar { width: 4px; }
  .modal-body::-webkit-scrollbar-track { background: transparent; }
  .modal-body::-webkit-scrollbar-thumb { background: rgba(var(--blue-rgb),0.3); border-radius: 4px; }

  .modal-tag {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 0.6rem;
    display: block;
  }
  .modal-tag.purple { color: var(--purple); }

  .modal-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 0.65rem;
    padding-right: 3rem; /* space for close button */
  }
  .modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 640px;
  }
  .modal-close {
    position: absolute;
    top: 1.5rem; right: 1.75rem;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(var(--surface-tint),0.1);
    background: rgba(var(--surface-tint),0.04);
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  .modal-close:hover {
    border-color: rgba(var(--blue-rgb),0.45);
    color: var(--blue);
    background: rgba(var(--blue-rgb),0.08);
  }

  /* Section blocks */
  .modal-section {
    margin-bottom: 2rem;
  }
  .modal-section:last-child { margin-bottom: 0; }

  .modal-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(var(--blue-rgb),0.1);
  }
  .modal-section-title.purple {
    color: var(--purple);
    border-bottom-color: rgba(var(--purple-rgb),0.1);
  }

  .modal-section p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 0.8rem;
    max-width: 720px;
  }
  .modal-section p:last-child { margin-bottom: 0; }

  /* Bullet list */
  .modal-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .modal-list-item {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 0 0.85rem;
    align-items: start;
  }
  .modal-bullet {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    flex-shrink: 0;
    margin-top: 0.42rem;
    display: block;
  }
  .modal-list-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }
  .modal-list-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
  }
  .modal-list-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* Highlight quote block */
  .modal-highlight {
    padding: 1.25rem 1.5rem;
    background: rgba(var(--blue-rgb),0.04);
    border-left: 3px solid rgba(var(--blue-rgb),0.4);
    border-radius: 0 10px 10px 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.75rem;
  }
  .modal-highlight.purple {
    background: rgba(var(--purple-rgb),0.04);
    border-left-color: rgba(var(--purple-rgb),0.4);
  }

  /* CTA row */
  .modal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--surface-tint),0.07);
    flex-wrap: wrap;
  }
  .modal-cta p {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.5;
    flex: 1;
    min-width: 180px;
    margin: 0;
  }

  /* Mobile modal */
  @media (max-width: 640px) {
    .modal-overlay { padding: 1rem; align-items: flex-end; }
    .modal {
      width: 100%;
      max-height: 90vh;
      border-radius: 20px 20px 0 0;
    }
    .modal-header { padding: 1.5rem 1.5rem 1.25rem; }
    .modal-body { padding: 1.5rem 1.5rem 2rem; }
    .modal-title { font-size: 1.4rem; }
    .modal-cta { flex-direction: column; align-items: flex-start; }
  }

  /* ─── FAQ (native <details> accordion — fully keyboard accessible) ─── */
  #faq { padding: 8rem 0; }
  .faq-list {
    max-width: 760px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 1rem;
  }
  .faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .faq-item[open] {
    border-color: rgba(var(--blue-rgb), 0.30);
    box-shadow: 0 8px 30px rgba(15,23,42,0.05);
  }
  .faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.08rem; line-height: 1.4; color: var(--text);
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
  .faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
  .faq-icon::before, .faq-icon::after {
    content: ''; position: absolute; background: var(--blue); border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
  }
  .faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
  .faq-icon::after  { left: 8px; top: 0; width: 2px; height: 18px; }
  .faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
  .faq-answer { padding: 0 1.5rem 1.4rem; }
  .faq-answer p {
    color: var(--text-muted); font-size: 1rem; line-height: 1.75; font-weight: 300;
    max-width: 64ch;
  }

  /* â”€â”€â”€ CONTACT FORM â”€â”€â”€ */
  #contact {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(var(--section-tint),0.6) 20%, rgba(var(--section-tint),0.6) 80%, transparent);
  }
  .contact-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
  }
  .contact-eyebrow {
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 1rem;
    display: block;
  }
  .contact-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 0.85rem;
  }
  .contact-sub {
    color: var(--text-muted);
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
  }
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-label {
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--text-muted);
  }
  .form-input, .form-textarea {
    background: rgba(var(--surface-tint),0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem; font-weight: 300;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    width: 100%;
    -webkit-appearance: none;
  }
  .form-input::placeholder, .form-textarea::placeholder { color: rgba(122,130,160,0.5); }
  .form-input:focus, .form-textarea:focus {
    border-color: rgba(var(--blue-rgb),0.45);
    background: rgba(var(--blue-rgb),0.04);
    box-shadow: 0 0 0 3px rgba(var(--blue-rgb),0.08);
  }
  .form-input.field-error, .form-textarea.field-error {
    border-color: rgba(239,68,68,0.5);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
  }
  .form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
  .form-submit {
    width: 100%; padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border: none; border-radius: 50px;
    color: #fff; font-family: 'Syne', sans-serif;
    font-size: 1rem; font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 0 30px rgba(var(--blue-rgb),0.3);
    transition: box-shadow var(--transition), transform 0.2s, opacity 0.2s;
    margin-top: 0.5rem;
  }
  .form-submit:hover:not(:disabled) {
    box-shadow: 0 0 50px rgba(var(--blue-rgb),0.5), 0 0 80px rgba(var(--purple-rgb),0.25);
    transform: translateY(-2px);
  }
  .form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
  .form-status {
    padding: 1rem 1.2rem; border-radius: 10px;
    font-size: 0.9rem; font-weight: 400;
    text-align: center; display: none;
  }
  .form-status.success {
    display: block;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.25);
    color: #4ade80;
  }
  .form-status.form-error {
    display: block;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
    color: #f87171;
  }
  .field-error-text {
    font-size: 0.75rem; color: #f87171;
    display: none; margin-top: 0.2rem;
  }
  .field-error-text.visible { display: block; }
  @media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

  /* Scroll reveal — animation-only approach.
     Elements are ALWAYS visible by default (no opacity:0 hiding).
     The animation plays only when JS adds .visible, so a broken IntersectionObserver
     cannot permanently hide content.  */
  @keyframes revealFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0);    }
  }
  html.js-loaded .reveal.visible {
    animation: revealFadeUp 0.65s ease both;
  }
  html.js-loaded .reveal-delay-1.visible { animation-delay: 0.1s; }
  html.js-loaded .reveal-delay-2.visible { animation-delay: 0.2s; }
  html.js-loaded .reveal-delay-3.visible { animation-delay: 0.3s; }
  html.js-loaded .reveal-delay-4.visible { animation-delay: 0.4s; }

  /* â”€â”€â”€ ANIMATIONS â”€â”€â”€ */
  @keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
  @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  @keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
  @keyframes rotateSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
  @keyframes orbitSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
  @keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  /* ─── ACCESSIBILITY: honour reduced-motion preferences ─── */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
    .globe-logo, .globe-glow, .orbit-ring, .floating-card,
    .hero-badge-dot, .fc-dot, .tech-badge-dot { animation: none !important; }
    html.js-loaded .reveal.visible { animation: none !important; }
    .globe-glow { opacity: 0.85; }
  }

  /* â”€â”€â”€ DIVIDER â”€â”€â”€ */
  .gradient-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb),0.3), rgba(var(--purple-rgb),0.3), transparent);
    margin: 0 auto;
  }

  /* â”€â”€â”€ RESPONSIVE â”€â”€â”€ */
  @media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 5%; }
    .hero-visual { order: -1; }
    .neural-globe { width: 280px; height: 280px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card:first-child { border-radius: 24px 24px 0 0; }
    .service-card:nth-child(2) { border-radius: 0; }
    .service-card:nth-child(3) { border-radius: 0; }
    .service-card:last-child { border-radius: 0 0 24px 24px; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .process-steps::before { display: none; }
    .value-inner { grid-template-columns: 1fr; gap: 3rem; }
    .cases-grid { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; gap: 3rem; }
    .team-constellation { max-width: 300px; }
  }
  @media (max-width: 640px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: fixed; top: 100px; left: 0; right: 0;
      background: rgba(var(--shell-tint),0.97);
      backdrop-filter: blur(20px);
      padding: 2rem;
      gap: 1.5rem;
      border-bottom: 1px solid var(--border);
    }
    .process-steps { grid-template-columns: 1fr; gap: 2rem; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .about-highlights { grid-template-columns: 1fr 1fr; }
    .fc-1, .fc-2, .fc-3 { display: none; }
    .value-inner { gap: 2.5rem; }
  }

  /* ─── SOLUTIONS SECTION ─── */
  #solutions {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(var(--section-tint),0.6) 20%, rgba(var(--section-tint),0.6) 80%, transparent);
  }
  .solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
  .solution-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  }
  .solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--blue-rgb),0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(var(--blue-rgb),0.06);
  }
  .solution-card--featured {
    border-color: rgba(var(--blue-rgb),0.28);
    /* Light mode: subtle blue tint keeps text fully readable */
    background: rgba(var(--blue-rgb), 0.06);
  }
  [data-theme="dark"] .solution-card--featured {
    background: rgba(10,18,45,0.7);
  }
  .solution-card--featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: 20px 20px 0 0;
  }
  .solution-tier-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    opacity: 0.75;
  }
  .solution-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.22rem 0.7rem;
    background: linear-gradient(135deg, rgba(var(--blue-rgb),0.1), rgba(var(--purple-rgb),0.1));
    border: 1px solid rgba(var(--blue-rgb),0.28);
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: -0.5rem;
  }
  .solution-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-dim), var(--purple-dim));
    border: 1px solid rgba(var(--blue-rgb),0.2);
    display: flex; align-items: center; justify-content: center;
  }
  .solution-icon svg { width: 24px; height: 24px; stroke: var(--blue); }
  .solution-icon--purple { border-color: rgba(var(--purple-rgb),0.2); }
  .solution-icon--purple svg { stroke: var(--purple); }
  .solution-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-family: 'Syne', sans-serif;
  }
  .solution-price {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .solution-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
  }
  .solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
  }
  .solution-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
  }
  .solution-features li::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    flex-shrink: 0;
  }
  .solution-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
  }
  .solution-actions .btn-primary,
  .solution-actions .btn-ghost {
    flex: 1;
    min-width: 110px;
    text-align: center;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.7rem 1rem;
  }
  @media (max-width: 960px) {
    .solutions-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  }

  /* ─── DEMO PAGES SHARED LAYOUT ─── */

  /* Hero */
  .demo-hero {
    min-height: 88vh;
    display: flex; align-items: center;
    padding-top: 100px;
  }
  .demo-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 6rem 5% 7rem;
    text-align: center;
  }
  .demo-back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.8rem; color: var(--text-muted);
    text-decoration: none; transition: color 0.2s;
    margin-bottom: 2rem;
    animation: fadeUp 0.6s ease forwards;
  }
  .demo-back-link:hover { color: var(--blue); }
  .demo-back-link svg { width: 14px; height: 14px; stroke: currentColor; }
  .demo-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(var(--blue-rgb),0.25);
    border-radius: 50px;
    background: rgba(var(--blue-rgb),0.07);
    font-size: 0.78rem; font-weight: 500;
    color: var(--blue); letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease forwards;
  }
  .demo-hero-tag-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue); box-shadow: 0 0 8px var(--blue);
    animation: pulse 2s infinite;
  }
  .demo-hero-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800; line-height: 1.08;
    letter-spacing: -0.025em; margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.1s ease forwards; opacity: 0;
  }
  .demo-hero-sub {
    font-size: 1.05rem; color: var(--text-muted);
    line-height: 1.7; max-width: 600px;
    margin: 0 auto 1.25rem; font-weight: 300;
    animation: fadeUp 0.8s 0.2s ease forwards; opacity: 0;
  }
  .demo-hero-price {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s 0.25s ease forwards; opacity: 0;
  }
  .demo-hero-actions {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease forwards; opacity: 0;
  }

  /* Demo sections */
  .demo-section { padding: 6rem 0; }
  .demo-section-alt {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(var(--section-tint),0.7) 20%, rgba(var(--section-tint),0.7) 80%, transparent);
  }
  .demo-section-header { margin-bottom: 3rem; }
  .demo-section-tag {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 0.7rem;
  }
  .demo-section-tag.purple { color: var(--purple); }
  .demo-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800; letter-spacing: -0.02em;
    line-height: 1.12; margin-bottom: 0.75rem;
  }
  .demo-section-sub {
    color: var(--text-muted); font-size: 0.95rem;
    font-weight: 300; line-height: 1.7; max-width: 580px;
  }

  /* Who cards */
  .demo-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem;
  }
  .demo-who-card {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: border-color var(--transition), transform var(--transition);
  }
  .demo-who-card:hover { border-color: rgba(var(--blue-rgb),0.22); transform: translateY(-3px); }
  .demo-who-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-dim), var(--purple-dim));
    border: 1px solid rgba(var(--blue-rgb),0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.9rem;
  }
  .demo-who-icon svg { width: 20px; height: 20px; stroke: var(--blue); }
  .demo-who-icon.purple { border-color: rgba(var(--purple-rgb),0.2); }
  .demo-who-icon.purple svg { stroke: var(--purple); }
  .demo-who-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
  .demo-who-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

  /* Includes grid */
  .demo-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
  }
  .demo-include-card {
    padding: 1.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .demo-include-card:hover { border-color: rgba(var(--blue-rgb),0.2); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
  .demo-include-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-dim), var(--purple-dim));
    border: 1px solid rgba(var(--blue-rgb),0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
  }
  .demo-include-icon svg { width: 20px; height: 20px; stroke: var(--blue); }
  .demo-include-icon.purple { border-color: rgba(var(--purple-rgb),0.2); }
  .demo-include-icon.purple svg { stroke: var(--purple); }
  .demo-include-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
  .demo-include-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

  /* Workflow steps */
  .demo-workflow-steps {
    display: flex; flex-direction: column;
    max-width: 700px; margin: 0 auto;
  }
  .demo-workflow-step {
    display: flex; gap: 1.5rem;
    align-items: flex-start; position: relative;
  }
  .demo-workflow-step:not(:last-child)::after {
    content: '';
    position: absolute; left: 19px; top: 42px;
    width: 2px; height: calc(100%);
    background: linear-gradient(180deg, rgba(var(--blue-rgb),0.3), rgba(var(--purple-rgb),0.2), transparent);
  }
  .demo-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem; font-weight: 700; color: #fff;
    flex-shrink: 0; position: relative; z-index: 1;
  }
  .demo-step-content { padding: 0 0 2.25rem; flex: 1; }
  .demo-step-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.98rem; font-weight: 700;
    margin-bottom: 0.3rem; padding-top: 0.5rem;
  }
  .demo-step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }
  .demo-workflow-step:last-child .demo-step-content { padding-bottom: 0; }

  /* Customization grid */
  .demo-custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
  }
  .demo-custom-item {
    padding: 1.35rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    display: flex; align-items: flex-start; gap: 1rem;
    transition: border-color var(--transition), transform var(--transition);
  }
  .demo-custom-item:hover { border-color: rgba(var(--blue-rgb),0.2); transform: translateX(4px); }
  .demo-custom-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    flex-shrink: 0; margin-top: 0.4rem;
  }
  .demo-custom-title { font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; }
  .demo-custom-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

  /* Timeline */
  .demo-timeline-box {
    max-width: 560px; margin: 0 auto;
    padding: 2.5rem 3rem;
    background: var(--card-bg);
    border: 1px solid rgba(var(--blue-rgb),0.18);
    border-radius: 20px; text-align: center;
    backdrop-filter: blur(20px); position: relative; overflow: hidden;
  }
  .demo-timeline-box::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
    width: 70%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  }
  .demo-timeline-duration {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
  }
  .demo-timeline-label { font-size: 1rem; font-weight: 600; margin-bottom: 0.85rem; }
  .demo-timeline-note { font-size: 0.85rem; color: var(--text-muted); font-weight: 300; line-height: 1.65; }

  /* Demo final CTA */
  .demo-final-cta {
    padding: 8rem 0; text-align: center;
    position: relative; overflow: hidden;
  }
  .demo-final-cta::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(var(--blue-rgb),0.05), rgba(var(--purple-rgb),0.03), transparent 70%);
    pointer-events: none;
  }
  .demo-final-cta-inner {
    position: relative; max-width: 700px;
    margin: 0 auto; padding: 0 5%;
  }
  .demo-cta-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(var(--blue-rgb),0.25);
    border-radius: 50px;
    font-size: 0.78rem; font-weight: 600;
    color: var(--blue); letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 2rem;
    background: rgba(var(--blue-rgb),0.05);
  }
  .demo-cta-title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800; letter-spacing: -0.025em;
    line-height: 1.1; margin-bottom: 1.2rem;
  }
  .demo-cta-sub {
    color: var(--text-muted); font-size: 1rem;
    font-weight: 300; line-height: 1.7;
    margin: 0 auto 2.5rem; max-width: 500px;
  }
  .demo-cta-actions {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  .demo-other-solutions {
    display: flex; gap: 0.75rem;
    justify-content: center; align-items: center; flex-wrap: wrap;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
  }
  .demo-other-label { color: var(--text-muted); }
  .demo-other-link {
    color: var(--blue); text-decoration: none;
    transition: opacity 0.2s;
  }
  .demo-other-link:hover { opacity: 0.7; }

  @media (max-width: 640px) {
    .demo-hero-inner { padding: 4rem 5% 5rem; }
    .demo-section { padding: 4rem 0; }
    .demo-section-alt { padding: 4rem 0; }
    .demo-timeline-box { padding: 2rem 1.5rem; }
    .demo-final-cta { padding: 5rem 0; }
  }

  /* ─── SHOWCASE DEMOS SECTION ─── */
  #showcase { padding: 8rem 0; }

  .showcase-grid {
    display: flex; flex-direction: column; gap: 4rem;
  }

  .showcase-card {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 3rem; align-items: center;
    padding: 2.5rem; border-radius: 20px;
    background: var(--card-bg); border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .showcase-card:hover {
    border-color: rgba(var(--blue-rgb),0.18);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  }
  .showcase-card:nth-child(even) { direction: rtl; }
  .showcase-card:nth-child(even) > * { direction: ltr; }

  /* Browser mockup preview */
  .showcase-preview {
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border);
    background: var(--navy);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    font-size: 0; /* collapse whitespace */
  }
  .showcase-preview-bar {
    display: flex; align-items: center; gap: 5px;
    padding: 0.5rem 0.75rem; background: rgba(var(--surface-tint),0.04);
    border-bottom: 1px solid var(--border); font-size: 0.68rem;
  }
  .showcase-preview-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
  .showcase-preview-url {
    flex: 1; text-align: center; color: var(--text-muted);
    font-size: 0.68rem; font-family: 'DM Sans', sans-serif;
  }
  .showcase-preview-content { padding: 0.75rem; font-size: 16px; }
  .showcase-preview-nav {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.75rem; border-radius: 8px;
    background: rgba(var(--surface-tint),0.03); border: 1px solid var(--border);
    margin-bottom: 0.75rem;
  }
  .showcase-preview-logo {
    width: 24px; height: 24px; border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 800;
    flex-shrink: 0;
  }
  .showcase-preview-nav-links { display: flex; gap: 0.75rem; flex: 1; }
  .spnl { font-size: 0.62rem; color: var(--text-muted); white-space: nowrap; }
  .showcase-preview-cta-mini {
    padding: 0.2rem 0.6rem; border-radius: 50px;
    font-size: 0.62rem; font-weight: 700; font-family: 'Syne', sans-serif;
    white-space: nowrap;
  }
  .showcase-preview-hero {
    border-radius: 8px; padding: 1.25rem 1rem;
  }
  .showcase-preview-h1 {
    font-family: 'Syne', sans-serif; font-size: 0.88rem;
    font-weight: 800; line-height: 1.25; margin-bottom: 0.35rem; color: var(--text);
  }
  .showcase-preview-sub {
    font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.75rem;
  }
  .showcase-preview-btn {
    display: inline-block; padding: 0.3rem 0.8rem; border-radius: 50px;
    font-size: 0.65rem; font-weight: 700; font-family: 'Syne', sans-serif;
  }

  /* Enterprise dashboard mini-preview */
  .showcase-dashboard-preview {
    display: flex; gap: 0; padding: 0;
    min-height: 160px; background: #09090b;
    /* This is an intentionally-dark product mockup; keep its overlays white
       in both themes by pinning the tint locally. */
    --surface-tint: 255,255,255;
  }
  .sdp-sidebar {
    width: 70px; background: #18181b; border-right: 1px solid rgba(var(--surface-tint),0.06);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    padding: 0.6rem 0.4rem;
  }
  .sdp-logo {
    width: 24px; height: 24px; border-radius: 5px;
    background: linear-gradient(135deg,#00c8ff,#a259ff);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 800; color: #fff;
    margin-bottom: 0.35rem; flex-shrink: 0;
  }
  .sdp-nav-items { display: flex; flex-direction: column; gap: 3px; width: 100%; }
  .sdp-nav { font-size: 0.56rem; color: rgba(var(--surface-tint),0.35); padding: 3px 5px; border-radius: 4px; white-space: nowrap; overflow: hidden; }
  .sdp-nav.active { background: rgba(var(--surface-tint),0.06); color: rgba(var(--surface-tint),0.8); }
  .sdp-main { flex: 1; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
  .sdp-kpis { display: flex; gap: 0.4rem; }
  .sdp-kpi {
    flex: 1; padding: 0.35rem; background: #18181b;
    border: 1px solid rgba(var(--surface-tint),0.06); border-radius: 5px; text-align: center;
  }
  .sdp-kpi-val { font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 800; }
  .sdp-kpi-label { font-size: 0.5rem; color: rgba(var(--surface-tint),0.3); }
  .sdp-feed-label { font-size: 0.55rem; color: rgba(var(--surface-tint),0.3); font-weight: 600; }
  .sdp-feed-item {
    padding: 0.25rem 0.4rem; background: rgba(var(--surface-tint),0.03);
    border: 1px solid rgba(var(--surface-tint),0.07); border-left: 2px solid;
    border-radius: 3px; font-size: 0.55rem; color: rgba(var(--surface-tint),0.5);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* Showcase info */
  .showcase-info { display: flex; flex-direction: column; gap: 1rem; }
  .showcase-industry-tag {
    display: inline-block; align-self: flex-start;
    padding: 0.25rem 0.75rem; border-radius: 50px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(var(--blue-rgb),0.2);
  }
  .showcase-industry-teal { background: rgba(13,148,136,0.1); color: #14b8a6; border-color: rgba(13,148,136,0.25); }
  .showcase-industry-purple { background: var(--purple-dim); color: var(--purple); border-color: rgba(var(--purple-rgb),0.25); }
  .showcase-title {
    font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800;
    line-height: 1.2; letter-spacing: -0.02em;
  }
  .showcase-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; font-weight: 300; }
  .showcase-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .showcase-features li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.875rem; color: var(--text-muted);
  }
  .showcase-features li::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    flex-shrink: 0; margin-top: 0.5rem;
  }
  .showcase-cta { align-self: flex-start; font-size: 0.9rem; padding: 0.75rem 1.75rem; }

  @media (max-width: 960px) {
    .showcase-card { grid-template-columns: 1fr; direction: ltr !important; }
    .showcase-card:nth-child(even) { direction: ltr; }
  }

  /* ─── ABOUT SECTION - centered layout ─── */
  .about-copy {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-align: center;
  }
  .about-copy p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .about-copy p:last-child { margin-bottom: 0; }

  .about-highlights--centered {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-team-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb),0.25), rgba(var(--purple-rgb),0.25), transparent);
    margin: 4rem auto 0;
    max-width: 480px;
  }

  .about-team-header {
    margin-top: 4.5rem;
    margin-bottom: 2.5rem;
  }

  @media (max-width: 640px) {
    .about-copy { text-align: left; }
    .about-team-divider { margin-top: 3rem; }
    .about-team-header { margin-top: 3.5rem; margin-bottom: 2rem; }
  }

  /* ─── TEAM SECTION ─── */
  #team {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(var(--section-tint),0.6) 20%, rgba(var(--section-tint),0.6) 80%, transparent);
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }

  .team-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    /* Button reset — ensures <button> element matches <div> visually */
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
  }
  .team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--blue-rgb), 0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(var(--blue-rgb), 0.06);
  }
  .team-card:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  .team-card-photo {
    width: 100%;
    overflow: hidden;
    background: var(--navy);
    line-height: 0; /* collapse whitespace that can add phantom height */
  }
  .team-photo,
  .team-card-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    display: block;
  }
  .team-card:hover .team-card-photo img {
    transform: scale(1.04);
  }

  .team-card-info {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .team-card-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
  }
  .team-card-role {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
  }
  .team-card-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
  }

  /* ─── TEAM BIO MODAL ─── */
  .team-bio-modal {
    width: min(92vw, 560px);
  }
  .team-bio-photo {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--navy);
    position: relative;
    line-height: 0;
  }
  .team-bio-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .team-bio-modal .modal-close {
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.88);
    z-index: 10;
  }
  .team-bio-modal .modal-close:hover {
    background: rgba(0,0,0,0.65);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
  }
  .team-bio-modal .modal-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  .team-bio-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.75rem 2rem 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--blue-rgb),0.3) transparent;
  }
  .team-bio-body::-webkit-scrollbar { width: 4px; }
  .team-bio-body::-webkit-scrollbar-track { background: transparent; }
  .team-bio-body::-webkit-scrollbar-thumb { background: rgba(var(--blue-rgb),0.3); border-radius: 4px; }
  .team-bio-role-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
    display: block;
  }
  .team-bio-name {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.1;
  }
  .team-bio-divider {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
  }
  .team-bio-text p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 0.85rem;
  }
  .team-bio-text p:last-child { margin-bottom: 0; }

  /* Team responsive */
  @media (max-width: 1100px) {
    .team-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .team-grid .team-card {
      flex: 0 0 calc(50% - 0.75rem);
      max-width: calc(50% - 0.75rem);
    }
  }
  @media (max-width: 640px) {
    .team-grid {
      display: grid;
      grid-template-columns: 1fr;
      max-width: 400px;
      margin: 0 auto;
    }
    .team-grid .team-card {
      flex: none;
      max-width: none;
    }
  }

  /* ─── TEAM BIO MODAL (new single-modal system) ─── */
  .team-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }
  .team-modal.is-open {
    display: flex;
  }
  .team-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--shell-tint), 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
  }
  .team-modal__content {
    position: relative;
    z-index: 1;
    width: min(92vw, 560px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    background: var(--navy);
    border: 1px solid rgba(var(--blue-rgb), 0.18);
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(var(--blue-rgb),0.07), 0 30px 80px rgba(0,0,0,0.6);
    overflow: hidden;
  }
  .team-modal__image-wrap {
    flex-shrink: 0;
    overflow: hidden;
    line-height: 0;
  }
  .team-modal__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .team-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.75rem 2rem 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--blue-rgb),0.3) transparent;
  }
  .team-modal__body::-webkit-scrollbar { width: 4px; }
  .team-modal__body::-webkit-scrollbar-track { background: transparent; }
  .team-modal__body::-webkit-scrollbar-thumb { background: rgba(var(--blue-rgb),0.3); border-radius: 4px; }
  .team-modal__role {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
  }
  .team-modal__name {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 0;
  }
  .team-modal__divider {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
  }
  .team-modal__bio p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 0.85rem;
  }
  .team-modal__bio p:last-child { margin-bottom: 0; }
  .team-modal__section {
    margin-bottom: 1.5rem;
  }
  .team-modal__section:last-child { margin-bottom: 0; }
  .team-modal__section + .team-modal__section {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }
  .team-modal__section-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 0.75rem;
  }
  .team-modal__edu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .team-modal__edu-list li {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
    font-weight: 300;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.35rem;
  }
  .team-modal__edu-list li:last-child { margin-bottom: 0; }
  .team-modal__edu-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.6;
  }
  .team-modal__close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.45);
    color: rgba(255,255,255,0.88);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    padding: 0;
  }
  .team-modal__close:hover {
    background: rgba(0,0,0,0.65);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
  }
  .team-modal__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  body.modal-open { overflow: hidden; }

  @media (max-width: 640px) {
    .team-modal { padding: 1rem; }
    .team-modal__content { width: 100%; }
    .team-modal__body { padding: 1.25rem 1.5rem 2rem; }
  }