/* ============================================
   Alpha Engine — Presentation Site
   Matches main app design system
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ── Backgrounds (from app) ── */
  --bg-primary: #0b0e11;
  --bg-secondary: #161a1e;
  --bg-tertiary: #1e2329;
  --bg-elevated: #11161d;
  --bg-canvas:
    radial-gradient(circle at top left, rgba(14, 203, 129, 0.07), rgba(14, 203, 129, 0) 28%),
    radial-gradient(circle at top right, rgba(56, 97, 251, 0.08), rgba(56, 97, 251, 0) 24%),
    linear-gradient(180deg, #08111a 0%, #0b1622 48%, #0a1220 100%);

  /* ── Text (from app) ── */
  --text-primary: #eaecef;
  --text-muted: #848e9c;

  /* ── Accents (from app) ── */
  --accent: #0ecb81;
  --accent-green: #0ecb81;
  --accent-red: #f6465d;
  --accent-blue: #3861fb;
  --accent-amber: #f59e0b;

  /* ── Mint system (from app) ── */
  --mint: #0ecb81;
  --mint-soft: #6ee7b7;
  --mint-border: rgba(16, 185, 129, 0.4);
  --mint-border-hover: rgba(110, 231, 183, 0.55);

  /* ── Glows (from app) ── */
  --mint-glow-sm: 0 0 18px rgba(14, 203, 129, 0.2), 0 0 36px rgba(14, 203, 129, 0.07);
  --mint-glow-md: 0 0 26px rgba(14, 203, 129, 0.32), 0 0 48px rgba(14, 203, 129, 0.12);
  --mint-glow-strong: 0 0 32px rgba(14, 203, 129, 0.42), 0 0 56px rgba(14, 203, 129, 0.16);

  /* ── Borders (from app) ── */
  --border: #2b3139;
  --border-strong: rgba(255, 255, 255, 0.09);

  /* ── Gradients ── */
  --gradient-main: linear-gradient(135deg, #0ecb81 0%, #34d399 50%, #3861fb 100%);
  --gradient-mint: linear-gradient(145deg, rgba(16, 185, 129, 0.24), rgba(6, 55, 42, 0.42) 42%, rgba(8, 20, 16, 0.94));
  --gradient-btn: linear-gradient(145deg, rgba(16, 185, 129, 0.24), rgba(6, 55, 42, 0.42) 42%, rgba(8, 20, 16, 0.94));

  /* ── Fonts (from app) ── */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* ── Radius ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 1.35rem;

  /* ── Shadows ── */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);

  /* ── Motion (from app) ── */
  --animate-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --animate-duration: 0.35s;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background: var(--bg-canvas);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--mint-soft);
}

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

/* ── Gradient Text ── */
.gradient-text {
  color: var(--accent);
}

/* ── Buttons (match app style) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--animate-duration) var(--animate-ease-out);
  border: none;
  text-decoration: none;
}

.btn-primary {
  border: 1px solid rgba(110, 231, 183, 0.42);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.24), rgba(6, 55, 42, 0.42) 42%, rgba(8, 20, 16, 0.94));
  color: #c6fae3;
  box-shadow: var(--mint-glow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 183, 0.55);
  box-shadow: var(--mint-glow-md);
  color: #c6fae3;
}

.btn-boost {
  border: 1px solid rgba(167, 243, 208, 0.45);
  background:
    radial-gradient(ellipse at 30% 0%, rgba(52, 211, 153, 0.32), transparent 55%),
    linear-gradient(145deg, rgba(16, 185, 129, 0.38), rgba(6, 78, 52, 0.58) 35%, rgba(8, 20, 16, 0.96));
  color: #031910;
  font-weight: 700;
  box-shadow: var(--mint-glow-md);
}

.btn-boost:hover {
  transform: translateY(-2px);
  box-shadow: var(--mint-glow-strong);
  color: #031910;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--mint-border);
  color: var(--accent);
  background: rgba(14, 203, 129, 0.05);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--animate-ease-out), transform 0.8s var(--animate-ease-out);
}

.reveal.reveal-delay-1 { transition-delay: 0.15s; }
.reveal.reveal-delay-2 { transition-delay: 0.3s; }
.reveal.reveal-delay-3 { transition-delay: 0.45s; }

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--animate-ease-out);
}

.navbar.scrolled {
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.94) 0%, rgba(8, 12, 16, 0.82) 58%, rgba(8, 12, 16, 0.28) 82%, rgba(8, 12, 16, 0) 100%);
  backdrop-filter: blur(22px) saturate(145%);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

/* Logo — matches AlphaEngineLogo.jsx */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-primary);
  text-decoration: none;
}

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

