/* ===== Variables ===== */
:root {
  --bg: #f9f9f7;
  --green-dark: #3e5622;
  --green: #4a6741;
  --green-muted: #6b8f5e;
  --green-light: #edf2e9;
  --green-pale: #f1f8e9;
  --pink: #d66d6d;
  --yellow: #f4d06f;
  --yellow-pale: #fef6dc;
  --pink-pale: #fce8e8;
  --text: #4a5c42;
  --text-muted: #7a8a72;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(74, 103, 65, 0.08);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== Layout ===== */
.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

/* ===== Header ===== */
.header {
  text-align: center;
}

.logo {
  margin-bottom: 0.75rem;
}

.logo svg {
  display: inline-block;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.accent-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.script-text {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.script-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 8px;
  background: var(--yellow);
  opacity: 0.45;
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1deg);
}

.sparkles {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0.25rem 0;
}

.sparkles span {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.sparkles--left span:nth-child(1) { transform: rotate(-25deg); width: 10px; }
.sparkles--left span:nth-child(2) { transform: rotate(-10deg); }
.sparkles--left span:nth-child(3) { transform: rotate(5deg); width: 12px; }

.sparkles--right span:nth-child(1) { transform: rotate(25deg); width: 10px; margin-left: auto; }
.sparkles--right span:nth-child(2) { transform: rotate(10deg); margin-left: auto; }
.sparkles--right span:nth-child(3) { transform: rotate(-5deg); width: 12px; margin-left: auto; }

.title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.divider-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: #d8ddd4;
}

.divider-heart {
  color: var(--pink);
  font-size: 0.85rem;
  line-height: 1;
}

.intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.intro strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--green-dark);
  font-weight: 700;
}

/* ===== Illustration ===== */
.illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin-bottom: 1.5rem;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.blob--green {
  width: 260px;
  height: 180px;
  background: var(--green-pale);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}

.blob--beige {
  width: 120px;
  height: 100px;
  background: #f5efe6;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  top: 30%;
  right: 15%;
  opacity: 0.6;
}

.scene {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.stars {
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.feature {
  text-align: center;
  padding: 0 0.25rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
}

.feature-icon--green { background: var(--green-pale); }
.feature-icon--yellow { background: var(--yellow-pale); }
.feature-icon--pink { background: var(--pink-pale); }

.feature h2 {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.feature p {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== Academy CTA ===== */
.academy-cta {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  border: 2px solid var(--green-pale);
}

.academy-brand {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.academy-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.academy-title em {
  font-family: 'Dancing Script', cursive;
  font-style: normal;
  font-size: 1.35rem;
  color: var(--pink);
  display: inline-block;
}

.academy-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.academy-text strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--green-dark);
  font-weight: 800;
}

.academy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(74, 103, 65, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.academy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(74, 103, 65, 0.4);
}

.academy-btn:active {
  transform: translateY(0);
}

.academy-btn svg {
  transition: transform 0.2s ease;
}

.academy-btn:hover svg {
  transform: translateX(3px);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
}

.thanks-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.smiley {
  flex-shrink: 0;
}

.smiley svg {
  display: block;
}

.thanks-text {
  flex: 1;
  min-width: 0;
}

.thanks-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
}

.thanks-title .heart {
  color: var(--pink);
}

.thanks-body {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.thanks-highlight {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
  position: relative;
  display: inline-block;
}

.thanks-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--yellow);
  opacity: 0.4;
  border-radius: 3px;
  z-index: -1;
}

.bottom-deco {
  display: flex;
  justify-content: center;
  opacity: 0.85;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (min-width: 480px) {
  .page {
    max-width: 480px;
    padding: 2.5rem 2rem 3rem;
  }

  .script-text {
    font-size: 3.5rem;
  }

  .title {
    font-size: 1.85rem;
  }

  .feature h2 {
    font-size: 0.68rem;
  }

  .feature p {
    font-size: 0.72rem;
  }

  .academy-title {
    font-size: 1.15rem;
  }

  .academy-title em {
    font-size: 1.5rem;
  }
}

@media (max-width: 360px) {
  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
  }

  .feature-icon {
    margin: 0;
    flex-shrink: 0;
  }
}
