@layer reset, base, theme, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
  }
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  img, svg { display: block; max-width: 100%; height: auto; }
  button, input, select, textarea { font: inherit; color: inherit; }
  a { text-decoration: none; color: inherit; }
  ul, ol { list-style: none; }
}

@layer theme {
  :root {
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);

    /* Cosmic Dark Palette */
    --color-bg-deep: #050810;
    --color-bg-body: #070a12;
    --color-bg-surface: rgba(10, 15, 28, 0.6);
    --color-bg-card: rgba(12, 19, 35, 0.55);
    --color-bg-card-hover: rgba(15, 24, 45, 0.7);
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(0, 200, 255, 0.3);

    /* Text */
    --color-text-primary: #e8ecf4;
    --color-text-secondary: #8b97b0;
    --color-text-muted: #556178;

    /* Accent */
    --color-cyan: #00d4ff;
    --color-cyan-bright: #00f0ff;
    --color-blue: #0088ff;
    --color-indigo: #6366f1;
    --color-violet: #a855f7;
    --color-magenta: #f43f8b;
    --color-emerald: #22c55e;
    --color-amber: #f59e0b;
    --color-rose: #fb7185;
    --color-primary-light: rgba(0, 212, 255, 0.08);

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 12px 40px -10px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
    --glow-cyan: 0 0 30px rgba(0, 212, 255, 0.15);
    --glow-cyan-strong: 0 0 50px rgba(0, 212, 255, 0.25);
    --glow-blue: 0 0 40px rgba(0, 136, 255, 0.2);
    --glow-mixed: 0 16px 60px rgba(0, 212, 255, 0.13), 0 8px 34px rgba(168, 85, 247, 0.1);

    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.35s var(--ease-out);
    --transition-slow: 0.7s var(--ease-out);
  }
}

@layer base {
  body {
    font-family: var(--font-sans);
    color: var(--color-text-secondary);
    background:
      linear-gradient(180deg, rgba(5, 8, 16, 0.98), rgba(3, 5, 10, 1) 48%, rgba(6, 8, 16, 1)),
      var(--color-bg-deep);
    line-height: 1.65;
    position: relative;
  }

  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text-primary);
    letter-spacing: 0;
  }

  h1 { font-size: clamp(2.75rem, 1.5rem + 5vw, 4.25rem); text-wrap: balance; }
  h2 { font-size: clamp(2rem, 1rem + 3.5vw, 2.75rem); text-wrap: balance; }
  h3 { font-size: clamp(1.25rem, 0.9rem + 1.2vw, 1.5rem); }

  p { font-size: 1rem; font-weight: 400; }

  *:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 4px;
  }

  ::selection {
    background: rgba(0, 212, 255, 0.2);
    color: #ffffff;
  }
}

