/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #080616;
  color: #e8e4f0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== TOKENS ===== */
:root {
  --purple-400: #a78bfa;
  --purple-600: #7c3aed;
  --indigo-500: #667eea;
  --bg-dark: #080616;
  --bg-section: #0c0a1d;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --text-primary: #f0ecf9;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(160deg, #0f0c29 0%, #1a1440 30%, #302b63 60%, #24243e 100%);
  --container: min(92%, 640px);
  --section-pad: 80px 0;
}

/* ===== STARRY SKY CANVAS ===== */
#starCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ===== LAYOUT ===== */
.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-pad);
  position: relative;
}

.section-dark {
  background: rgba(12, 10, 29, 0.85);
}

.section-title {
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(8, 6, 22, 0.95), rgba(8, 6, 22, 0.7));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  display: block;
  max-width: 400px;
  margin: 0 auto;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.4);
  transition: transform 0.2s;
}

.sticky-cta-btn:active {
  transform: scale(0.97);
}

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(138, 99, 255, 0.12);
  color: var(--purple-400);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(138, 99, 255, 0.15);
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  font-size: clamp(28px, 7.5vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: clamp(14px, 3.8vw, 17px);
  max-width: 400px;
  margin: 0 auto 28px;
  line-height: 1.6;
  animation: fadeInUp 0.7s ease 0.2s both;
}

/* Moona character */
.hero-character {
  margin: 24px auto 0;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.moona-img {
  width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(102, 126, 234, 0.3));
  animation: moonaFloat 4s ease-in-out infinite alternate;
}

@keyframes moonaFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  animation: fadeInUp 0.7s ease 0.5s both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== CTA BUTTONS ===== */
.cta-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 0.7s ease 0.3s both;
  letter-spacing: -0.3px;
}

.cta-primary:active {
  transform: scale(0.97);
}

.cta-primary:hover {
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

.cta-large {
  padding: 18px 44px;
  font-size: 18px;
}

.cta-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
  width: 100%;
  text-align: center;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-secondary);
  animation: fadeInUp 0.7s ease 0.4s both;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

/* ===== PROBLEM ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.problem-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.3s;
}

.problem-card:hover {
  transform: translateY(-3px);
}

.problem-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ===== VIDEO ===== */
.video-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 12px 48px rgba(102, 126, 234, 0.15);
  aspect-ratio: 9/16;
  background: rgba(15, 12, 41, 0.8);
}

.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 12, 41, 0.3), rgba(48, 43, 99, 0.6));
}

/* Calendar fills the container */
.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  filter: brightness(0.7);
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.5);
  margin-bottom: 12px;
  transition: transform 0.2s;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.video-play-btn svg {
  margin-left: 3px;
}

.video-poster-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.video-player.playing {
  display: block;
}

/* ===== FEATURES ===== */
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-card {
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--indigo-500), var(--purple-600), transparent);
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
}

.step-content p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== ARCHETYPE CTA ===== */
.archetype-cta {
  padding: 48px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.12));
  border-color: rgba(102, 126, 234, 0.25);
  position: relative;
  overflow: hidden;
}

.archetype-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3), rgba(102, 126, 234, 0.1));
  border-radius: 22px;
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 1;
  }
}

.archetype-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.archetype-desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.archetype-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.archetype-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-400);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.15);
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.review-card {
  padding: 24px 20px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.review-header strong {
  display: block;
  font-size: 14px;
  color: var(--purple-400);
}

.review-meta {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

.review-stars {
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.review-ig-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-400);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.15);
  transition: background 0.2s;
}

.review-ig-link:hover {
  background: rgba(167, 139, 250, 0.2);
}

.reviews-cta {
  text-align: center;
  margin-top: 28px;
}

.ig-follow-btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-400);
  padding: 14px 28px;
  border-radius: 50px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.ig-follow-btn:hover {
  background: rgba(167, 139, 250, 0.15);
  transform: translateY(-2px);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.pricing-card {
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.pricing-popular {
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 8px 40px rgba(102, 126, 234, 0.15), var(--glass-shadow);
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.popular-badge {
  color: var(--purple-400);
}

.pricing-tier {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: white;
}

.pricing-price {
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== FINAL CTA ===== */
.section-cta {
  padding-bottom: 40px;
}

.final-cta {
  padding: 48px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-color: rgba(102, 126, 234, 0.2);
}

.final-moona {
  width: 100px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
}

.final-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--purple-400);
  font-weight: 500;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DESKTOP ===== */
@media (min-width: 640px) {
  :root {
    --container: min(88%, 720px);
  }

  .hero-layout {
    flex-direction: row;
    text-align: left;
    gap: 24px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-character {
    flex-shrink: 0;
  }

  .moona-img {
    width: 280px;
    height: 280px;
  }

  .features-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
  }

  .video-container {
    aspect-ratio: 16/9;
  }
}

@media (min-width: 1024px) {
  :root {
    --container: min(90%, 960px);
  }

  .features-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .moona-img {
    width: 320px;
    height: 320px;
  }
}/* ===== ABOUT SECTION ===== */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.about-text {
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.moona-avatar {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    /* Squircle */
    object-fit: cover;
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        text-align: left;
        gap: 48px;
    }

    .about-text {
        text-align: left;
        order: 1;
        /* Keep text left or right? Standard is generic flow */
    }

    .about-image {
        display: flex;
        justify-content: center;
        order: 2;
    }

    .moona-avatar {
        margin-bottom: 0;
        width: 280px;
        height: 280px;
    }

    .section-title,
    .section-sub {
        /* If inside .about-text, align left */
    }

    .about-text .section-title {
        text-align: left;
    }
}