/* ===== VARIABLES ===== */
:root {
  --pink: #D4899A;
  --pink-light: #e4a8b5;
  --pink-dark: #b8697a;
  --cream: #F5EDE0;
  --cream-light: #faf6f0;
  --brown: #5C3D2E;
  --brown-light: #7a5a4a;
  --brown-dark: #3d2519;
  --white: #ffffff;
  --shadow: 0 2px 16px rgba(92, 61, 46, 0.08);
  --shadow-lg: 0 8px 32px rgba(92, 61, 46, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--brown);
  background: var(--cream-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212, 137, 154, 0.4);
}

.btn-primary:hover {
  background: var(--pink-dark);
  box-shadow: 0 6px 28px rgba(212, 137, 154, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
}

.btn-outline:hover {
  background: var(--pink);
  color: var(--white);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92, 61, 46, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brown);
}

.logo-icon {
  font-size: 1.6rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-light);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--pink);
}

.nav .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 246, 240, 0.98);
  backdrop-filter: blur(12px);
  padding: 32px 20px;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
}

/* ===== HERO ===== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 100%);
}

.hero-mascot {
  font-size: 4rem;
  margin-bottom: 24px;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(12deg); }
  75% { transform: rotate(-8deg); }
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--brown-light);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== PAINS ===== */
.pains {
  background: var(--white);
}

.pains-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--brown-light);
  margin-top: -32px;
  margin-bottom: 40px;
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--cream-light);
  border-radius: var(--radius);
  border: 1px solid rgba(92, 61, 46, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pain-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.pain-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--brown);
}

/* ===== STEPS ===== */
.steps {
  background: var(--cream-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--pink);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--brown-light);
  line-height: 1.5;
}

/* Arrow between steps */
.step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--pink-light);
  font-weight: 700;
}

/* ===== FEATURES ===== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--cream-light);
  border-radius: var(--radius);
  border: 1px solid rgba(92, 61, 46, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--brown-light);
  line-height: 1.6;
}

/* Full-width last feature */
.feature-card.feature-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
}

.feature-wide .feature-icon {
  font-size: 3rem;
  margin-bottom: 0;
}

.feature-wide .feature-content h3 {
  margin-bottom: 6px;
}

/* ===== PRICING ===== */
.pricing {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}

.pricing-mascot {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 40px;
}

.price-card {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.popular {
  border: 2px solid var(--pink);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brown);
  margin: 12px 0 4px;
}

.price-period {
  font-size: 0.95rem;
  color: var(--brown-light);
  margin-bottom: 8px;
}

.price-note {
  font-size: 0.85rem;
  color: var(--pink);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 20px;
}

.price-features {
  text-align: left;
  margin-bottom: 24px;
}

.price-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: '✓';
  color: var(--pink);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-cta {
  text-align: center;
}

/* ===== FAQ ===== */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--cream-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(92, 61, 46, 0.06);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

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

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

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--brown-light);
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--cream);
  text-align: center;
  padding: 80px 0;
}

.final-mascot {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.final-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--brown-light);
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

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

  .feature-card.feature-wide {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
  }

  /* Header */
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-mascot {
    font-size: 3rem;
  }

  /* Pains */
  .pains-grid {
    grid-template-columns: 1fr;
  }

  .pains-subtitle {
    margin-top: -16px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.feature-wide {
    flex-direction: column;
    text-align: center;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* Final CTA */
  .final-cta h2 {
    font-size: 1.7rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .price-amount {
    font-size: 2.2rem;
  }
}