@layer components {

  /* ═════════════ GLOBAL ═════════════ */
  .container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1.5rem;
    position: relative;
    z-index: 10;
  }

  /* ═════════════ STARFIELD CANVAS ═════════════ */
  #starfield-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  /* ═════════════ ANIMATED BACKGROUND LAYERS ═════════════ */
  .aurora-field,
  .bg-ribbons {
    position: fixed;
    inset: 0;
    pointer-events: none;
  }

  .aurora-field {
    inset: -16%;
    z-index: 1;
    opacity: 0.76;
    filter: blur(28px) saturate(1.32);
    mix-blend-mode: screen;
    background:
      conic-gradient(from 130deg at 52% 48%, rgba(0, 212, 255, 0.2), rgba(168, 85, 247, 0.1), rgba(244, 63, 139, 0.13), rgba(34, 197, 94, 0.1), rgba(0, 136, 255, 0.18), rgba(0, 212, 255, 0.2)),
      linear-gradient(115deg, transparent 8%, rgba(0, 212, 255, 0.12) 24%, transparent 39%, rgba(244, 63, 139, 0.1) 56%, transparent 72%, rgba(34, 197, 94, 0.08) 90%);
    background-size: 145% 145%, 165% 165%;
    transform: translate3d(calc((var(--cursor-x, 50vw) - 50vw) * 0.018), calc((var(--cursor-y, 50vh) - 50vh) * 0.018), 0) rotate(0deg) scale(1);
    animation: aurora-flow 28s ease-in-out infinite alternate;
  }

  .bg-ribbons {
    z-index: 2;
    opacity: 0.26;
    background:
      linear-gradient(105deg, transparent 0 14%, rgba(0, 212, 255, 0.12) 15%, transparent 19% 39%, rgba(168, 85, 247, 0.1) 40%, transparent 44% 68%, rgba(34, 197, 94, 0.08) 70%, transparent 75%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 68px);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    transform: translate3d(0, var(--scroll-drift, 0px), 0);
    animation: ribbon-drift 22s ease-in-out infinite alternate;
  }

  @keyframes aurora-flow {
    0% { background-position: 0% 45%, 8% 50%; filter: blur(30px) saturate(1.18); opacity: 0.68; }
    50% { background-position: 80% 50%, 92% 45%; filter: blur(24px) saturate(1.48); opacity: 0.84; }
    100% { background-position: 35% 100%, 50% 100%; filter: blur(32px) saturate(1.3); opacity: 0.74; }
  }

  @keyframes ribbon-drift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 12% 0, 68px 0; }
  }

  /* ═════════════ SCROLL REVEAL ═════════════ */
  .reveal {
    --reveal-y: 34px;
    --reveal-scale: 0.985;
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale));
    transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
  }
  .reveal.visible {
    --reveal-y: 0px;
    --reveal-scale: 1;
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale));
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .aurora-field,
    .bg-ribbons,
    .hero-orbit::before,
    .hero-orbit::after,
    .orbit-ring,
    .orbit-tracer,
    .orbit-logo,
    .energy-line::before,
    .energy-line::after,
    .orbit-badge,
    .trust-dot,
    .hero-media::before,
    .hero-video-frame::before {
      animation: none !important;
    }
  }

  /* ═════════════ BUTTONS ═════════════ */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading); font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer; user-select: none;
    transition: all var(--transition-normal);
    min-block-size: 44px;
    text-transform: none;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
    color: #000000;
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
  }
  .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.35);
    filter: brightness(1.1);
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
  }
  .btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    transform: translateY(-2px);
  }

  .btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    min-block-size: 54px;
  }
  .btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
  }

  /* ═════════════ HEADER ═════════════ */
  .app-header {
    position: sticky; top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; max-width: var(--max-width);
    margin-inline: auto; padding-inline: 1.5rem;
  }
  .brand-logo {
    display: flex; align-items: center; gap: 0.7rem;
    font-family: var(--font-heading); font-weight: 700;
    font-size: 1.4rem; color: var(--color-text-primary);
  }
  .logo-img { width: 32px; height: 32px; }

  .main-nav { display: flex; align-items: center; gap: 1.75rem; }
  .main-nav a {
    font-weight: 500; color: var(--color-text-muted); font-size: 0.9rem;
    transition: color var(--transition-fast); position: relative;
  }
  .main-nav a:hover { color: var(--color-cyan); }
  .main-nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--color-cyan); transition: width var(--transition-normal);
  }
  .main-nav a:hover::after,
  .main-nav a.active::after { width: 100%; }
  .main-nav a.active { color: var(--color-text-primary); }

  .header-actions { display: flex; align-items: center; gap: 0.5rem; }
  .btn-header-dl {
    --accent-rgb: 0, 212, 255;
    padding: 0.45rem 0.8rem; font-size: 0.8rem; font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    display: inline-flex; align-items: center; gap: 0.3rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
  }
  .btn-header-dl svg { opacity: 0.7; position: relative; z-index: 1; }
  .btn-header-dl:hover {
    --lift: -2px;
    border-color: rgba(var(--accent-rgb), 0.48);
    color: rgb(var(--accent-rgb));
    background: rgba(var(--accent-rgb), 0.07);
  }
  .btn-header-dl:nth-child(1) { --accent-rgb: 74, 163, 255; }
  .btn-header-dl:nth-child(2) { --accent-rgb: 226, 232, 240; }
  .btn-header-dl:nth-child(3) { --accent-rgb: 61, 220, 132; }
  .btn-header-dl:nth-child(4) { --accent-rgb: 251, 113, 133; }

  .is-disabled {
    cursor: not-allowed;
    opacity: 0.62;
    pointer-events: none;
  }
  .btn-header-dl.is-disabled,
  .drawer-dl-btn.is-disabled,
  .hero-platform.is-disabled,
  .plat-dl-btn.is-disabled {
    border-color: var(--color-border);
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.025);
  }
  .orbit-badge.is-disabled {
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-md);
  }
  .cta-dl-btn.is-disabled {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.66);
    box-shadow: none;
    transform: none;
  }

  /* Mobile toggle */
  .mobile-actions { display: none; align-items: center; gap: 0.75rem; }
  .mobile-platform-pill {
    display: inline-grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.5rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background:
      linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(168, 85, 247, 0.13), rgba(244, 63, 139, 0.12)),
      rgba(255, 255, 255, 0.055);
    color: var(--color-text-primary);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 22px rgba(0, 212, 255, 0.12);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
  }
  .mobile-platform-pill:hover {
    border-color: rgba(0, 212, 255, 0.42);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 30px rgba(0, 212, 255, 0.18);
    transform: translateY(-2px);
  }
  .mobile-platform-pill svg:nth-child(1) { color: #4aa3ff; }
  .mobile-platform-pill svg:nth-child(2) { color: #f2f5fb; }
  .mobile-platform-pill svg:nth-child(3) { color: #4ade80; }
  .mobile-platform-pill .ios-soon-icon { color: var(--color-rose); opacity: 0.38; }
  .mobile-menu-btn {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 22px; height: 14px;
    background: transparent; border: none; cursor: pointer;
  }
  .bar {
    width: 100%; height: 2px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
  }
  .mobile-menu-btn[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-menu-btn[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .mobile-menu-btn[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Mobile Drawer */
  .mobile-drawer {
    position: fixed; top: var(--header-height); left: 0;
    width: 100%; height: calc(100dvh - var(--header-height));
    background: var(--color-bg-deep); border-top: 1px solid var(--color-border);
    z-index: 999; padding: 2rem 1.5rem;
    display: flex; flex-direction: column; gap: 2rem;
    transform: translateX(100%); transition: transform var(--transition-normal);
    overflow-y: auto;
  }
  .mobile-drawer[aria-hidden="false"] { transform: translateX(0); }
  .mobile-drawer nav { display: flex; flex-direction: column; gap: 1.25rem; }
  .mobile-drawer nav a {
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;
    color: var(--color-text-primary); padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }
  .mobile-drawer nav a:hover { color: var(--color-cyan); }
  .drawer-downloads { margin-top: auto; }
  .drawer-downloads h4 {
    font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted);
    text-transform: uppercase; letter-spacing: 0; margin-bottom: 0.75rem;
  }
  .drawer-dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .drawer-dl-btn {
    background: rgba(255,255,255,0.04); border: 1px solid var(--color-border);
    color: var(--color-text-primary); font-size: 0.85rem; border-radius: var(--radius-sm);
    padding: 0.6rem; text-align: center; font-weight: 600;
  }
  .drawer-dl-btn:hover { border-color: var(--color-cyan); color: var(--color-cyan); }

  /* ═════════════ HERO SECTION ═════════════ */
  section { position: relative; z-index: 5; }

  .hero {
    padding-top: clamp(3.5rem, 2rem + 5vw, 6.75rem);
    padding-bottom: clamp(5rem, 3rem + 8vw, 10rem);
    overflow: hidden;
  }
  .hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
    margin-bottom: clamp(4rem, 3rem + 6vw, 7rem);
  }
  .hero-copy {
    text-align: left;
    position: relative;
    z-index: 6;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    font-family: var(--font-heading); font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.06);
  }
  .hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--color-cyan);
    border-radius: var(--radius-full);
    box-shadow: 0 0 8px var(--color-cyan);
    animation: badge-pulse 2s infinite;
  }
  @keyframes badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

  .hero-title {
    font-weight: 700;
    background: linear-gradient(120deg, #ffffff 0%, #dce8ff 30%, var(--color-cyan) 58%, var(--color-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 180% 100%;
    margin-bottom: 1.75rem;
    max-width: 640px;
    line-height: 1.1;
    animation: title-color-flow 8s ease-in-out infinite alternate;
  }

  @keyframes title-color-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
  }

  .hero-sub {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
    max-width: 580px;
    margin-bottom: 2rem;
    text-wrap: pretty;
    color: var(--color-text-secondary);
    line-height: 1.7;
  }

  .hero-platforms {
    display: grid;
    grid-template-columns: repeat(4, minmax(84px, 1fr));
    gap: 0.75rem;
    max-width: 520px;
  }
  .hero-platform {
    --accent-rgb: 0, 212, 255;
    --accent: var(--color-cyan);
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
  }
  .hero-platform::before {
    content: '';
    position: absolute;
    inset: -1px;
    background:
      radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.22), transparent 42%),
      linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), transparent 45%, rgba(168, 85, 247, 0.14));
    opacity: 0;
    transition: opacity var(--transition-normal);
  }
  .hero-platform svg,
  .hero-platform span {
    position: relative;
    z-index: 1;
  }
  .hero-platform svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.18));
  }
  .hero-platform:hover {
    --lift: -5px;
    border-color: rgba(var(--accent-rgb), 0.45);
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: 0 14px 34px rgba(var(--accent-rgb), 0.18), var(--shadow-md);
  }
  .hero-platform:hover::before { opacity: 1; }
  .platform-windows { --accent-rgb: 98, 185, 255; --accent: #62b9ff; color: #62b9ff; }
  .platform-mac { --accent-rgb: 244, 247, 251; --accent: #f2f5fb; color: #f2f5fb; }
  .platform-android { --accent-rgb: 74, 222, 128; --accent: #4ade80; color: #4ade80; }
  .platform-ios { --accent-rgb: 251, 113, 133; --accent: var(--color-rose); color: #9aa6bd; }

  .hero-media {
    position: relative;
    min-width: 0;
  }
  .hero-media::before {
    content: '';
    position: absolute;
    inset: 8% -7% -10% 12%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(0, 136, 255, 0.08) 38%, transparent 68%);
    filter: blur(28px);
    z-index: -1;
    animation: media-glow 5s ease-in-out infinite;
  }
  .hero-video-frame {
    --accent-rgb: 0, 212, 255;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 0.55rem;
    background: linear-gradient(135deg, rgba(14, 22, 40, 0.92), rgba(3, 7, 16, 0.96));
    box-shadow: var(--shadow-lg), 0 0 70px rgba(0, 136, 255, 0.16), 0 0 46px rgba(244, 63, 139, 0.06);
  }
  .hero-video-frame::before {
    content: '';
    position: absolute;
    inset: -55%;
    background: conic-gradient(from 180deg, transparent, rgba(0, 212, 255, 0.18), transparent 28%, rgba(99, 102, 241, 0.14), transparent 54%);
    animation: frame-sheen 12s linear infinite;
  }
  .hero-video-frame::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-xl) - 1px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%);
    pointer-events: none;
  }
  .hero-video {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: #02050d;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
  @keyframes media-glow {
    0%, 100% { opacity: 0.55; transform: translate3d(0, 0, 0) scale(0.96); }
    50% { opacity: 1; transform: translate3d(-12px, 10px, 0) scale(1.06); }
  }
  @keyframes frame-sheen {
    to { transform: rotate(360deg); }
  }

  /* ═══ Hero Orbit: Central Logo + Download Badges ═══ */
  .hero-orbit {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-orbit::before,
  .hero-orbit::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-full);
    pointer-events: none;
  }
  .hero-orbit::before {
    width: 560px; height: 560px;
    background: conic-gradient(from 90deg, transparent 0 12%, rgba(0, 212, 255, 0.4) 17%, transparent 23% 45%, rgba(99, 102, 241, 0.28) 51%, transparent 57% 76%, rgba(0, 240, 255, 0.28) 82%, transparent 88%);
    -webkit-mask: radial-gradient(circle, transparent 0 40%, #000 41% 43%, transparent 44% 100%);
    mask: radial-gradient(circle, transparent 0 40%, #000 41% 43%, transparent 44% 100%);
    opacity: 0.72;
    animation: orbit-sweep 9s linear infinite;
    z-index: 1;
  }
  .hero-orbit::after {
    width: 170px; height: 170px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, rgba(0, 136, 255, 0.08) 45%, transparent 72%);
    animation: core-breathe 3.8s ease-in-out infinite;
    z-index: 3;
  }
  @keyframes orbit-sweep {
    to { transform: rotate(360deg); }
  }
  @keyframes core-breathe {
    0%, 100% { opacity: 0.55; transform: scale(0.94); }
    50% { opacity: 0.95; transform: scale(1.08); }
  }

  /* Glow ring behind the logo */
  .orbit-ring {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.06), inset 0 0 80px rgba(0, 212, 255, 0.03);
    animation: ring-pulse 4s infinite ease-in-out;
    overflow: hidden;
  }
  .orbit-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent, transparent 64%, rgba(0, 212, 255, 0.7), transparent 78%);
    -webkit-mask: radial-gradient(circle, transparent 0 48%, #000 49% 51%, transparent 52% 100%);
    mask: radial-gradient(circle, transparent 0 48%, #000 49% 51%, transparent 52% 100%);
    animation: ring-run 5.2s linear infinite;
  }
  .orbit-ring.r2 { width: 320px; height: 320px; animation-delay: 1s; }
  .orbit-ring.r3 { width: 460px; height: 460px; animation-delay: 2s; border-color: rgba(0,212,255,0.04); }
  @keyframes ring-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
  }
  @keyframes ring-run {
    to { transform: rotate(360deg); }
  }
  .orbit-tracer {
    position: absolute;
    width: 460px; height: 460px;
    border-radius: var(--radius-full);
    animation: orbit-spin 16s linear infinite;
    z-index: 3;
    pointer-events: none;
  }
  .orbit-tracer span {
    position: absolute;
    top: -3px; left: 50%;
    width: 7px; height: 7px;
    border-radius: var(--radius-full);
    background: var(--color-cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.95), 0 0 34px rgba(0, 136, 255, 0.45);
  }
  .orbit-tracer.trace-b {
    width: 320px; height: 320px;
    animation-duration: 11s;
    animation-direction: reverse;
  }
  .orbit-tracer.trace-b span {
    width: 5px; height: 5px;
    background: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.8), 0 0 26px rgba(0, 212, 255, 0.35);
  }
  .orbit-tracer.trace-c {
    width: 220px; height: 220px;
    animation-duration: 8s;
    animation-delay: -3s;
  }
  .orbit-tracer.trace-c span {
    width: 4px; height: 4px;
    background: var(--color-blue);
  }
  @keyframes orbit-spin {
    to { transform: rotate(360deg); }
  }

  /* Center Logo */
  .orbit-logo {
    position: relative; z-index: 5;
    width: 120px; height: 120px;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.25)) drop-shadow(0 0 60px rgba(0, 136, 255, 0.15));
    animation: logo-float 5.2s infinite ease-in-out;
  }
  @keyframes logo-float {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 26px rgba(0, 212, 255, 0.25)) drop-shadow(0 0 54px rgba(0, 136, 255, 0.14)); }
    50% { transform: translateY(-8px) scale(1.045); filter: drop-shadow(0 0 38px rgba(0, 212, 255, 0.42)) drop-shadow(0 0 74px rgba(0, 136, 255, 0.24)); }
  }

  /* Brand text */
  .orbit-brand {
    position: absolute;
    bottom: 105px;
    left: 50%; transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0;
    z-index: 5;
    background: linear-gradient(180deg, #ffffff 0%, #8b97b0 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    background-size: 100% 180%;
    animation: brand-shimmer 4.8s ease-in-out infinite;
  }
  @keyframes brand-shimmer {
    0%, 100% { filter: brightness(0.92); }
    50% { filter: brightness(1.24); }
  }

  /* Energy lines between logo and badges */
  .energy-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-cyan) 40%, var(--color-cyan) 60%, transparent 100%);
    opacity: 0.3;
    z-index: 2;
    transform-origin: center;
  }
  .energy-line::before {
    content: '';
    position: absolute;
    inset: -1px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    opacity: 0;
    animation: line-flash 3.8s infinite ease-in-out;
  }
  .energy-line::after {
    content: '';
    position: absolute;
    width: 42px; height: 3px;
    background: var(--color-cyan);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--color-cyan), 0 0 26px rgba(0, 212, 255, 0.55);
    top: -1px;
    animation: energy-dot 3s infinite ease-in-out;
  }
  @keyframes line-flash {
    0%, 100% { opacity: 0; transform: translateX(-18%); }
    42% { opacity: 0.55; }
    70% { opacity: 0; transform: translateX(18%); }
  }
  @keyframes energy-dot {
    0% { left: 6%; opacity: 0; transform: scaleX(0.3); }
    18% { opacity: 1; transform: scaleX(1); }
    74% { opacity: 1; transform: scaleX(1); }
    100% { left: 82%; opacity: 0; transform: scaleX(0.3); }
  }

  /* Position the 4 energy lines */
  .energy-line.el-tl { width: 180px; top: 70px; left: 60px; transform: rotate(-25deg); }
  .energy-line.el-tr { width: 180px; top: 70px; right: 60px; transform: rotate(25deg); }
  .energy-line.el-tr::after { animation-direction: reverse; }
  .energy-line.el-bl { width: 180px; bottom: 120px; left: 70px; transform: rotate(25deg); }
  .energy-line.el-bl::after { animation-delay: 0.5s; }
  .energy-line.el-br { width: 180px; bottom: 120px; right: 70px; transform: rotate(-25deg); }
  .energy-line.el-br::after { animation-direction: reverse; animation-delay: 0.8s; }

  /* Download badges on the orbit */
  .orbit-badge {
    position: absolute;
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.75rem 1.3rem;
    background: rgba(15, 20, 40, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-heading); font-weight: 600;
    font-size: 0.9rem;
    z-index: 4;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    animation: badge-float 5.6s ease-in-out infinite;
  }
  .orbit-badge:hover {
    border-color: var(--color-cyan);
    box-shadow: var(--glow-cyan), var(--shadow-md);
    transform: translateY(-3px) scale(1.02);
    animation-play-state: paused;
  }
  .orbit-badge svg, .orbit-badge img { width: 22px; height: 22px; flex-shrink: 0; }
  .badge-text { display: flex; flex-direction: column; }
  .badge-text small { font-size: 0.6rem; opacity: 0.6; font-weight: 500; text-transform: uppercase; letter-spacing: 0; }
  .badge-text span { font-size: 0.9rem; font-weight: 600; }

  .orbit-badge.ob-tl { top: 30px; left: 0; }
  .orbit-badge.ob-tr { top: 30px; right: 0; animation-delay: -1.4s; }
  .orbit-badge.ob-bl { bottom: 85px; left: 10px; animation-delay: -2.4s; }
  .orbit-badge.ob-br { bottom: 85px; right: 10px; animation-delay: -3.2s; }
  @keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .hero-trust {
    display: flex; justify-content: center; gap: 2rem;
    flex-wrap: wrap; margin-top: 2rem;
    font-size: 0.85rem; font-weight: 500; color: var(--color-text-muted);
  }
  .trust-item {
    display: flex; align-items: center; gap: 0.45rem;
  }
  .trust-dot {
    width: 5px; height: 5px; border-radius: var(--radius-full);
    background: var(--color-cyan); box-shadow: 0 0 8px var(--color-cyan);
    animation: trust-pulse 2.4s ease-in-out infinite;
  }
  @keyframes trust-pulse {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.45); }
  }

  /* ═════════════ SECTION COMMON ═════════════ */
  .sec {
    --section-accent-rgb: 0, 212, 255;
    --section-accent-2-rgb: 168, 85, 247;
    padding-block: clamp(5rem, 2.5rem + 7vw, 8rem);
    overflow: hidden;
    isolation: isolate;
  }
  .sec::before {
    content: '';
    position: absolute;
    inset: 8% -12%;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(110deg, transparent 0 14%, rgba(var(--section-accent-rgb), 0.06) 22%, transparent 34% 54%, rgba(var(--section-accent-2-rgb), 0.05) 66%, transparent 82%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%, rgba(var(--section-accent-rgb), 0.025));
    opacity: 0.8;
    transform: translate3d(-4%, 0, 0);
    animation: section-color-drift 18s ease-in-out infinite alternate;
  }
  #why { --section-accent-rgb: 0, 212, 255; --section-accent-2-rgb: 168, 85, 247; }
  #platforms { --section-accent-rgb: 34, 197, 94; --section-accent-2-rgb: 0, 136, 255; }
  #features { --section-accent-rgb: 244, 63, 139; --section-accent-2-rgb: 0, 212, 255; }
  #how-it-works { --section-accent-rgb: 245, 158, 11; --section-accent-2-rgb: 168, 85, 247; }
  #use-cases { --section-accent-rgb: 168, 85, 247; --section-accent-2-rgb: 34, 197, 94; }
  #download { --section-accent-rgb: 0, 212, 255; --section-accent-2-rgb: 244, 63, 139; }

  @keyframes section-color-drift {
    0% { transform: translate3d(-5%, -1%, 0) skewY(-1deg); opacity: 0.52; }
    100% { transform: translate3d(5%, 1%, 0) skewY(1deg); opacity: 0.86; }
  }

  .sec-header {
    text-align: center; max-width: 680px;
    margin-inline: auto; margin-bottom: clamp(3rem, 1.5rem + 5vw, 5rem);
  }
  .sec-title {
    margin-bottom: 1.15rem;
    font-weight: 700;
    background: linear-gradient(120deg, #ffffff, rgba(var(--section-accent-rgb), 1) 72%, rgba(var(--section-accent-2-rgb), 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .sec-sub { color: var(--color-text-secondary); font-size: clamp(1rem, 0.94rem + 0.3vw, 1.12rem); }

  .sec-alt {
    background: rgba(8, 12, 24, 0.5);
    border-block: 1px solid var(--color-border);
  }

  .is-tiltable {
    --mx: 50%;
    --my: 50%;
    --rx: 0deg;
    --ry: 0deg;
    --lift: 0px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.2s var(--ease-out), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
    transform: perspective(980px) translate3d(0, calc(var(--reveal-y, 0px) + var(--lift)), 0) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--reveal-scale, 1));
  }

  :is(.hero-platform, .why-card, .platform-card, .feat-card, .step, .uc-container, .cta-card, .cta-dl-btn, .plat-dl-btn, .btn-header-dl)::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb, 0, 212, 255), 0.24), transparent 46%);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
  }

  :is(.hero-platform, .why-card, .platform-card, .feat-card, .step, .uc-container, .cta-card, .cta-dl-btn, .plat-dl-btn, .btn-header-dl):hover::after {
    opacity: 1;
  }

  :is(.hero-platform, .why-card, .platform-card, .feat-card, .step, .uc-container, .cta-card, .cta-dl-btn, .plat-dl-btn, .btn-header-dl) > * {
    position: relative;
    z-index: 1;
  }

  /* ═════════════ WHY WINDROP ═════════════ */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  .why-card {
    --accent-rgb: 0, 212, 255;
    --accent: var(--color-cyan);
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.25rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
  }
  .why-card::before {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(135deg, rgba(var(--accent-rgb), 0.09) 0%, transparent 52%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%);
    opacity: 0; transition: opacity var(--transition-normal);
  }
  .why-card:hover::before { opacity: 1; }
  .why-card:hover {
    --lift: -7px;
    border-color: rgba(var(--accent-rgb), 0.38);
    box-shadow: 0 18px 52px rgba(var(--accent-rgb), 0.13), var(--shadow-md);
  }

  .why-card:nth-child(1) { --accent-rgb: 0, 212, 255; --accent: var(--color-cyan); }
  .why-card:nth-child(2) { --accent-rgb: 34, 197, 94; --accent: var(--color-emerald); }
  .why-card:nth-child(3) { --accent-rgb: 245, 158, 11; --accent: var(--color-amber); }
  .why-card:nth-child(4) { --accent-rgb: 168, 85, 247; --accent: var(--color-violet); }

  .why-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: rgba(var(--accent-rgb), 0.09);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 1.75rem;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
  }
  .why-card:hover .why-icon {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 1), rgba(255, 255, 255, 0.84));
    color: #000;
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.24);
  }

  .why-card h3,
  .why-card p {
    position: relative;
    z-index: 1;
  }
  .why-card h3 { margin-bottom: 0.8rem; font-weight: 600; }
  .why-card p { font-size: 0.95rem; line-height: 1.6; }

  /* ═════════════ PLATFORMS ═════════════ */
  .platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }
  .platform-card {
    --accent-rgb: 0, 212, 255;
    --accent: var(--color-cyan);
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 3.25rem 2rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    transition: all var(--transition-normal);
    position: relative; overflow: hidden;
  }
  .platform-card::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.16), transparent 52%),
      linear-gradient(180deg, rgba(255,255,255,0.035) 0%, transparent 100%);
    opacity: 0; transition: opacity var(--transition-normal);
  }
  .platform-card:hover::before { opacity: 1; }
  .platform-card:hover {
    --lift: -8px;
    border-color: rgba(var(--accent-rgb), 0.42);
    box-shadow: 0 20px 54px rgba(var(--accent-rgb), 0.14), var(--shadow-md);
  }

  .platform-card:nth-child(1) { --accent-rgb: 0, 120, 212; --accent: #4aa3ff; }
  .platform-card:nth-child(2) { --accent-rgb: 226, 232, 240; --accent: #e2e8f0; }
  .platform-card:nth-child(3) { --accent-rgb: 61, 220, 132; --accent: #3ddc84; }
  .platform-card:nth-child(4) { --accent-rgb: 251, 113, 133; --accent: var(--color-rose); }

  .plat-icon {
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);
    position: relative;
    z-index: 1;
  }
  .platform-card:hover .plat-icon { transform: scale(1.1) translateY(-3px); }

  .col-windows { color: #4aa3ff; }
  .col-mac { color: var(--color-text-primary); }
  .col-android { color: #3ddc84; }
  .col-ios { color: var(--color-rose); }

  .platform-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; position: relative; z-index: 1; font-weight: 600; }
  .platform-card .plat-ver {
    font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 2.25rem;
    position: relative; z-index: 1;
  }
  .plat-dl-btn {
    --accent-rgb: inherit;
    width: 100%; margin-top: auto;
    background: rgba(255,255,255,0.04); border: 1px solid var(--color-border);
    color: var(--color-text-primary); font-weight: 600; font-size: 0.85rem;
    padding: 0.6rem 1rem; border-radius: var(--radius-sm); text-align: center;
    transition: all var(--transition-fast);
    position: relative; overflow: hidden; z-index: 1;
  }
  .plat-dl-btn:hover {
    --lift: -2px;
    border-color: rgba(var(--accent-rgb), 0.55); color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
  }

  /* ═════════════ FEATURES ═════════════ */
  .feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
  }
  .feat-card {
    --accent-rgb: 0, 212, 255;
    --accent: var(--color-cyan);
    display: flex; gap: 1.5rem;
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2.25rem;
    transition: all var(--transition-normal);
    position: relative; overflow: hidden;
  }
  .feat-card::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.12), transparent 42%),
      linear-gradient(135deg, rgba(var(--accent-rgb), 0.055) 0%, transparent 58%);
    opacity: 0; transition: opacity var(--transition-normal);
  }
  .feat-card:hover::before { opacity: 1; }
  .feat-card:hover {
    --lift: -6px;
    border-color: rgba(var(--accent-rgb), 0.36);
    box-shadow: 0 16px 46px rgba(var(--accent-rgb), 0.12), var(--shadow-md);
  }

  .feat-card:nth-child(1) { --accent-rgb: 0, 212, 255; --accent: var(--color-cyan); }
  .feat-card:nth-child(2) { --accent-rgb: 34, 197, 94; --accent: var(--color-emerald); }
  .feat-card:nth-child(3) { --accent-rgb: 245, 158, 11; --accent: var(--color-amber); }
  .feat-card:nth-child(4) { --accent-rgb: 168, 85, 247; --accent: var(--color-violet); }
  .feat-card:nth-child(5) { --accent-rgb: 244, 63, 139; --accent: var(--color-magenta); }
  .feat-card:nth-child(6) { --accent-rgb: 0, 136, 255; --accent: var(--color-blue); }

  .feat-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(var(--accent-rgb), 0.09);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
  }
  .feat-card:hover .feat-icon {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 1), rgba(255, 255, 255, 0.84));
    color: #000; box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
  }
  .feat-card > div:last-child { position: relative; z-index: 1; }
  .feat-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 600; }
  .feat-card p { font-size: 0.95rem; line-height: 1.55; }

  /* ═════════════ HOW IT WORKS ═════════════ */
  .steps-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 3rem; max-width: 960px; margin-inline: auto;
    position: relative;
  }
  .steps-row::before {
    content: ''; position: absolute; top: 32px; left: 17%; right: 17%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), rgba(245, 158, 11, 0.85), rgba(168, 85, 247, 0.65), rgba(0, 212, 255, 0.15), transparent);
    background-size: 220% 100%;
    opacity: 0.2; z-index: 1;
    animation: step-line-flow 5.8s ease-in-out infinite;
  }
  @keyframes step-line-flow {
    0%, 100% { background-position: 0% 50%; opacity: 0.22; }
    50% { background-position: 100% 50%; opacity: 0.55; }
  }
  .step {
    --accent-rgb: 0, 212, 255;
    --accent: var(--color-cyan);
    display: flex; flex-direction: column; align-items: center;
    text-align: center; position: relative; z-index: 2;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: rgba(12, 19, 35, 0.42);
    padding: 2rem 1.4rem 2.15rem;
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
  }
  .step:hover {
    --lift: -6px;
    border-color: rgba(var(--accent-rgb), 0.38);
    background: rgba(var(--accent-rgb), 0.055);
    box-shadow: 0 16px 44px rgba(var(--accent-rgb), 0.13), var(--shadow-md);
  }
  .step:nth-child(1) { --accent-rgb: 0, 212, 255; --accent: var(--color-cyan); }
  .step:nth-child(2) { --accent-rgb: 245, 158, 11; --accent: var(--color-amber); }
  .step:nth-child(3) { --accent-rgb: 168, 85, 247; --accent: var(--color-violet); }
  .step-num {
    width: 64px; height: 64px; border-radius: var(--radius-full);
    background: var(--color-bg-card);
    border: 2px solid rgba(var(--accent-rgb), 0.18);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.75rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
  }
  .step:hover .step-num {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 1), rgba(255, 255, 255, 0.86));
    color: #000; border-color: rgba(var(--accent-rgb), 0.75);
    box-shadow: 0 0 44px rgba(var(--accent-rgb), 0.24);
    transform: scale(1.08);
  }
  .step h3 { font-size: 1.2rem; margin-bottom: 0.7rem; font-weight: 600; }
  .step p { font-size: 0.92rem; max-width: 260px; }

  /* ═════════════ USE CASES ═════════════ */
  .uc-container {
    --accent-rgb: 168, 85, 247;
    --accent: var(--color-violet);
    max-width: 960px;
    margin-inline: auto;
    position: relative;
    border-radius: var(--radius-xl);
  }
  .uc-tabs {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem;
    background: rgba(12, 19, 35, 0.68);
    border: 1px solid var(--color-border);
    padding: 0.4rem; border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  .uc-tab {
    border: none; background: transparent;
    padding: 0.7rem 1.2rem;
    font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem;
    color: var(--color-text-muted); border-radius: var(--radius-sm);
    cursor: pointer; transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
  }
  .uc-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), 0.22), transparent 58%);
    opacity: 0;
    transition: opacity var(--transition-fast);
  }
  .uc-tab:hover { color: var(--color-text-primary); }
  .uc-tab:hover::before { opacity: 1; }
  .uc-tab.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.96), rgba(168, 85, 247, 0.96), rgba(244, 63, 139, 0.9));
    color: #02050d; box-shadow: var(--shadow-sm), 0 0 24px rgba(168, 85, 247, 0.22);
  }
  .uc-tab span { position: relative; z-index: 1; }

  .uc-panes {
    background:
      linear-gradient(145deg, rgba(12, 19, 35, 0.74), rgba(6, 10, 20, 0.88)),
      var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg), 0 0 56px rgba(168, 85, 247, 0.09);
    position: relative;
  }
  .uc-panes::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(120deg, rgba(0, 212, 255, 0.14), transparent 32%, rgba(244, 63, 139, 0.12) 68%, transparent);
    opacity: 0.8;
    pointer-events: none;
  }
  .uc-pane { padding: 3.5rem; }
  .uc-pane[hidden] { display: none; }
  .uc-pane:not([hidden]) {
    animation: pane-enter 0.46s var(--ease-out);
  }
  @keyframes pane-enter {
    from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.985); filter: blur(7px); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
  }
  .uc-pane-content {
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    align-items: center; gap: 3rem;
    position: relative;
    z-index: 1;
  }
  .uc-pane-content h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 600; }
  .uc-pane-content p { margin-bottom: 1.5rem; }
  .uc-points { display: flex; flex-direction: column; gap: 0.55rem; }
  .uc-points li {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.92rem; font-weight: 600; color: var(--color-text-primary);
  }
  .uc-points li::before {
    content: '✓'; color: rgba(var(--accent-rgb), 1); font-weight: 700;
  }

  .uc-visual {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent),
      var(--color-bg-deep);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem; overflow: hidden;
    box-shadow: inset 0 2px 15px rgba(0,0,0,0.3), 0 18px 38px rgba(0, 0, 0, 0.24);
    position: relative;
  }
  .uc-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(var(--accent-rgb), 0.1), transparent);
    transform: translateX(-100%);
    animation: visual-sheen 4.8s ease-in-out infinite;
  }
  @keyframes visual-sheen {
    0%, 45% { transform: translateX(-120%); opacity: 0; }
    55% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }

  .mini-group { display: flex; align-items: center; gap: 1rem; }
  .mini-phone {
    width: 55px; height: 100px;
    border: 3px solid rgba(255,255,255,0.15); border-radius: 8px;
    background: rgba(255,255,255,0.03); padding: 3px;
  }
  .mini-laptop {
    width: 110px; height: 68px;
    border: 4px solid rgba(255,255,255,0.15); border-radius: 5px 5px 0 0;
    background: rgba(255,255,255,0.03); padding: 3px; position: relative;
  }
  .mini-laptop::after {
    content: ''; position: absolute; bottom: -8px; left: -8px;
    width: 126px; height: 3px;
    background: rgba(255,255,255,0.15); border-radius: 0 0 2px 2px;
  }
  .arrow-fly { font-size: 1.3rem; color: var(--color-cyan); animation: bounce-right 1.5s infinite; }
  @keyframes bounce-right { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

  .screen-fill {
    width: 100%; height: 100%; border-radius: 3px;
  }
  .fill-photo { background: linear-gradient(135deg, var(--color-cyan), var(--color-indigo), var(--color-magenta)); background-size: 180% 180%; animation: fill-flow 3.8s ease-in-out infinite alternate; }
  .fill-doc { background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.14), rgba(255,255,255,0.14) 3px, transparent 3px, transparent 7px); }
  @keyframes fill-flow {
    to { background-position: 100% 100%; }
  }

  .media-stack { display: flex; gap: 0.8rem; }
  .media-card {
    width: 58px; height: 58px;
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
    animation: media-float 4.2s ease-in-out infinite;
  }
  .media-card:nth-child(1) { transform: rotate(-6deg); animation-delay: -0.4s; }
  .media-card:nth-child(2) { transform: rotate(5deg) translateY(-6px); animation-delay: -1.2s; }
  .media-card:nth-child(3) { transform: rotate(-2deg); animation-delay: -2s; }
  .uc-pane:hover .media-card { transform: scale(1.08) rotate(0deg); }
  @keyframes media-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
  }

  .doc-stack { display: flex; flex-direction: column; gap: 0.4rem; }
  .doc-chip {
    font-family: var(--font-heading); font-weight: 600;
    font-size: 0.72rem; padding: 0.4rem 0.85rem;
    border-radius: 5px; color: #fff; text-align: center;
    animation: doc-slide 3.6s ease-in-out infinite;
  }
  .doc-chip:nth-child(2) { animation-delay: -0.8s; }
  .doc-chip:nth-child(3) { animation-delay: -1.6s; }
  @keyframes doc-slide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
  }
  .c-red { background: #ef4444; }
  .c-orange { background: #f97316; }
  .c-green { background: #22c55e; }

  .zip-vis { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
  .zip-block {
    width: 78px; height: 78px;
    background: var(--color-text-primary); color: var(--color-bg-deep);
    font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; box-shadow: var(--shadow-md); position: relative;
    animation: zip-pulse 2.8s ease-in-out infinite;
  }
  .zip-block::after { content: ''; position: absolute; bottom: -5px; right: -5px; font-size: 1.4rem; }
  @keyframes zip-pulse {
    0%, 100% { transform: scale(1); box-shadow: var(--shadow-md); }
    50% { transform: scale(1.06); box-shadow: var(--shadow-md), 0 0 24px rgba(245, 158, 11, 0.22); }
  }
  .speed-tag { font-weight: 700; font-size: 0.9rem; color: var(--color-cyan); letter-spacing: 0; }

  /* ═════════════ FINAL CTA ═════════════ */
  .cta-sec { padding-bottom: clamp(5rem, 2.5rem + 7vw, 8rem); }
  .cta-card {
    --accent-rgb: 0, 212, 255;
    background:
      linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(5, 8, 15, 0.96) 100%),
      linear-gradient(120deg, rgba(0, 212, 255, 0.08), rgba(244, 63, 139, 0.08), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xl);
    padding: clamp(3.5rem, 2rem + 6vw, 5.5rem) clamp(2rem, 1.5rem + 5vw, 4.5rem);
    text-align: center; position: relative; overflow: hidden;
    max-width: 1000px; margin-inline: auto;
    box-shadow: var(--shadow-lg), 0 0 70px rgba(0, 212, 255, 0.08), 0 0 54px rgba(244, 63, 139, 0.06);
  }
  .cta-card::before {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(110deg, transparent 0%, rgba(0, 212, 255, 0.08) 22%, transparent 38%, rgba(244, 63, 139, 0.075) 64%, transparent 82%),
      radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: cta-sweep 9s ease-in-out infinite alternate;
  }
  .cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg, rgba(0, 212, 255, 0.72), rgba(168, 85, 247, 0.28), rgba(244, 63, 139, 0.58), rgba(34, 197, 94, 0.36), rgba(0, 212, 255, 0.72));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.68;
    pointer-events: none;
    animation: cta-border-spin 12s linear infinite;
  }
  @keyframes cta-sweep {
    0% { background-position: 0% 50%, 50% 0%; opacity: 0.75; }
    100% { background-position: 100% 50%, 50% 0%; opacity: 1; }
  }
  @keyframes cta-border-spin {
    to { transform: rotate(360deg); }
  }
  .cta-card h2 { color: #fff; margin-bottom: 1rem; position: relative; z-index: 1; }
  .cta-card p {
    color: rgba(255,255,255,0.65); max-width: 600px;
    margin-inline: auto; margin-bottom: 3rem; position: relative; z-index: 1;
    font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem);
    text-wrap: pretty;
  }

  .cta-dl-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem; max-width: 880px; margin-inline: auto;
    position: relative; z-index: 1;
  }
  .cta-dl-btn {
    --accent-rgb: 0, 212, 255;
    --accent: var(--color-cyan);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.2rem;
    display: flex; align-items: center; gap: 0.7rem;
    color: #fff; text-align: left;
    transition: all var(--transition-normal);
    min-block-size: 52px;
    position: relative;
    overflow: hidden;
  }
  .cta-dl-btn:nth-child(1) { --accent-rgb: 0, 120, 212; --accent: #4aa3ff; }
  .cta-dl-btn:nth-child(2) { --accent-rgb: 226, 232, 240; --accent: #e2e8f0; }
  .cta-dl-btn:nth-child(3) { --accent-rgb: 61, 220, 132; --accent: #3ddc84; }
  .cta-dl-btn:nth-child(4) { --accent-rgb: 251, 113, 133; --accent: var(--color-rose); }
  .cta-dl-btn svg { flex-shrink: 0; color: var(--accent); filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.18)); }
  .cta-dl-text { display: flex; flex-direction: column; }
  .cta-dl-text small {
    font-size: 0.65rem; font-weight: 500; opacity: 0.55;
    text-transform: uppercase; letter-spacing: 0; line-height: 1.1;
  }
  .cta-dl-text strong {
    font-family: var(--font-heading); font-weight: 600;
    font-size: 0.95rem; line-height: 1.2; margin-top: 0.1rem;
  }
  .cta-dl-btn:hover {
    --lift: -5px;
    background: rgba(var(--accent-rgb), 0.13);
    color: #fff;
    border-color: rgba(var(--accent-rgb), 0.52);
    box-shadow: 0 16px 34px rgba(var(--accent-rgb), 0.16), 0 14px 30px rgba(0,0,0,0.34);
  }

  /* ═════════════ FOOTER ═════════════ */
  .app-footer {
    background: #03050a;
    color: rgba(255,255,255,0.4);
    padding-top: 5rem; padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative; z-index: 5;
  }
  .footer-grid {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 4rem; margin-bottom: 4rem;
  }
  .footer-logo {
    color: #fff; margin-bottom: 0.75rem;
  }
  .footer-logo img { filter: drop-shadow(0 0 10px rgba(0,212,255,0.2)); }
  .footer-tagline {
    font-family: var(--font-heading); font-weight: 600;
    color: var(--color-cyan); font-size: 0.85rem;
    letter-spacing: 0; text-transform: uppercase;
    margin-bottom: 1.25rem;
  }
  .footer-desc { font-size: 0.85rem; line-height: 1.65; }

  .footer-cols {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  }
  .footer-col h4 {
    color: #fff; font-size: 0.9rem; font-weight: 600;
    margin-bottom: 1.25rem;
  }
  .footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
  .footer-col a { font-size: 0.85rem; transition: color var(--transition-fast); }
  .footer-col a:hover { color: #fff; }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex; flex-direction: column; gap: 0.8rem;
    align-items: center; text-align: center;
    font-size: 0.78rem; color: rgba(255,255,255,0.3);
  }
  .footer-disclaimer { max-width: 860px; line-height: 1.4; }
}

