:root {
  --sky: #7BC5F0;
  --cotton-pink: #FFB3D9;
  --magenta: #E91E8C;
  --sunshine: #FFD23F;
  --candy-red: #E63946;
  --mint: #8BC34A;
  --grape: #9C27B0;
  --cream: #FFF8E7;
  --cream-soft: #FFFBF2;
  --ink: #3A1F4E;
  --ink-2: #6B5775;
  --ink-3: #9B8CA3;
  --candy-gradient: linear-gradient(135deg, #FFD23F 0%, #E91E8C 100%);
  --sunset-gradient: linear-gradient(135deg, #FFB3D9 0%, #9C27B0 100%);
  --sky-gradient: linear-gradient(180deg, #C6E7FA 0%, #FFCCE5 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  margin: 0;
  overflow-x: hidden;
}

.font-display { font-family: 'Fredoka', system-ui, sans-serif; }
.font-decorative { font-family: 'Pacifico', cursive; }

/* Expressive typography */
.hero-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-title .accent {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  background: var(--candy-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transform: rotate(-2deg);
  padding: 0 8px;
}
.outlined-text {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}
.section-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-title em {
  font-family: 'Pacifico', cursive;
  font-style: normal;
  background: var(--candy-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}
.eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 0 28px;
  height: 54px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  line-height: 1;
  gap: 8px;
}
.btn-primary {
  background: var(--candy-gradient);
  color: #fff;
  box-shadow: 0 12px 28px rgba(233, 30, 140, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 36px rgba(233, 30, 140, 0.45); }
.btn-secondary {
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--magenta);
}
.btn-secondary:hover { background: var(--cream-soft); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(58,31,78,0.15);
}
.btn-ghost:hover { background: rgba(58,31,78,0.05); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--sky-gradient);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_bg.webp');
  background-size: cover;
  background-position: center top;
  opacity: 0.65;
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(198,231,250,0.3) 0%, rgba(255,248,231,0.4) 40%, rgba(255,248,231,0.95) 100%);
}

/* Sprinkles decoration */
.sprinkles::before,
.sprinkles::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}
.sprinkles::before { background: var(--sunshine); top: 10%; left: -40px; }
.sprinkles::after { background: var(--magenta); bottom: 15%; right: -40px; }

/* Candy card */
.candy-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(58,31,78,0.08), 0 2px 6px rgba(58,31,78,0.05);
  border: 2px solid rgba(255,210,63,0.3);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.candy-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 28px 56px rgba(58,31,78,0.15);
}
.candy-card .ribbon {
  position: absolute;
  top: 14px;
  right: -40px;
  background: var(--candy-gradient);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 48px;
  transform: rotate(35deg);
}

/* Feature icon */
.feature-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--candy-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(233,30,140,0.25);
  overflow: hidden;
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Phone frame */
.phone-frame-css {
  width: 280px;
  aspect-ratio: 390 / 844;
  background: #1a1023;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 70px rgba(58,31,78,0.3), inset 0 0 0 2px rgba(255,255,255,0.05);
  position: relative;
  margin: 0 auto;
}
.phone-frame-css::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  background: #0a060f;
  border-radius: 999px;
  z-index: 2;
}
.phone-frame-css img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  display: block;
}

/* Wavy divider */
.wave-top, .wave-bottom {
  position: relative;
  line-height: 0;
}
.wave-top svg, .wave-bottom svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,248,231,0.85);
  border-bottom: 1px solid rgba(58,31,78,0.06);
  transition: background .2s ease;
}
.nav-link {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(233,30,140,0.08); color: var(--magenta); }

/* Swiper tweaks */
.swiper-pagination-bullet { background: var(--ink-3) !important; opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--magenta) !important; opacity: 1 !important; transform: scale(1.3); }
.swiper-button-next, .swiper-button-prev {
  color: var(--magenta) !important;
  background: var(--cream);
  width: 48px !important;
  height: 48px !important;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(58,31,78,0.15);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 18px !important; font-weight: 700; }

/* Legal pages */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 120px;
  color: var(--ink);
  line-height: 1.7;
}
.legal-content h1 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.legal-content h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 36px 0 12px;
  color: var(--magenta);
}
.legal-content h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 24px 0 8px;
}
.legal-content p, .legal-content li { color: var(--ink-2); }
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.legal-content .meta { color: var(--ink-3); font-size: 14px; }

/* Form */
.form-input, .form-textarea {
  width: 100%;
  background: var(--cream-soft);
  border: 2px solid rgba(58,31,78,0.12);
  border-radius: 16px;
  padding: 14px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(233,30,140,0.12);
}
.form-label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-file {
  display: block;
  padding: 14px 18px;
  background: var(--cream-soft);
  border: 2px dashed rgba(58,31,78,0.18);
  border-radius: 16px;
  text-align: center;
  color: var(--ink-2);
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.form-file:hover { border-color: var(--magenta); color: var(--magenta); }
.form-file input { display: none; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e8ddef;
  padding: 64px 24px 32px;
}
.site-footer a { color: var(--sunshine); text-decoration: none; }
.site-footer a:hover { color: var(--cotton-pink); }
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Privacy acceptance button */
.privacy-accept-btn {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 20px 16px 24px;
  background: linear-gradient(180deg, rgba(255,248,231,0) 0%, rgba(255,248,231,0.96) 50%, rgba(255,248,231,1) 100%);
  pointer-events: none;
}
.privacy-accept-btn.hidden { display: none; }
.privacy-accept-btn .accept-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--candy-gradient);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 0 32px;
  height: 56px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(233,30,140,0.4);
  min-width: 240px;
}
.privacy-accept-btn .accept-btn:hover { filter: brightness(1.05); transform: translateY(-2px); transition: all .18s ease; }

/* Small touches */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233,30,140,0.1);
  color: var(--magenta);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
}
.stat-num {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  background: var(--candy-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
