/* Open Tales - "Twilight Storybook" Design
   A dreamy, warm aesthetic evoking the magical moment between wakefulness and sleep */

/* ============================================
   FONTS - Distinctive typography choices
   Loaded via <link> in HTML for better performance
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Brand Color Palette */
  --purple-bright: #A462FD;
  --purple-deep: #5A19BF;
  --magenta: #D60066;
  --wine-plum: #7F0445;
  --golden-yellow: #F1C12B;
  --sky-blue: #557DBD;
  --lavender-light: #DCDAFF;
  --white: #FFFFFF;
  --cream: #FBF9FF;
  --cream-dark: #F0EDFA;

  /* Semantic Colors */
  --bg-primary: var(--cream);
  --bg-dark: var(--purple-deep);
  --bg-section: var(--lavender-light);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-muted: #7a7a8c;
  --text-light: var(--white);
  --accent-primary: var(--purple-bright);
  --accent-secondary: var(--magenta);
  --accent-tertiary: var(--sky-blue);

  /* Typography */
  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 3rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(90, 25, 191, 0.08);
  --shadow-medium: 0 8px 40px rgba(90, 25, 191, 0.12);
  --shadow-dramatic: 0 20px 60px rgba(90, 25, 191, 0.2);
  --shadow-glow: 0 0 40px rgba(164, 98, 253, 0.3);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
  --duration-slower: 800ms;
}

/* ============================================
   BASE RESET & GLOBAL STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection styling */
::selection {
  background: var(--purple-bright);
  color: white;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
}

p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--magenta);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 399px) {
  .container {
    padding: 0 var(--space-md);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-5xl) 0;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--magenta) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(164, 98, 253, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(164, 98, 253, 0.45);
  color: white;
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn--secondary {
  background: transparent;
  color: var(--purple-deep);
  border: 2px solid var(--purple-deep);
}

.btn--secondary:hover {
  background: var(--purple-deep);
  color: white;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.btn--small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(254, 249, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled {
  box-shadow: 0 1px 0 rgba(26, 26, 46, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.header__logo {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: transform var(--duration-fast) ease;
}

.header__logo:hover {
  transform: scale(1.03);
  color: var(--text-primary);
}

.header__logo span {
  color: var(--purple-bright);
}

.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
  }
}

.header__nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.header__nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--duration-fast) ease;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-bright);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

.header__nav-link:hover {
  color: var(--text-primary);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__cta {
  display: none;
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-flex;
  }
}

.header__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0.85;
}

.header__lang:hover {
  opacity: 1;
  transform: scale(1.1);
}

.header__lang svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 10px;
}

@media (min-width: 1024px) {
  .header__menu-btn {
    display: none;
  }
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.header__menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 120px var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav__list {
  list-style: none;
  flex: 1;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--cream-dark);
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-lg) 0;
  transition: color var(--duration-fast) ease;
}

.mobile-nav__link:hover {
  color: var(--purple-bright);
}

.mobile-nav__cta {
  padding-top: var(--space-xl);
}

.mobile-nav__cta .btn {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Gradient background */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(164, 98, 253, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(214, 0, 102, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(90, 25, 191, 0.08) 0%, transparent 60%),
    var(--bg-primary);
  z-index: -2;
}

/* Floating shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--lavender-light) 100%);
  top: 10%;
  right: -100px;
  filter: blur(80px);
  animation: float-slow 20s ease-in-out infinite;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--wine-plum) 100%);
  bottom: 20%;
  left: -80px;
  filter: blur(60px);
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--lavender-light) 100%);
  top: 50%;
  right: 20%;
  filter: blur(50px);
  animation: float-slow 18s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Decorative stars */
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--golden-yellow);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 25%; right: 25%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 40%; left: 15%; animation-delay: 1s; }
.star:nth-child(4) { bottom: 35%; right: 15%; animation-delay: 1.5s; }
.star:nth-child(5) { bottom: 25%; left: 30%; animation-delay: 2s; }
.star:nth-child(6) { top: 20%; right: 40%; animation-delay: 2.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.8; transform: scale(1); }
}