/* ═════════════ FUTURESWAP-STYLE VISUAL PASS ═════════════ */
@layer theme {
  :root {
    --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-heading: 'Sora', var(--font-sans);

    --color-bg-deep: #040517;
    --color-bg-body: #07071d;
    --color-bg-surface: rgba(10, 12, 35, 0.78);
    --color-bg-card: rgba(13, 16, 42, 0.82);
    --color-bg-card-hover: rgba(18, 22, 56, 0.92);
    --color-border: rgba(105, 128, 190, 0.17);
    --color-border-hover: rgba(0, 245, 210, 0.42);

    --color-text-primary: #f7f8ff;
    --color-text-secondary: #a6aec8;
    --color-text-muted: #626b8d;

    --color-cyan: #00f5d4;
    --color-cyan-bright: #39ffe3;
    --color-blue: #1d8fff;
    --color-indigo: #5c4dff;
    --color-violet: #9d37ff;
    --color-magenta: #ff2fc9;
    --color-emerald: #00f5d4;
    --color-amber: #ff7a1a;
    --color-rose: #ff3aa8;
    --color-primary-light: rgba(0, 245, 212, 0.09);

    --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 22px 54px rgba(0, 0, 0, 0.46);
    --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.58);
    --glow-cyan: 0 0 34px rgba(0, 245, 212, 0.14);
    --glow-cyan-strong: 0 0 54px rgba(0, 245, 212, 0.22);
    --glow-blue: 0 0 42px rgba(29, 143, 255, 0.18);

    --radius-sm: 8px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 10px;
  }
}

