@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Core palette – pulled from the app's dark UI */
  --bg-deep: #060b18;
  --bg-dark: #0a1025;
  --bg-card: #0d1529;
  --bg-card-hover: #121d36;
  --bg-surface: #141e33;

  --primary: #00e5ff;
  --primary-rgb: 0, 229, 255;
  --primary-dim: rgba(0, 229, 255, 0.08);
  --primary-mid: rgba(0, 229, 255, 0.25);

  --accent: #ccff00;
  --accent-rgb: 204, 255, 0;
  --accent-dim: rgba(204, 255, 0, 0.08);
  --accent-mid: rgba(204, 255, 0, 0.25);

  --error: #ff4757;
  --warning: #ffb347;

  --text-primary: #edf2f7;
  --text-secondary: #8896ab;
  --text-muted: #4a5568;

  /* Glass */
  --glass-bg: rgba(13, 21, 41, 0.65);
  --glass-border: rgba(0, 229, 255, 0.12);
  --glass-border-hover: rgba(0, 229, 255, 0.35);

  /* Font */
  --font-sans: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Gradients */
  --gradient-hero: linear-gradient(165deg, #060b18 0%, #0a1628 35%, #0d1a30 55%, #08101e 100%);
  --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #00b4d8 100%);
  --gradient-accent: linear-gradient(135deg, #ccff00 0%, #84cc16 100%);
  --gradient-text-hero: linear-gradient(135deg, #ffffff 0%, #c8d6e5 50%, #8896ab 100%);
  --gradient-cyan-green: linear-gradient(90deg, #00e5ff 0%, #00d4aa 50%, #ccff00 100%);
  --gradient-card: linear-gradient(145deg, rgba(13, 21, 41, 0.8) 0%, rgba(6, 11, 24, 0.9) 100%);

  /* Shadows */
  --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.3), 0 0 60px rgba(0, 229, 255, 0.1);
  --shadow-glow-green: 0 0 30px rgba(204, 255, 0, 0.3), 0 0 60px rgba(204, 255, 0, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.08);

  /* Borders */
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.35s var(--ease-out);
  --transition-fast: all 0.2s var(--ease-out);
}

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

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

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul { list-style: none; }

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

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

/* ═══════════════════════════════════════════════════════════════════════════════
   2. ANIMATED BACKGROUND – Ocean particle field
   ═══════════════════════════════════════════════════════════════════════════ */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Large ambient light orbs */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.bg-orb--cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.bg-orb--green {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -10%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.bg-orb--blue {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 80, 180, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.1); }
  66% { transform: translate(30px, -30px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.15); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(-40px, 30px); }
  80% { transform: translate(20px, -20px); }
}

/* Noise texture overlay for depth */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.5;
}

