*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: radial-gradient(ellipse at 50% 20%, #1a1a2e 0%, #0d0d1a 50%, #050510 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  padding: 15vh 1rem 0;
  font-family: 'Playfair Display', Georgia, serif;
}

.title {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

.subtitle {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* ── 3D Scene ── */
.scene {
  width: 520px;
  height: 560px;
  perspective: 1100px;
  perspective-origin: 50% 38%;
  position: relative;
}

.stage {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-15deg);
}

/* ── Tier containers ── */
.tier {
  position: absolute;
  left: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.tier--bottom {
  bottom: 50px;
  animation: spin-cw 24s linear infinite;
}

.tier--middle {
  bottom: 180px;
  animation: spin-ccw 24s linear infinite;
}

.tier--top {
  bottom: 290px;
  animation: spin-cw 24s linear infinite;
}

@keyframes spin-cw {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

@keyframes spin-ccw {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(-360deg); }
}

/* ── Cylinder panels ── */
.panel {
  position: absolute;
  top: 0;
  left: 50%;
  backface-visibility: visible;
}

/* ── Caps (top ellipse / bottom shadow) ── */
.cap {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  backface-visibility: visible;
}

/* ── Frosting ring between tiers ── */
.frosting-ring {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  backface-visibility: visible;
}

/* ── Cake topper (Sketchfab 3D model) ── */
.cake-topper {
  position: absolute;
  bottom: 270px;
  left: 50%;
  width: 168px;
  height: 182px;
  margin-left: -84px;
  pointer-events: auto;
}

.cake-topper model-viewer {
  --poster-color: transparent;
}

/* ── Platform / cake board ── */
.platform {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 380px;
  height: 380px;
  margin-left: -190px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, #3a3a3a 0%, #1a1a1a 60%, #0a0a0a 100%);
  transform: rotateX(88deg);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Ground shadow ── */
.ground-shadow {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 420px;
  height: 50px;
  margin-left: -210px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55) 0%, transparent 70%);
  border-radius: 50%;
}

/* ── Ambient glow ── */
.ambient {
  position: fixed;
  top: -300px;
  left: 50%;
  width: 800px;
  height: 800px;
  margin-left: -400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Speed controls ── */
.controls {
  margin-top: 2rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.controls label {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.controls button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  padding: 0.35rem 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s;
}

.controls button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.controls button.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .scene {
    transform: scale(0.7);
    transform-origin: top center;
  }
}

/* ================================================================
   Landing Page — scoped under .landing
   ================================================================ */
.landing {
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: #2D2D3F;
}

/* ── Gradient Transition ── */
.landing-transition {
  width: 100%;
  height: 300px;
  background: linear-gradient(to bottom, transparent 0%, #050510 20%, #1a1a2e 40%, #FFF9FB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
  margin-top: 2rem;
}

.landing-transition .teaser {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #FF6B9D;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.landing-transition .arrow-down {
  font-size: 1.8rem;
  color: #FF6B9D;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ── Landing sections shared ── */
.landing-section {
  width: 100%;
  background: #FFF9FB;
  padding: 4rem 1.5rem;
}

.landing-section .container {
  max-width: 960px;
  margin: 0 auto;
}

.landing-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #2D2D3F;
  text-align: center;
  margin-bottom: 0.6rem;
}

.landing-section .section-sub {
  font-size: 1rem;
  color: #7B7B8E;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Feature Cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 2.2rem 1.5rem 1.8rem;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--icon-border) border-box;
  border: 2px solid transparent;
  box-shadow: 0 4px 16px var(--icon-glow);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
}

.feature-card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px var(--icon-glow);
}

.card-icon svg { width: 32px; height: 32px; }

.card-icon--pink {
  --icon-border: linear-gradient(135deg, #FF6B9D, rgba(255,107,157,0.1));
  --icon-glow: rgba(255,107,157,0.12);
}
.card-icon--blue {
  --icon-border: linear-gradient(135deg, #6BC5F8, rgba(107,197,248,0.1));
  --icon-glow: rgba(107,197,248,0.12);
}
.card-icon--gold {
  --icon-border: linear-gradient(135deg, #FFD93D, rgba(255,217,61,0.1));
  --icon-glow: rgba(255,217,61,0.15);
}

.feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2D2D3F;
}

.feature-card p {
  font-size: 0.9rem;
  color: #7B7B8E;
  line-height: 1.65;
}

/* ── Tier Options ── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.tier-option {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
  border: 1.5px solid rgba(107, 197, 248, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.4s;
}

.tier-option:hover {
  border-color: rgba(107, 197, 248, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(107, 197, 248, 0.1);
}

.tier-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 1rem;
}

.tier-visual span {
  display: block;
  height: 10px;
  border-radius: 6px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.tier-option:hover .tier-visual span { transform: scaleX(1.1); }

.tier-visual--2 span:nth-child(1) { width: 28px; background: linear-gradient(90deg, #FF8FB1, #FF6B9D); }
.tier-visual--2 span:nth-child(2) { width: 40px; background: linear-gradient(90deg, #FF6B9D, #FF8FB1); }

.tier-visual--3 span:nth-child(1) { width: 22px; background: linear-gradient(90deg, #85D2FA, #6BC5F8); }
.tier-visual--3 span:nth-child(2) { width: 32px; background: linear-gradient(90deg, #6BC5F8, #85D2FA); }
.tier-visual--3 span:nth-child(3) { width: 44px; background: linear-gradient(90deg, #85D2FA, #6BC5F8); }

.tier-visual--4 span:nth-child(1) { width: 18px; background: linear-gradient(90deg, #B8EDD8, #A8E6CF); }
.tier-visual--4 span:nth-child(2) { width: 26px; background: linear-gradient(90deg, #A8E6CF, #B8EDD8); }
.tier-visual--4 span:nth-child(3) { width: 34px; background: linear-gradient(90deg, #B8EDD8, #A8E6CF); }
.tier-visual--4 span:nth-child(4) { width: 44px; background: linear-gradient(90deg, #A8E6CF, #B8EDD8); }

.tier-visual--5 span:nth-child(1) { width: 16px; background: linear-gradient(90deg, #FFE480, #FFD93D); }
.tier-visual--5 span:nth-child(2) { width: 22px; background: linear-gradient(90deg, #FFD93D, #FFE480); }
.tier-visual--5 span:nth-child(3) { width: 30px; background: linear-gradient(90deg, #FFE480, #FFD93D); }
.tier-visual--5 span:nth-child(4) { width: 38px; background: linear-gradient(90deg, #FFD93D, #FFE480); }
.tier-visual--5 span:nth-child(5) { width: 46px; background: linear-gradient(90deg, #FFE480, #FFD93D); }

.tier-option h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #2D2D3F;
}

.tier-option .price-tag {
  font-size: 0.85rem;
  color: #FF6B9D;
  font-weight: 600;
}

.party-text {
  text-align: center;
  font-size: 1.05rem;
  color: #7B7B8E;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Waitlist Form ── */
.form-section {
  background: linear-gradient(135deg, #FFF9FB 0%, #FFF0F5 100%);
}

.waitlist-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.waitlist-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2D2D3F;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #e0d6e9;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: #fff;
  color: #2D2D3F;
  transition: border-color 0.2s;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: #FF6B9D;
}

.waitlist-form textarea {
  resize: vertical;
  min-height: 90px;
}

.file-upload-note {
  font-size: 0.8rem;
  color: #7B7B8E;
  font-style: italic;
}

.btn-submit {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
  color: #fff;
  border: none;
  padding: 0.9rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: center;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(255, 107, 157, 0.35);
}

/* ── Design CTA ── */
.design-cta-box {
  background: linear-gradient(135deg, #6BC5F8, #A8E6CF);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.design-cta-box h2 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.design-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.btn-design {
  display: inline-block;
  background: #fff;
  color: #FF6B9D;
  padding: 0.8rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-design:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ── FAQ Accordion ── */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border: 1.5px solid #e8e0ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2D2D3F;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.faq-question .chevron {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #FF6B9D;
}

.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.2rem 1rem;
  font-size: 0.9rem;
  color: #7B7B8E;
  line-height: 1.7;
}

/* ── Footer ── */
.landing-footer {
  width: 100%;
  background: #2D2D3F;
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.landing-footer .footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.landing-footer a {
  color: #FF6B9D;
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

.landing-footer .footer-line {
  margin-top: 0.3rem;
}

/* ================================================================
   Scroll Reveal Animations
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--left {
  transform: translateX(-50px);
}

.reveal--right {
  transform: translateX(50px);
}

.reveal--scale {
  transform: scale(0.85);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered children */
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.stagger.in-view > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger.in-view > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger.in-view > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger.in-view > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }
.stagger.in-view > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.45s; }
.stagger.in-view > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.55s; }

/* ================================================================
   Per-Section Edge-Fade Decorations (pseudo-elements)
   ================================================================ */
.landing-section {
  position: relative;
  overflow: hidden;
}

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

.landing-section::before,
.landing-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}

@keyframes drift-alt {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-22px, 16px); }
}

