/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fafafa;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== VARIABLES ========== */
:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #A29BFE;
  --accent: #00CEC9;
  --accent-dark: #00B5B0;
  --gold: #FDCB6E;
  --gold-dark: #F0B03D;
  --danger: #E17055;
  --success: #00B894;
  --bg-dark: #0F0E17;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(108,92,231,0.15);
  --shadow-xl: 0 20px 60px rgba(108,92,231,0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(108,92,231,0.1), rgba(0,206,201,0.1));
  border: 1px solid rgba(108,92,231,0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(108,92,231,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108,92,231,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}
.btn-outline:hover {
  background: rgba(108,92,231,0.08);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-xl { padding: 20px 40px; font-size: 1.15rem; border-radius: 16px; }
.btn-icon { font-size: 1.3rem; }
.btn-svg { width: 22px; height: 22px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
}
.logo-icon { font-size: 1.5rem; }
.logo-text { color: var(--text-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 10px 20px;
  border-radius: 10px;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-particles .particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
.hero-content { flex: 1; z-index: 1; }
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(108,92,231,0.1), rgba(0,206,201,0.1));
  border: 1px solid rgba(108,92,231,0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Press Start 2P', monospace;
  font-size: 1.3rem;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: block;
}

/* ========== PHONE MOCKUP ========== */
.hero-mockup {
  flex-shrink: 0;
  z-index: 1;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}
.phone-frame {
  width: 300px;
  height: 600px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255,255,255,0.1);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #0f0e17;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1e1e3a 0%, #2a2a4a 100%);
  border-radius: 26px;
  overflow: hidden;
  padding: 40px 16px 16px;
}
.mock-app { color: white; }
.mock-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.mock-name { font-weight: 700; font-size: 1rem; }
.mock-level { font-size: 0.7rem; color: var(--gold); font-family: 'Press Start 2P', monospace; font-size: 0.55rem; }
.mock-xp-bar {
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.mock-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  animation: xp-fill 2s ease-out 1s both;
}
@keyframes xp-fill { from { width: 0; } }
.mock-xp-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.mock-tasks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.mock-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 0.8rem;
  transition: var(--transition);
}
.mock-task.completed { opacity: 0.7; }
.mock-task span:nth-child(2) { flex: 1; }
.mock-xp {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: var(--gold);
}
.mock-check { font-size: 1rem; }
.mock-streak {
  text-align: center;
  padding: 10px;
  background: linear-gradient(135deg, rgba(253,203,110,0.2), rgba(225,112,85,0.2));
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253,203,110,0.3); }
  50% { box-shadow: 0 0 20px 4px rgba(253,203,110,0.2); }
}

/* ========== FEATURES ========== */
.features { background: white; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,92,231,0.2);
}
.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(108,92,231,0.1), rgba(0,206,201,0.1));
  border-radius: 14px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== CATEGORIES ========== */
.categories-section { background: #fafafa; }
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}
.category-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  background: linear-gradient(135deg, rgba(108,92,231,0.05), rgba(0,206,201,0.05));
}
.category-pill span { font-size: 1.2rem; }

