/* ===== CSS VARIABLES ===== */
    :root {
      --primary: #4f46e5;
      --primary-hover: #4338ca;
      --primary-light: #818cf8;
      --primary-bg: #eef2ff;
      --cta: #10b981;
      --cta-hover: #059669;
      --secondary: #64748b;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --bg: #f8fafc;
      --bg-subtle: #f1f5f9;
      --surface: #ffffff;
      --text: #0f172a;
      --text-secondary: #475569;
      --text-muted: #94a3b8;
      --border: #e2e8f0;
      --glass-bg: rgba(255, 255, 255, 0.7);
      --glass-border: rgba(255, 255, 255, 0.3);
      --glass-card: rgba(255, 255, 255, 0.85);
      --backdrop-blur: 15px;
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
      --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --footer-bg: #0f172a;
      --footer-text: #cbd5e1;
      --footer-heading: #f8fafc;
    }

    [data-theme="dark"] {
      --primary: #6366f1;
      --primary-hover: #818cf8;
      --primary-light: #a5b4fc;
      --primary-bg: #1e1b4b;
      --cta: #34d399;
      --cta-hover: #10b981;
      --bg: #0f172a;
      --bg-subtle: #1e293b;
      --surface: #1e293b;
      --text: #f8fafc;
      --text-secondary: #cbd5e1;
      --text-muted: #64748b;
      --border: #334155;
      --glass-bg: rgba(30, 41, 59, 0.7);
      --glass-border: rgba(255, 255, 255, 0.08);
      --glass-card: rgba(30, 41, 59, 0.85);
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
      --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
      --footer-bg: #020617;
    }

    /* ===== RESET & BASE ===== */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

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

    @media (min-width: 768px) {
      .container {
        padding: 0 2rem;
      }
    }

    @media (min-width: 1200px) {
      .container {
        padding: 0 2.5rem;
      }
    }

    /* ===== SCROLL REVEAL ===== */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 {
      transition-delay: 0.1s;
    }

    .reveal-delay-2 {
      transition-delay: 0.2s;
    }

    .reveal-delay-3 {
      transition-delay: 0.3s;
    }

    .reveal-delay-4 {
      transition-delay: 0.4s;
    }

    .reveal-delay-5 {
      transition-delay: 0.5s;
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }

      .hero-blobs::before,
      .hero-blobs::after {
        animation: none !important;
      }

      .float-mockup {
        animation: none !important;
      }

      .steps-connector::after {
        animation: none !important;
      }
    }

    /* ===== NAVIGATION ===== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 1rem 0;
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      background: var(--glass-bg);
      backdrop-filter: blur(var(--backdrop-blur));
      -webkit-backdrop-filter: blur(var(--backdrop-blur));
      border-bottom: 1px solid var(--glass-border);
      box-shadow: var(--shadow-sm);
      padding: 0.75rem 0;
    }

    [data-theme="dark"] .navbar.scrolled .nav-logo,
    [data-theme="dark"] .navbar.scrolled .nav-links a,
    [data-theme="dark"] .navbar.scrolled .btn-ghost,
    [data-theme="dark"] .navbar.scrolled .theme-toggle,
    [data-theme="dark"] .navbar.scrolled .hamburger span {
      color: rgba(255, 255, 255, 0.7);
    }

    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.625rem;
      font-weight: 700;
      font-size: 1.25rem;
      color: #fff;
      flex-shrink: 0;
    }

    .navbar.scrolled .nav-logo {
      color: var(--text);
    }

    .nav-logo svg {
      flex-shrink: 0;
    }

    .nav-links {
      display: none;
      align-items: center;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.9375rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.7);
      transition: color 0.2s;
      cursor: pointer;
    }

    .nav-links a:hover {
      color: #fff;
    }

    .navbar.scrolled .nav-links a {
      color: var(--text-secondary);
    }

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

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .btn-ghost {
      display: none;
      padding: 0.5rem 1.25rem;
      font-size: 0.875rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.7);
      border-radius: var(--radius-md);
      transition: all 0.2s;
      cursor: pointer;
    }

    .btn-ghost:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.1);
    }

    .navbar.scrolled .btn-ghost {
      color: var(--text-secondary);
    }

    .navbar.scrolled .btn-ghost:hover {
      color: var(--primary);
      background: var(--primary-bg);
    }

    .btn-cta {
      display: none;
      padding: 0.5rem 1.25rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: #fff;
      background: var(--cta);
      border-radius: var(--radius-md);
      transition: all 0.25s;
      cursor: pointer;
    }

    .btn-cta:hover {
      background: var(--cta-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }

    .theme-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      color: rgba(255, 255, 255, 0.7);
      transition: all 0.2s;
      cursor: pointer;
      font-size: 1.25rem;
    }

    .theme-toggle:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    .navbar.scrolled .theme-toggle {
      color: var(--text-secondary);
    }

    .navbar.scrolled .theme-toggle:hover {
      background: var(--bg-subtle);
      color: var(--primary);
    }

    .hamburger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: all 0.3s;
    }

    .navbar.scrolled .hamburger span {
      background: var(--text);
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 99;
      background: var(--surface);
      padding: 5rem 1.5rem 2rem;
      flex-direction: column;
      gap: 0.5rem;
    }

    .mobile-menu.open {
      display: flex;
    }

    .mobile-menu a {
      display: block;
      padding: 1rem;
      font-size: 1.125rem;
      font-weight: 500;
      color: var(--text);
      border-radius: var(--radius-md);
      transition: background 0.2s;
      cursor: pointer;
    }

    .mobile-menu a:hover {
      background: var(--bg-subtle);
    }

    .mobile-menu .mobile-cta {
      margin-top: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .mobile-menu .mobile-cta a {
      text-align: center;
      padding: 0.875rem;
      border-radius: var(--radius-md);
      font-weight: 600;
    }

    .mobile-menu .mobile-cta .btn-mobile-login {
      background: var(--bg-subtle);
      color: var(--text);
    }

    .mobile-menu .mobile-cta .btn-mobile-signup {
      background: var(--cta);
      color: #fff;
    }

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

      .btn-ghost {
        display: inline-flex;
      }

      .btn-cta {
        display: inline-flex;
      }

      .hamburger {
        display: none;
      }
    }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      padding: 7rem 0 3rem;
      background: #0c0a1a;
    }

    [data-theme="dark"] .hero {
      background: #06050f;
    }

    /* Background image with gradient mask */
    .hero-bg-image {
      position: absolute;
      inset: 0;
      z-index: 0;
      background: url('https://images.unsplash.com/photo-1639322537228-f710d846310a?w=1400&q=80') center/cover no-repeat;
      opacity: 0.15;
      mask-image: linear-gradient(180deg, transparent 0%, black 5%, black 65%, transparent 100%);
      -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 5%, black 65%, transparent 100%);
    }

    /* Animated glow blobs */
    .hero-glow {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 1;
    }

    .hero-glow::before,
    .hero-glow::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      filter: blur(100px);
    }

    .hero-glow::before {
      width: 500px;
      height: 500px;
      background: rgba(79, 70, 229, 0.2);
      top: -150px;
      right: -100px;
      animation: heroFloat 20s ease-in-out infinite;
    }

    .hero-glow::after {
      width: 350px;
      height: 350px;
      background: rgba(16, 185, 129, 0.12);
      bottom: -80px;
      left: -60px;
      animation: heroFloat 20s ease-in-out infinite;
      animation-delay: -10s;
    }

    @keyframes heroFloat {

      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      33% {
        transform: translate(30px, -50px) scale(1.05);
      }

      66% {
        transform: translate(-20px, 20px) scale(0.95);
      }
    }

    /* Fade-in animations */
    @keyframes fadeSlideIn {
      from {
        opacity: 0;
        transform: translateY(24px);
      }

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

    .hero-fade {
      opacity: 0;
      animation: fadeSlideIn 0.8s ease-out forwards;
    }

    .hero-fade-d1 {
      animation-delay: 0.1s;
    }

    .hero-fade-d2 {
      animation-delay: 0.2s;
    }

    .hero-fade-d3 {
      animation-delay: 0.3s;
    }

    .hero-fade-d4 {
      animation-delay: 0.4s;
    }

    .hero-fade-d5 {
      animation-delay: 0.5s;
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-fade {
        opacity: 1;
        animation: none;
      }

      .hero-glow::before,
      .hero-glow::after {
        animation: none;
      }

      .hero-marquee-track {
        animation: none !important;
      }
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: center;
    }

    /* Left column */
    .hero-left {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      color: #fff;
    }

    .hero-badge {
      display: inline-flex;
      align-self: flex-start;
      align-items: center;
      gap: 0.5rem;
      padding: 0.375rem 1rem;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 999px;
      font-size: 0.6875rem;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.85);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .hero-badge i {
      font-size: 0.875rem;
    }

    .hero-heading {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 600;
      line-height: 1.05;
      letter-spacing: -0.035em;
    }

    .hero-heading .gradient-text {
      background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 50%, #818cf8 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-desc {
      font-size: 1.0625rem;
      line-height: 1.7;
      color: rgba(255, 255, 255, 0.5);
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .btn-hero-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: #fff;
      background: var(--cta);
      border-radius: 999px;
      transition: all 0.2s;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    }

    .btn-hero-primary:hover {
      background: var(--cta-hover);
      transform: scale(1.02);
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    }

    .btn-hero-primary:active {
      transform: scale(0.98);
    }

    .btn-hero-primary i {
      transition: transform 0.2s;
    }

    .btn-hero-primary:hover i {
      transform: translateX(3px);
    }

    .btn-hero-secondary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.05);
      border-radius: 999px;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      transition: all 0.2s;
      cursor: pointer;
    }

    .btn-hero-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .hero-subtext {
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.3);
      letter-spacing: 0.02em;
    }

    /* Right column */
    .hero-right {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      min-width: 0;
    }

    /* Glass stats card */
    .hero-stats-card {
      position: relative;
      overflow: hidden;
      border-radius: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
      padding: 1.75rem;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
      color: #fff;
      min-width: 0;
    }

    .hero-stats-card .card-glow {
      position: absolute;
      top: -80px;
      right: -80px;
      width: 250px;
      height: 250px;
      border-radius: 50%;
      background: rgba(79, 70, 229, 0.15);
      filter: blur(60px);
      pointer-events: none;
    }

    .stats-card-header {
      display: flex;
      align-items: center;
      gap: 0.875rem;
      margin-bottom: 1.5rem;
      position: relative;
      z-index: 1;
    }

    .stats-card-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 1.25rem;
      flex-shrink: 0;
    }

    .stats-card-title {
      font-size: 1.75rem;
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1;
    }

    .stats-card-subtitle {
      font-size: 0.8125rem;
      color: rgba(255, 255, 255, 0.5);
      margin-top: 0.125rem;
    }

    /* Progress bar */
    .stats-progress {
      margin-bottom: 1.5rem;
      position: relative;
      z-index: 1;
    }

    .stats-progress-header {
      display: flex;
      justify-content: space-between;
      font-size: 0.8125rem;
      margin-bottom: 0.625rem;
    }

    .stats-progress-label {
      color: rgba(255, 255, 255, 0.5);
    }

    .stats-progress-value {
      color: #fff;
      font-weight: 600;
    }

    .stats-progress-bar {
      height: 6px;
      width: 100%;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      overflow: hidden;
    }

    .stats-progress-fill {
      height: 100%;
      width: 98%;
      border-radius: 999px;
      background: linear-gradient(90deg, #4f46e5, #818cf8);
    }

    .stats-divider {
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      margin-bottom: 1.25rem;
    }

    /* Mini stats row */
    .stats-mini-grid {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 1;
      margin-bottom: 1.25rem;
    }

    .stats-mini-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: default;
      transition: transform 0.2s;
    }

    .stats-mini-item:hover {
      transform: translateY(-2px);
    }

    .stats-mini-value {
      font-size: 1.25rem;
      font-weight: 700;
      color: #fff;
    }

    .stats-mini-label {
      font-size: 0.625rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.4);
      font-weight: 500;
      margin-top: 0.125rem;
    }

    .stats-mini-sep {
      width: 1px;
      height: 32px;
      background: rgba(255, 255, 255, 0.08);
    }

    /* Tag pills */
    .stats-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      position: relative;
      z-index: 1;
    }

    .stats-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
      font-size: 0.625rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      color: rgba(255, 255, 255, 0.7);
    }

    .stats-tag .pulse-dot {
      position: relative;
      display: flex;
      width: 8px;
      height: 8px;
    }

    .stats-tag .pulse-dot::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: #22c55e;
      animation: tagPulse 2s ease-in-out infinite;
    }

    .stats-tag .pulse-dot::after {
      content: '';
      position: relative;
      display: block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #22c55e;
    }

    @keyframes tagPulse {

      0%,
      100% {
        opacity: 0.75;
        transform: scale(1);
      }

      50% {
        opacity: 0;
        transform: scale(2.5);
      }
    }

    /* Marquee card */
    .hero-marquee-card {
      overflow: hidden;
      border-radius: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
      padding: 1.25rem 0;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      color: #fff;
      min-width: 0;
    }

    .hero-marquee-title {
      font-size: 0.75rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.4);
      padding: 0 1.5rem;
      margin-bottom: 1rem;
    }

    .hero-marquee-wrap {
      position: relative;
      display: flex;
      overflow: hidden;
      mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    }

    @keyframes marquee {
      from {
        transform: translateX(0);
      }

      to {
        transform: translateX(-50%);
      }
    }

    .hero-marquee-track {
      display: flex;
      gap: 3rem;
      white-space: nowrap;
      padding: 0 1rem;
      animation: marquee 30s linear infinite;
    }

    .marquee-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      opacity: 0.4;
      transition: all 0.3s;
      cursor: default;
      filter: grayscale(1);
    }

    .marquee-item:hover {
      opacity: 1;
      filter: grayscale(0);
      transform: scale(1.05);
    }

    .marquee-item-name {
      font-size: 1.0625rem;
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    .marquee-item i {
      font-size: 1.25rem;
    }

    @media (min-width: 1024px) {
      .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
      }
    }

    @media (min-width: 1280px) {
      .hero-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
      }
    }

    /* ===== HERO — LIGHT MODE ===== */
    [data-theme="light"] .hero {
      background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #e0e7ff 70%, #f0fdf4 100%);
    }

    [data-theme="light"] .hero-bg-image {
      opacity: 0.06;
      mix-blend-mode: multiply;
    }

    [data-theme="light"] .hero-glow::before {
      background: rgba(79, 70, 229, 0.12);
      filter: blur(120px);
    }

    [data-theme="light"] .hero-glow::after {
      background: rgba(16, 185, 129, 0.08);
      filter: blur(120px);
    }

    [data-theme="light"] .hero-left {
      color: #0f172a;
    }

    [data-theme="light"] .hero-badge {
      background: rgba(79, 70, 229, 0.06);
      border-color: rgba(79, 70, 229, 0.15);
      color: #4f46e5;
    }

    [data-theme="light"] .hero-heading {
      color: #0f172a;
    }

    [data-theme="light"] .hero-heading .gradient-text {
      background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    [data-theme="light"] .hero-desc {
      color: #475569;
    }

    [data-theme="light"] .btn-hero-secondary {
      color: #0f172a;
      border-color: rgba(15, 23, 42, 0.15);
      background: rgba(15, 23, 42, 0.04);
      backdrop-filter: blur(4px);
    }

    [data-theme="light"] .btn-hero-secondary:hover {
      background: rgba(15, 23, 42, 0.08);
      border-color: rgba(15, 23, 42, 0.25);
    }

    [data-theme="light"] .hero-subtext {
      color: #94a3b8;
    }

    /* Glass stats card — light */
    [data-theme="light"] .hero-stats-card {
      background: rgba(255, 255, 255, 0.7);
      border-color: rgba(255, 255, 255, 0.8);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(79, 70, 229, 0.06);
      color: #0f172a;
    }

    [data-theme="light"] .hero-stats-card .card-glow {
      background: rgba(79, 70, 229, 0.08);
    }

    [data-theme="light"] .stats-card-title {
      color: #0f172a;
    }

    [data-theme="light"] .stats-card-subtitle {
      color: #64748b;
    }

    [data-theme="light"] .stats-progress-label {
      color: #64748b;
    }

    [data-theme="light"] .stats-progress-value {
      color: #0f172a;
    }

    [data-theme="light"] .stats-progress-bar {
      background: rgba(15, 23, 42, 0.06);
    }

    [data-theme="light"] .stats-divider {
      background: rgba(15, 23, 42, 0.08);
    }

    [data-theme="light"] .stats-mini-value {
      color: #0f172a;
    }

    [data-theme="light"] .stats-mini-label {
      color: #94a3b8;
    }

    [data-theme="light"] .stats-mini-sep {
      background: rgba(15, 23, 42, 0.08);
    }

    [data-theme="light"] .stats-tag {
      background: rgba(79, 70, 229, 0.04);
      border-color: rgba(79, 70, 229, 0.1);
      color: #475569;
    }

    [data-theme="light"] .stats-card-icon {
      background: rgba(79, 70, 229, 0.08);
      border-color: rgba(79, 70, 229, 0.12);
    }

    /* Marquee card — light */
    [data-theme="light"] .hero-marquee-card {
      background: rgba(255, 255, 255, 0.7);
      border-color: rgba(255, 255, 255, 0.8);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      color: #0f172a;
    }

    [data-theme="light"] .hero-marquee-title {
      color: #94a3b8;
    }

    [data-theme="light"] .marquee-item {
      opacity: 0.5;
    }

    [data-theme="light"] .marquee-item:hover {
      opacity: 1;
    }

    /* Navbar non-scrolled on light hero */
    [data-theme="light"] .navbar:not(.scrolled) .nav-logo {
      color: #0f172a;
    }

    [data-theme="light"] .navbar:not(.scrolled) .nav-links a {
      color: #475569;
    }

    [data-theme="light"] .navbar:not(.scrolled) .nav-links a:hover {
      color: #4f46e5;
    }

    [data-theme="light"] .navbar:not(.scrolled) .btn-ghost {
      color: #475569;
    }

    [data-theme="light"] .navbar:not(.scrolled) .btn-ghost:hover {
      color: #4f46e5;
      background: rgba(79, 70, 229, 0.06);
    }

    [data-theme="light"] .navbar:not(.scrolled) .theme-toggle {
      color: #475569;
    }

    [data-theme="light"] .navbar:not(.scrolled) .theme-toggle:hover {
      color: #4f46e5;
      background: rgba(79, 70, 229, 0.06);
    }

    [data-theme="light"] .navbar:not(.scrolled) .hamburger span {
      background: #0f172a;
    }

    /* ===== FEATURES — LIGHT MODE polish ===== */
    [data-theme="light"] .feature-card {
      box-shadow: var(--shadow-sm);
    }

    [data-theme="light"] .feature-card:hover {
      box-shadow: 0 12px 24px rgba(79, 70, 229, 0.1), 0 4px 8px rgba(0, 0, 0, 0.04);
    }

    /* ===== STATS BAR ===== */
    .stats-bar {
      padding: 4rem 0;
      position: relative;
      overflow: hidden;
      background: var(--bg);
    }

    .stats-bar::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--primary-bg) 0%, transparent 50%, var(--primary-bg) 100%);
      opacity: 0.5;
    }

    .stats-bar-header {
      text-align: center;
      margin-bottom: 2.5rem;
      position: relative;
    }

    .stats-bar-header .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    .stats-bar-header h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.02em;
    }

    .stats-bar-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      max-width: 960px;
      margin: 0 auto;
      position: relative;
    }

    .stat-card {
      position: relative;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary);
    }

    .stat-card-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      color: #fff;
      margin-bottom: 1rem;
    }

    .stat-card-icon.purple {
      background: linear-gradient(135deg, #6366f1, #8b5cf6);
    }

    .stat-card-icon.green {
      background: linear-gradient(135deg, #10b981, #34d399);
    }

    .stat-card-icon.amber {
      background: linear-gradient(135deg, #f59e0b, #fbbf24);
    }

    .stat-card-icon.blue {
      background: linear-gradient(135deg, #3b82f6, #60a5fa);
    }

    .stat-value {
      font-size: 2rem;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.03em;
      line-height: 1.1;
    }

    .stat-value .stat-highlight {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .stat-label {
      font-size: 0.8125rem;
      color: var(--text-muted);
      margin-top: 0.375rem;
      font-weight: 500;
    }

    .stat-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      font-size: 0.6875rem;
      font-weight: 600;
      padding: 0.2rem 0.5rem;
      border-radius: 999px;
      margin-top: 0.75rem;
    }

    .stat-badge.live {
      background: rgba(16, 185, 129, 0.1);
      color: #10b981;
    }

    .stat-badge.live::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #10b981;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.5;
        transform: scale(1.3);
      }
    }

    @media (min-width: 768px) {
      .stats-bar {
        padding: 5rem 0;
      }

      .stats-bar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
      }

      .stat-card {
        padding: 2rem 1.5rem;
      }

      .stat-value {
        font-size: 2.75rem;
      }

      .stats-bar-header h2 {
        font-size: 1.75rem;
      }
    }

    /* ===== FEATURES ===== */
    .features {
      padding: 5rem 0;
    }

    .section-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto 3.5rem;
    }

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.03em;
      margin-bottom: 1rem;
      color: var(--text);
    }

    .section-desc {
      font-size: 1.0625rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    @media (min-width: 768px) {
      .section-title {
        font-size: 2.5rem;
      }
    }

    .features-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    @media (min-width: 640px) {
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .features-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2rem;
      transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.25s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    /* MD3 state layer — hover */
    .feature-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: var(--primary);
      opacity: 0;
      transition: opacity 0.2s ease;
      pointer-events: none;
      z-index: 0;
    }

    .feature-card:hover::before {
      opacity: 0.06;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-light);
    }

    /* MD3 ripple */
    .feature-card .ripple {
      position: absolute;
      border-radius: 50%;
      background: var(--primary);
      opacity: 0.12;
      transform: scale(0);
      animation: md3-ripple 0.5s cubic-bezier(0.2, 0, 0, 1) forwards;
      pointer-events: none;
      z-index: 0;
    }

    @keyframes md3-ripple {
      to {
        transform: scale(1);
        opacity: 0;
      }
    }

    /* Keep card content above state layer + ripple */
    .feature-icon,
    .feature-card h3,
    .feature-card p {
      position: relative;
      z-index: 1;
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.375rem;
      color: #fff;
      margin-bottom: 1.25rem;
    }

    .feature-card h3 {
      font-size: 1.125rem;
      font-weight: 700;
      margin-bottom: 0.625rem;
      color: var(--text);
    }

    .feature-card p {
      font-size: 0.9375rem;
      color: var(--text-secondary);
      line-height: 1.65;
    }

    /* ===== HOW IT WORKS ===== */
    .how-it-works {
      padding: 6rem 0;
      background: #0c0a1a;
      position: relative;
      overflow: hidden;
    }

    .how-it-works .section-eyebrow {
      color: var(--primary-light);
    }

    .how-it-works .section-title {
      color: #f8fafc;
    }

    .how-it-works .section-desc {
      color: rgba(248, 250, 252, 0.6);
    }

    /* Ambient glow */
    .hiw-glow {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    .hiw-glow::before {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: rgba(79, 70, 229, 0.12);
      filter: blur(120px);
      top: -200px;
      left: 50%;
      transform: translateX(-50%);
    }

    .hiw-glow::after {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.08);
      filter: blur(100px);
      bottom: -100px;
      right: -50px;
    }

    .steps {
      --steps-columns: 4;
      --steps-connector-edge-offset: calc(12.5% + 26px);
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      position: relative;
      z-index: 1;
    }

    /* Connector line — vertical on mobile */
    .steps-connector {
      display: none;
    }

    .step {
      position: relative;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-lg);
      padding: 2rem;
      display: flex;
      gap: 1.25rem;
      align-items: flex-start;
      transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
      cursor: default;
      overflow: hidden;
    }

    /* Hover glow per card */
    .step::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      opacity: 0;
      transition: opacity 0.35s ease;
      pointer-events: none;
    }

    .step::before {
      background: radial-gradient(ellipse at 30% 30%, var(--step-glow), transparent 70%);
    }

    .step:hover::before {
      opacity: 1;
    }

    .step:hover {
      border-color: rgba(255, 255, 255, 0.15);
      transform: translateY(-3px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .step-header {
      flex-shrink: 0;
      position: relative;
    }

    .step-number {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.125rem;
      font-weight: 700;
      color: #fff;
      position: relative;
      z-index: 1;
    }

    .step .step-number {
      background: var(--step-bg);
    }

    .step-icon-badge {
      position: absolute;
      bottom: -4px;
      right: -4px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: #0c0a1a;
      border: 2px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.625rem;
      color: rgba(255, 255, 255, 0.7);
      z-index: 2;
    }

    .step-content {
      position: relative;
      z-index: 1;
    }

    .step-content h3 {
      font-size: 1.125rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: #f8fafc;
    }

    .step-content p {
      font-size: 0.9375rem;
      color: rgba(248, 250, 252, 0.55);
      line-height: 1.65;
    }

    .steps.steps-three {
      --steps-columns: 3;
      --steps-connector-edge-offset: calc(16.6667% + 26px);
    }

    @media (min-width: 768px) {
      .how-it-works {
        padding: 7rem 0;
      }

      .steps {
        grid-template-columns: repeat(var(--steps-columns), minmax(0, 1fr));
        gap: 0;
      }

      .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
        border: none;
        background: none;
        border-radius: 0;
        padding: 2.5rem 1.5rem;
      }

      .step::before {
        border-radius: var(--radius-lg);
      }

      .step:hover {
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        border-radius: var(--radius-lg);
      }

      /* Animated connector line — vertically centered on step numbers */
      .steps-connector {
        display: block;
        position: absolute;
        top: calc(2.5rem + 26px);
        left: var(--steps-connector-edge-offset);
        right: var(--steps-connector-edge-offset);
        height: 2px;
        z-index: 0;
      }

      .steps-connector::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,
            #6366f1, #8b5cf6, #10b981, #3b82f6);
        border-radius: 1px;
        opacity: 0.3;
      }

      /* Animated glow traveling the line */
      .steps-connector::after {
        content: '';
        position: absolute;
        top: -2px;
        width: 60px;
        height: 6px;
        border-radius: 3px;
        background: linear-gradient(90deg, transparent, #818cf8, transparent);
        filter: blur(2px);
        animation: connectorGlow 4s ease-in-out infinite;
      }

      @keyframes connectorGlow {
        0% {
          left: -60px;
          opacity: 0;
        }

        10% {
          opacity: 1;
        }

        90% {
          opacity: 1;
        }

        100% {
          left: calc(100% + 60px);
          opacity: 0;
        }
      }

      /* Step number dots on the line */
      .step-header {
        margin-bottom: 0.5rem;
      }
    }

    @media (min-width: 1024px) {
      .steps {
        gap: 0;
      }

      .step {
        padding: 2.5rem 2rem;
      }
    }

    /* ===== HOW IT WORKS — LIGHT MODE ===== */
    [data-theme="light"] .how-it-works {
      background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 50%, #e0e7ff 100%);
    }

    [data-theme="light"] .how-it-works .section-eyebrow {
      color: var(--primary);
    }

    [data-theme="light"] .how-it-works .section-title {
      color: #0f172a;
    }

    [data-theme="light"] .how-it-works .section-desc {
      color: #475569;
    }

    [data-theme="light"] .hiw-glow::before {
      background: rgba(79, 70, 229, 0.06);
    }

    [data-theme="light"] .hiw-glow::after {
      background: rgba(16, 185, 129, 0.04);
    }

    [data-theme="light"] .step {
      background: rgba(255, 255, 255, 0.7);
      border-color: rgba(255, 255, 255, 0.9);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    [data-theme="light"] .step:hover {
      border-color: var(--primary-light);
      box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
    }

    [data-theme="light"] .step-icon-badge {
      background: #fff;
      border-color: #e2e8f0;
      color: #475569;
    }

    [data-theme="light"] .step-content h3 {
      color: #0f172a;
    }

    [data-theme="light"] .step-content p {
      color: #64748b;
    }

    [data-theme="light"] .steps-connector::before {
      opacity: 0.5;
    }

    @media (min-width: 768px) {
      [data-theme="light"] .step {
        background: none;
        border-color: transparent;
        box-shadow: none;
      }

      [data-theme="light"] .step:hover {
        background: rgba(255, 255, 255, 0.6);
        box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
      }
    }

    /* ===== PRICING ===== */
    .pricing {
      padding: 5rem 0;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      max-width: 1000px;
      margin: 0 auto;
      align-items: start;
    }

    @media (min-width: 768px) {
      .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .pricing-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2rem;
      transition: all 0.3s;
      position: relative;
    }

    .pricing-card:hover {
      box-shadow: var(--shadow-lg);
    }

    .pricing-card.popular {
      border: 2px solid var(--primary);
      box-shadow: var(--shadow-xl);
    }

    @media (min-width: 768px) {
      .pricing-card.popular {
        transform: scale(1.05);
        z-index: 2;
      }
    }

    .pricing-popular-badge {
      position: absolute;
      top: -0.8125rem;
      left: 50%;
      transform: translateX(-50%);
      padding: 0.25rem 1rem;
      background: var(--primary);
      color: #fff;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-radius: 999px;
      white-space: nowrap;
    }

    .pricing-name {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--text);
    }

    .pricing-price {
      display: flex;
      align-items: baseline;
      gap: 0.25rem;
      margin-bottom: 0.25rem;
    }

    .pricing-amount {
      font-size: 2.5rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .pricing-currency {
      font-size: 1.125rem;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .pricing-period {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }

    .pricing-features {
      list-style: none;
      margin-bottom: 2rem;
    }

    .pricing-features li {
      display: flex;
      align-items: center;
      gap: 0.625rem;
      padding: 0.5rem 0;
      font-size: 0.9375rem;
      color: var(--text-secondary);
      border-bottom: 1px solid var(--border);
    }

    .pricing-features li:last-child {
      border-bottom: none;
    }

    .pricing-features li i {
      font-size: 1rem;
      flex-shrink: 0;
    }

    .pricing-features li i.check {
      color: var(--cta);
    }

    .pricing-features li i.cross {
      color: var(--text-muted);
    }

    .pricing-features li.disabled {
      color: var(--text-muted);
      text-decoration: line-through;
    }

    .btn-pricing {
      display: block;
      width: 100%;
      padding: 0.75rem 1.5rem;
      text-align: center;
      font-size: 0.9375rem;
      font-weight: 600;
      border-radius: var(--radius-md);
      transition: all 0.25s;
      cursor: pointer;
    }

    .btn-pricing-outline {
      color: var(--primary);
      border: 2px solid var(--primary);
      background: transparent;
    }

    .btn-pricing-outline:hover {
      background: var(--primary);
      color: #fff;
    }

    .btn-pricing-primary {
      color: #fff;
      background: var(--primary);
      border: 2px solid var(--primary);
    }

    .btn-pricing-primary:hover {
      background: var(--primary-hover);
      border-color: var(--primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    /* ===== TESTIMONIALS ===== */
    .testimonials {
      padding: 5rem 0;
      background: var(--bg-subtle);
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .testimonial-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2rem;
      transition: all 0.3s;
    }

    .testimonial-card:hover {
      box-shadow: var(--shadow-md);
    }

    .testimonial-stars {
      display: flex;
      gap: 0.125rem;
      margin-bottom: 1rem;
      color: #f59e0b;
      font-size: 1rem;
    }

    .testimonial-text {
      font-size: 0.9375rem;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 1.5rem;
      font-style: italic;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .testimonial-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--primary-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--primary);
      flex-shrink: 0;
    }

    .testimonial-name {
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--text);
    }

    .testimonial-role {
      font-size: 0.8125rem;
      color: var(--text-muted);
    }

    .testimonials-columns-wrapper {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 2.5rem;
      max-height: 740px;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
      mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
    }

    .testimonials-columns-col {
      flex: 1 1 0;
      max-width: 360px;
    }

    .testimonials-columns-col-md,
    .testimonials-columns-col-lg {
      display: none;
    }

    @media (min-width: 768px) {
      .testimonials-columns-col-md {
        display: block;
      }
    }

    @media (min-width: 1024px) {
      .testimonials-columns-col-lg {
        display: block;
      }
    }

    .testimonials-columns-col-inner {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      padding-bottom: 1.5rem;
      animation: testimonials-columns-scroll var(--duration, 10s) linear infinite;
      will-change: transform;
    }

    @keyframes testimonials-columns-scroll {
      to {
        transform: translateY(-50%);
      }
    }

    .testimonials-columns-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 1.5rem;
      padding: 2.5rem;
      box-shadow: 0 18px 50px rgba(79, 70, 229, 0.12);
      width: 100%;
      max-width: 320px;
    }

    .testimonials-columns-text {
      font-size: 0.9375rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    .testimonials-columns-author {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-top: 1.25rem;
    }

    .testimonials-columns-avatar {
      height: 40px;
      width: 40px;
      border-radius: 999px;
      object-fit: cover;
      flex-shrink: 0;
    }

    .testimonials-columns-name {
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--text);
      letter-spacing: -0.01em;
      line-height: 1.25rem;
    }

    .testimonials-columns-role {
      font-size: 0.875rem;
      color: var(--text-muted);
      letter-spacing: -0.01em;
      line-height: 1.25rem;
      opacity: 0.8;
    }

    @media (prefers-reduced-motion: reduce) {
      .testimonials-columns-col-inner {
        animation: none;
        transform: none;
      }

      .testimonials-columns-wrapper {
        max-height: none;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
      }
    }

    /* ===== FAQ ===== */
    .faq {
      padding: 5rem 0;
    }

    .faq-list {
      max-width: 720px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
    }

    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.25rem 0;
      text-align: left;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      transition: color 0.2s;
      gap: 1rem;
    }

    .faq-question:hover {
      color: var(--primary);
    }

    .faq-chevron {
      font-size: 1.25rem;
      color: var(--text-muted);
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }

    .faq-item.open .faq-chevron {
      transform: rotate(180deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .faq-item.open .faq-answer {
      max-height: 400px;
    }

    .faq-answer p {
      padding-bottom: 1.25rem;
      font-size: 0.9375rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ===== FINAL CTA ===== */
    .final-cta {
      padding: 5rem 0 6rem;
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }

    .final-cta-glow {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .final-cta-glow::before,
    .final-cta-glow::after {
      content: '';
      position: absolute;
      border-radius: 50%;
      filter: blur(100px);
      z-index: -1;
      animation: heroFloat 20s ease-in-out infinite;
    }

    .final-cta-glow::before {
      width: 400px;
      height: 400px;
      background: rgba(79, 70, 229, 0.12);
      top: -100px;
      left: -100px;
    }

    .final-cta-glow::after {
      width: 300px;
      height: 300px;
      background: rgba(139, 92, 246, 0.12);
      bottom: -100px;
      right: -100px;
      animation-delay: -10s;
    }

    [data-theme="light"] .final-cta-glow::before {
      background: rgba(79, 70, 229, 0.08);
    }

    [data-theme="light"] .final-cta-glow::after {
      background: rgba(139, 92, 246, 0.08);
    }

    .final-cta-content {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 640px;
      margin: 0 auto;
    }

    .final-cta h2 {
      font-size: 2.25rem;
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -0.03em;
      color: var(--text);
      line-height: 1.15;
    }

    .final-cta h2 .cta-gradient {
      background: linear-gradient(to right, #c4b5fd 0%, #a78bfa 25%, #818cf8 50%, #a78bfa 75%, #c4b5fd 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: textGlow 6s linear infinite;
    }

    [data-theme="light"] .final-cta h2 .cta-gradient {
      background: linear-gradient(to right, #4f46e5 0%, #6366f1 25%, #8b5cf6 50%, #6366f1 75%, #4f46e5 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @keyframes textGlow {
      to {
        background-position: -200% center;
      }
    }

    .final-cta p {
      font-size: 1.0625rem;
      color: var(--text-secondary);
      margin-bottom: 2.5rem;
      line-height: 1.7;
    }

    .final-cta-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.875rem;
      margin-bottom: 2.5rem;
    }

    .btn-cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.9375rem 2.25rem;
      font-size: 0.9375rem;
      font-weight: 600;
      background: var(--cta);
      color: #fff;
      border-radius: 999px;
      transition: all 0.25s;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
    }

    .btn-cta-primary:hover {
      background: var(--cta-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
    }

    .btn-cta-primary i {
      transition: transform 0.2s;
    }

    .btn-cta-primary:hover i {
      transform: translateX(3px);
    }

    .btn-cta-secondary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.9375rem 2.25rem;
      font-size: 0.9375rem;
      font-weight: 500;
      color: var(--text);
      border: 1px solid var(--border);
      border-radius: 999px;
      transition: all 0.25s;
      cursor: pointer;
    }

    .btn-cta-secondary:hover {
      background: var(--bg-subtle);
      border-color: var(--primary-light);
      color: var(--primary);
    }

    /* Trust signals */
    .final-cta-trust {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.25rem;
      color: var(--text-muted);
      font-size: 0.8125rem;
    }

    .final-cta-trust span {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
    }

    .final-cta-trust i {
      font-size: 0.9375rem;
      color: var(--cta);
    }

    /* Decorative gradient divider */
    .final-cta-divider {
      margin-top: 4rem;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--primary-light), var(--cta), var(--primary-light), transparent);
      opacity: 0.3;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
    }

    @media (min-width: 768px) {
      .final-cta {
        padding: 6rem 0 7rem;
      }

      .final-cta h2 {
        font-size: 2.75rem;
      }
    }

    @media (min-width: 1024px) {
      .final-cta h2 {
        font-size: 3.25rem;
      }
    }

    /* ===== FOOTER ===== */
    .footer {
      background: var(--footer-bg);
      color: var(--footer-text);
      padding: 4rem 0 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;
      margin-bottom: 3rem;
    }

    @media (min-width: 640px) {
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
      }
    }

    .footer-brand p {
      font-size: 0.875rem;
      line-height: 1.7;
      color: #94a3b8;
      margin-top: 1rem;
      max-width: 300px;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 0.625rem;
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--footer-heading);
    }

    .footer-col h4 {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--footer-heading);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 1.25rem;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col li {
      margin-bottom: 0.75rem;
    }

    .footer-col a {
      font-size: 0.875rem;
      color: #94a3b8;
      transition: color 0.2s;
      cursor: pointer;
    }

    .footer-col a:hover {
      color: #fff;
    }

    .footer-bottom {
      border-top: 1px solid #1e293b;
      padding: 1.5rem 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.8125rem;
      color: #64748b;
    }

    .footer-heart {
      color: #ef4444;
    }
  
/* ===== CODE SNIPPET ===== */
    .code-section { padding: 5rem 0; background: #0f172a; }
    .code-section .section-title { color: #fff; }
    .code-section .section-desc { color: #94a3b8; }
    .code-section .section-eyebrow { background: rgba(99,102,241,0.15); color: #a5b4fc; }
    .code-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
    @media (min-width: 900px) { .code-inner { grid-template-columns: 1fr 1fr; } }
    .code-text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
    .code-text p { color: #94a3b8; line-height: 1.7; margin-bottom: 1.5rem; }
    .code-text ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
    .code-text li { display: flex; align-items: flex-start; gap: 0.5rem; color: #cbd5e1; font-size: 0.9375rem; }
    .code-text li i { color: #6366f1; margin-top: 0.15rem; flex-shrink: 0; }
    .code-block {
      background: #020617; border: 1px solid #1e293b; border-radius: var(--radius-lg);
      overflow: hidden; box-shadow: var(--shadow-xl);
    }
    .code-block-header {
      display: flex; align-items: center; gap: 0.5rem;
      padding: 0.875rem 1.25rem; border-bottom: 1px solid #1e293b;
      background: #0f172a;
    }
    .code-dot { width: 12px; height: 12px; border-radius: 50%; }
    .code-dot-red { background: #ef4444; }
    .code-dot-yellow { background: #f59e0b; }
    .code-dot-green { background: #10b981; }
    .code-lang { margin-left: auto; font-size: 0.75rem; color: #475569; font-family: monospace; }
    .code-body { padding: 1.5rem; overflow-x: auto; }
    .code-body pre { font-family: 'Fira Code', 'Courier New', monospace; font-size: 0.8125rem; line-height: 1.8; color: #e2e8f0; }
    .code-body .kw { color: #c084fc; }
    .code-body .str { color: #86efac; }
    .code-body .key { color: #93c5fd; }
    .code-body .num { color: #fb923c; }
    .code-body .cmt { color: #475569; font-style: italic; }

/* ===== USE CASES (Gateway) ===== */
.use-cases { padding: 5rem 0; }
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .use-cases-grid { grid-template-columns: repeat(4, 1fr); }
}
.use-case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.use-case-icon {
  width: 56px; height: 56px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary);
}
.use-case-title {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.use-case-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
