/* ============================================
   KAHAN — Design System
   Premium Dark-Mode-First Website
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --primary: #f48c25;
  --primary-light: #ffaa4d;
  --primary-dark: #c06a10;
  --accent: #00f5ff;
  --accent-light: #66faff;
  --accent-dark: #00b8c2;

  /* Surfaces */
  --bg-deepest: #060810;
  --bg-dark: #0a0e14;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --bg-elevated: #1e293b;
  --bg-glass: rgba(17, 24, 39, 0.6);
  --bg-glass-hover: rgba(26, 35, 50, 0.8);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(244, 140, 37, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #f48c25, #ff6b00);
  --gradient-accent: linear-gradient(135deg, #00f5ff, #0088ff);
  --gradient-brand: linear-gradient(135deg, #f48c25, #00f5ff);
  --gradient-glow: radial-gradient(ellipse at center, rgba(244, 140, 37, 0.15), transparent 70%);
  --gradient-hero: linear-gradient(180deg, rgba(6,8,16,0) 0%, rgba(6,8,16,0.6) 50%, rgba(6,8,16,1) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-primary: 0 0 30px rgba(244, 140, 37, 0.2);
  --shadow-glow-accent: 0 0 30px rgba(0, 245, 255, 0.2);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --container-padding: 24px;
  --section-gap: 120px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary-color {
  color: var(--primary);
}

.text-accent-color {
  color: var(--accent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 1.125rem;
}

.text-center {
  text-align: center;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-padding);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(6, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.navbar-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-smooth);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
}

.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-glow-primary);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(244, 140, 37, 0.35);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-smooth);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-smooth);
  cursor: pointer;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-md {
  padding: 12px 28px;
  font-size: 0.9375rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(244, 140, 37, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #0a0e14;
  box-shadow: var(--shadow-glow-accent);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.4);
}

.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Cards ---------- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card-icon.orange {
  background: rgba(244, 140, 37, 0.1);
  color: var(--primary);
  border: 1px solid rgba(244, 140, 37, 0.2);
}

.card-icon.cyan {
  background: rgba(0, 245, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 245, 255, 0.2);
}

.card-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.card-icon.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.glass-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.glass-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--container-padding) 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: var(--container-max);
  width: 100%;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.08;
}

.hero-text p {
  font-size: 1.1875rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-phone {
  flex-shrink: 0;
  width: 300px;
  position: relative;
}

.hero-phone-frame {
  position: relative;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(244, 140, 37, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.08);
  animation: float 6s ease-in-out infinite;
}

.hero-phone-frame img {
  width: 100%;
  display: block;
}

.hero-phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(244, 140, 37, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
}

.section-gradient {
  background: linear-gradient(180deg, var(--bg-deepest), var(--bg-dark));
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-number.orange {
  background: rgba(244, 140, 37, 0.1);
  color: var(--primary);
  border: 2px solid rgba(244, 140, 37, 0.25);
  box-shadow: 0 0 40px rgba(244, 140, 37, 0.1);
}

.step-number.cyan {
  background: rgba(0, 245, 255, 0.1);
  color: var(--accent);
  border: 2px solid rgba(0, 245, 255, 0.25);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.1);
}

.step-number.green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 2px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9375rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Stats Counter */
.stats-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value.orange { color: var(--primary); }
.stat-value.cyan { color: var(--accent); }
.stat-value.green { color: #22c55e; }
.stat-value.purple { color: #a855f7; }

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* App Preview */
.app-preview-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.app-preview-frame {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.app-preview-frame img {
  width: 100%;
  display: block;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.125rem;
}

/* Store Badges */
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-smooth);
  color: var(--text-primary);
}

.store-badge:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-primary);
}

.store-badge-icon {
  font-size: 1.75rem;
}

.store-badge-text {
  text-align: left;
}

.store-badge-text small {
  font-size: 0.6875rem;
  color: var(--text-muted);
  display: block;
  line-height: 1;
}

.store-badge-text strong {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* ---------- Coming Soon Badge ---------- */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(244, 140, 37, 0.1);
  border: 1px solid rgba(244, 140, 37, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Feature Showcase (Features Page) ---------- */
.feature-showcase {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
}

.feature-showcase.reverse {
  flex-direction: row-reverse;
}

.feature-showcase-content {
  flex: 1;
}

.feature-showcase-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-showcase-content h2 {
  margin-bottom: 20px;
}

.feature-showcase-content p {
  margin-bottom: 32px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.feature-list-item .check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 140, 37, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Revenue Cards (Creators Page) ---------- */
.revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.revenue-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.revenue-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}

.revenue-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.revenue-card h3 {
  margin-bottom: 12px;
}

.revenue-card p {
  font-size: 0.9375rem;
}

/* Payout Methods */
.payout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.payout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.payout-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow-accent);
}

.payout-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 245, 255, 0.1);
  color: var(--accent);
  font-size: 1.25rem;
}

.payout-card h4 {
  margin-bottom: 4px;
}

.payout-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.payout-status {
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.payout-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

/* ---------- Timeline (About Page) ---------- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding: 0 0 48px 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-deepest);
  box-shadow: 0 0 12px rgba(244, 140, 37, 0.3);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.timeline-item p {
  font-size: 0.9375rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.value-card:hover {
  border-color: var(--border-light);
  transform: translateY(-6px);
}

.value-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.value-card h3 {
  margin-bottom: 12px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-smooth);
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 1.125rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Legal Pages ---------- */
.legal-page {
  padding: 140px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.legal-content .legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  list-style: disc;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
    --container-padding: 20px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 40px;
  }

  .hero-phone {
    width: 260px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .btn-group {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .revenue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-showcase {
    flex-direction: column !important;
    text-align: center;
    gap: 48px;
  }

  .feature-showcase-content {
    order: 1;
  }

  .feature-showcase-visual {
    order: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
  }

  .navbar-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px;
    gap: 24px;
    background: rgba(6, 8, 16, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    font-size: 1.25rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-grid::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .revenue-grid {
    grid-template-columns: 1fr;
  }

  .payout-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}
