/* ============================================================
   Fantasy Booth — Main Stylesheet
   ============================================================ */

:root {
  --navy: #0B1730;
  --navy-mid: #0F2247;
  --blue-deep: #0D3B8E;
  --blue-mid: #1A5FC8;
  --blue-bright: #2D7FEA;
  --blue-light: #5BA3F5;
  --blue-pale: #D6E8FF;
  --blue-soft: #EBF4FF;
  --cream: #F0F6FF;
  --accent-gold: #FFD97D;
  --accent-cyan: #7DD3FC;
  --white: #FFFFFF;
  --text-dark: #0B1730;
  --text-mid: #2A4A7F;
  --text-muted: #5B82BC;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --radius: 20px;
  --radius-pill: 50px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAVIGATION ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 6%;
  background: rgba(11, 23, 48, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: .03em;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.site-logo .moon { font-size: 1.5rem; }
.site-logo img { height: 40px; width: auto; display: block; }
.footer-brand .site-logo img { height: 36px; }

/* WordPress nav menu */
.primary-navigation ul {
  display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0;
}
.primary-navigation ul li a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 400;
  transition: color .2s;
}
.primary-navigation ul li a:hover,
.primary-navigation ul li.current-menu-item a { color: var(--blue-light); }

.nav-cta {
  background: var(--blue-mid);
  color: var(--white) !important;
  border: none;
  padding: .6rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-bright); transform: translateY(-1px); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #0A2E6E 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 6% 5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,127,234,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,163,245,.2) 0%, transparent 70%);
  pointer-events: none;
}

/* Stars */
.hero-stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity:.3; transform:scale(1); }
  to   { opacity:1; transform:scale(1.3); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,127,234,.15);
  border: 1px solid rgba(45,127,234,.3);
  color: var(--blue-light);
  font-size: .82rem; font-weight: 500;
  padding: .4rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.hero-section h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.18;
  max-width: 760px;
  margin-bottom: 1.4rem;
  position: relative; z-index: 1;
}
.hero-section h1 em { font-style: italic; color: var(--blue-light); }
.hero-section .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  position: relative; z-index: 1;
}
.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}

/* Buttons */
.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  padding: .85rem 2.4rem;
  border-radius: var(--radius-pill);
  font-size: 1rem; font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 8px 28px rgba(26,95,200,.4);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(26,95,200,.5);
  color: var(--white);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  padding: .85rem 2.2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.3);
  font-size: 1rem; font-weight: 400;
  text-decoration: none;
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  text-decoration: none;
}
.btn-primary-lg {
  font-size: 1.05rem;
  padding: .95rem 2.8rem;
}

.hero-stats {
  display: flex; gap: 3rem; margin-top: 3.5rem; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 600;
  color: var(--white); display: block;
}
.hero-stat .label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-logos {
  margin-top: 3rem;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}
.hero-logos .as-seen-text {
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.35);
}
.logo-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.55);
  font-size: .78rem; font-weight: 500;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  letter-spacing: .05em;
}

/* ─── SECTION BASE ───────────────────────────────────────────── */
section, .wp-block-group { padding: 6rem 6%; }
.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--blue-mid); margin-bottom: .8rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25; max-width: 600px;
}
.section-title em { font-style: italic; color: var(--blue-mid); }
.section-sub {
  margin-top: .8rem; font-size: 1rem;
  color: var(--text-mid); max-width: 520px; font-weight: 300;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.steps-section {
  background: linear-gradient(160deg, #0D3B8E 0%, #0F2E75 60%, #0A245E 100%);
}
.steps-inner { max-width: 1100px; margin: 0 auto; }
.steps-header { text-align: center; margin-bottom: 3.5rem; }
.steps-header .section-title,
.steps-header .section-sub { margin-left: auto; margin-right: auto; }
.steps-header .section-title { color: var(--white); }
.steps-header .section-sub { color: rgba(255,255,255,.6); }
.steps-header .section-label { color: var(--blue-light); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.step-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative; overflow: hidden;
  transition: transform .2s, background .2s;
}
.step-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.13);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 600;
  color: rgba(255,255,255,.1);
  position: absolute; top: 1rem; right: 1.5rem; line-height: 1;
}
.step-icon {
  width: 52px; height: 52px;
  background: rgba(45,127,234,.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--white); margin-bottom: .5rem;
}
.step-card p { font-size: .93rem; color: rgba(255,255,255,.6); font-weight: 300; }