@layer base {
  body {
    background:
      radial-gradient(ellipse at 75% 18%, rgba(77, 34, 143, 0.28), transparent 36%),
      radial-gradient(ellipse at 78% 52%, rgba(0, 128, 160, 0.16), transparent 42%),
      linear-gradient(180deg, #040517 0%, #06071c 46%, #040517 100%);
    color: var(--color-text-secondary);
    font-weight: 500;
  }

  h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: 0;
  }

  h1 {
    font-size: clamp(2.55rem, 1.45rem + 4.7vw, 4.05rem);
  }

  h2 {
    font-size: clamp(2rem, 1.25rem + 2.9vw, 3rem);
  }
}

@layer components {
  #starfield-canvas {
    opacity: 0.34;
  }

  .aurora-field {
    inset: -3%;
    z-index: 1;
    opacity: 0.95;
    filter: none;
    mix-blend-mode: screen;
    background:
      linear-gradient(90deg, transparent 0 28%, rgba(96, 29, 170, 0.12) 45%, rgba(0, 193, 255, 0.1) 72%, transparent 100%),
      linear-gradient(180deg, rgba(4, 5, 23, 0), rgba(4, 5, 23, 0.35));
    animation: none;
  }

  .aurora-field::before,
  .aurora-field::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(0, 245, 212, 0.9) 0 1.05px, transparent 1.45px);
    background-size: 13px 13px;
    transform-origin: 50% 50%;
    opacity: 0.82;
    filter: drop-shadow(0 0 14px rgba(0, 245, 212, 0.24));
    animation: dot-wave-drift 18s ease-in-out infinite alternate;
  }

  .aurora-field::before {
    clip-path: polygon(39% 15%, 70% 9%, 101% 13%, 101% 30%, 70% 26%, 39% 34%, 18% 45%, -2% 44%, -2% 31%, 16% 29%);
    background-image: radial-gradient(circle, rgba(176, 43, 255, 0.9) 0 1px, transparent 1.45px);
    transform: rotate(-7deg) skewY(-7deg) translate3d(2%, 0, 0);
    filter: drop-shadow(0 0 18px rgba(176, 43, 255, 0.28));
  }

  .aurora-field::after {
    clip-path: polygon(13% 60%, 37% 53%, 58% 45%, 83% 43%, 102% 39%, 102% 57%, 80% 61%, 58% 70%, 35% 74%, 9% 74%, -2% 72%, -2% 62%);
    background-image: radial-gradient(circle, rgba(0, 214, 255, 0.86) 0 1.05px, transparent 1.45px);
    transform: rotate(-7deg) skewY(-8deg) translate3d(-2%, 2%, 0);
    animation-delay: -7s;
  }

  .bg-ribbons {
    z-index: 2;
    opacity: 0.48;
    background:
      linear-gradient(92deg, transparent 0 16%, rgba(159, 42, 255, 0.42) 33%, transparent 51%),
      linear-gradient(100deg, transparent 0 37%, rgba(0, 245, 212, 0.32) 62%, transparent 82%);
    filter: blur(16px);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
    animation: ribbon-drift 20s ease-in-out infinite alternate;
  }

  @keyframes dot-wave-drift {
    0% { background-position: 0 0; opacity: 0.62; }
    100% { background-position: 38px -22px; opacity: 0.92; }
  }

  .app-header {
    background: rgba(4, 5, 23, 0.78);
    border-bottom: 1px solid rgba(105, 128, 190, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
  }

  .brand-logo {
    font-weight: 700;
    font-size: 1.15rem;
  }

  .logo-img {
    filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.24));
  }

  .main-nav a,
  .btn-header-dl,
  .drawer-dl-btn,
  .hero-platform,
  .plat-dl-btn,
  .cta-dl-btn,
  .uc-tab {
    font-family: var(--font-heading);
  }

  .main-nav a {
    color: #d7dcf0;
    font-size: 0.78rem;
    font-weight: 600;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #ffffff;
  }

  .main-nav a::after {
    height: 2px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-magenta));
    box-shadow: 0 0 12px rgba(0, 245, 212, 0.45);
  }

  .btn-header-dl,
  .mobile-platform-pill,
  .drawer-dl-btn,
  .hero-platform,
  .plat-dl-btn,
  .cta-dl-btn {
    border-color: rgba(0, 245, 212, 0.18);
    background: rgba(9, 12, 33, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .btn-header-dl:hover,
  .drawer-dl-btn:hover,
  .hero-platform:hover,
  .plat-dl-btn:hover,
  .cta-dl-btn:hover {
    border-color: rgba(0, 245, 212, 0.62);
    color: var(--color-cyan);
    background: rgba(0, 245, 212, 0.075);
    box-shadow: 0 0 28px rgba(0, 245, 212, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .hero {
    padding-top: clamp(4.25rem, 2.5rem + 5vw, 7.5rem);
  }

  .hero-badge {
    color: var(--color-cyan);
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .hero-badge-dot,
  .trust-dot {
    background: var(--color-cyan);
    box-shadow: 0 0 14px rgba(0, 245, 212, 0.8), 0 0 28px rgba(0, 245, 212, 0.3);
  }

  .hero-title,
  .sec-title {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #f9faff;
    animation: none;
    text-shadow: 0 0 28px rgba(119, 104, 255, 0.12);
  }

  .hero-title {
    max-width: 620px;
    line-height: 1.08;
  }

  .hero-sub,
  .sec-sub {
    color: #9aa5c4;
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.06rem);
    line-height: 1.62;
  }

  .hero-platforms {
    max-width: 500px;
  }

  .hero-platform {
    min-height: 76px;
    border-radius: 8px;
    color: #f7f8ff;
  }

  .hero-platform svg {
    filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.18));
  }

  .platform-windows,
  .platform-mac,
  .platform-android,
  .platform-ios {
    color: #f7f8ff;
  }

  .hero-media::before {
    background: linear-gradient(135deg, rgba(157, 55, 255, 0.22), rgba(0, 245, 212, 0.11), transparent 68%);
    filter: blur(30px);
  }

  .hero-video-frame,
  .uc-panes,
  .cta-card {
    background: linear-gradient(145deg, rgba(13, 16, 42, 0.92), rgba(5, 7, 25, 0.98));
    border: 1px solid rgba(105, 128, 190, 0.22);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.54), 0 0 0 1px rgba(0, 245, 212, 0.035);
  }

  .hero-video-frame::before,
  .cta-card::after {
    background: conic-gradient(from 180deg, transparent, rgba(0, 245, 212, 0.28), transparent 28%, rgba(157, 55, 255, 0.32), transparent 58%, rgba(255, 47, 201, 0.2), transparent);
  }

  .orbit-badge {
    background: #0b0d27;
    border-color: rgba(105, 128, 190, 0.22);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 24px rgba(0, 245, 212, 0.04);
  }

  .orbit-brand {
    color: #f9faff;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-weight: 700;
  }

  .sec-alt {
    background: rgba(4, 5, 23, 0.44);
    border-block: 0;
  }

  .sec::before {
    background:
      linear-gradient(100deg, transparent 0 20%, rgba(157, 55, 255, 0.07) 42%, transparent 56%),
      linear-gradient(105deg, transparent 0 44%, rgba(0, 245, 212, 0.055) 68%, transparent 82%);
    opacity: 0.72;
  }

  .why-card,
  .platform-card,
  .feat-card,
  .step {
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(20, 24, 58, 0.7), rgba(10, 13, 35, 0.88)),
      var(--color-bg-card);
    border: 1px solid rgba(105, 128, 190, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 18px 46px rgba(0, 0, 0, 0.25);
  }

  .why-card:hover,
  .platform-card:hover,
  .feat-card:hover,
  .step:hover {
    border-color: rgba(0, 245, 212, 0.34);
    background:
      linear-gradient(180deg, rgba(24, 28, 69, 0.74), rgba(11, 14, 38, 0.94)),
      var(--color-bg-card-hover);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36), 0 0 34px rgba(0, 245, 212, 0.08);
  }

  .why-card::before,
  .platform-card::before,
  .feat-card::before,
  .step::before {
    background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.18), transparent 48%);
  }

  .why-card:nth-child(1),
  .feat-card:nth-child(1),
  .step:nth-child(1) { --accent-rgb: 255, 122, 26; --accent: #ff7a1a; --icon-a: #ff8a1f; --icon-b: #ff2f6d; }
  .why-card:nth-child(2),
  .feat-card:nth-child(2) { --accent-rgb: 0, 245, 212; --accent: var(--color-cyan); --icon-a: #00f5d4; --icon-b: #2a6dff; }
  .why-card:nth-child(3),
  .feat-card:nth-child(3),
  .step:nth-child(2) { --accent-rgb: 157, 55, 255; --accent: var(--color-violet); --icon-a: #a43bff; --icon-b: #00d6ff; }
  .why-card:nth-child(4),
  .feat-card:nth-child(4),
  .step:nth-child(3) { --accent-rgb: 255, 47, 201; --accent: var(--color-magenta); --icon-a: #ff2fc9; --icon-b: #8d4dff; }
  .feat-card:nth-child(5) { --accent-rgb: 255, 105, 53; --accent: #ff6935; --icon-a: #ff6935; --icon-b: #ff2fc9; }
  .feat-card:nth-child(6) { --accent-rgb: 0, 214, 255; --accent: #00d6ff; --icon-a: #00d6ff; --icon-b: #5c4dff; }

  .why-icon,
  .feat-icon {
    width: 68px;
    height: 68px;
    border: 0;
    background: radial-gradient(circle at 50% 65%, rgba(var(--accent-rgb), 0.26), transparent 58%);
    overflow: visible;
    isolation: isolate;
  }

  .why-icon svg,
  .feat-icon svg {
    opacity: 0;
  }

  .why-icon::before,
  .feat-icon::before {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 30%),
      linear-gradient(145deg, var(--icon-a, #00f5d4), var(--icon-b, #9d37ff));
    box-shadow:
      0 16px 28px rgba(var(--accent-rgb), 0.28),
      inset -8px -10px 18px rgba(0, 0, 0, 0.22),
      inset 8px 8px 18px rgba(255, 255, 255, 0.16);
    transform: rotate(-18deg) skewY(8deg);
    z-index: 1;
  }

  .why-icon::after,
  .feat-icon::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: 8px;
    top: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, var(--color-cyan));
    box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.58);
    z-index: 2;
  }

  .feat-card:nth-child(3) .feat-icon::after,
  .why-card:nth-child(3) .why-icon::after {
    border-radius: 4px;
    transform: rotate(45deg);
  }

  .feat-card:nth-child(5) .feat-icon::before,
  .feat-card:nth-child(6) .feat-icon::before {
    border-radius: 50%;
  }

  .platform-card .plat-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 30%),
      linear-gradient(145deg, rgba(var(--accent-rgb), 0.88), rgba(157, 55, 255, 0.62));
    box-shadow:
      0 18px 36px rgba(var(--accent-rgb), 0.22),
      inset -10px -12px 20px rgba(0, 0, 0, 0.26),
      inset 8px 8px 18px rgba(255, 255, 255, 0.12);
  }

  .platform-card .plat-icon svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.24));
  }

  .platform-card h3,
  .why-card h3,
  .feat-card h3,
  .step h3,
  .uc-pane-content h3 {
    color: #f8f9ff;
    font-weight: 600;
  }

  .platform-card p,
  .why-card p,
  .feat-card p,
  .step p,
  .uc-pane-content p {
    color: #9aa5c4;
  }

  .step-num {
    color: #040517;
    background: linear-gradient(135deg, var(--icon-a, #00f5d4), var(--icon-b, #9d37ff));
    border: 0;
    box-shadow:
      0 18px 38px rgba(var(--accent-rgb), 0.22),
      inset -9px -10px 18px rgba(0, 0, 0, 0.2),
      inset 8px 8px 16px rgba(255, 255, 255, 0.14);
  }

  .steps-row::before {
    background: linear-gradient(90deg, transparent, rgba(0, 245, 212, 0.85), rgba(157, 55, 255, 0.72), transparent);
  }

  .uc-tabs {
    border-radius: 8px;
    background: rgba(9, 12, 33, 0.82);
    border-color: rgba(105, 128, 190, 0.18);
  }

  .uc-tab {
    border-radius: 8px;
    color: #8e98ba;
  }

  .uc-tab.active {
    background: var(--color-cyan);
    color: #040517;
    box-shadow: 0 0 26px rgba(0, 245, 212, 0.26);
  }

  .uc-visual {
    border-radius: 8px;
    background: #07091f;
  }

  .media-card,
  .doc-chip,
  .zip-block {
    box-shadow:
      0 16px 30px rgba(0, 0, 0, 0.28),
      0 0 26px rgba(0, 245, 212, 0.08);
  }

  .media-card {
    position: relative;
    color: transparent;
    font-size: 0;
    overflow: visible;
  }

  .media-card::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 30%),
      linear-gradient(145deg, var(--color-cyan), var(--color-violet));
    box-shadow:
      0 14px 24px rgba(0, 245, 212, 0.22),
      inset -8px -8px 14px rgba(0, 0, 0, 0.2),
      inset 7px 7px 14px rgba(255, 255, 255, 0.14);
    transform: rotate(-18deg) skewY(8deg);
  }

  .media-card::after {
    content: '';
    position: absolute;
    right: 9px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-magenta);
    box-shadow: 0 0 18px rgba(255, 47, 201, 0.55);
  }

  .media-card:nth-child(2)::before {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 30%),
      linear-gradient(145deg, #ff7a1a, var(--color-magenta));
    border-radius: 50%;
  }

  .media-card:nth-child(3)::before {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 30%),
      linear-gradient(145deg, var(--color-blue), var(--color-cyan));
    transform: rotate(32deg) skewY(-6deg);
  }

  .arrow-fly {
    display: inline-block;
    position: relative;
    color: transparent;
    width: 42px;
    height: 2px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, transparent, var(--color-cyan));
    box-shadow: 0 0 18px rgba(0, 245, 212, 0.35);
  }

  .arrow-fly::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--color-cyan);
    border-right: 2px solid var(--color-cyan);
    transform: rotate(45deg);
    margin-top: -4px;
    right: 0;
  }

  .zip-block::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(145deg, var(--color-magenta), var(--color-violet));
    box-shadow: 0 0 20px rgba(255, 47, 201, 0.42);
    bottom: -7px;
    right: -7px;
  }

  .cta-card h2 {
    color: #f8f9ff;
  }

  .cta-dl-btn {
    border-radius: 8px;
  }

  .cta-dl-btn svg {
    color: var(--color-cyan);
  }

  .app-footer {
    background: #030413;
  }
}

