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

:root {
  --coral:    #FF6B4A;
  --coral-dk: #E85535;
  --orange:   #FF9B21;
  --teal:     #0EA5E9;
  --cream:    #FFF8F3;
  --cream-dk: #FFF0E6;
  --dark:     #1C1917;
  --dark-2:   #44403C;
  --muted:    #78716C;
  --border:   #E7DDD8;
  --white:    #FFFFFF;
  --shadow:   0 4px 24px rgba(255,107,74,.10);
  --shadow-lg:0 12px 48px rgba(255,107,74,.15);
  --radius:   16px;
  --radius-sm:10px;
  --container:1140px;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none;
}
.logo-icon { font-size: 1.4rem; }
.logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: var(--dark);
}
.logo-accent { color: var(--coral); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: .9rem; font-weight: 600;
  color: var(--dark-2); text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--coral); }

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: .5rem 1.25rem !important;
  border-radius: 50px !important;
  transition: background .15s, transform .1s !important;
}
.nav-cta:hover { background: var(--coral-dk) !important; transform: translateY(-1px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; font-family: 'Nunito', sans-serif;
  font-weight: 700; border-radius: 50px;
  cursor: pointer; text-decoration: none;
  border: none; transition: all .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--coral); color: var(--white);
  padding: .85rem 2rem; font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255,107,74,.35);
}
.btn-primary:hover { background: var(--coral-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,74,.4); }

.btn-ghost {
  background: transparent; color: var(--dark-2);
  padding: .85rem 1.5rem; font-size: 1rem;
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }

.btn-outline-coral {
  background: transparent; color: var(--coral);
  padding: .85rem 1.5rem; font-size: .95rem;
  border: 2px solid var(--coral);
  width: 100%;
}
.btn-outline-coral:hover { background: var(--coral); color: white; }