.hero__content {
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: linear-gradient(135deg, rgba(164, 98, 253, 0.15) 0%, rgba(214, 0, 102, 0.1) 100%);
  border: 1px solid rgba(164, 98, 253, 0.3);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-bright);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
  flex-wrap: wrap;
}

@media (max-width: 479px) {
  .hero__proof {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

.hero__avatars {
  display: flex;
}

.hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  margin-left: -12px;
  background: linear-gradient(135deg, var(--lavender-light) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero__avatar:first-child {
  margin-left: 0;
}

.hero__proof-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

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

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

@media (min-width: 480px) {
  .hero__buttons {
    flex-direction: row;
  }
}

/* Hero video area */
.hero__visual {
  display: block;
  margin-top: var(--space-2xl);
}

.hero__video {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dramatic);
}

.hero__video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hero__video-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(164, 98, 253, 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

@media (min-width: 768px) {
  .hero__video {
    max-width: 360px;
    border-radius: var(--radius-2xl);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 80px;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
  }

  .hero__visual {
    margin-top: 0;
  }

  .hero__video {
    max-width: 400px;
    animation: fadeInRight 1s var(--ease-out-expo) 0.3s both;
  }
}

/* ============================================
   STATS BAR SECTION
   ============================================ */
.stats-bar {
  background: white;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
  z-index: 10;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

@media (min-width: 768px) {
  .stats-bar__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
  }
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stats-bar__star {
  color: var(--golden-yellow);
  font-size: 0.8em;
}

.stats-bar__label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .stats-bar__label {
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
  }
}

.stats-bar__divider {
  display: none;
}

@media (min-width: 768px) {
  .stats-bar__divider {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

@media (min-width: 768px) {
  .section-header {
    margin: 0 auto var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin: 0 auto var(--space-4xl);
  }
}

.section-header__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta);
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

.section-header p {
  font-size: 1.125rem;
}

/* ============================================
   EMPATHY SECTION
   ============================================ */
.empathy {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--cream-dark) 100%);
}

.empathy__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.empathy__title {
  margin-bottom: var(--space-2xl);
}

.empathy__text {
  font-size: 1.1875rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.empathy__highlight {
  display: inline;
  background: linear-gradient(180deg, transparent 60%, rgba(164, 98, 253, 0.3) 60%);
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background: var(--lavender-light);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lavender-light) 50%, transparent 100%);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.feature-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
  border: 1px solid transparent;
}

@media (min-width: 768px) {
  .feature-card {
    padding: var(--space-2xl);
  }
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-bright) 0%, var(--magenta) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--lavender-light);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(164, 98, 253, 0.1) 0%, rgba(214, 0, 102, 0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--purple-bright);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   SERIES SECTION
   ============================================ */
.series {
  background: var(--bg-primary);
  position: relative;
}

.series__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .series__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .series__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.series-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
  border: 1px solid var(--cream-dark);
}

.series-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-dramatic);
  border-color: transparent;
}

.series-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.series-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.series-card:hover .series-card__image {
  transform: scale(1.08);
}

.series-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 46, 0.6) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.series-card:hover .series-card__image-overlay {
  opacity: 1;
}

.series-card__content {
  padding: var(--space-xl);
}

.series-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.series-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.series-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.series-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-full);
  background: var(--cream-dark);
  color: var(--text-secondary);
}

.series-card__tag--age {
  background: linear-gradient(135deg, rgba(164, 98, 253, 0.15) 0%, rgba(214, 0, 102, 0.1) 100%);
  color: var(--purple-bright);
}

/* Series Card Badges */
.series-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.series-card__badge--popular {
  background: linear-gradient(135deg, var(--magenta) 0%, var(--wine-plum) 100%);
  color: white;
}

.series-card__badge--bedtime {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-bright) 100%);
  color: white;
}

.series-card__badge--transition {
  background: linear-gradient(135deg, var(--sky-blue) 0%, #4a6fa5 100%);
  color: white;
}

/* ============================================
   DOROTA AI SECTION
   ============================================ */
.dorota {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--wine-plum) 50%, var(--purple-deep) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Starfield effect */
.dorota__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.3), transparent);
  background-size: 200px 200px;
  animation: drift 60s linear infinite;
  opacity: 0.6;
}

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 200px 200px; }
}