/* Keep the reference-style background dark and page-anchored, not fixed. */
@layer components {
  body {
    min-height: 100%;
    background-attachment: scroll;
    background:
      radial-gradient(ellipse at 76% 12%, rgba(57, 23, 118, 0.2), transparent 30%),
      radial-gradient(ellipse at 78% 42%, rgba(0, 83, 119, 0.12), transparent 36%),
      linear-gradient(180deg, #040517 0%, #05061a 34%, #040517 100%);
  }

  #starfield-canvas,
  .aurora-field,
  .bg-ribbons {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    contain: paint;
    transform: none;
    will-change: auto;
  }

  #starfield-canvas {
    height: min(980px, 100vh);
    opacity: 0.16;
  }

  .aurora-field {
    height: clamp(760px, 96vh, 1060px);
    inset: auto 0 auto 0;
    opacity: 0.76;
    overflow: hidden;
    animation: none;
    filter: none;
    mix-blend-mode: normal;
    background:
      radial-gradient(ellipse at 74% 18%, rgba(92, 77, 255, 0.2), transparent 35%),
      radial-gradient(ellipse at 84% 56%, rgba(0, 245, 212, 0.12), transparent 42%),
      radial-gradient(ellipse at 55% 48%, rgba(255, 47, 201, 0.08), transparent 38%),
      linear-gradient(180deg, rgba(4, 5, 23, 0), rgba(4, 5, 23, 0.78) 92%);
  }

  .aurora-field::before,
  .aurora-field::after {
    animation: none;
    filter: none;
    transform: none;
    background-size: 15px 15px;
  }

  .aurora-field::before {
    clip-path: polygon(43% 9%, 67% 5%, 101% 7%, 101% 27%, 72% 24%, 45% 30%, 19% 39%, -2% 39%, -2% 27%, 19% 25%);
    opacity: 0.42;
    background-image: radial-gradient(circle, rgba(157, 55, 255, 0.72) 0 1px, transparent 1.35px);
  }

  .aurora-field::after {
    clip-path: polygon(11% 59%, 37% 52%, 58% 44%, 84% 42%, 102% 37%, 102% 55%, 81% 61%, 57% 70%, 34% 75%, 8% 75%, -2% 72%, -2% 62%);
    opacity: 0.48;
    background-image: radial-gradient(circle, rgba(0, 214, 255, 0.68) 0 1px, transparent 1.35px);
  }

  .bg-ribbons {
    height: clamp(760px, 96vh, 1060px);
    opacity: 0.24;
    overflow: hidden;
    animation: none;
    filter: none;
    mask-image: none;
    -webkit-mask-image: none;
    transform: none;
    background:
      linear-gradient(96deg, transparent 0 17%, rgba(159, 42, 255, 0.16) 35%, transparent 52%),
      linear-gradient(104deg, transparent 0 45%, rgba(0, 245, 212, 0.14) 67%, transparent 84%);
  }

  .sec::before {
    opacity: 0.44;
  }

  .sec-alt {
    background: rgba(4, 5, 23, 0.36);
  }
}

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width: 1024px) {
  .main-nav, .header-actions { display: none; }
  .mobile-actions { display: flex; }
}

