/* ===================== ROOT / VARIABLES — "PASTEL GLOW" PREMIUM THEME ===================== */
:root {
  --bg-deep: #ffe3f0;
  --bg-soft: #f3d9f7;
  --bg-panel: #fff6fb;
  --bg-card: #ffffff;
  --pink-strong: #e0489a;
  --pink-mid: #ef7fc0;
  --pink-soft: #f0b8dc;
  --pink-pale: #fbdcee;
  --lilac: #9a5fd9;
  --lilac-soft: #c9a3ee;
  --gold: #6a5fd9;
  --gold-soft: #b3a8f0;
  --live-red: #ff3b5c;
  --text-main: #35163c;
  --text-dim: #82577f;
  --border-soft: rgba(160, 60, 150, 0.2);
  --shadow-pink: rgba(160, 40, 120, 0.32);
  --btn-edge: #9c2d72;
  --btn-edge-gold: #423693;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(150deg, #ffeef8 0%, var(--bg-deep) 30%, var(--bg-soft) 65%, #ecd6f5 100%);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  letter-spacing: 0.1px;
}

h1, h2, h3 { font-family: 'Fraunces', serif; font-optical-sizing: auto; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; }

/* Decorative floating gift icons (TikTok gift assets, premium accent, transparent PNG) */
.gift-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 12px 22px rgba(120,40,90,0.25));
}
.gift-deco img { width: 100%; display: block; }
@media (max-width: 720px) {
  .gift-deco { display: none; }
}

/* ===================== BACKGROUND GLOWS ===================== */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.bg-glow--one {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--pink-mid), transparent 70%);
  top: -150px; left: -150px;
  opacity: 0.5;
}
.bg-glow--two {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--lilac), transparent 70%);
  top: 30%; right: -250px;
  opacity: 0.35;
}
.bg-glow--three {
  width: 550px; height: 550px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  bottom: -200px; left: 20%;
  opacity: 0.22;
}