.dorota__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .dorota__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.dorota__content h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.dorota__subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--golden-yellow);
  margin-bottom: var(--space-xl);
}

.dorota__content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
}

.dorota__list {
  list-style: none;
  margin-bottom: var(--space-2xl);
}

.dorota__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.9);
}

.dorota__list-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--golden-yellow);
  margin-top: 2px;
}

.dorota__visual {
  position: relative;
}

.dorota__phone {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-sm);
  max-width: 340px;
  margin: 0 auto;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: none;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

@media (min-width: 768px) {
  .dorota__phone {
    transform: rotate(-3deg);
  }
}

.dorota__phone:hover {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .dorota__phone:hover {
    transform: rotate(0deg) scale(1.02);
  }
}

.dorota__phone img {
  border-radius: var(--radius-xl);
  width: 100%;
}

.dorota__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--purple-bright) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* ============================================
   PARENTS SECTION
   ============================================ */
.parents {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--bg-primary) 100%);
}

.parents__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .parents__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.parents__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta);
  margin-bottom: var(--space-md);
}

.parents__content h2 {
  margin-bottom: var(--space-xl);
}

.parents__content > p {
  margin-bottom: var(--space-lg);
}

.parents__list {
  list-style: none;
  margin: var(--space-xl) 0;
}

.parents__list-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  transition: all var(--duration-fast) ease;
  border: 1px solid var(--cream-dark);
}

.parents__list-item:hover {
  transform: translateX(8px);
  border-color: var(--purple-bright);
  box-shadow: var(--shadow-soft);
}

.parents__list-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--purple-bright);
}

.parents__quote {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  padding-left: calc(var(--space-xl) + var(--space-md));
  margin-top: var(--space-xl);
  position: relative;
  border-left: 4px solid var(--purple-bright);
}

@media (min-width: 768px) {
  .parents__quote {
    padding-left: calc(var(--space-xl) + var(--space-lg));
  }
}

.parents__quote::before {
  content: '"';
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--purple-bright);
  opacity: 0.15;
  line-height: 1;
}

@media (min-width: 768px) {
  .parents__quote::before {
    top: var(--space-md);
    left: var(--space-md);
    font-size: 4rem;
    opacity: 0.2;
  }
}

.parents__quote p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.parents__quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.parents__visual {
  position: relative;
}

.parents__image-wrapper {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-sm);
  box-shadow: var(--shadow-medium);
  max-width: 400px;
  margin: 0 auto;
}

.parents__image-wrapper img {
  border-radius: var(--radius-xl);
  width: 100%;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps {
  background: var(--bg-primary);
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  position: relative;
}

@media (min-width: 768px) {
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .steps__grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: calc(16.67% + 30px);
    right: calc(16.67% + 30px);
    height: 2px;
    background: linear-gradient(90deg, var(--purple-bright) 0%, var(--magenta) 50%, var(--sky-blue) 100%);
    opacity: 0.3;
  }
}

.step-card {
  text-align: center;
  position: relative;
}

.step-card__number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--magenta) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 8px 30px rgba(164, 98, 253, 0.3);
  position: relative;
  z-index: 1;
}

.step-card__icon {
  width: 80px;
  height: 80px;
  background: var(--cream-dark);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.step-card__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--purple-deep);
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
  background: var(--lavender-light);
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
}

@media (min-width: 768px) {
  .trust__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust__testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .trust__testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust__testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--purple-bright) 0%, var(--magenta) 100%);
}

.testimonial-card__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--bg-primary);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .faq__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

.faq__column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq__item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.faq__item:hover {
  border-color: var(--purple-bright);
  box-shadow: var(--shadow-soft);
}

.faq__item.active {
  border-color: var(--purple-bright);
  box-shadow: var(--shadow-medium);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--duration-fast) ease;
}

@media (min-width: 768px) {
  .faq__question {
    font-size: 1.0625rem;
  }
}

.faq__question:hover {
  color: var(--purple-bright);
}

.faq__question span {
  flex: 1;
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--purple-bright);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out-expo),
              padding var(--duration-normal) var(--ease-out-expo);
}

.faq__item.active .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding: 0 var(--space-xl) var(--space-xl);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--wine-plum) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 100%, rgba(164, 98, 253, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 0%, rgba(214, 0, 102, 0.15) 0%, transparent 60%);
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.cta__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cta__subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
  }
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 480px) {
  .cta__buttons {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-lg);
  }
}