@media (max-width: 980px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .hero-copy { text-align: center; }
  .hero-title,
  .hero-sub {
    margin-inline: auto;
  }
  .hero-platforms {
    margin-inline: auto;
  }
  .hero-media {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: clamp(3rem, 1.5rem + 6vw, 5rem);
  }
  .hero-stage {
    margin-bottom: 3.5rem;
  }
  .hero-orbit {
    height: 340px; max-width: 100%;
  }
  .orbit-badge {
    padding: 0.55rem 0.9rem; font-size: 0.78rem;
  }
  .orbit-badge svg, .orbit-badge img { width: 18px; height: 18px; }
  .badge-text small { font-size: 0.5rem; }
  .badge-text span { font-size: 0.78rem; }
  .orbit-logo { width: 80px; height: 80px; }
  .orbit-brand { font-size: 1.8rem; bottom: 70px; }
  .hero-orbit::before,
  .hero-orbit::after,
  .orbit-tracer { display: none; }
  .orbit-ring { display: none; }
  .energy-line { display: none; }
  .orbit-badge.ob-tl { top: 10px; left: 0; }
  .orbit-badge.ob-tr { top: 10px; right: 0; }
  .orbit-badge.ob-bl { bottom: 8px; left: 0; }
  .orbit-badge.ob-br { bottom: 8px; right: 0; }

  .steps-row { grid-template-columns: 1fr; gap: 2rem; }
  .steps-row::before { display: none; }

  .uc-pane-content { grid-template-columns: 1fr; gap: 2rem; }
  .uc-visual { order: -1; aspect-ratio: 16/9; }
  .hero-video-frame {
    border-radius: var(--radius-lg);
    padding: 0.45rem;
  }
  .hero-video { border-radius: var(--radius-md); }

  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-cols { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

@media (max-width: 576px) {
  .hero-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 320px;
  }
  .hero-platform {
    min-height: 74px;
  }
  .uc-tabs { flex-direction: column; }
  .uc-tab { width: 100%; text-align: center; }
  .uc-pane { padding: 2rem 1.25rem; }
  .orbit-badge.ob-tl, .orbit-badge.ob-bl { left: -5px; }
  .orbit-badge.ob-tr, .orbit-badge.ob-br { right: -5px; }
}

/* Thin Futureswap-style type treatment. */
@layer theme {
  :root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Inter Tight', var(--font-sans);
    --font-weight-body: 300;
    --font-weight-copy: 300;
    --font-weight-ui: 400;
    --font-weight-title: 300;
    --font-weight-emphasis: 500;
  }
}