/* ===================== FLOATING HEARTS (TikTok vibe) ===================== */
.hearts-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.floating-heart {
  position: absolute;
  bottom: -40px;
  color: var(--pink-strong);
  opacity: 0;
  animation: floatHeart 7s linear infinite;
  font-size: 1.1rem;
}
.floating-heart:nth-child(1) { left: 6%; animation-delay: 0s; color: #e0489a; }
.floating-heart:nth-child(2) { left: 18%; animation-delay: 1.4s; color: #6a5fd9; font-size: 0.9rem; }
.floating-heart:nth-child(3) { left: 32%; animation-delay: 2.6s; color: #9a5fd9; }
.floating-heart:nth-child(4) { left: 48%; animation-delay: 0.8s; color: #ef7fc0; font-size: 1.3rem; }
.floating-heart:nth-child(5) { left: 63%; animation-delay: 3.2s; color: #e0489a; font-size: 0.85rem; }
.floating-heart:nth-child(6) { left: 78%; animation-delay: 1.9s; color: #6a5fd9; }
.floating-heart:nth-child(7) { left: 90%; animation-delay: 4s; color: #9a5fd9; font-size: 1.2rem; }

@keyframes floatHeart {
  0% { transform: translateY(0) scale(0.8) rotate(0deg); opacity: 0; }
  10% { opacity: 0.85; }
  50% { transform: translateY(-55vh) scale(1.1) rotate(8deg); opacity: 0.7; }
  100% { transform: translateY(-105vh) scale(0.9) rotate(-6deg); opacity: 0; }
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 246, 250, 0.75);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--text-main);
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink-strong), var(--lilac));
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 6px 16px var(--shadow-pink);
}
.brand-icon.small { width: 28px; height: 28px; font-size: 0.8rem; }
.brand-accent { color: var(--pink-strong); margin-left: 4px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.main-nav a { transition: color 0.2s; }
.main-nav a:hover { color: var(--pink-strong); }

/* Mobile hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text-main);
  font-size: 1rem;
  cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: #fff6fb;
    border-bottom: 1px solid var(--border-soft);
    padding: 18px 24px 22px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
    box-shadow: 0 14px 24px rgba(160,40,120,0.14);
  }
  .main-nav.is-open {
    max-height: 320px;
    opacity: 1;
  }
  .header-inner { position: relative; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-grid--solo {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
.hero-text { text-align: left; }
.hero-text--centered {
  text-align: center;
}
.hero-text--centered .hero-desc { margin: 0 auto 32px; }
.hero-text--centered .hero-actions { justify-content: center; }
.hero-text--centered .hero-stats { justify-content: center; }
.hero-text--centered .stat { align-items: center; }

/* ===================== MASCOT WELCOME (TIKKI & ASI) ===================== */
.mascot-welcome {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 24px 70px;
}
.mascot-welcome-card {
  background: linear-gradient(180deg, #ffffff, #fff6fb);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 30px 30px 34px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 46px rgba(197,60,122,0.14);
  text-align: center;
}
.mascot-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pink-strong), var(--lilac));
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 12px 24px;
  border-radius: 999px;
  margin: 0 auto 26px;
  box-shadow: 0 10px 24px var(--shadow-pink);
}
.mascot-banner i { color: #ffe3f0; }
.mascot-welcome-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(160,40,120,0.18);
}
.mascot-welcome-image img {
  width: 100%;
  display: block;
}
.mascot-tag {
  position: absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(160,40,120,0.22);
  border: 1px solid var(--border-soft);
  max-width: 220px;
  text-align: left;
  animation: mascotTagFloat 3.6s ease-in-out infinite;
}
.mascot-tag-name {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pink-strong);
  margin-bottom: 3px;
}
.mascot-tag p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.4;
}
.mascot-tag--tikki {
  top: 6%;
  left: 4%;
  animation-delay: 0s;
}
.mascot-tag--asi {
  top: 6%;
  right: 4%;
  animation-delay: 1.2s;
}
@keyframes mascotTagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 640px) {
  .mascot-tag { position: static; max-width: none; margin: 10px 0 0; animation: none; }
  .mascot-welcome-image { display: flex; flex-direction: column; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8306e;
  background: rgba(224, 72, 154, 0.12);
  border: 1px solid rgba(224, 72, 154, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 22px;
}
.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--text-main);
}
.text-gradient {
  background: linear-gradient(90deg, var(--pink-strong), var(--pink-mid), var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--text-dim);
  margin: 0 0 18px;
  font-weight: 600;
}
.hero-desc {
  color: var(--text-dim);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  position: relative;
}
.btn-primary {
  background: linear-gradient(180deg, var(--pink-mid) 0%, var(--pink-strong) 55%, #d94f88 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 -3px 6px rgba(0,0,0,0.16) inset, 0 10px 22px var(--shadow-pink), 0 2px 0 var(--btn-edge);
  text-shadow: 0 1px 2px rgba(120,20,60,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 -3px 6px rgba(0,0,0,0.16) inset, 0 16px 28px var(--shadow-pink), 0 2px 0 var(--btn-edge); }
.btn-primary:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, #3d3080);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 -3px 6px rgba(0,0,0,0.14) inset, 0 10px 22px rgba(230,185,90,0.35), 0 2px 0 var(--btn-edge-gold);
  text-shadow: 0 1px 2px rgba(90,60,10,0.3);
}
.btn-ghost {
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 6px 14px rgba(197,60,122,0.1);
}
.btn-ghost:hover { background: var(--pink-pale); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--pink-strong), var(--lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 0.85rem; margin-top: 4px; }

/* ===================== TikTok PHONE MOCKUP ===================== */
.phone-wrap {
  display: flex;
  justify-content: center;
}
.phone-mockup {
  position: relative;
  width: 260px;
  height: 540px;
  background: linear-gradient(160deg, #1a1023, #341539);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(160, 40, 120, 0.32), 0 0 0 3px rgba(255,255,255,0.06) inset;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #1a1023;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(200deg, #e0489a 0%, #ef7fc0 35%, #9a5fd9 100%);
}
.stream-bg-blur {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.2), transparent 55%);
}
.live-badge {
  position: absolute;
  top: 34px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--live-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  z-index: 4;
  animation: pulseLive 1.6s ease-in-out infinite;
}
.live-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}
@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255,59,92,0); }
}
.viewer-count {
  position: absolute;
  top: 34px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 4;
}
.host-info {
  position: absolute;
  top: 68px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.host-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--pink-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  border: 2px solid #fff;
}
.host-name {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.follow-pill {
  background: var(--pink-strong);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 2px;
}

.chat-feed {
  position: absolute;
  bottom: 22px;
  left: 14px;
  right: 60px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chat-msg {
  background: rgba(0,0,0,0.32);
  color: #fff;
  font-size: 0.63rem;
  padding: 4px 9px;
  border-radius: 10px;
  max-width: fit-content;
  line-height: 1.4;
}
.chat-msg b { color: var(--gold); font-weight: 800; }
.chat-msg.gift-msg { background: rgba(224, 72, 154, 0.55); }

.hearts-fly {
  position: absolute;
  right: 12px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hearts-fly i {
  color: var(--pink-strong);
  font-size: 0.9rem;
  animation: miniHeart 2.4s ease-in infinite;
}
.hearts-fly i:nth-child(2) { animation-delay: 0.6s; color: var(--gold); font-size: 0.75rem; }
.hearts-fly i:nth-child(3) { animation-delay: 1.2s; color: var(--lilac); font-size: 0.8rem; }
@keyframes miniHeart {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-160px) translateX(6px) scale(0.5); opacity: 0; }
}

.diamond-float {
  position: absolute;
  z-index: 4;
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0.9;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.diamond-float.d1 { top: 120px; right: 24px; animation: diamondSpin 4s ease-in-out infinite; }
.diamond-float.d2 { top: 200px; left: 20px; font-size: 0.7rem; animation: diamondSpin 5s ease-in-out infinite 1s; }
@keyframes diamondSpin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(15deg); }
}

