/* =====================================================
   SWIPE REFLEX - Light Theme Design System
   ===================================================== */

/* CSS Variables - Light Theme Tokens */
:root {
  /* Colors - Light Theme */
  --color-bg-primary: #f8fafc;
  --color-bg-secondary: #ffffff;
  --color-bg-card: rgba(255, 255, 255, 0.8);
  --color-bg-card-hover: rgba(255, 255, 255, 0.95);

  --color-primary: #0ea5e9;
  --color-primary-dark: #0284c7;
  --color-secondary: #8b5cf6;
  --color-accent: #ec4899;
  --color-success: #10b981;
  --color-warning: #f59e0b;

  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;

  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  --gradient-hero: linear-gradient(135deg, #e0f2fe 0%, #f0e7ff 50%, #fce7f3 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows - Light Theme */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.2);
  --shadow-glow-lg: 0 0 60px rgba(14, 165, 233, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-6);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
}

h2 {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-5xl));
}

h3 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
}

h4 {
  font-size: var(--text-xl);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

p {
  color: var(--color-text-secondary);
  max-width: 65ch;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-4) 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #ffffff;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24) 0 var(--space-16);
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-logo {
  width: clamp(180px, 30vw, 280px);
  height: auto;
  margin-bottom: var(--space-8);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(14, 165, 233, 0.3));
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero h1 {
  margin-bottom: var(--space-6);
}

.hero .tagline {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  color: var(--color-text-secondary);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  background: var(--color-bg-card);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Animated Background Elements */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.08;
  filter: blur(100px);
  animation: pulse 8s ease-in-out infinite;
}

.hero-bg-circle:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
}

.hero-bg-circle:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
  animation-delay: -4s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.08;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.12;
  }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  color: #ffffff;
}

.btn-secondary {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-bg-primary);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* =====================================================
   SECTIONS
   ===================================================== */
section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* =====================================================
   FEATURES
   ===================================================== */
.features {
  background: var(--color-bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  background: var(--color-bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.feature-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: var(--text-sm);
  position: relative;
  z-index: 1;
}

/* =====================================================
   THEMES SHOWCASE
   ===================================================== */
.themes {
  position: relative;
  overflow: hidden;
}

.themes-carousel {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  padding: var(--space-4) 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.themes-carousel::-webkit-scrollbar {
  display: none;
}

.theme-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.theme-card:hover {
  transform: scale(1.05);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}

.theme-preview {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-5xl);
}

.theme-card h4 {
  margin-bottom: var(--space-2);
}

.theme-card p {
  font-size: var(--text-sm);
  margin: 0 auto;
}

/* Theme Colors */
.theme-classic {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

.theme-cat {
  background: linear-gradient(135deg, #fda4af 0%, #fb7185 100%);
}

.theme-xmas {
  background: linear-gradient(135deg, #dc2626 0%, #16a34a 100%);
}

.theme-beach {
  background: linear-gradient(135deg, #38bdf8 0%, #fcd34d 100%);
}

.theme-mountain {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
}

/* =====================================================
   DIFFICULTY SECTION
   ===================================================== */
.difficulty-levels {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.difficulty-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background: var(--color-bg-secondary);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  min-width: 160px;
  box-shadow: var(--shadow-md);
}

.difficulty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.difficulty-easy {
  border-color: var(--color-success);
}

.difficulty-easy:hover {
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

.difficulty-medium {
  border-color: var(--color-warning);
}

.difficulty-medium:hover {
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.2);
}

.difficulty-hard {
  border-color: #ef4444;
}

.difficulty-hard:hover {
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.2);
}

.difficulty-extreme {
  border-color: var(--color-secondary);
}

.difficulty-extreme:hover {
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.difficulty-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.difficulty-card h4 {
  margin-bottom: var(--space-2);
}

.difficulty-card p {
  font-size: var(--text-sm);
  margin: 0 auto;
}

/* =====================================================
   DOWNLOAD SECTION
   ===================================================== */
.download {
  background: var(--color-bg-secondary);
  text-align: center;
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-10);
}

.store-badge {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-8);
  background: var(--color-bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.store-badge:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}

.store-badge svg {
  width: 40px;
  height: 40px;
  fill: var(--color-text-primary);
}

.store-badge-text {
  text-align: left;
}

.store-badge-text span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-badge-text strong {
  font-size: var(--text-lg);
  color: var(--color-text-primary);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
  background: var(--color-bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info h3 {
  margin-bottom: var(--space-4);
}

.contact-info p {
  margin-bottom: var(--space-6);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.contact-method-text span {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-method-text strong {
  color: var(--color-text-primary);
}

/* Contact Form */
.contact-form {
  background: var(--color-bg-secondary);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-4);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-status {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
}

.footer-links h5 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-secondary);
}

.footer-social a:hover svg {
  fill: #ffffff;
}

/* =====================================================
   COOKIE CONSENT
   ===================================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--space-6);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cookie-consent p {
  font-size: var(--text-sm);
  flex: 1;
  min-width: 200px;
}

.cookie-consent-buttons {
  display: flex;
  gap: var(--space-3);
}

.cookie-consent .btn {
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-page {
  padding-top: 120px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: var(--space-4);
}

.legal-content .last-updated {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-12);
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content p {
  margin-bottom: var(--space-4);
  max-width: none;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  color: var(--color-text-secondary);
}

.legal-content li {
  margin-bottom: var(--space-2);
}

.legal-content a {
  color: var(--color-primary);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-4);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-stats {
    gap: var(--space-4);
  }

  .hero-stat {
    padding: var(--space-4);
  }

  .hero-stat-value {
    font-size: var(--text-3xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .difficulty-levels {
    flex-direction: column;
    align-items: center;
  }

  .difficulty-card {
    width: 100%;
    max-width: 280px;
  }

  .theme-card {
    flex: 0 0 240px;
  }
}