.logo-alpha {
  color: var(--text-primary);
}

.logo-engine {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-cta {
  padding: 10px 22px;
  border: 1px solid rgba(110, 231, 183, 0.42);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.24), rgba(6, 55, 42, 0.42) 42%, rgba(8, 20, 16, 0.94));
  color: #c6fae3 !important;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--animate-duration) var(--animate-ease-out);
  text-decoration: none;
}

.nav-cta:hover {
  box-shadow: var(--mint-glow-md);
  border-color: var(--mint-border-hover);
  transform: translateY(-1px);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(22, 26, 31, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}

.lang-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--animate-ease-out);
  background: transparent;
  color: var(--text-muted);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.2), rgba(6, 55, 42, 0.4));
  color: var(--accent);
  border: 1px solid rgba(14, 203, 129, 0.25);
  box-shadow: var(--mint-glow-sm);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 203, 129, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 203, 129, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  transition: transform 0.3s ease-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 203, 129, 0.2), transparent 70%);
  top: -10%;
  right: -5%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 97, 251, 0.18), transparent 70%);
  bottom: 10%;
  left: -10%;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 203, 129, 0.12), transparent 70%);
  top: 40%;
  left: 30%;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat var(--duration) var(--delay) infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0); }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-200px); }
}

.hero-content {
  flex: 1;
  min-width: 320px;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(14, 203, 129, 0.08);
  border: 1px solid rgba(14, 203, 129, 0.18);
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 203, 129, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(14, 203, 129, 0); }
}

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats-mini {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  padding: 8px 16px;
  background: rgba(22, 26, 31, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: 13px;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}

.stat-pill .stat-val {
  color: var(--accent);
  font-weight: 700;
  margin-right: 4px;
}

/* ============================================
   HERO VISUAL — iPhone 15 Pro Mockup
   ============================================ */
.hero-visual {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.iphone-mockup {
  position: relative;
  width: 310px;
  animation: phoneFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateY(-1.5deg) rotateX(0.5deg); }
  50% { transform: translateY(-14px) rotateY(1.5deg) rotateX(-0.5deg); }
}

.iphone-glow {
  position: absolute;
  top: 5%;
  left: -35%;
  right: -35%;
  bottom: 5%;
  background:
    radial-gradient(ellipse at 40% 25%, rgba(14, 203, 129, 0.2), transparent 50%),
    radial-gradient(ellipse at 60% 75%, rgba(56, 97, 251, 0.12), transparent 45%);
  filter: blur(60px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* SVG frame */
.iphone-svg-frame {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55))
          drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

/* Screen content overlay — positioned on top of SVG */
.iphone-screen-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Align to screen rect: x=10, y=10, w=300, h=630 out of viewBox 320x650 */
  padding: calc(650px * 10 / 650) 0 0 0;
  /* Use percentages for positioning */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Position screen content precisely over the SVG screen area */
.iphone-screen-content {
  position: absolute;
  top: 1.54%;    /* 10/650 */
  left: 3.125%;  /* 10/320 */
  width: 93.75%; /* 300/320 */
  height: 96.92%;/* 630/650 */
  border-radius: 14.375% / 7.3%; /* 46/320 and 46/630 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ============================================
   Mock Screen Content
   ============================================ */

/* ── Status Bar ── */
.mock-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px 0;
  height: 38px;
  flex-shrink: 0;
}

.mock-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.mock-indicators {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── App Header ── */
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 8px;
  flex-shrink: 0;
}

.mock-logo {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.mock-logo-a { color: var(--text-primary); }
.mock-logo-e { color: var(--accent); }

.mock-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mock-username {
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1.2;
}

.mock-balance {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1.2;
}

.mock-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.3), rgba(6, 55, 42, 0.5));
  border: 1.5px solid var(--mint-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-soft);
}