/* ===================== NOTE-TAKING WARNING ===================== */
.note-warning {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 50px;
}
.note-warning-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, #eeeafc, #fff0f6);
  border: 1.5px dashed var(--gold);
  border-radius: 22px;
  padding: 28px 32px;
  box-shadow: 0 14px 34px rgba(106,95,217,0.2);
}
.note-warning-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--pink-strong));
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(106,95,217,0.35);
}
.note-warning-text h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--text-main);
}
.note-warning-text p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ===================== INTRO ===================== */
.intro {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 30px;
}
.intro-card {
  max-width: 800px;
  margin: 0 auto 40px;
  background: linear-gradient(145deg, #fff, var(--pink-pale));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 36px 40px;
  position: relative;
  text-align: left;
  box-shadow: 0 16px 40px rgba(160,40,120,0.14);
}
.intro-quote {
  font-size: 1.6rem;
  color: var(--pink-strong);
  opacity: 0.5;
  display: block;
  margin-bottom: 10px;
}
.intro-card p {
  color: var(--text-main);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
}

/* ===================== LEARN GRID (what you'll learn) ===================== */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.learn-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 26px 22px;
  text-align: left;
  box-shadow: 0 8px 22px rgba(160,40,120,0.1);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.learn-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-mid);
  box-shadow: 0 14px 32px rgba(160,40,120,0.2);
}
.learn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-strong), var(--lilac));
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px var(--shadow-pink);
}
.learn-card h4 {
  margin: 0 0 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
}
.learn-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ===================== LECTURE / ENVELOPE SECTION ===================== */
.lecture-section {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  text-align: center;
}
.lecture-header {
  max-width: 640px;
  margin: 0 auto 40px;
}
.module-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--lilac-soft), var(--pink-strong) 60%, var(--lilac));
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 10px 26px var(--shadow-pink);
}
.module-title {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--text-main);
}
.module-desc {
  color: var(--text-dim);
  font-size: 1.03rem;
  line-height: 1.7;
  margin: 0;
}

.envelope-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

/* Envelope graphic */
.envelope {
  position: relative;
  width: 260px;
  height: 170px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.envelope:hover { transform: translateY(-4px) scale(1.02); }
.envelope:active { transform: translateY(0) scale(0.98); }

.envelope-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -14px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(224,72,154,0.35), transparent 70%);
  filter: blur(6px);
}
.envelope-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #ffffff, var(--pink-pale));
  border: 2px solid var(--pink-soft);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(160,40,120,0.28);
}
.envelope-letter-peek {
  position: absolute;
  left: 8%;
  right: 8%;
  top: -22px;
  height: 90px;
  background: linear-gradient(160deg, #fff, #fff7fb);
  border: 2px solid var(--pink-soft);
  border-radius: 10px;
  z-index: 1;
  transition: transform 0.4s ease;
  box-shadow: 0 6px 16px rgba(160,40,120,0.18);
}
.envelope-flap {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(160deg, var(--pink-strong), var(--pink-mid));
  clip-path: polygon(0 0, 50% 58%, 100% 0);
  border-radius: 14px 14px 0 0;
  transition: transform 0.5s ease, clip-path 0.5s ease;
  transform-origin: top center;
  box-shadow: 0 6px 14px rgba(160,40,120,0.22);
}
.envelope-seal {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -30%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, var(--pink-strong));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 8px 20px rgba(197,60,122,0.35);
  animation: sealPulse 2s ease-in-out infinite;
}
@keyframes sealPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(160,40,120,0.35); }
  50% { box-shadow: 0 8px 28px rgba(160,40,120,0.55); }
}