.btn-wa { background: #25D366; color: white; padding: .85rem 2rem; font-size: 1rem; }
.btn-wa:hover { background: #1ebe5d; }

/* ===== HERO ===== */
.hero {
  background: var(--cream);
  position: relative; overflow: hidden;
  padding: 5rem 0 4rem;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(60px);
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: rgba(255,155,33,.18);
  top: -100px; right: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: rgba(255,107,74,.12);
  bottom: -80px; left: -80px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: white; border: 1.5px solid var(--border);
  border-radius: 50px; padding: .4rem 1rem;
  font-size: .85rem; font-weight: 700;
  color: var(--dark-2); margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.1;
  color: var(--dark); margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-title-accent { color: var(--coral); }
.hero-sub {
  font-size: 1.1rem; color: var(--muted);
  max-width: 480px; margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--coral);
}
.stat-lbl { font-size: .75rem; color: var(--muted); font-weight: 600; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-frame {
  width: 260px; height: 520px;
  background: var(--dark);
  border-radius: 36px;
  box-shadow: 0 24px 80px rgba(28,25,23,.25), 0 0 0 2px rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--dark);
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #F8FAFC;
  padding: 40px 12px 12px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.app-header {
  display: flex; align-items: center; gap: 10px;
  background: white; border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.app-avatar { font-size: 1.4rem; }
.app-name { font-size: .75rem; font-weight: 700; color: var(--dark); }
.app-date { font-size: .65rem; color: var(--muted); }

.app-card {
  background: white; border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.app-card-label {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); margin-bottom: 6px;
}
.mood-icons { display: flex; gap: 8px; }
.mood { font-size: 1.2rem; opacity: .35; cursor: pointer; transition: all .15s; }
.mood.active { opacity: 1; transform: scale(1.2); }

.meal-bars { display: flex; flex-direction: column; gap: 5px; }
.meal-bar { display: flex; align-items: center; gap: 8px; }
.meal-bar span { font-size: .6rem; color: var(--muted); width: 40px; flex-shrink: 0; }
.bar { flex: 1; height: 6px; background: #F1F5F9; border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--coral), var(--orange)); border-radius: 3px; }

.note-text { font-size: .7rem; color: var(--dark-2); line-height: 1.5; }

.app-send-btn {
  background: var(--coral); color: white;
  border-radius: 10px; padding: 8px 12px;
  font-size: .7rem; font-weight: 700;
  text-align: center; margin-top: auto;
}

.float-card {
  position: absolute; background: white;
  border-radius: 14px; padding: .65rem 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700;
  white-space: nowrap; z-index: 3;
}
.float-card small { font-weight: 500; color: var(--muted); display: block; font-size: .65rem; }
.float-icon { font-size: 1.1rem; }
.float-card-1 { top: 60px; right: -20px; animation: float 3s ease-in-out infinite; }
.float-card-2 { bottom: 80px; left: -20px; animation: float 3s ease-in-out infinite .8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== SECTION COMMON ===== */
.section { padding: 5.5rem 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-tag {
  display: inline-block;
  background: var(--cream-dk); color: var(--coral);
  font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: .75rem;
}
.section-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; }

/* ===== FEATURES ===== */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon { font-size: 1.5rem; }
.feature-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: .5rem;
}
.feature-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--cream); }
.steps {
  display: flex; align-items: flex-start;
  justify-content: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.step { text-align: center; max-width: 240px; }
.step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3rem; font-weight: 800;
  color: var(--coral); opacity: .15;
  line-height: 1; margin-bottom: .75rem;
}
.step-content h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: .5rem;
}
.step-content p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.step-arrow {
  font-size: 1.5rem; color: var(--border);
  padding-top: 1.5rem; align-self: flex-start;
}

/* ===== PRICING ===== */
.pricing { background: var(--white); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 900px; margin: 0 auto;
  align-items: start;
}
.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  position: relative; transition: box-shadow .2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card--featured {
  border-color: var(--coral);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.pricing-badge-top {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: white;
  font-size: .75rem; font-weight: 800;
  padding: .2rem .9rem; border-radius: 50px;
  white-space: nowrap;
}
.pricing-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .9rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: .75rem;
}
.pricing-price-row { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .75rem; }
.pricing-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.75rem; font-weight: 800;
  color: var(--dark);
}
.pricing-period { font-size: .8rem; color: var(--muted); font-weight: 600; }
.pricing-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }
.pricing-features {
  list-style: none; margin-bottom: 1.75rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.pricing-features li { font-size: .88rem; display: flex; align-items: center; gap: .6rem; }
.check { color: var(--coral); font-weight: 800; }
.check-gold { color: var(--orange); font-size: .85rem; }

/* ===== FORM ===== */
.form-section { background: var(--cream); }
.form-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.form-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: 1rem;
}
.form-sub { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; }
.form-guarantees { display: flex; flex-direction: column; gap: .6rem; }
.guarantee { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 600; color: var(--dark-2); }

.form-right {
  background: white; border-radius: 24px;
  padding: 2.5rem; box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
}
.demo-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 700; color: var(--dark-2); }
.form-group input {
  border: 1.5px solid var(--border);
  border-radius: 10px; padding: .75rem 1rem;
  font-size: .95rem; font-family: 'Nunito', sans-serif;
  color: var(--dark); transition: border-color .15s;
  outline: none; background: #FAFAFA;
}
.form-group input:focus { border-color: var(--coral); background: white; }
.form-group input::placeholder { color: #C4B8B2; }
.form-error { font-size: .85rem; color: #DC2626; padding: .4rem 0; }
.form-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.form-note a { color: var(--coral); font-weight: 700; text-decoration: none; }

.form-success {
  text-align: center; padding: 2rem 1rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.success-emoji { font-size: 3rem; }
.form-success h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem; font-weight: 800;
}
.form-success p { color: var(--muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark); color: #A8A29E;
  padding: 3rem 0;
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem; text-align: center;
}
.footer .logo-text { color: white; }
.footer-brand p { font-size: .875rem; color: #78716C; margin-top: .4rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: #A8A29E; text-decoration: none;
  font-size: .875rem; font-weight: 600;
  transition: color .15s;
}
.footer-links a:hover { color: var(--coral); }
.footer-copy { font-size: .75rem; color: #57534E; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .nav-links a:not(.nav-cta) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .form-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { flex-direction: column; align-items: center; gap: 2rem; }
  .step-arrow { display: none; }
  .float-card-1 { right: 0; top: 20px; }
  .float-card-2 { left: 0; bottom: 40px; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 3rem; }
  .phone-frame { width: 220px; height: 440px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
