/* =============================================================
   Puzzle World ผจญภัย — Game Landing Page Styles
   Mobile-only design (max-width: 480px centered)
   Theme: Enchanted Fantasy Puzzle World
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Primary Palette — Deep Enchanted Teal & Purple */
  --primary: #0d9488;
  --primary-light: #5eead4;
  --primary-dark: #0f766e;
  
  /* Accent Colors */
  --accent-magenta: #d946ef;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
  --accent-cyan: #22d3ee;
  --accent-emerald: #10b981;
  --accent-rose: #fb7185;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0d9488 0%, #8b5cf6 50%, #d946ef 100%);
  --gradient-cta: linear-gradient(135deg, #d946ef 0%, #8b5cf6 50%, #0d9488 100%);
  --gradient-card: linear-gradient(180deg, rgba(13, 148, 136, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  --gradient-dark: linear-gradient(180deg, #0c1222 0%, #1a1040 100%);
  --gradient-world: linear-gradient(135deg, #0d9488 0%, #22d3ee 100%);
  --gradient-magic: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  
  /* Neutrals — Deep Night Sky */
  --bg-main: #080e1e;
  --bg-card: #111827;
  --bg-card-hover: #1e293b;
  --text-primary: #f0fdfa;
  --text-secondary: #a7f3d0;
  --text-muted: #6b9e8a;
  
  /* Shadows — Teal Glow */
  --shadow-sm: 0 2px 8px rgba(13, 148, 136, 0.15);
  --shadow-md: 0 4px 16px rgba(13, 148, 136, 0.2);
  --shadow-lg: 0 8px 32px rgba(13, 148, 136, 0.3);
  --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.4);
  --shadow-magic: 0 0 30px rgba(139, 92, 246, 0.3);
  
  /* Spacing */
  --container-padding: 16px;
  --section-gap: 40px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans Thai', 'Outfit', sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Starfield-like radial glow behind body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(217, 70, 239, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

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

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

/* ── Floating Puzzle Pieces Background ── */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-particles .puzzle-piece {
  position: absolute;
  opacity: 0.12;
  animation: float-puzzle linear infinite;
  filter: blur(0.5px);
}

.puzzle-piece.p1 { font-size: 20px; left: 5%; top: 15%; animation-duration: 12s; animation-delay: 0s; }
.puzzle-piece.p2 { font-size: 14px; left: 25%; top: 45%; animation-duration: 16s; animation-delay: -3s; }
.puzzle-piece.p3 { font-size: 18px; left: 75%; top: 25%; animation-duration: 10s; animation-delay: -5s; }
.puzzle-piece.p4 { font-size: 12px; left: 90%; top: 10%; animation-duration: 14s; animation-delay: -1s; }
.puzzle-piece.p5 { font-size: 16px; left: 50%; top: 70%; animation-duration: 11s; animation-delay: -4s; }
.puzzle-piece.p6 { font-size: 22px; left: 15%; top: 85%; animation-duration: 18s; animation-delay: -7s; }
.puzzle-piece.p7 { font-size: 10px; left: 65%; top: 55%; animation-duration: 13s; animation-delay: -2s; }
.puzzle-piece.p8 { font-size: 15px; left: 40%; top: 30%; animation-duration: 15s; animation-delay: -6s; }

@keyframes float-puzzle {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    opacity: 0.12;
  }
  25% {
    transform: translateY(-40px) translateX(20px) rotate(90deg) scale(1.2);
    opacity: 0.18;
  }
  50% {
    transform: translateY(-20px) translateX(-15px) rotate(180deg) scale(0.9);
    opacity: 0.1;
  }
  75% {
    transform: translateY(-50px) translateX(25px) rotate(270deg) scale(1.1);
    opacity: 0.15;
  }
  100% {
    transform: translateY(0) translateX(0) rotate(360deg) scale(1);
    opacity: 0.12;
  }
}

/* ── Promo Banner Strip ── */
.promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px var(--container-padding);
  background: var(--gradient-hero);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  animation: promo-pulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.promo-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer-strip 4s ease-in-out infinite;
}

@keyframes shimmer-strip {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes promo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

/* ── Top Bar ── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--container-padding);
  background: rgba(8, 14, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(13, 148, 136, 0.2);
}

.top-bar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-hero);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.4);
}

.top-bar .logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 17px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-bar .btn-login {
  padding: 6px 18px;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.4);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.top-bar .btn-login:hover {
  background: rgba(13, 148, 136, 0.4);
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.3);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 30, 0) 20%, rgba(8, 14, 30, 0.7) 65%, rgba(8, 14, 30, 1) 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 var(--container-padding) 24px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.4);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 12px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(0.98); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 4px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 10px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 148, 136, 0.2);
  backdrop-filter: blur(4px);
}

.hero-stat .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-amber);
}

.hero-stat .stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── CTA Button ── */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(139, 92, 246, 0.2);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.btn-cta:active {
  transform: scale(0.97);
}

.btn-cta-icon {
  font-size: 20px;
}

/* ── Section Base ── */
.section {
  padding: var(--section-gap) var(--container-padding);
  position: relative;
  z-index: 1;
}

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

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

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

/* ═══════ World Map Showcase ═══════ */
.world-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.world-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.15);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.world-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-hero);
  border-radius: 0 2px 2px 0;
}