/* Fading border ring — one per section */
.section-ring {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  border: 2px solid;
}

/* ── Section: Value Prop (pink) ── */
.section-pink::before {
  width: 520px; height: 520px;
  top: -200px; right: -180px;
  background: radial-gradient(circle, rgba(255,107,157,0.1) 0%, rgba(255,107,157,0.03) 40%, transparent 70%);
  animation: drift 22s ease-in-out infinite;
}
.section-pink::after {
  width: 400px; height: 400px;
  bottom: -160px; left: -140px;
  background: radial-gradient(circle, rgba(255,217,61,0.07) 0%, rgba(255,217,61,0.02) 40%, transparent 70%);
  animation: drift-alt 28s ease-in-out infinite;
}
.section-pink .section-ring {
  width: 200px; height: 200px;
  top: 18%; left: -50px;
  border-color: rgba(255,107,157,0.07);
  animation: drift 20s ease-in-out infinite;
}

/* ── Section: Party (gold) ── */
.section-gold::before {
  width: 500px; height: 500px;
  top: -180px; left: -170px;
  background: radial-gradient(circle, rgba(255,217,61,0.09) 0%, rgba(255,217,61,0.03) 40%, transparent 70%);
  animation: drift-alt 24s ease-in-out infinite;
}
.section-gold::after {
  width: 440px; height: 440px;
  bottom: -160px; right: -150px;
  background: radial-gradient(circle, rgba(107,197,248,0.07) 0%, rgba(107,197,248,0.02) 40%, transparent 70%);
  animation: drift 26s ease-in-out infinite;
}
.section-gold .section-ring {
  width: 170px; height: 170px;
  bottom: 12%; right: -40px;
  border-color: rgba(255,217,61,0.07);
  animation: drift-alt 22s ease-in-out infinite;
}

