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

:root {
  --bg: #1a1333;
  --bg-mid: #241a4a;
  --bg-light: #2f2060;
  --accent: #f5a623;
  --accent-dim: #c47d0e;
  --cream: #fef9ef;
  --cream-mid: #f0e6d3;
  --lavender: #c8a8e8;
  --lavender-dim: #9b6cc4;
  --teal: #7ed8c4;
  --rose: #f4a0b5;
  --rose-dim: #e06787;
  --navy: #1a1333;
  --text: var(--cream);
  --text-dim: rgba(254, 249, 239, 0.6);
  --font-head: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;
}

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

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

/* ===== NAV ===== */
.nav {
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 19, 51, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(254, 249, 239, 0.07);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-tagline { font-size: 0.85rem; color: var(--text-dim); margin-left: auto; }

/* ===== HERO ===== */
.hero { padding: 4rem 2rem 5rem; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-headline em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: 1.05rem; color: var(--text-dim); max-width: 420px; line-height: 1.7; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.stars-cluster { position: absolute; inset: 0; overflow: hidden; }
.star {
  position: absolute;
  background: var(--cream);
  border-radius: 50%;
  opacity: 0.8;
}
.s1 { width: 4px; height: 4px; top: 12%; left: 8%; opacity: 0.6; }
.s2 { width: 6px; height: 6px; top: 5%; left: 28%; opacity: 0.5; }
.s3 { width: 3px; height: 3px; top: 18%; left: 55%; opacity: 0.7; }
.s4 { width: 5px; height: 5px; top: 8%; right: 30%; opacity: 0.6; }
.s5 { width: 4px; height: 4px; top: 30%; left: 15%; opacity: 0.4; }
.s6 { width: 7px; height: 7px; top: 22%; right: 10%; opacity: 0.5; animation: twinkle 3s ease-in-out infinite; }
.s7 { width: 3px; height: 3px; top: 45%; left: 5%; opacity: 0.6; }
.s8 { width: 5px; height: 5px; top: 38%; right: 5%; opacity: 0.4; }
.s9 { width: 4px; height: 4px; top: 60%; left: 20%; opacity: 0.3; }
.s10 { width: 6px; height: 6px; top: 50%; right: 18%; opacity: 0.5; animation: twinkle 2s ease-in-out infinite 0.5s; }
.s11 { width: 3px; height: 3px; top: 75%; left: 35%; opacity: 0.4; }
.s12 { width: 5px; height: 5px; top: 70%; right: 8%; opacity: 0.3; }

.moon {
  position: absolute;
  top: 8%;
  right: 18%;
  width: 72px;
  height: 72px;
  background: radial-gradient(circle at 40% 40%, #fff8d6 0%, #f5a623 55%, #c47d0e 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(245, 166, 35, 0.5), 0 0 80px rgba(245, 166, 35, 0.2);
}

.cloud {
  position: absolute;
  background: rgba(254, 249, 239, 0.06);
  border-radius: 100px;
}
.c1 { width: 120px; height: 35px; top: 25%; left: 5%; border-radius: 60px; }
.c2 { width: 80px; height: 25px; top: 20%; right: 8%; border-radius: 40px; opacity: 0.5; }

/* Story card */
.story-card {
  position: relative;
  z-index: 2;
  background: var(--bg-mid);
  border: 1px solid rgba(254, 249, 239, 0.1);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.story-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(245,166,35,0.3), rgba(200,168,232,0.15), transparent);
  z-index: -1;
}
.story-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.story-card-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.story-card-meta {
  font-size: 0.78rem;
  color: var(--lavender);
  margin-bottom: 1rem;
}
.story-card-body {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.story-card-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

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

/* ===== HOW ===== */
.how { padding: 5rem 2rem; background: var(--bg-mid); }
.how-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 3.5rem;
  line-height: 1.2;
}
.steps { display: flex; align-items: flex-start; gap: 0; }
.step { flex: 1; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.step-body { font-size: 0.95rem; color: var(--text-dim); line-height: 1.6; }
.step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--lavender));
  margin-top: 24px;
  opacity: 0.4;
}