/* ========== LEVELS ========== */
.levels-section { background: white; }
.levels-showcase {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.level-card {
  width: 180px;
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  cursor: default;
  border: 2px solid transparent;
}
.level-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.level-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  margin-bottom: 8px;
}
.level-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.level-xp {
  font-size: 0.8rem;
  opacity: 0.7;
}
.level-beginner {
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
  color: #555;
  border-color: #ccc;
}
.level-mid {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
  border-color: #a5d6a7;
}
.level-high {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1565c0;
  border-color: #90caf9;
}
.level-elite {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  color: #7b1fa2;
  border-color: #ce93d8;
}
.level-legend {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  color: #e65100;
  border-color: #ffcc02;
  box-shadow: 0 4px 20px rgba(255,204,2,0.3);
}
.levels-formula { text-align: center; }
.formula-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 40px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  color: white;
}
.formula-label {
  font-size: 0.8rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.formula {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem;
  color: var(--gold);
  background: rgba(253,203,110,0.1);
  padding: 8px 16px;
  border-radius: 8px;
}
.formula-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== AVATAR ========== */
.avatar-section { background: linear-gradient(180deg, #fafafa, #f0eeff); }
.avatar-showcase { text-align: center; }
.avatar-choice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.avatar-option { text-align: center; }
.avatar-pixel {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-pixel:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: var(--shadow-xl);
}
.dog-avatar { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.cat-avatar { background: linear-gradient(135deg, #00cec9, #00b894); }
.pixel-art-dog, .pixel-art-cat {
  width: 80px;
  height: 80px;
  image-rendering: pixelated;
}
.pixel-art-dog {
  background:
    linear-gradient(90deg, transparent 30%, #8B6914 30%, #8B6914 70%, transparent 70%) no-repeat 0 0 / 100% 15%,
    linear-gradient(90deg, transparent 20%, #C4944A 20%, #C4944A 80%, transparent 80%) no-repeat 0 15% / 100% 15%,
    linear-gradient(90deg, transparent 25%, #1a1a2e 25%, #1a1a2e 40%, transparent 40%, transparent 60%, #1a1a2e 60%, #1a1a2e 75%, transparent 75%) no-repeat 0 30% / 100% 10%,
    linear-gradient(90deg, transparent 35%, #1a1a2e 35%, #1a1a2e 65%, transparent 65%) no-repeat 0 45% / 100% 8%,
    linear-gradient(90deg, transparent 20%, #C4944A 20%, #C4944A 80%, transparent 80%) no-repeat 0 55% / 100% 20%,
    linear-gradient(90deg, transparent 30%, #8B6914 30%, #8B6914 70%, transparent 70%) no-repeat 0 75% / 100% 25%;
}
.pixel-art-cat {
  background:
    linear-gradient(90deg, transparent 15%, #555 15%, #555 30%, transparent 30%, transparent 70%, #555 70%, #555 85%, transparent 85%) no-repeat 0 0 / 100% 20%,
    linear-gradient(90deg, transparent 20%, #777 20%, #777 80%, transparent 80%) no-repeat 0 20% / 100% 15%,
    linear-gradient(90deg, transparent 25%, #2ECC71 25%, #2ECC71 40%, transparent 40%, transparent 60%, #2ECC71 60%, #2ECC71 75%, transparent 75%) no-repeat 0 35% / 100% 10%,
    linear-gradient(90deg, transparent 40%, #E91E63 40%, #E91E63 60%, transparent 60%) no-repeat 0 47% / 100% 6%,
    linear-gradient(90deg, transparent 20%, #777 20%, #777 80%, transparent 80%) no-repeat 0 55% / 100% 20%,
    linear-gradient(90deg, transparent 30%, #555 30%, #555 70%, transparent 70%) no-repeat 0 75% / 100% 25%;
}
.avatar-vs {
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem;
  color: var(--primary);
  padding: 12px 20px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.avatar-option h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.avatar-option p { font-size: 0.9rem; color: var(--text-secondary); }
.cosmetics-preview { margin-top: 16px; }
.cosmetics-preview h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.cosmetic-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.cosmetic-tag {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}
.tag-common { background: #95a5a6; }
.tag-uncommon { background: #27ae60; }
.tag-rare { background: #2980b9; }
.tag-epic { background: #8e44ad; }
.tag-legendary { background: linear-gradient(135deg, #f39c12, #e74c3c); }
.rarity-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rarity {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.rarity-common { background: rgba(149,165,166,0.15); color: #7f8c8d; }
.rarity-uncommon { background: rgba(39,174,96,0.15); color: #27ae60; }
.rarity-rare { background: rgba(41,128,185,0.15); color: #2980b9; }
.rarity-epic { background: rgba(142,68,173,0.15); color: #8e44ad; }
.rarity-legendary { background: rgba(243,156,18,0.15); color: #e67e22; }

/* ========== TIMELINE / EXAMPLES ========== */
.examples-section { background: white; }
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
}
.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}
.timeline-time {
  width: 60px;
  text-align: right;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--primary);
  padding-top: 14px;
  flex-shrink: 0;
}
.timeline-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
  transition: var(--transition);
}
.timeline-content:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 16px;
  width: 14px;
  height: 14px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
}
.timeline-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.timeline-result .timeline-content {
  background: linear-gradient(135deg, rgba(108,92,231,0.05), rgba(0,206,201,0.05));
  border-color: var(--primary-light);
}
.timeline-result .timeline-content::before {
  background: var(--gold);
  border-color: var(--gold-dark);
  width: 18px;
  height: 18px;
  left: -10px;
}

/* ========== DOWNLOAD ========== */
.download-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #fafafa 0%, #f0eeff 100%);
}
.download-card {
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 60px;
  color: white;
  overflow: hidden;
  position: relative;
}
.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108,92,231,0.3), transparent 70%);
  pointer-events: none;
}
.download-content { flex: 1; z-index: 1; }
.download-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.download-content p {
  font-size: 1.05rem;
  color: #b0b0c8;
  margin-bottom: 28px;
  max-width: 450px;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.download-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}
.download-instructions {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.download-instructions h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.download-instructions ol {
  list-style: decimal inside;
  color: #b0b0c8;
  font-size: 0.9rem;
}
.download-instructions li { margin-bottom: 6px; }
.download-visual {
  flex-shrink: 0;
  z-index: 1;
  text-align: center;
  position: relative;
}
.floating-elements { position: relative; width: 200px; height: 200px; }
.float-el {
  position: absolute;
  font-size: 2rem;
  animation: float-bounce 3s ease-in-out infinite;
}
.float-1 { top: 0; left: 40%; animation-delay: 0s; }
.float-2 { top: 20%; right: 0; animation-delay: 0.5s; }
.float-3 { top: 50%; left: 0; animation-delay: 1s; }
.float-4 { bottom: 20%; right: 10%; animation-delay: 1.5s; }
.float-5 { bottom: 0; left: 30%; animation-delay: 2s; }
.float-6 { top: 40%; left: 50%; animation-delay: 0.7s; }
@keyframes float-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}
.qr-placeholder { margin-top: 20px; }
.qr-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.qr-box {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-icon { font-size: 1.5rem; }
.footer-brand .logo-text { font-size: 1.3rem; font-weight: 800; }
.footer-brand p {
  margin-top: 8px;
  color: #b0b0c8;
  font-size: 0.95rem;
}
.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a {
  display: block;
  color: #b0b0c8;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: white; transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* AOS-like scroll animation */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 24px 60px;
    gap: 40px;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-mockup { order: -1; }
  .phone-frame { width: 240px; height: 480px; }
  .download-card { flex-direction: column; padding: 40px 28px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .avatar-choice { flex-direction: column; gap: 24px; }
  .levels-showcase { flex-direction: column; align-items: center; }
  .level-card { width: 100%; max-width: 300px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow);
    border-radius: 0 0 16px 16px;
    gap: 12px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-time { width: 20px; font-size: 0.45rem; }
  .btn-xl { padding: 16px 28px; font-size: 1rem; }
}