/* ─── SCIENCE / AI FEATURES ──────────────────────────────────── */
.science-section { background: var(--navy); color: var(--white); }
.science-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.science-text .section-label { color: var(--blue-light); }
.science-text .section-title { color: var(--white); }
.science-text .section-sub { color: rgba(255,255,255,.6); }
.science-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.sci-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: background .2s;
}
.sci-card:hover { background: rgba(255,255,255,.1); }
.sci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(45,127,234,.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.sci-card h4 { font-size: 1rem; font-weight: 500; color: var(--white); margin-bottom: .25rem; }
.sci-card p { font-size: .88rem; color: rgba(255,255,255,.58); font-weight: 300; }
.science-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.sci-stat .big {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600; color: var(--blue-light); display: block;
}
.sci-stat .label { font-size: .82rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }

/* ─── WHAT IT HELPS / SERVICES ───────────────────────────────── */
.helps-section { background: var(--cream); }
.helps-inner { max-width: 1100px; margin: 0 auto; }
.helps-header { margin-bottom: 3rem; }
.helps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
.help-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  text-align: center; cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.help-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26,95,200,.1);
}
.help-emoji { font-size: 2rem; margin-bottom: .7rem; display: block; }
.help-card h4 { font-size: .92rem; font-weight: 500; color: var(--text-dark); margin-bottom: .3rem; }
.help-card p { font-size: .8rem; color: var(--text-muted); font-weight: 300; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-section { background: var(--white); }
.test-inner { max-width: 1100px; margin: 0 auto; }
.test-header { text-align: center; margin-bottom: 3.5rem; }
.test-header .section-title { margin: 0 auto; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.test-card { background: var(--cream); border-radius: var(--radius); padding: 2rem; }
.test-quote {
  font-family: var(--font-display);
  font-size: 2.8rem; color: var(--blue-bright);
  line-height: .8; margin-bottom: .5rem;
}
.test-card p { font-size: .95rem; color: var(--text-mid); font-weight: 300; line-height: 1.75; margin-bottom: 1.5rem; }
.test-stars { color: var(--accent-gold); font-size: .9rem; margin-bottom: .6rem; }
.test-person { display: flex; align-items: center; gap: .8rem; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: .9rem; color: var(--white); flex-shrink: 0;
}
.test-name { font-size: .92rem; font-weight: 500; color: var(--text-dark); }
.test-role { font-size: .8rem; color: var(--text-muted); }
.expert-quote {
  margin-top: 3rem;
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.expert-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem; font-style: italic;
  color: var(--text-dark); line-height: 1.6;
  border: none; padding: 0; margin: 0;
}
.expert-cite {
  display: block; margin-top: 1.2rem;
  font-size: .88rem; color: var(--text-muted); font-weight: 500;
}

/* ─── TOPICS ─────────────────────────────────────────────────── */
.topics-section { background: var(--blue-pale); }
.topics-inner { max-width: 1100px; margin: 0 auto; }
.topics-header { text-align: center; margin-bottom: 3rem; }
.topics-header .section-title { margin: 0 auto; }
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.topic-card {
  background: var(--white); border-radius: 14px;
  padding: 1.3rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  font-weight: 500; font-size: .95rem; color: var(--text-dark);
  cursor: pointer; border: 1.5px solid transparent;
  transition: all .2s;
}
.topic-card:hover { border-color: var(--blue-mid); background: var(--blue-soft); color: var(--blue-mid); }
.topic-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-section { background: var(--white); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-header .section-title { margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(26,95,200,.15); padding: 1.2rem 0; }
.faq-q {
  font-size: 1rem; font-weight: 500; color: var(--text-dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; width: 100%; text-align: left;
  padding: 0; font-family: var(--font-body);
}
.faq-q:hover { color: var(--blue-mid); }
.faq-toggle {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; color: var(--blue-mid);
  transition: background .2s, transform .3s;
}
.faq-item.open .faq-toggle { background: var(--blue-mid); color: var(--white); transform: rotate(45deg); }
.faq-a {
  font-size: .93rem; color: var(--text-mid); font-weight: 300;
  line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding-top: 0;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: .8rem; }

/* ─── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0E3580 100%);
  text-align: center;
  padding: 7rem 6%;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '📸';
  position: absolute; top: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 4rem; opacity: .08; pointer-events: none;
}
.cta-section .section-label { color: var(--blue-light); }
.cta-section .section-title { color: var(--white); margin: 0 auto .8rem; }
.cta-section .section-sub { color: rgba(255,255,255,.6); margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.4); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 3.5rem 6% 2rem;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand .site-logo { margin-bottom: .8rem; color: var(--white); }
.footer-brand p { font-size: .87rem; font-weight: 300; line-height: 1.6; }
.footer-brand .footer-notice {
  margin-top: 1rem; font-size: .82rem;
  color: rgba(255,255,255,.35); line-height: 1.6;
}
.footer-col h5 {
  font-size: .82rem; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.75);
  margin-bottom: 1rem; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a {
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: .88rem; transition: color .2s;
}
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.4); text-decoration: none;
  margin-right: 1.5rem; transition: color .2s;
}
.footer-bottom a:hover { color: var(--blue-light); }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 992px) {
  .science-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header { padding: 1rem 5%; }
  .primary-navigation { display: none; position: fixed; top: 62px; left: 0; right: 0; background: rgba(11,23,48,.98); padding: 1.5rem 6%; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { flex-direction: column; gap: 1rem; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 7rem 5% 4rem; }
  section { padding: 4rem 5%; }
}

/* ─── WP ALIGNMENT HELPERS ────────────────────────────────────── */
img { max-width: 100%; height: auto; }
a { color: var(--blue-mid); }