/* Opened state */
.envelope.is-open .envelope-flap {
  transform: rotateX(180deg) translateY(-6px);
  opacity: 0.9;
}
.envelope.is-open .envelope-letter-peek {
  transform: translateY(-46px);
}
.envelope.is-open { cursor: default; }
.envelope.is-open:hover { transform: none; }

.open-lecture-btn { margin-top: 4px; }
.open-lecture-btn.is-hidden { display: none; }

/* Video panel */
.video-panel {
  width: 100%;
  max-width: 820px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.5s ease, margin 0.6s ease;
  margin-top: 0;
}
.video-panel.is-visible {
  max-height: 900px;
  opacity: 1;
  margin-top: 10px;
}
.video-panel-inner {
  background: linear-gradient(160deg, #fff, var(--pink-pale));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(160,40,120,0.2);
}
.video-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 18px;
  font-size: 1.02rem;
}
.video-panel-title i { color: var(--pink-strong); }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1023;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  color: #ffd9e8;
  background: linear-gradient(160deg, #3a1730, #55204a);
}
.video-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #6a5fd9;
}
.video-placeholder p { margin: 0; font-size: 0.92rem; max-width: 420px; line-height: 1.55; }
.video-placeholder p b { color: #fff; }

/* Hide placeholder automatically once a real src is set (handled via JS class) */
.video-frame.has-video .video-placeholder { display: none; }

/* ===================== MID REMINDER ===================== */
.mid-reminder {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 50px auto 0;
  padding: 0 24px;
  text-align: center;
}
.mid-reminder p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(106,95,217,0.14);
  border: 1px solid rgba(106,95,217,0.4);
  color: #a3651f;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
}

/* ===================== FINAL FORMS ===================== */
.final-forms {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 24px 100px;
}
.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.form-card {
  background: linear-gradient(160deg, #fff, var(--pink-pale));
  border: 1px solid rgba(224,72,154,0.28);
  border-radius: 26px;
  padding: 40px 34px;
  box-shadow: 0 18px 44px rgba(160,40,120,0.16);
  text-align: left;
}
.form-card--gold {
  background: linear-gradient(160deg, #fff, #eeeafc);
  border-color: rgba(106,95,217,0.4);
  box-shadow: 0 18px 44px rgba(106,95,217,0.2);
}
.form-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--lilac-soft), var(--pink-strong) 60%, var(--lilac));
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 10px 26px var(--shadow-pink);
}
.form-card--gold .form-card-icon {
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, var(--pink-strong));
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 10px 26px rgba(230,185,90,0.35);
}
.form-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: var(--text-main);
}
.form-card > p {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

.site-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}
.site-form input,
.site-form textarea {
  font-family: 'Manrope', sans-serif;
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #fff;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-form input:focus,
.site-form textarea:focus {
  outline: none;
  border-color: var(--pink-strong);
  box-shadow: 0 0 0 3px rgba(224,72,154,0.18);
}
.site-form button {
  margin-top: 4px;
  align-self: flex-start;
  border-radius: 999px;
}
.form-message {
  margin: 4px 0 0;
  color: #2f9e6e;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
}
.form-message.is-error {
  color: #d64545;
}

/* ===================== FOOTER ===================== */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-soft);
  padding: 28px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-text { text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .stat { align-items: center; }
  .phone-mockup { width: 240px; height: 500px; }
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .forms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { padding: 12px 16px; }
  .brand-text { font-size: 0.95rem; }
  .main-nav { gap: 10px; font-size: 0.78rem; }
  .hero { padding: 44px 16px 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; padding: 14px 20px; }
  .hero-stats { gap: 22px; }
  .stat-num { font-size: 1.5rem; }
  .intro-card { padding: 24px 18px; }
  .learn-grid { grid-template-columns: 1fr; }
  .note-warning-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .lecture-section { padding: 40px 16px 20px; }
  .module-badge { width: 50px; height: 50px; font-size: 1.2rem; }
  .envelope { width: 220px; height: 145px; }
  .envelope-letter-peek { top: -18px; height: 76px; }
  .form-card { padding: 30px 22px; }
  .site-form button { align-self: stretch; justify-content: center; }
  .phone-mockup { width: 220px; height: 460px; border-radius: 36px; }
  .phone-screen { border-radius: 28px; }
}

@media (max-width: 380px) {
  .phone-mockup { width: 200px; height: 420px; }
  .envelope { width: 200px; height: 132px; }
}