/* ===== GENRES ===== */
.genres { padding: 5rem 2rem; background: var(--bg); }
.genres-inner { max-width: 1200px; margin: 0 auto; }
.genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.genre-card {
  background: var(--bg-mid);
  border: 1px solid rgba(254, 249, 239, 0.08);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.genre-card:hover { transform: translateY(-4px); border-color: rgba(245, 166, 35, 0.3); }
.genre-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 1.1rem;
}
.gi-adventure { background: linear-gradient(135deg, #f97316, #fb923c); }
.gi-fantasy { background: linear-gradient(135deg, #a855f7, #c084fc); }
.gi-animals { background: linear-gradient(135deg, #22c55e, #4ade80); }
.gi-space { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.gi-ocean { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.gi-superhero { background: linear-gradient(135deg, #ef4444, #f87171); }

/* SVG-style icon indicators inside each colored block */
.gi-adventure::after { content: ''; display: block; width: 24px; height: 24px; background: rgba(255,255,255,0.85); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 17l6-12 4 8-3 5H5l-2-1z'/%3E%3Cpath d='m14 7 3-3'/%3E%3C/svg%3E") center/contain no-repeat; margin: 14px auto 0; }
.gi-fantasy::after { content: ''; display: block; width: 24px; height: 24px; background: rgba(255,255,255,0.85); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L9 9H2l6 4.5-2 7.5 6-4.5 6 4.5-2-7.5 6-4.5h-7z'/%3E%3C/svg%3E") center/contain no-repeat; margin: 14px auto 0; }
.gi-animals::after { content: ''; display: block; width: 24px; height: 24px; background: rgba(255,255,255,0.85); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 10c0-1 .5-2 2-2M14 10c0-1 .5-2 2-2'/%3E%3Cpath d='M9 15s2 2 3 2 3-2 3-2'/%3E%3C/svg%3E") center/contain no-repeat; margin: 14px auto 0; }
.gi-space::after { content: ''; display: block; width: 24px; height: 24px; background: rgba(255,255,255,0.85); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='m4 17 3-3-3-3M8 17l3-3M12 17l3-3M16 17l3-3M20 17l-3-3'/%3E%3Ccircle cx='18' cy='7' r='4'/%3E%3C/svg%3E") center/contain no-repeat; margin: 14px auto 0; }
.gi-ocean::after { content: ''; display: block; width: 24px; height: 24px; background: rgba(255,255,255,0.85); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 12c2-2 4-2 6 0s4 2 6 0 4-2 6 0M2 18c2-2 4-2 6 0s4 2 6 0 4-2 6 0'/%3E%3C/svg%3E") center/contain no-repeat; margin: 14px auto 0; }
.gi-superhero::after { content: ''; display: block; width: 24px; height: 24px; background: rgba(255,255,255,0.85); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l2 4h4l-3 3 1 5-4-3-4 3 1-5-3-3h4z'/%3E%3C/svg%3E") center/contain no-repeat; margin: 14px auto 0; }

.genre-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.genre-desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; }

/* ===== FREQUENCY ===== */
.frequency { padding: 5rem 2rem; background: var(--bg-mid); }
.frequency-inner { max-width: 1000px; margin: 0 auto; }
.freq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.freq-card {
  background: var(--bg);
  border: 1px solid rgba(254, 249, 239, 0.1);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
}
.freq-card-featured {
  background: var(--bg-light);
  border-color: rgba(245, 166, 35, 0.3);
}
.freq-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.freq-price {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.freq-price span { font-size: 1rem; font-weight: 500; color: var(--text-dim); }
.freq-desc { font-size: 0.92rem; color: var(--text-dim); line-height: 1.55; }
.freq-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ===== MANIFESTO ===== */
.manifesto { padding: 6rem 2rem; background: var(--bg); }
.manifesto-inner { max-width: 720px; margin: 0 auto; }
.manifesto-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1.5rem;
}
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 2rem;
  font-style: normal;
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--accent);
}
.manifesto-body { font-size: 1rem; color: var(--text-dim); line-height: 1.8; }
.manifesto-body p { margin-bottom: 1.25rem; }
.manifesto-body em { color: var(--lavender); font-style: italic; }
.manifesto-stars { display: flex; gap: 0.75rem; margin-top: 2rem; }
.mstar { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; opacity: 0.6; }
.ms2, .ms4 { opacity: 0.4; }

/* ===== FOOTER ===== */
.footer { padding: 3rem 2rem; background: var(--bg-mid); border-top: 1px solid rgba(254, 249, 239, 0.07); }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.footer-tagline { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 1rem; }
.footer-copy { font-size: 0.78rem; color: rgba(254, 249, 239, 0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { min-height: 280px; }
  .steps { flex-direction: column; gap: 2rem; }
  .step-connector { display: none; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .freq-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
  .hero { padding: 2.5rem 1.25rem 3rem; }
  .hero-headline { font-size: 2.2rem; }
  .genre-grid { grid-template-columns: 1fr; }
  .nav-tagline { display: none; }
  .section-title { font-size: 1.6rem; }
}
