  :root {
    --bg-deep: #06061a;
    --bg-primary: #0a0a22;
    --bg-elevated: #10102c;
    --bg-card: #121230;
    --text-primary: #eeeef2;
    --text-secondary: #9898b0;
    --text-muted: #8585a3;
    --accent: #6ea8fe;
    --accent-bright: #8abfff;
    --accent-2: #a78bfa;
    --accent-3: #67e8f9;
    --glow-blue: rgba(110, 168, 254, 0.20);
    --glow-purple: rgba(110, 168, 254, 0.10);
    --glow-cyan: rgba(103, 232, 249, 0.12);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(110, 168, 254, 0.25);
    --font-body: 'Sora', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 16px;
    --radius-xl: 24px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }

  html, body { overflow-x: hidden; }

  body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(110, 168, 254, 0.08);
    box-shadow: inset 0 0 80px rgba(110, 168, 254, 0.03);
    pointer-events: none;
    z-index: 9999;
    border-radius: 2px;
  }

  ::selection { background: rgba(110, 168, 254, 0.25); }

  /* ========== FOCUS INDICATORS (a11y) ========== */
  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
  }

  .btn-primary:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.25), 0 4px 24px rgba(110, 168, 254, 0.2);
  }

  .nav-cta:focus-visible {
    outline-offset: 4px;
  }

  /* Skip nav (visible only on focus) */
  .skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    background: var(--accent);
    color: var(--bg-deep);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: top 0.2s;
  }

  .skip-nav:focus {
    top: 0;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ========== AMBIENT ========== */
  .ambient {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s ease-in-out infinite;
  }

  .orb-1 {
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(110, 168, 254, 0.25) 0%, rgba(103, 232, 249, 0.06) 50%, transparent 70%);
    top: -20%; right: -10%;
    animation: float 25s ease-in-out infinite;
  }

  .orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(100, 160, 255, 0.12) 0%, transparent 70%);
    top: 40%; left: -10%;
    animation-delay: -7s;
  }

  .orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.12) 0%, transparent 70%);
    top: 70%; right: 10%;
    animation-delay: -14s;
  }

  .orb-4 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(110, 168, 254, 0.06) 0%, transparent 70%);
    top: 25%; left: 30%;
    animation-delay: -3s;
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
  }

  /* ========== NAV ========== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 24px 0;
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
    transition: all 0.5s;
  }

  /* Extends nav background behind the iOS status bar / Dynamic Island. */
  nav::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    pointer-events: none;
  }

  nav.scrolled {
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(32px) saturate(1.4);
    -webkit-backdrop-filter: blur(32px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
  }

  .logo-img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: opacity 0.25s ease;
    display: block;
  }

  .logo:hover .logo-img {
    opacity: 1;
  }

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

  .nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s;
  }

  .nav-links a:hover { color: var(--text-primary); }

  .nav-cta {
    color: var(--bg-deep) !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-bright)) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 500 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    box-shadow: 0 4px 20px rgba(110, 168, 254, 0.2);
    position: relative;
    overflow: hidden;
  }

  .nav-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
  }

  .nav-cta:hover {
    box-shadow: 0 8px 32px rgba(110, 168, 254, 0.38) !important;
    transform: translateY(-1px);
  }

  .nav-cta:hover::after {
    animation: btnShine 0.55s ease forwards;
  }

  /* ========== HERO ========== */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 0 100px;
    position: relative;
    z-index: 1;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .hero-content { max-width: 560px; }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.08em;
    background: rgba(110, 168, 254, 0.06);
    border: 1px solid rgba(110, 168, 254, 0.12);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.1s forwards;
  }

  .hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .hero h1 {
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  }

  .hero h1 strong {
    font-weight: 500;
    color: var(--accent-bright);
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  }

  /* Hero visual - isometric mockup */
  .hero-visual {
    perspective: 1200px;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.6s forwards;
  }

  .hero-mockup {
    transform: rotateY(-12deg) rotateX(8deg) rotateZ(2deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
  }

  .hero-visual:hover .hero-mockup {
    transform: rotateY(-6deg) rotateX(4deg) rotateZ(1deg);
  }

  .mockup-screen {
    background: #0c1424;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow:
      0 40px 80px rgba(0, 0, 0, 0.5),
      0 0 60px rgba(110, 168, 254, 0.08),
      inset 0 1px 0 rgba(255,255,255,0.05);
  }

  .mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .mockup-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
  }

  .mockup-dot:nth-child(1) { background: #ff5f57; opacity: 0.7; }
  .mockup-dot:nth-child(2) { background: #ffbd2e; opacity: 0.7; }
  .mockup-dot:nth-child(3) { background: #28c840; opacity: 0.7; }

  .mockup-url {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 12px;
    background: rgba(255,255,255,0.03);
    padding: 3px 12px;
    border-radius: 4px;
  }

  .mockup-body {
    padding: 24px;
    min-height: 320px;
  }

  /* Fake dashboard UI inside mockup */
  .fake-ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .fake-ui-logo {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .fake-ui-nav {
    display: flex;
    gap: 16px;
  }

  .fake-ui-nav span {
    width: 48px;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
  }

  .fake-ui-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }

  .fake-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 14px;
  }

  .fake-stat-label {
    width: 50px;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-bottom: 8px;
  }

  .fake-stat-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--accent);
  }

  .fake-chart {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 16px;
    height: 120px;
    position: relative;
    overflow: hidden;
  }

  .fake-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    padding-top: 8px;
  }

  .fake-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--accent), rgba(110, 168, 254, 0.3));
    opacity: 0.6;
    transition: opacity 0.3s;
  }

  .hero-visual:hover .fake-bar { opacity: 0.9; }

  /* Floating terminal mockup */
  .terminal-mockup {
    position: absolute;
    bottom: -35px;
    left: -40px;
    width: 210px;
    transform: rotateY(6deg) rotateX(-3deg);
    z-index: 3;
    animation: floatTerminal 6s ease-in-out infinite;
  }

  @keyframes floatTerminal {
    0%, 100% { transform: rotateY(6deg) rotateX(-3deg) translateY(0); }
    50% { transform: rotateY(6deg) rotateX(-3deg) translateY(-8px); }
  }

  .terminal-toolbar {
    background: #1a1a2e;
    border-radius: 8px 8px 0 0;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
  }

  .terminal-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
  }
  .terminal-dot.red { background: #ff5f57; }
  .terminal-dot.yellow { background: #febc2e; }
  .terminal-dot.green { background: #28c840; }

  .terminal-title {
    font-family: var(--font-mono);
    font-size: 9px;
    color: rgba(255,255,255,0.35);
    margin-left: 6px;
  }

  .terminal-body {
    background: #0d0d1a;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
    padding: 10px 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    line-height: 1.7;
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(110, 168, 254, 0.06);
  }

  .code-line { white-space: nowrap; color: rgba(255,255,255,0.55); }
  .code-line.indent { padding-left: 16px; }
  .code-keyword { color: var(--accent-2); }
  .code-module { color: var(--accent-3); }
  .code-decorator { color: #ffd700; }
  .code-string { color: #a8d8a8; }
  .code-func { color: var(--accent-bright); }

  /* Floating API/AI node */
  .api-node {
    position: absolute;
    top: -15px;
    right: -25px;
    background: rgba(16, 16, 44, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(110, 168, 254, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    z-index: 4;
    min-width: 110px;
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.4),
      0 0 30px rgba(110, 168, 254, 0.08);
    animation: floatNode 5s ease-in-out infinite;
  }

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

  .api-node-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(110, 168, 254, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
    margin-bottom: 8px;
  }

  .api-node-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
  }

  .api-node-status {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .api-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #28c840;
    animation: pulse-dot 2s ease-in-out infinite;
  }

  @keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  /* ========== BUTTONS ========== */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    color: var(--bg-deep);
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(110, 168, 254, 0.2);
    position: relative;
    overflow: hidden;
  }

  /* Diagonal shine that sweeps through on hover */
  .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.22),
      transparent
    );
    transform: skewX(-18deg);
    transition: none;
    pointer-events: none;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(110, 168, 254, 0.42);
  }

  .btn-primary:hover::after {
    animation: btnShine 0.55s ease forwards;
  }

  @keyframes btnShine {
    from { left: -80%; }
    to   { left: 130%; }
  }

  .btn-primary .arrow {
    font-size: 16px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .btn-primary:hover .arrow { transform: translateX(5px); }

  .btn-ghost {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
  }

  /* Growing underline from left */
  .btn-ghost::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    transition: width 0.35s ease;
  }

  .btn-ghost:hover {
    color: var(--accent-bright);
  }

  .btn-ghost:hover::after { width: 100%; }

  /* ========== STATS ========== */
  .stats {
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
  }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
  }

  .stat-item {
    background: rgba(10, 10, 34, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 36px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: background 0.5s ease, opacity 0.3s ease;
  }

  /* Shimmer sweep on hover */
  .stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      transparent 20%,
      rgba(110, 168, 254, 0.08) 45%,
      rgba(103, 232, 249, 0.1) 50%,
      rgba(110, 168, 254, 0.08) 55%,
      transparent 80%
    );
    transform: translateX(-100%);
    transition: none;
    pointer-events: none;
  }

  .stat-item:hover::before {
    animation: shimmerSweep 0.65s ease forwards;
  }

  /* Radial glow that expands on hover */
  .stat-item::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 160px; height: 160px;
    background: radial-gradient(circle,
      rgba(110, 168, 254, 0.12) 0%,
      rgba(103, 232, 249, 0.06) 40%,
      transparent 70%
    );
    border-radius: 50%;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
    opacity: 0;
    pointer-events: none;
  }

  .stat-item:hover::after {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 1;
  }

  /* Autonomous per-stat heartbeat glow via background */
  @keyframes statHeartbeat {
    0%, 100% { background-color: rgba(10, 10, 34, 0.7); }
    50%       { background-color: rgba(18, 18, 52, 0.85); }
  }

  .stat-item:nth-child(1) { animation: statHeartbeat 3.2s ease-in-out infinite 0s; }
  .stat-item:nth-child(2) { animation: statHeartbeat 3.2s ease-in-out infinite 0.8s; }
  .stat-item:nth-child(3) { animation: statHeartbeat 3.2s ease-in-out infinite 1.6s; }
  .stat-item:nth-child(4) { animation: statHeartbeat 3.2s ease-in-out infinite 2.4s; }

  /* Hover: dim all other stats to focus on active */
  .stats-row:hover .stat-item {
    opacity: 0.4;
  }

  .stats-row:hover .stat-item:hover {
    opacity: 1;
    background-color: rgba(16, 16, 44, 0.95);
  }

  /* Top glow border on hovered stat */
  .stat-item:hover {
    box-shadow: inset 0 1px 0 rgba(110, 168, 254, 0.35);
  }

  .stat-value {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
  }

  .stat-item:hover .stat-value {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.1) translateY(-2px);
  }

  .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: color 0.35s ease;
  }

  .stat-item:hover .stat-label {
    color: var(--accent);
  }

  @keyframes shimmerSweep {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
  }

  /* ========== LOGOS ========== */
  .logos {
    padding: 0 0 140px;
    position: relative;
    z-index: 1;
  }

  .logos-label {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
  }

  /* Scan line traveling across logos */
  .logos-row::after {
    content: '';
    position: absolute;
    top: -10px; bottom: -10px;
    width: 90px;
    background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.05),
      rgba(200, 220, 255, 0.08),
      rgba(255, 255, 255, 0.05),
      transparent
    );
    animation: logosScan 8s ease-in-out infinite 1s;
    pointer-events: none;
  }

  @keyframes logosScan {
    0%   { left: -120px; opacity: 0; }
    6%   { opacity: 1; }
    94%  { opacity: 1; }
    100% { left: calc(100% + 120px); opacity: 0; }
  }

  .logos-row img {
    height: 34px;
    width: auto;
    opacity: 0.45;
    filter: brightness(0) invert(1);
    transition: opacity 0.35s, filter 0.35s;
  }

  .logos-row img:hover {
    opacity: 0.95;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(200, 220, 255, 0.55));
  }

  .logos-row .logo-text {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    opacity: 0.3;
    transition: opacity 0.3s;
    letter-spacing: 0.02em;
  }

  .logos-row .logo-text:hover { opacity: 0.7; }

  /* ========== SECTION HEADERS ========== */
  .section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 60px;
    line-height: 1.2;
  }

  .section-title strong {
    font-weight: 500;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .section-intro {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: -44px;
    margin-bottom: 64px;
    font-style: italic;
    letter-spacing: 0.01em;
  }

  /* ========== WORK ========== */
  .work {
    padding: 0 0 140px;
    position: relative;
    z-index: 1;
  }

  .case-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .case-eyebrow .pip {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
  }

  .case-name {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .case-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 24px;
  }

  .case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }

  .case-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
  }

  .case-link {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s, text-shadow 0.3s;
    position: relative;
  }

  .case-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-bright), transparent);
    transition: width 0.35s ease;
  }

  .case-link:hover {
    gap: 16px;
    color: var(--accent-bright);
    text-shadow: 0 0 10px rgba(110, 168, 254, 0.4);
  }

  .case-link:hover::after { width: 100%; }

  /* Featured case with isometric mockup */
  .case-featured {
    position: relative;
    background: rgba(16, 16, 44, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
  }

  .case-featured::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
  }

  .case-featured:hover { border-color: var(--border-glow); }
  .case-featured:hover::before { opacity: 1; }

  .case-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 1;
  }

  .case-featured .case-name { font-size: 28px; }

  .case-featured-visual {
    perspective: 1000px;
  }

  .case-iso-wrap {
    transform: rotateY(-10deg) rotateX(6deg);
    transition: transform 0.5s ease;
  }

  .case-featured:hover .case-iso-wrap {
    transform: rotateY(-5deg) rotateX(3deg);
  }

  .iso-screen {
    background: #0c1424;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow:
      0 32px 64px rgba(0, 0, 0, 0.4),
      0 0 40px rgba(110, 168, 254, 0.05);
  }

  .iso-toolbar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .iso-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
  }

  .iso-dot:nth-child(1) { background: #ff5f57; opacity: 0.6; }
  .iso-dot:nth-child(2) { background: #ffbd2e; opacity: 0.6; }
  .iso-dot:nth-child(3) { background: #28c840; opacity: 0.6; }

  .iso-body { padding: 16px; }

  /* Fake insurance dashboard UI */
  .fake-ins-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
  }

  .fake-ins-logo {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
  }

  .fake-ins-tabs {
    display: flex;
    gap: 12px;
  }

  .fake-ins-tabs span {
    width: 40px; height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
  }

  .fake-ins-tabs span:first-child {
    background: rgba(110, 168, 254, 0.3);
  }

  .fake-ins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .fake-ins-stat {
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 10px;
  }

  .fake-ins-stat-label {
    width: 36px; height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-bottom: 6px;
  }

  .fake-ins-stat-val {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
  }

  .fake-ins-table {
    width: 100%;
    border-collapse: collapse;
  }

  .fake-ins-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 4px;
  }

  .fake-ins-table-header span {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
  }

  .fake-ins-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
  }

  .fake-ins-row span {
    height: 4px;
    background: rgba(255,255,255,0.04);
    border-radius: 2px;
  }

  .fake-ins-row span:first-child {
    background: rgba(255,255,255,0.07);
  }

  .status-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    display: inline-block;
  }

  .status-green { background: #28c840; }
  .status-amber { background: #ffbd2e; }

  /* Case grid cards with isometric mockups */
  .case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .case-card {
    position: relative;
    background: rgba(16, 16, 44, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    cursor: pointer;
    transition: all 0.4s;
    overflow: hidden;
  }

  /* Bento: first card spans full width, horizontal layout */
  .case-card.bento-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .case-card.bento-wide .case-card-visual {
    margin-bottom: 0;
    order: 2;
  }

  .case-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
  }

  .case-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  }

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

  .case-card-visual {
    perspective: 800px;
    margin-bottom: 28px;
  }

  .case-card-iso {
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.4s ease;
  }

  .case-card:hover .case-card-iso {
    transform: rotateY(-4deg) rotateX(2deg);
  }

  .card-screen {
    background: #0c1424;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }

  .card-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .card-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
  }

  .card-dot:nth-child(1) { background: #ff5f57; opacity: 0.5; }
  .card-dot:nth-child(2) { background: #ffbd2e; opacity: 0.5; }
  .card-dot:nth-child(3) { background: #28c840; opacity: 0.5; }

  .card-screenshot {
    overflow: hidden;
    border-radius: 0 0 7px 7px;
    position: relative;
  }

  /* Dark vignette overlay to blend bright screenshots into dark theme */
  .card-screenshot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
      linear-gradient(180deg, transparent 40%, rgba(12, 20, 36, 0.7) 100%),
      radial-gradient(ellipse at center, transparent 50%, rgba(12, 20, 36, 0.4) 100%);
    pointer-events: none;
    transition: opacity 0.4s;
  }

  .case-card:hover .card-screenshot::after,
  .case-featured:hover .card-screenshot::after {
    opacity: 0.5;
  }

  .card-screenshot-img {
    width: 100%;
    display: block;
    opacity: 0.82;
    transition: opacity 0.4s;
  }

  .case-card:hover .card-screenshot-img,
  .case-featured:hover .card-screenshot-img {
    opacity: 1;
  }

  .card-body { padding: 14px; min-height: 140px; }

  /* Fake ecommerce UI */
  .fake-ecom-search {
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .fake-ecom-search-icon {
    width: 10px; height: 10px;
    border: 1.5px solid var(--text-muted);
    border-radius: 50%;
    opacity: 0.5;
  }

  .fake-ecom-search-text {
    width: 80px; height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
  }

  .fake-ecom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .fake-product {
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 8px;
  }

  .fake-product-img {
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, rgba(110, 168, 254, 0.06), rgba(167, 139, 250, 0.06));
    border-radius: 4px;
    margin-bottom: 6px;
  }

  .fake-product-text {
    width: 80%; height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin-bottom: 4px;
  }

  .fake-product-price {
    width: 40%; height: 3px;
    background: rgba(110, 168, 254, 0.2);
    border-radius: 2px;
  }

  .fake-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--accent-2);
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.15);
    padding: 2px 8px;
    border-radius: 100px;
    margin-top: 8px;
    letter-spacing: 0.05em;
  }

  /* Fake loyalty mobile UI */
  .fake-loyalty-header {
    text-align: center;
    margin-bottom: 10px;
  }

  .fake-loyalty-brand {
    font-size: 9px;
    font-weight: 600;
    color: #e53935;
    opacity: 0.7;
    letter-spacing: 0.05em;
  }

  .fake-loyalty-points {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 6px 0;
  }

  .fake-loyalty-label {
    font-size: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .fake-loyalty-progress {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin: 10px 0;
    overflow: hidden;
  }

  .fake-loyalty-bar {
    width: 68%;
    height: 100%;
    background: linear-gradient(90deg, #e53935, #ff7043);
    border-radius: 2px;
  }

  .fake-loyalty-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
  }

  .fake-loyalty-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 5px;
  }

  .fake-loyalty-item-text {
    width: 60px; height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
  }

  .fake-loyalty-item-pts {
    font-size: 8px;
    color: var(--accent);
    font-weight: 500;
  }

  /* Fake beer app UI (APPatinska) */
  .card-screen-beer {
    background: #1a1208;
  }

  .card-toolbar-beer {
    background: rgba(200, 120, 0, 0.08);
    border-bottom-color: rgba(255, 165, 0, 0.08);
  }

  .card-body-beer {
    text-align: center;
    padding: 14px 16px;
  }

  .fake-beer-logo {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
  }

  .fake-beer-promo {
    margin-bottom: 12px;
  }

  .fake-beer-icon {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .fake-beer-text {
    font-size: 8px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .fake-beer-points {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
  }

  .fake-beer-points-label {
    font-size: 7px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
  }

  .fake-beer-points-value {
    font-size: 18px;
    font-weight: 500;
    color: #f59e0b;
  }

  .fake-beer-qr {
    width: 40px; height: 40px;
    margin: 0 auto;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 4px;
    background:
      linear-gradient(90deg, rgba(245,158,11,0.15) 25%, transparent 25%, transparent 75%, rgba(245,158,11,0.15) 75%),
      linear-gradient(rgba(245,158,11,0.15) 25%, transparent 25%, transparent 75%, rgba(245,158,11,0.15) 75%);
    background-size: 10px 10px;
  }

  /* ========== PROCESS ========== */
  .process {
    padding: 140px 0;
    position: relative;
    z-index: 1;
  }

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

  .process-card {
    background: rgba(16, 16, 44, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s,
                box-shadow 0.4s,
                background 0.4s;
    position: relative;
    overflow: hidden;
  }

  /* Radial glow that drops in from the top on hover */
  .process-card::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%) scale(0.6);
    width: 240px; height: 240px;
    background: radial-gradient(circle,
      rgba(110, 168, 254, 0.13) 0%,
      rgba(103, 232, 249, 0.05) 45%,
      transparent 70%
    );
    border-radius: 50%;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    pointer-events: none;
  }

  .process-card:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }

  .process-card:hover {
    border-color: rgba(110, 168, 254, 0.42);
    background: rgba(18, 18, 52, 0.8);
    transform: translateY(-4px);
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(110, 168, 254, 0.12),
      inset 0 1px 0 rgba(110, 168, 254, 0.2);
  }

  .process-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: color 0.35s, text-shadow 0.35s;
  }

  .process-card:hover .process-num {
    color: var(--accent-bright);
    text-shadow: 0 0 14px var(--accent), 0 0 32px rgba(110, 168, 254, 0.45);
  }

  .process-title {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
    transition: color 0.35s;
  }

  .process-card:hover .process-title {
    color: var(--accent-bright);
  }

  .process-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 1;
    transition: color 0.35s;
  }

  .process-card:hover .process-desc {
    color: var(--text-secondary);
  }

  /* ========== TESTIMONIAL ========== */
  .testimonial {
    padding: 100px 0 140px;
    position: relative;
    z-index: 1;
  }

  .testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(16, 16, 44, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .testimonial-card::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(110, 168, 254, 0.06) 0%, transparent 70%);
    pointer-events: none;
  }

  /* Periodic shimmer that sweeps through the card */
  .testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      transparent 15%,
      rgba(110, 168, 254, 0.04) 42%,
      rgba(103, 232, 249, 0.055) 50%,
      rgba(110, 168, 254, 0.04) 58%,
      transparent 85%
    );
    transform: translateX(-100%);
    pointer-events: none;
    border-radius: inherit;
    animation: testimonialShimmer 10s ease-in-out infinite 2s;
  }

  @keyframes testimonialShimmer {
    0%    { transform: translateX(-100%); opacity: 1; }
    14%   { transform: translateX(100%);  opacity: 1; }
    14.1% { transform: translateX(100%);  opacity: 0; }
    100%  { transform: translateX(-100%); opacity: 0; }
  }

  .testimonial-mark {
    font-size: 64px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -8px;
    user-select: none;
    position: relative;
    z-index: 1;
    animation: markPulse 5s ease-in-out infinite;
  }

  @keyframes markPulse {
    0%, 100% { opacity: 0.2; }
    50%       { opacity: 0.35; }
  }

  .testimonial-quote {
    font-size: 19px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
  }

  .testimonial-author-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
  }

  .testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    object-fit: cover;
  }

  .testimonial-avatar-img {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(110, 168, 254, 0.3);
    object-fit: cover;
    box-shadow:
      0 0 16px rgba(110, 168, 254, 0.15),
      0 0 40px rgba(110, 168, 254, 0.06);
  }

  .testimonial-name {
    font-size: 14px;
    font-weight: 500;
    text-align: left;
  }

  .testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
    text-align: left;
    margin-top: 2px;
  }

  /* ========== CTA ========== */
  .cta {
    padding: 100px 0 140px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(110, 168, 254, 0.03) 40%, rgba(110, 168, 254, 0.06) 100%);
  }

  .cta .container {
    position: relative;
  }

  .cta-card {
    background: rgba(16, 16, 44, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(110, 168, 254, 0.12);
    border-radius: var(--radius-xl);
    padding: 80px 64px 60px;
    position: relative;
    overflow: hidden;
  }

  .cta-card::before {
    content: '';
    position: absolute;
    top: -250px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(110, 168, 254, 0.14) 0%, rgba(103, 232, 249, 0.05) 40%, transparent 70%);
    pointer-events: none;
  }

  .cta-card::after {
    content: '';
    position: absolute;
    top: -1px; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(110, 168, 254, 0.4), rgba(103, 232, 249, 0.25), transparent);
  }

  .cta-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }

  .cta h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 300;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }

  .cta h2 strong {
    font-weight: 500;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .cta-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 1;
  }

  .cta-btn {
    position: relative;
    z-index: 1;
    font-size: 15px;
    padding: 16px 36px;
    box-shadow: 0 0 30px rgba(110, 168, 254, 0.15);
    animation: cta-pulse 3s ease-in-out infinite;
  }

  @keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(110, 168, 254, 0.15); }
    50% { box-shadow: 0 0 50px rgba(110, 168, 254, 0.25), 0 0 80px rgba(110, 168, 254, 0.08); }
  }

  .cta-reassurance {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 36px;
    position: relative;
    z-index: 1;
  }

  .cta-reassurance-item {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .cta-check {
    color: var(--accent-3);
    font-size: 12px;
    font-weight: 600;
  }

  /* ========== FOOTER ========== */
  footer {
    padding: 80px 0 48px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-elevated) 100%);
  }

  footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(110, 168, 254, 0.25), rgba(103, 232, 249, 0.15), transparent);
  }

  footer::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 300px;
    background: radial-gradient(ellipse, rgba(110, 168, 254, 0.06) 0%, transparent 70%);
    pointer-events: none;
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
  }

  .footer-about {
    max-width: 340px;
  }

  .footer-brand {
    margin-bottom: 20px;
    display: block;
  }

  .footer-brand .logo-img {
    height: 26px;
    opacity: 0.8;
    transition: opacity 0.25s ease;
  }

  .footer-brand:hover .logo-img {
    opacity: 1;
  }

  .footer-address {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 6px;
  }

  .footer-phone {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
  }

  .footer-phone:hover {
    color: var(--accent-bright);
  }

  /* Right: contact block */
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
  }

  .footer-contact-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
  }

  .footer-email {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.4px;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s, filter 0.3s;
  }

  .footer-email:hover {
    opacity: 0.8;
    filter: brightness(1.15);
  }

  .footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 4px;
  }

  .footer-social-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
  }

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

  .footer-bottom {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
  }

  .footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-bottom a:hover {
    color: var(--accent-bright);
  }

  /* ========== CONTACT DRAWER ========== */

  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 26, 0.7);
    backdrop-filter: blur(4px);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 100vw;
    height: 100%;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border-glow);
    z-index: 901;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .drawer.active {
    transform: translateX(0);
  }

  .drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 40px 40px 28px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .drawer-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 8px;
  }

  .drawer-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin: 0;
  }

  .drawer-close {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 4px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }

  .drawer-close:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
  }

  .drawer-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .drawer-body {
    flex: 1;
    padding: 36px 40px;
    overflow-y: auto;
  }

  .drawer-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .drawer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .drawer-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .drawer-field label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
  }

  .drawer-field input,
  .drawer-field textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    resize: none;
    width: 100%;
    box-sizing: border-box;
  }

  .drawer-field input::placeholder,
  .drawer-field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
  }

  .drawer-field input:focus,
  .drawer-field textarea:focus {
    border-color: var(--accent);
    background: rgba(110, 168, 254, 0.05);
    box-shadow: 0 0 0 3px rgba(110, 168, 254, 0.1);
  }

  .drawer-field input.field-error,
  .drawer-field textarea.field-error {
    border-color: #f87171;
  }

  .drawer-submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }

  .drawer-privacy {
    font-size: 12px;
    font-weight: 300;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
  }

  .drawer-privacy a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(133, 133, 163, 0.4);
    transition: color 0.2s;
  }

  .drawer-privacy a:hover {
    color: var(--accent-bright);
  }

  /* Success state */
  .drawer-success {
    text-align: center;
    padding: 40px 0;
  }

  .drawer-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(110, 168, 254, 0.1);
    border: 1px solid rgba(110, 168, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    margin: 0 auto 24px;
  }

  .drawer-success h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 12px;
  }

  .drawer-success p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* Alt contact at bottom */
  .drawer-contact-alt {
    padding: 24px 40px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .drawer-contact-alt span {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
  }

  .drawer-contact-alt a {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 168, 254, 0.3);
    transition: color 0.2s, border-color 0.2s;
  }

  .drawer-contact-alt a:hover {
    color: var(--accent-bright);
    border-color: var(--accent-bright);
  }

  /* Mobile: bottom sheet */
  @media (max-width: 600px) {
    .drawer {
      top: auto;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 92dvh;
      border-left: none;
      border-top: 1px solid var(--border-glow);
      border-radius: 24px 24px 0 0;
      transform: translateY(100%);
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .drawer.active {
      transform: translateY(0);
    }

    .drawer-header {
      padding: 28px 24px 20px;
    }

    .drawer-body {
      padding: 24px 24px;
    }

    .drawer-contact-alt {
      padding: 20px 24px;
    }
  }

  /* ========== ANIMATIONS ========== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .reveal-d1 { transition-delay: 0.1s; }
  .reveal-d2 { transition-delay: 0.2s; }

  /* ========== REDUCED MOTION (a11y) ========== */
  @media (prefers-reduced-motion: reduce) {
    .ambient,
    .particles-canvas {
      display: none !important;
    }

    .reveal {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }

    .hero-badge,
    .hero h1,
    .hero-desc,
    .hero-actions,
    .hero-visual {
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* ========== MOBILE NAV ========== */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 900px) {
    .container { padding: 0 24px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { display: none; }
    .case-featured-grid { grid-template-columns: 1fr; }
    .case-featured-visual { display: none; }
    .case-grid { grid-template-columns: 1fr; }
    .case-card.bento-wide { grid-template-columns: 1fr; }
    .case-card.bento-wide .case-card-visual { order: 0; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .hero { padding: 140px 0 80px; min-height: auto; }
    .footer-inner { flex-direction: column; gap: 40px; align-items: flex-start; }
    .footer-about { max-width: 100%; }
    .footer-contact { align-items: flex-start; }
    .footer-email { font-size: 18px; }
    .testimonial-card { padding: 36px 28px; }
    .cta-card { padding: 48px 28px 40px; }
    .cta-reassurance { flex-direction: column; align-items: center; gap: 12px; }

    /* Mobile nav */
    .nav-toggle { display: block; }

    /* Drop backdrop-filter when menu is open so it no longer creates
       a containing block that traps position:fixed children. */
    nav.menu-open {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      background: transparent;
      border-bottom: none;
      transition: none;
    }

    .nav-links {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(6, 6, 26, 0.98);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      z-index: -1; /* behind nav-inner (logo + close btn) */
    }

    .nav-links.open {
      display: flex;
    }

    .nav-links a {
      font-size: 18px;
      color: var(--text-secondary);
    }

    .nav-links .nav-cta {
      margin-top: 16px;
      font-size: 15px;
    }
  }

  /* ========== RESPONSIVE: HOMEPAGE — TABLET / LARGE MOBILE ========== */
  @media (max-width: 900px) {

    /* Section spacing: reduce 140px → 80px */
    .stats    { padding: 0 0 80px; }
    .logos    { padding: 0 0 80px; }
    .work     { padding: 0 0 80px; }
    .process  { padding: 80px 0; }
    .testimonial { padding: 60px 0 80px; }
    .cta      { padding: 60px 0 80px; }

    /* Section titles */
    .section-title  { margin-bottom: 36px; }
    .section-intro  { margin-bottom: 40px; margin-top: -28px; }

    /* Logo row */
    .logos-row       { gap: 28px; }
    .logos-row img   { height: 24px; }

    /* Hero actions: allow wrapping */
    .hero-actions { flex-wrap: wrap; gap: 16px; }

    /* Case study pages */
    .cs-hero             { padding: 100px 0 56px; }
    .cs-screenshot-section { padding: 0 0 60px; }
    .cs-content          { padding: 0 0 80px; }
    .cs-cta-inline       { flex-direction: column; align-items: flex-start; }
    .cs-cta-inline .btn-primary { align-self: stretch; text-align: center; justify-content: center; }
    .cs-next             { flex-direction: column; align-items: flex-start; gap: 20px; }
    .cs-facts            { max-width: 100%; }
    .cs-metric           { display: block; }
    .cs-metric-value     { display: block; margin-bottom: 8px; }
  }

  /* ========== RESPONSIVE: SMALL MOBILE ========== */
  @media (max-width: 480px) {

    /* Tighter container */
    .container { padding: 0 18px; }

    /* Process: single column */
    .process-grid { grid-template-columns: 1fr; }

    /* Stats: single column */
    .stats-row { grid-template-columns: 1fr; }
    .stat-item { padding: 24px 20px; }

    /* Logo bar: clean 3×2 grid */
    .logos-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px 0;
      justify-items: center;
      align-items: center;
    }
    .logos-row::after { display: none; } /* hide scan line on mobile */
    .logos-row img { height: 22px; }

    /* Hero actions: stack vertically, hide secondary link */
    .hero-actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    .hero-actions .btn-ghost { display: none; }

    /* CTA reassurance text */
    .cta-reassurance-item { font-size: 13px; }

    /* Case study pages */
    .cs-hero  { padding: 88px 0 48px; }
    .cs-facts { flex-direction: column; }
    .cs-fact  {
      border-right: none;
      border-bottom: 1px solid var(--border);
    }
    .cs-fact:last-child { border-bottom: none; }
    .cs-screenshots-grid { grid-template-columns: 1fr; }
    .cs-website-grid     { grid-template-columns: 1fr; }
    .cs-highlight,
    .cs-capability       { padding: 24px 20px; }
    .cs-admin-screenshot { max-width: 100%; }
  }