/* ── Shared card style ── */
.mock-card {
  margin: 4px 10px;
  border-radius: 12px;
}

/* ── Boost Card ── */
.mock-boost-card {
  background: linear-gradient(135deg, rgba(14, 203, 129, 0.08), rgba(14, 203, 129, 0.02) 50%, rgba(8, 16, 12, 0.6));
  border: 1px solid rgba(14, 203, 129, 0.18);
}

.mock-boost-inner {
  padding: 12px 14px;
}

.mock-boost-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.mock-boost-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.mock-boost-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 203, 129, 0.15);
  border: 1px solid rgba(14, 203, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: boostPulse 2s infinite;
}

@keyframes balancePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); color: var(--mint-soft); }
  100% { transform: scale(1); }
}

@keyframes boostPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 203, 129, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(14, 203, 129, 0); }
}

.mock-boost-time {
  font-size: 30px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.mock-boost-hint {
  font-size: 9.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

.mock-boost-bar {
  margin-top: 10px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.mock-boost-fill {
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, rgba(14, 203, 129, 0.6), rgba(52, 211, 153, 0.95));
  border-radius: 3px;
}

/* ── Status Card ── */
.mock-status-card {
  background: linear-gradient(135deg, rgba(14, 203, 129, 0.05), transparent);
  border: 1px solid rgba(14, 203, 129, 0.1);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-kicker {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.3;
}

.mock-status-val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.mock-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(14, 203, 129, 0.5);
  animation: pulse 2s infinite;
}

/* ── Trades Table ── */
.mock-trades {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mock-trades-head {
  display: grid;
  grid-template-columns: 42px 36px 1fr 28px;
  padding: 6px 10px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mock-trade {
  display: grid;
  grid-template-columns: 42px 36px 1fr 28px;
  align-items: center;
  padding: 6px 10px;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  animation: tradeRowIn 0.5s var(--animate-ease-out) both;
}

.mock-trade:nth-child(2) { animation-delay: 0.05s; }
.mock-trade:nth-child(3) { animation-delay: 0.1s; }
.mock-trade:nth-child(4) { animation-delay: 0.15s; }
.mock-trade:nth-child(5) { animation-delay: 0.2s; }
.mock-trade:nth-child(6) { animation-delay: 0.25s; }
.mock-trade:nth-child(7) { animation-delay: 0.3s; }
.mock-trade:nth-child(8) { animation-delay: 0.35s; }

@keyframes tradeRowIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.mock-trade.profit {
  background: linear-gradient(90deg, rgba(14, 203, 129, 0.04), transparent 50%);
}

.mock-trade.loss {
  background: linear-gradient(90deg, rgba(246, 70, 93, 0.04), transparent 50%);
}

.mock-trade span:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.mock-trade span:nth-child(2) {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 10.5px;
}

.mock-right {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
}

.mock-right.g { color: var(--accent); }
.mock-right.r { color: var(--accent-red); }

.mock-badge {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 3px;
  text-align: center;
}

.mock-badge.tp {
  background: rgba(14, 203, 129, 0.12);
  color: var(--accent);
}

.mock-badge.sl {
  background: rgba(246, 70, 93, 0.12);
  color: var(--accent-red);
}

/* ── Bottom Nav ── */
.mock-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 6px 14px;
  flex-shrink: 0;
  background: linear-gradient(0deg, rgba(8, 12, 16, 0.96) 0%, rgba(8, 12, 16, 0.7) 60%, transparent 100%);
}

.mock-bnav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(22, 26, 31, 0.55);
}

.mock-bnav.active {
  color: var(--accent);
  border-color: rgba(16, 185, 129, 0.38);
  background: linear-gradient(135deg, rgba(14, 203, 129, 0.14), rgba(14, 203, 129, 0.04) 45%, transparent), rgba(22, 28, 34, 0.75);
  box-shadow: var(--mint-glow-sm);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(14, 203, 129, 0.08);
  border: 1px solid rgba(14, 203, 129, 0.15);
  border-radius: var(--radius-xl);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

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

/* Feature cards — match app-surface style */
.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--animate-duration) var(--animate-ease-out);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: var(--mint-border);
  transform: translateY(-4px);
  box-shadow: var(--mint-glow-sm);
}

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

/* Icon tiles — match app-icon-tile */
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  background: rgba(22, 28, 34, 0.88);
  box-shadow: 0 0 14px rgba(14, 203, 129, 0.08);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.icon-ai { border: 1px solid rgba(14, 203, 129, 0.18); }
.icon-ai svg { stroke: var(--accent); }

.icon-auto { border: 1px solid rgba(56, 97, 251, 0.18); }
.icon-auto svg { stroke: var(--accent-blue); }

.icon-shield { border: 1px solid rgba(14, 203, 129, 0.18); }
.icon-shield svg { stroke: var(--accent); }

.icon-speed { border: 1px solid rgba(245, 158, 11, 0.18); }
.icon-speed svg { stroke: var(--accent-amber); }

.icon-ref { border: 1px solid rgba(56, 97, 251, 0.18); }
.icon-ref svg { stroke: var(--accent-blue); }

.icon-tg { border: 1px solid rgba(14, 203, 129, 0.18); }
.icon-tg svg { fill: var(--accent); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 203, 129, 0.02) 50%, transparent 100%);
}

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

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--animate-duration) var(--animate-ease-out);
}

