/* ============================================================
   Candy Paradise Bonanza — Promo website styles
   Mirrors the app design system (interactive_mockup/src/styles/theme.css)
   ============================================================ */

:root {
  /* Brand & surfaces */
  --bg-base:        #5BC8F5;
  --bg-deep:        #3FA9E5;
  --bg-sky-soft:    #E8F7FE;
  --cloud-pink:     #FFD6E8;
  --cloud-cream:    #FFF4E0;
  --cloud-white:    #FFFFFF;

  /* Candy palette */
  --candy-cherry:    #E8254E;
  --candy-cherry-dk: #C81E40;
  --candy-cherry-lt: #FF4D6E;
  --candy-bubblegum: #FF5DA2;
  --candy-bubblegum-dk: #E8407D;
  --candy-bubblegum-lt: #FF85BB;
  --candy-grape:     #7C3FB8;
  --candy-lime:      #7BD63C;
  --candy-lemon:     #FFD93B;
  --candy-orange:    #FF8E2E;
  --candy-blueberry: #3A6BFF;
  --gold-shine:      #FFE57A;

  /* Text */
  --text-primary:   #2A1A4A;
  --text-secondary: #6A4F8C;
  --text-tertiary:  #9C8FA8;
  --text-on-cherry: #FFFFFF;

  /* Effects */
  --shadow-card:        0 8px 24px rgba(124,63,184,0.18);
  --shadow-card-hover:  0 14px 36px rgba(124,63,184,0.28);
  --shadow-modal:       0 18px 44px rgba(124,63,184,0.35);
  --shadow-cherry-glow: 0 0 22px rgba(232,37,78,0.35);
  --shadow-pink-glow:   0 0 22px rgba(255,93,162,0.40);

  /* Gradients */
  --g-app-bg:        linear-gradient(180deg, #5BC8F5 0%, #7BD8F8 50%, #FFD6E8 100%);
  --g-cherry-cta:    linear-gradient(180deg, #FF4D6E 0%, #C81E40 100%);
  --g-bubblegum-cta: linear-gradient(180deg, #FF85BB 0%, #E8407D 100%);
  --g-rainbow:       linear-gradient(90deg, #FF4D4D 0%, #FFA13C 18%, #FFD93B 36%, #7BD63C 54%, #4FB6FF 72%, #B36BFF 100%);
  --g-cloud-card:    linear-gradient(180deg, #FFFFFF 0%, #FFE9F2 100%);
  --g-legendary:     radial-gradient(circle, #FFE57A 0%, #FF8E2E 60%, #E8254E 100%);
  --g-sky-soft:      linear-gradient(180deg, #E8F7FE 0%, #FFFFFF 60%, #FFE9F2 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 9999px;

  /* Fonts */
  --font-display:  'Pacifico', cursive;
  --font-script:   'Caveat Brush', cursive;
  --font-body:     'Fredoka', system-ui, sans-serif;
  --font-numeric:  'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ----- Base ----- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-sky-soft);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(255,214,232,0.7) 0%, transparent 38%),
    radial-gradient(circle at 92% 8%, rgba(91,200,245,0.45) 0%, transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(255,217,59,0.18) 0%, transparent 55%),
    var(--bg-sky-soft);
}

a { color: var(--candy-cherry); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--candy-bubblegum-dk); }

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

/* ----- Typography ----- */
.font-display { font-family: var(--font-display); }
.font-script  { font-family: var(--font-script); }
.font-body    { font-family: var(--font-body); }

/* Hero treatment: script display + body subtext */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow:
    0 4px 0 rgba(232,37,78,0.85),
    0 10px 24px rgba(40,20,60,0.45);
  margin: 0;
}
.hero-headline .pop {
  font-family: var(--font-display);
  background: linear-gradient(180deg, #FFE57A 0%, #FFD93B 60%, #FF8E2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--candy-cherry);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 12px 0 16px;
}
.section-title .accent {
  background: var(--g-cherry-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.section-title .rainbow {
  background: var(--g-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Body text inside containers */
.prose {
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  text-align: left;
  max-width: 720px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 36px 0 12px;
}
.prose h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  color: var(--candy-cherry);
  margin: 28px 0 8px;
}
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: #FFFFFF;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 14px;
}
.prose th, .prose td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1E6F2;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: linear-gradient(180deg, #FFE9F2 0%, #FFD6E8 100%);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.4px;
}
.prose tr:last-child td { border-bottom: 0; }

/* ----- Layout ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* ----- Top nav ----- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(232,247,254,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(124,63,184,0.10);
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.topnav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text-primary);
}
.topnav-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--g-cherry-cta);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(232,37,78,0.40);
  border: 2px solid #FFFFFF;
  overflow: hidden;
}
.topnav-mark img {
  width: 100%; height: 100%; object-fit: cover;
}
.topnav-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.topnav-links { display: flex; align-items: center; gap: 24px; }
.topnav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.topnav-links a:hover { color: var(--candy-cherry); }
.topnav-cta {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-full);
  background: var(--g-cherry-cta);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.4px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232,37,78,0.30);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.topnav-cta:hover { transform: translateY(-1px); color: #FFFFFF; box-shadow: 0 6px 20px rgba(232,37,78,0.45); }

@media (max-width: 760px) {
  .topnav-links { display: none; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 120px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/hero_bg.webp') center / cover no-repeat;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(91,200,245,0.05) 0%, rgba(91,200,245,0.10) 50%, rgba(232,247,254,0.85) 100%),
    linear-gradient(90deg, rgba(91,200,245,0.50) 0%, rgba(91,200,245,0.20) 35%, rgba(91,200,245,0.05) 60%, transparent 80%);
  z-index: 1;
}
@media (max-width: 880px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(91,200,245,0.30) 0%, rgba(91,200,245,0.55) 50%, rgba(232,247,254,0.92) 100%);
  }
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-phone { display: flex; justify-content: center; }
  .hero-eyebrow, .hero-sub, .hero-badges { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.85);
  border: 1.5px solid var(--candy-cherry);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--candy-cherry);
  box-shadow: 0 4px 12px rgba(232,37,78,0.18);
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--candy-cherry);
  display: inline-block;
}
.hero-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(17px, 2.2vw, 22px);
  color: #FFFFFF;
  line-height: 1.45;
  max-width: 560px;
  margin: 24px 0 32px;
  text-shadow: 0 2px 14px rgba(40,20,60,0.55);
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-cherry {
  height: 56px;
  padding: 0 30px;
  border-radius: var(--r-full);
  background: var(--g-cherry-cta);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(232,37,78,0.40), inset 0 -3px 0 rgba(0,0,0,0.10);
  transition: transform 150ms ease, box-shadow 150ms ease;
  text-align: center;
}
.btn-cherry:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(232,37,78,0.55), inset 0 -3px 0 rgba(0,0,0,0.10);
}

.btn-ghost {
  height: 56px;
  padding: 0 26px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
  border: 2px solid var(--candy-cherry);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  text-align: center;
}
.btn-ghost:hover { background: #FFFFFF; transform: translateY(-1px); color: var(--candy-cherry); }

.hero-badges {
  display: flex; gap: 18px; align-items: center; margin-top: 32px;
  color: #FFFFFF; font-size: 13px;
  text-shadow: 0 1px 6px rgba(40,20,60,0.55);
  flex-wrap: wrap;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.hero-badges .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--candy-lemon); display: inline-block; box-shadow: 0 0 10px rgba(255,217,59,0.80); }

/* Hero phone (right column) — CSS device frame */
.hero-phone {
  display: flex; justify-content: center; align-items: center;
  perspective: 1200px;
}
.phone-frame {
  width: 270px;
  aspect-ratio: 420 / 912;
  border-radius: 38px;
  background: #1a3247;
  padding: 9px;
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.65),
    0 28px 70px rgba(40,20,60,0.55),
    0 0 60px rgba(255,93,162,0.35);
  transform: rotate(-3deg);
}
.phone-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* ----- Section header ----- */
.section-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.section-header .section-lead { margin: 12px auto 0; }

/* ----- Pillars (4 candy categories) ----- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--g-cloud-card);
  border: 2px solid #FFFFFF;
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: var(--shadow-card);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.pillar-card .pillar-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--g-bubblegum-cta);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(255,93,162,0.40);
  border: 3px solid #FFFFFF;
}
.pillar-card .pillar-icon.cherry    { background: var(--g-cherry-cta);     box-shadow: 0 6px 18px rgba(232,37,78,0.40); }
.pillar-card .pillar-icon.bubblegum { background: var(--g-bubblegum-cta);  box-shadow: 0 6px 18px rgba(255,93,162,0.40); }
.pillar-card .pillar-icon.lemon     { background: linear-gradient(180deg,#FFE57A,#FFD93B); box-shadow: 0 6px 18px rgba(255,217,59,0.50); }
.pillar-card .pillar-icon.lime      { background: linear-gradient(180deg,#A6E66B,#7BD63C); box-shadow: 0 6px 18px rgba(123,214,60,0.45); }
.pillar-card .pillar-icon svg { width: 44px; height: 44px; color: #FFFFFF; }
.pillar-card .pillar-icon.lemon svg, .pillar-card .pillar-icon.lime svg { color: var(--text-primary); }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.pillar-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* ----- Features (alternating rows) ----- */
.features-section {
  background: var(--g-sky-soft);
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
  background: var(--g-rainbow);
}
.features-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 6px;
  background: var(--g-rainbow);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 840px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .feature-row.reverse { direction: ltr; }
  .feature-text { text-align: center; }
  .feature-text .feature-bullets { display: inline-block; text-align: left; }
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin: 14px 0 14px;
  line-height: 1.15;
}
.feature-text h3 em {
  font-family: var(--font-display);
  font-style: normal;
  background: var(--g-cherry-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 14px;
  max-width: 480px;
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.feature-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
}
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--g-cherry-cta);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px var(--candy-cherry);
}

.feature-art {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 280px;
}
.feature-art img {
  border-radius: var(--r-lg);
  max-width: 100%;
}
.feature-art .candy-disc {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--g-cloud-card);
  display: flex; align-items: center; justify-content: center;
  padding: 26px;
  box-shadow: var(--shadow-card-hover), inset 0 -8px 0 rgba(124,63,184,0.10);
  border: 4px solid #FFFFFF;
}
.feature-art .candy-disc img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.feature-art .screen-frame {
  width: 270px;
  aspect-ratio: 420 / 912;
  background: #1a3247;
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow-card-hover), 0 0 0 3px #FFFFFF;
}
.feature-art .screen-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* ----- Section: App preview (Swiper carousel) ----- */
.preview-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,93,162,0.18) 0%, transparent 45%),
    var(--bg-sky-soft);
}
.swiper-wrap {
  padding: 16px 0 56px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.swiper { padding: 24px 16px 48px !important; overflow: visible !important; }
.swiper-slide {
  display: flex; justify-content: center;
  width: auto;
}
.preview-frame {
  width: 280px;
  aspect-ratio: 420 / 912;
  background: #1a3247;
  border-radius: 36px;
  padding: 9px;
  box-shadow:
    0 0 0 3px #FFFFFF,
    0 24px 56px rgba(124,63,184,0.30);
}
.preview-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}
.swiper-pagination-bullet {
  background: rgba(124,63,184,0.30) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--candy-cherry) !important;
}