/* ── Section: Form (blue) ── */
.section-blue::before {
  width: 480px; height: 480px;
  bottom: -180px; left: -160px;
  background: radial-gradient(circle, rgba(107,197,248,0.09) 0%, rgba(107,197,248,0.03) 40%, transparent 70%);
  animation: drift 23s ease-in-out infinite;
}
.section-blue::after {
  width: 400px; height: 400px;
  top: -150px; right: -130px;
  background: radial-gradient(circle, rgba(168,230,207,0.07) 0%, rgba(168,230,207,0.02) 40%, transparent 70%);
  animation: drift-alt 27s ease-in-out infinite;
}
.section-blue .section-ring {
  width: 220px; height: 220px;
  top: 25%; right: -60px;
  border-color: rgba(107,197,248,0.06);
  animation: drift 19s ease-in-out infinite;
}

/* ── Section: Design CTA (mint) ── */
.section-mint::before {
  width: 420px; height: 420px;
  top: -150px; left: -140px;
  background: radial-gradient(circle, rgba(168,230,207,0.1) 0%, rgba(168,230,207,0.03) 40%, transparent 70%);
  animation: drift-alt 25s ease-in-out infinite;
}
.section-mint::after {
  width: 360px; height: 360px;
  bottom: -130px; right: -120px;
  background: radial-gradient(circle, rgba(107,197,248,0.08) 0%, rgba(107,197,248,0.02) 40%, transparent 70%);
  animation: drift 20s ease-in-out infinite;
}

/* ── Section: FAQ (green) ── */
.section-green::before {
  width: 460px; height: 460px;
  top: -170px; right: -150px;
  background: radial-gradient(circle, rgba(168,230,207,0.09) 0%, rgba(168,230,207,0.03) 40%, transparent 70%);
  animation: drift 21s ease-in-out infinite;
}
.section-green::after {
  width: 400px; height: 400px;
  bottom: -150px; left: -130px;
  background: radial-gradient(circle, rgba(255,107,157,0.05) 0%, rgba(255,107,157,0.02) 40%, transparent 70%);
  animation: drift-alt 26s ease-in-out infinite;
}
.section-green .section-ring {
  width: 180px; height: 180px;
  top: 12%; left: -45px;
  border-color: rgba(168,230,207,0.06);
  animation: drift 24s ease-in-out infinite;
}

/* ── Transition ── */
.landing-transition {
  position: relative;
  overflow: hidden;
}

/* ── Section background overrides ── */
.section-bg-white {
  background: #fff;
}

/* ── Landing responsive ── */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .design-cta-box {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .landing-section {
    padding: 3rem 1rem;
  }

  .tier-grid {
    grid-template-columns: 1fr;
  }
}