/* Grid lines pattern */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 20%, transparent 80%);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-title {
  background: var(--gradient-text-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-green-title {
  background: var(--gradient-cyan-green);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
  background: var(--primary-dim);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   4. NAVIGATION HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 20px 0;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  z-index: 1001;
}

.logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.logo-text {
  background: var(--gradient-text-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-accent {
  -webkit-text-fill-color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(var(--primary-rgb), 0.06);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
  border-radius: 2px;
  transform-origin: center;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   5. BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #020617;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-secondary {
  background: var(--gradient-accent);
  color: #020617;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-green);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(var(--primary-rgb), 0.4);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Store Badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.store-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
  min-width: 175px;
}

.store-badge:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
  box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.12);
  transform: translateY(-3px);
}

.store-badge-icon {
  color: var(--text-primary);
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge-sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-badge-main {
  font-size: 1rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   6. HERO SECTION – Immersive full viewport
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-tagline {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 8px;
  max-width: 480px;
  line-height: 1.7;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-cyan-green);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 500;
}

/* Phone mockup – right side */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.phone-wrapper {
  position: relative;
  z-index: 2;
  animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-container {
  width: 280px;
  height: 570px;
  background: #020617;
  border: 3px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(var(--primary-rgb), 0.12),
    inset 0 0 1px rgba(var(--primary-rgb), 0.3);
}

.phone-notch {
  width: 120px;
  height: 22px;
  background: #020617;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-notch-camera {
  width: 6px;
  height: 6px;
  background: #1a1a2e;
  border-radius: 50%;
  margin-right: 12px;
}

.phone-notch-speaker {
  width: 38px;
  height: 3px;
  background: #2d3748;
  border-radius: 4px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(var(--primary-rgb), 0.3);
  z-index: 5;
  animation: scan 4.5s linear infinite;
}

@keyframes scan {
  0% { top: 0%; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Phone glow behind */
.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 680px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.03) 40%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Floating badges near mockup */
.mockup-badge {
  position: absolute;
  background: rgba(10, 16, 37, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  white-space: nowrap;
}

.mockup-badge-1 {
  bottom: 90px;
  left: -30px;
  animation: badgeFloat 5s ease-in-out infinite;
}

.mockup-badge-2 {
  top: 90px;
  right: -30px;
  animation: badgeFloat 6s ease-in-out infinite 1.5s;
}

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

.mockup-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mockup-badge-icon.blue {
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.mockup-badge-icon.green {
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.mockup-badge-text {
  display: flex;
  flex-direction: column;
}

.mockup-badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mockup-badge-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   7. FEATURES – Bento Grid
   ═══════════════════════════════════════════════════════════════════════════ */
.features {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

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

.glass-card {
  background: var(--gradient-card);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.2), transparent);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-card-hover);
}

.glass-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-cyan);
}

/* Make first card span 2 columns for bento effect */
.features-grid > .glass-card:first-child {
  grid-column: 1 / span 2;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.glass-card:nth-child(even) .feature-icon-wrapper {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.15);
}

.glass-card:nth-child(even):hover .feature-icon-wrapper {
  box-shadow: var(--shadow-glow-green);
}

.glass-card:nth-child(even):hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 20px rgba(var(--accent-rgb), 0.08);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   8. SCREENSHOT GALLERY – Immersive showcase
   ═══════════════════════════════════════════════════════════════════════════ */
.screenshots {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

/* Full-width dark band behind gallery */
.screenshots::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 15%, rgba(0, 0, 0, 0.3) 85%, transparent 100%);
  pointer-events: none;
}

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

.screenshot-slider-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshot-track-viewport {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
}

.screenshot-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.screenshot-card {
  flex: 0 0 260px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-card);
  transition: all 0.5s var(--ease-out);
  transform: scale(0.9);
  opacity: 0.5;
  filter: brightness(0.7);
}

.screenshot-card.active-slide {
  transform: scale(1.05);
  opacity: 1;
  filter: brightness(1);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow:
    0 20px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(var(--primary-rgb), 0.1);
}

.screenshot-card img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--primary);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   9. FAQ & SUPPORT
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-support {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.faq-support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.faq-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background: rgba(13, 21, 41, 0.5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover, .faq-item.active {
  background: rgba(13, 21, 41, 0.8);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.faq-answer-content {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.faq-answer-content p {
  margin-bottom: 8px;
  line-height: 1.7;
}

.faq-answer-content p:last-child { margin-bottom: 0; }

/* Support Card */
.support-card {
  background: var(--gradient-card);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: sticky;
  top: 110px;
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
}

.support-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(6, 11, 24, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
  background: rgba(6, 11, 24, 0.9);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}

.form-status.error {
  display: block;
  background: rgba(255, 71, 87, 0.08);
  color: var(--error);
  border: 1px solid rgba(255, 71, 87, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   10. FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.footer-wrapper {
  position: relative;
  z-index: 1;
  background: rgba(4, 8, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 72px 24px 36px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.6;
}

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

.footer-links-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

.footer-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   11. LEGAL PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.legal-page {
  position: relative;
  z-index: 1;
  padding: 140px 24px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: var(--gradient-card);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.legal-back-btn:hover {
  transform: translateX(-4px);
}

.legal-updated {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-top: 8px;
}

.legal-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-content h2 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 16px;
}

.legal-content h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content blockquote {
  background: rgba(var(--primary-rgb), 0.04);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-content blockquote p {
  margin-bottom: 0;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   12. SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.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; }

/* ═══════════════════════════════════════════════════════════════════════════════
   13. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablets */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin: 0 auto 8px;
  }

  .hero-stats {
    justify-content: center;
  }

  .store-badges {
    justify-content: center;
  }

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

  .glass-card:first-child {
    grid-column: span 2;
  }

  .faq-support-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-card {
    position: static;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .hamburger {
    display: flex;
  }

  .header.mobile-open {
    background: var(--bg-deep);
    height: 100vh;
  }

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

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease-out);
  }

  .header.mobile-open .nav-menu {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .nav-actions { display: none; }

  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 50px;
  }

  .hero-tagline {
    font-size: 2.2rem;
  }

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

  .glass-card:first-child {
    grid-column: span 1;
  }

  .phone-container {
    width: 240px;
    height: 490px;
  }

  .mockup-glow {
    width: 300px;
    height: 560px;
  }

  .mockup-badge {
    padding: 10px 14px;
  }

  .mockup-badge-1 {
    left: -5px;
    bottom: 60px;
  }

  .mockup-badge-2 {
    right: -5px;
    top: 60px;
  }

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

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

  .footer-legal-links {
    justify-content: center;
  }

  .legal-card {
    padding: 28px 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-tagline {
    font-size: 1.9rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 1.4rem;
  }

  .phone-container {
    width: 220px;
    height: 450px;
    border-width: 2px;
  }

  .mockup-badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .mockup-badge-title { font-size: 0.75rem; }
  .mockup-badge-desc { font-size: 0.6rem; }

  .section-title {
    font-size: 1.7rem;
  }

  .store-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .screenshot-card {
    flex: 0 0 220px;
  }
}