.cta__store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) ease;
}

.cta__store-btn:hover {
  transform: translateY(-4px);
}

.cta__store-btn img {
  height: 44px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .cta__store-btn img {
    height: 52px;
  }
}

.cta__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--cream-dark);
}

@media (min-width: 768px) {
  .footer {
    padding: var(--space-4xl) 0 var(--space-xl);
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl) var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
  }

  .footer__brand {
    grid-column: auto;
  }
}

.footer__brand {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .footer__brand {
    max-width: 280px;
    align-items: flex-start;
    text-align: left;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer__logo span {
  color: var(--purple-bright);
}

.footer__tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 44px;
  height: 44px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.footer__social-link:hover {
  background: var(--purple-bright);
  color: white;
  transform: translateY(-3px);
}

.footer__nav {
  text-align: center;
}

@media (min-width: 1024px) {
  .footer__nav {
    text-align: left;
  }
}

.footer__nav-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .footer__nav-title {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
  }
}

.footer__nav-list {
  list-style: none;
}

.footer__nav-link {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) ease;
}

@media (min-width: 768px) {
  .footer__nav-link {
    font-size: 0.9375rem;
  }
}

.footer__nav-link:hover {
  color: var(--purple-bright);
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cream-dark);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    padding-top: var(--space-xl);
  }
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xs);
}

@media (min-width: 768px) {
  .footer__copyright {
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
  }
}

.footer__love {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer__love {
    font-size: 0.875rem;
    margin-bottom: var(--space-xl);
  }
}

.footer__eu {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cream-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__eu-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer__eu-text {
    font-size: 0.8125rem;
  }
}

.footer__eu-logo {
  max-height: 40px;
  max-width: 100%;
  opacity: 0.7;
  transition: opacity var(--duration-fast) ease;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer__eu-logo {
    max-height: 50px;
  }
}

.footer__eu-logo:hover {
  opacity: 1;
}

/* ============================================
   STICKY CTA (Mobile)
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: var(--space-md);
  box-shadow: 0 -4px 20px rgba(26, 26, 46, 0.1);
  z-index: 900;
  display: block;
}

.sticky-cta .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

body.has-sticky-cta {
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slower) var(--ease-out-expo);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 100ms; }
[data-animate-delay="2"] { transition-delay: 200ms; }
[data-animate-delay="3"] { transition-delay: 300ms; }
[data-animate-delay="4"] { transition-delay: 400ms; }
[data-animate-delay="5"] { transition-delay: 500ms; }
[data-animate-delay="6"] { transition-delay: 600ms; }
[data-animate-delay="7"] { transition-delay: 700ms; }
[data-animate-delay="8"] { transition-delay: 800ms; }
[data-animate-delay="9"] { transition-delay: 900ms; }
[data-animate-delay="10"] { transition-delay: 1000ms; }

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* No scroll when menu open */
body.menu-open {
  overflow: hidden;
}

/* ============================================
   LEGAL PAGES (Terms, Privacy, Cookies)
   ============================================ */
.legal-content {
  padding-top: var(--space-3xl);
}

.legal-content__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.legal-content__header h1 {
  margin-bottom: var(--space-md);
}

.legal-content__header p {
  color: var(--text-muted);
}

.legal-content__body {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.legal-content__body h2 {
  font-size: 1.75rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--lavender-light);
}

.legal-content__body h2:first-child {
  margin-top: 0;
}

.legal-content__body h3 {
  font-size: 1.25rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--purple-deep);
}

.legal-content__body h4 {
  font-size: 1.1rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.legal-content__body p {
  margin-bottom: var(--space-md);
}

.legal-content__body a {
  color: var(--purple-bright);
  text-decoration: underline;
}

.legal-content__body a:hover {
  color: var(--magenta);
}

.legal-content__body ol,
.legal-content__body ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content__body li {
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.legal-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--lavender-light), var(--purple-bright), var(--lavender-light));
  margin: var(--space-3xl) 0;
}

@media (max-width: 767px) {
  .legal-content__body {
    padding: var(--space-lg);
  }
}