/* ----- Stats ----- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--g-cloud-card);
  border: 2px solid #FFFFFF;
  border-radius: var(--r-md);
  padding: 28px 16px;
  box-shadow: var(--shadow-card);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 400;
  background: var(--g-cherry-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  margin-top: 8px;
  font-weight: 500;
}

/* ----- CTA ----- */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/cta_bg.webp') center / cover;
  opacity: 0.85;
  z-index: 0;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(91,200,245,0.55) 0%, rgba(255,93,162,0.45) 50%, rgba(124,63,184,0.55) 100%);
  z-index: 1;
}
.cta-section .container { position: relative; z-index: 2; text-align: center; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  margin: 0 0 16px;
  line-height: 1.05;
  text-shadow: 0 6px 24px rgba(40,20,60,0.45);
}
.cta-section h2 em {
  font-style: normal;
  background: linear-gradient(180deg, #FFE57A 0%, #FFD93B 60%, #FF8E2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-section p {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.2vw, 22px);
  color: #FFFFFF;
  margin: 0 auto 36px;
  max-width: 560px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(40,20,60,0.45);
  font-weight: 500;
}

/* ----- Footer ----- */
.footer {
  border-top: 4px solid transparent;
  border-image: var(--g-rainbow) 1;
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE9F2 100%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--candy-cherry);
  margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
}
.footer a:hover { color: var(--candy-cherry); }
.footer-brand p {
  color: var(--text-tertiary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 320px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(124,63,184,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-tertiary);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.3px;
}
@media (max-width: 560px) {
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ----- Sub-page hero (privacy / terms / contact) ----- */
.subpage-hero {
  padding: 140px 0 56px;
  position: relative;
  text-align: center;
  border-bottom: 1px solid rgba(124,63,184,0.10);
  background:
    radial-gradient(circle at 30% 0%, rgba(91,200,245,0.30) 0%, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(255,93,162,0.25) 0%, transparent 55%),
    var(--bg-sky-soft);
}
.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.subpage-hero h1 em {
  font-style: normal;
  background: var(--g-cherry-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subpage-hero .lead {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}
.subpage-content { padding: 64px 0 96px; }

/* ----- Contact form ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.contact-info p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.contact-info a { font-weight: 500; }

.contact-form {
  background: #FFFFFF;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 2px solid #FFFFFF;
}

.field-group { margin-bottom: 18px; }
.field-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.field {
  width: 100%;
  background: #FFF7FB;
  border: 2px solid rgba(255,93,162,0.30);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease, background 120ms ease;
}
.field:focus { border-color: var(--candy-cherry); background: #FFFFFF; }
.field::placeholder { color: var(--text-tertiary); }
textarea.field { min-height: 140px; resize: vertical; }
input[type="file"].field { padding: 10px; }
.field-note { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }

/* ----- Privacy acceptance button (REQUIRED) ----- */
.privacy-accept-btn {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 16px 22px;
  display: flex; justify-content: center;
  background: linear-gradient(180deg, transparent 0%, rgba(232,247,254,0.95) 35%, rgba(232,247,254,0.99) 100%);
  pointer-events: none;
}
.privacy-accept-btn.hidden { display: none; }
.accept-btn {
  pointer-events: auto;
  width: 100%;
  max-width: 480px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--g-cherry-cta);
  color: #FFFFFF;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 32px rgba(232,37,78,0.40), inset 0 -3px 0 rgba(0,0,0,0.10);
  transition: transform 150ms ease;
}
.accept-btn:hover { transform: translateY(-1px); color: #FFFFFF; }

/* AOS — let the library control opacity itself (it starts at 0 and animates to 1).
   We force visibility for users without JS as a fallback. */
.no-js [data-aos] { opacity: 1 !important; transform: none !important; }