.world-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.world-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.world-card-info {
  flex: 1;
}

.world-card-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.world-card-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.world-card-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.world-card-badge.locked {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, 0.3);
}

/* ── Feature Cards ── */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.12);
  transition: var(--transition-normal);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.feature-icon.teal { background: rgba(13, 148, 136, 0.2); }
.feature-icon.magenta { background: rgba(217, 70, 239, 0.2); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.2); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.2); }

.feature-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ═══════ Characters Section ═══════ */
.character-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.character-card {
  padding: 16px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.15);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.character-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-magic);
  opacity: 0;
  transition: var(--transition-normal);
  border-radius: var(--radius-lg);
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-magic);
  border-color: rgba(139, 92, 246, 0.4);
}

.character-card:hover::after {
  opacity: 0.05;
}

.char-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border: 2px solid rgba(139, 92, 246, 0.25);
  position: relative;
  z-index: 1;
}

.char-info {
  position: relative;
  z-index: 1;
}

.char-info h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.char-role {
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.char-stars {
  font-size: 12px;
  color: var(--accent-amber);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── Screenshot Gallery ── */
.screenshots-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.screenshots-container::-webkit-scrollbar {
  display: none;
}

.screenshots-track {
  display: flex;
  gap: 12px;
  padding: 0 var(--container-padding);
}

.screenshot-card {
  flex-shrink: 0;
  width: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(13, 148, 136, 0.2);
  scroll-snap-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.screenshot-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.screenshots-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.screenshots-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.3);
  transition: var(--transition-fast);
  cursor: pointer;
}

.screenshots-dots .dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.5);
}

/* ── How to Play Steps ── */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 52px;
  bottom: 52px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent-purple), var(--accent-magenta));
  border-radius: 1px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.12);
  position: relative;
  z-index: 1;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.step-number.s1 { background: var(--primary); box-shadow: 0 0 12px rgba(13, 148, 136, 0.4); }
.step-number.s2 { background: var(--accent-purple); box-shadow: 0 0 12px rgba(139, 92, 246, 0.4); }
.step-number.s3 { background: var(--accent-magenta); box-shadow: 0 0 12px rgba(217, 70, 239, 0.4); }

.step-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Reviews Section ── */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 148, 136, 0.12);
  transition: var(--transition-normal);
}

.review-card:hover {
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
}

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

.review-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Countdown Timer ── */
.countdown-section {
  text-align: center;
  padding: 24px var(--container-padding);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-top: 1px solid rgba(13, 148, 136, 0.15);
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
}

.countdown-label {
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  min-width: 56px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.countdown-box .number {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-amber);
}

.countdown-box .label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-separator {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-muted);
  padding-bottom: 16px;
}

/* ── Rating Summary ── */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.rating-big {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-details {
  display: flex;
  flex-direction: column;
}

.rating-stars-big {
  font-size: 18px;
  color: var(--accent-amber);
  letter-spacing: 2px;
}

.rating-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Sticky Bottom CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 12px var(--container-padding);
  background: rgba(8, 14, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(13, 148, 136, 0.2);
  z-index: 200;
  transition: var(--transition-normal);
}

.sticky-cta.hidden {
  transform: translateX(-50%) translateY(100%);
}

.sticky-cta .btn-cta {
  font-size: 15px;
  padding: 12px 20px;
}

/* ── Footer ── */
.footer {
  padding: 32px var(--container-padding);
  padding-bottom: 80px;
  text-align: center;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

/* ── Scroll Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Utility ── */
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Download Badges ── */
.download-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.badge-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 11px;
  transition: var(--transition-fast);
}

.badge-btn:hover {
  background: rgba(13, 148, 136, 0.2);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.15);
}

.badge-btn .badge-icon {
  font-size: 20px;
}

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

.badge-btn .badge-text .small {
  font-size: 9px;
  opacity: 0.7;
}

.badge-btn .badge-text .name {
  font-weight: 700;
  font-size: 13px;
}