.stat-card:hover {
  border-color: var(--mint-border);
  box-shadow: var(--mint-glow-sm);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.stat-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(14, 203, 129, 0.72), rgba(52, 211, 153, 0.98));
  border-radius: 4px;
  transition: width 1.5s var(--animate-ease-out);
}

.stat-bar-fill.animate {
  width: var(--fill);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  padding: 120px 0;
  overflow: hidden;
}

.reviews-track-wrapper {
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
}

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

.review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--animate-duration) var(--animate-ease-out);
}

.review-card:hover {
  border-color: var(--mint-border);
  transform: translateY(-2px);
  box-shadow: var(--mint-glow-sm);
}

.review-stars {
  color: var(--accent-amber);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.24), rgba(6, 55, 42, 0.42));
  border: 1px solid var(--mint-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--mint-soft);
}

.review-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.review-author span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   INSTRUCTIONS
   ============================================ */
.instructions {
  padding: 120px 0;
}

.steps-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto 80px;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-blue));
  opacity: 0.25;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  min-width: 80px;
  line-height: 1;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-visual {
  flex-shrink: 0;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 28, 34, 0.88);
  border: 1px solid rgba(14, 203, 129, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 0 14px rgba(14, 203, 129, 0.08);
}

.step-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
}

/* API / Code Section */
.api-section {
  max-width: 800px;
  margin: 0 auto;
}

.api-header {
  margin-bottom: 32px;
}

.api-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.api-header p {
  font-size: 15px;
  color: var(--text-muted);
}

.code-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.code-method {
  padding: 4px 10px;
  background: rgba(14, 203, 129, 0.15);
  color: var(--accent-green);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.method-get {
  background: rgba(56, 97, 251, 0.15);
  color: var(--accent-blue);
}

.method-post {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.code-url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}

.copy-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.copy-btn.copied {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.code-block pre {
  padding: 20px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.code-comment { color: var(--text-muted); }
.code-keyword { color: var(--accent-blue); }
.code-func { color: var(--accent); }
.code-string { color: var(--mint-soft); }
.code-key { color: #c6fae3; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.orb-cta-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 203, 129, 0.12), transparent 70%);
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
}

.orb-cta-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 97, 251, 0.1), transparent 70%);
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  margin-bottom: 28px;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-features span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(11, 14, 17, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .nav-logo {
  margin-bottom: 0;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(11, 14, 17, 0.95);
    backdrop-filter: blur(22px) saturate(145%);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    flex-direction: column;
    padding-top: 100px;
    gap: 40px;
    min-height: auto;
  }

  .hero-content, .hero-visual {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .reviews-track {
    grid-template-columns: 1fr;
  }

  .step-card {
    flex-direction: column;
    gap: 16px;
  }

  .steps-timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .stat-number {
    font-size: 36px;
  }

  .hero-stats-mini {
    flex-direction: column;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Selection ── */
::selection {
  background: rgba(14, 203, 129, 0.25);
  color: #fff;
}