@layer base {
  body {
    font-weight: var(--font-weight-body);
    line-height: 1.52;
  }

  h1,
  h2,
  h3,
  h4 {
    font-weight: var(--font-weight-title);
    line-height: 1.04;
  }

  p,
  li {
    font-weight: var(--font-weight-copy);
    line-height: 1.5;
  }

  strong,
  b {
    font-weight: var(--font-weight-emphasis);
  }
}

@layer components {
  .hero-title,
  .sec-title,
  .cta-card h2,
  .uc-pane-content h3 {
    font-weight: var(--font-weight-title);
    line-height: 1.01;
  }

  .hero-title {
    line-height: 0.98;
  }

  .brand-logo,
  .orbit-brand {
    font-weight: var(--font-weight-emphasis);
    line-height: 1;
  }

  .main-nav a,
  .btn-header-dl,
  .mobile-platform-pill,
  .drawer-dl-btn,
  .hero-platform,
  .plat-dl-btn,
  .cta-dl-btn,
  .uc-tab,
  .badge-text span,
  .platform-card h3,
  .why-card h3,
  .feat-card h3,
  .step h3 {
    font-weight: var(--font-weight-ui);
    line-height: 1.08;
  }

  .hero-badge,
  .badge-text small,
  .platform-status,
  .speed-tag,
  .trust-item,
  .drawer-downloads h4,
  .footer-brand,
  .footer-col h4 {
    font-weight: var(--font-weight-emphasis);
    line-height: 1.08;
  }

  .hero-sub,
  .sec-sub,
  .platform-card p,
  .why-card p,
  .feat-card p,
  .step p,
  .uc-pane-content p,
  .footer-brand p,
  .footer-col a {
    font-weight: var(--font-weight-copy);
    line-height: 1.48;
  }

  .main-nav a,
  .btn-header-dl,
  .mobile-platform-pill,
  .drawer-dl-btn,
  .plat-dl-btn,
  .cta-dl-btn,
  .uc-tab {
    line-height: 1.05;
  }

  .hero-platform {
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .is-tiltable,
  .is-tiltable:hover {
    transform: none !important;
  }

  .reveal,
  .reveal.visible {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
