:root {
  --green: #86efac;
  --green-deep: #166534;
  --ink: #f3faf6;
  --muted: rgba(232, 247, 239, 0.72);
  --card: rgba(8, 22, 16, 0.72);
  --line: rgba(187, 247, 208, 0.16);
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  background: #071510 url("../img/forest-bg.jpg") center top / cover no-repeat fixed;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 70% 10%, rgba(52, 211, 153, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(4, 16, 12, 0.25) 0%, rgba(4, 12, 10, 0.72) 55%, rgba(4, 10, 8, 0.88) 100%);
}
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  backdrop-filter: blur(16px);
}
.brand { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; letter-spacing: -0.03em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; color: var(--muted); font-size: 0.92rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: white; }
.lang { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.55rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  border: 0;
}
.btn-primary { background: linear-gradient(180deg, #bbf7d0, #4ade80); color: #052e16; box-shadow: 0 10px 30px rgba(74, 222, 128, 0.25); }
.btn-ghost { background: rgba(255,255,255,0.06); color: white; border: 1px solid var(--line); }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center; padding: 1.5rem 0 4rem; }
.eyebrow { color: var(--green); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }
h1 { font-family: Fraunces, Georgia, serif; font-weight: 560; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0.4rem 0 0.8rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin: 0 0 1.4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.fine { margin-top: 0.9rem; color: var(--muted); font-size: 0.92rem; }

.phone {
  width: min(320px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(160deg, #1c2b24, #050a08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotate(3deg);
}
.screen {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(6, 18, 14, 0.88);
  padding: 1rem 0.85rem 0.7rem;
  min-height: 520px;
}
.screen-top { display: flex; justify-content: space-between; align-items: center; }
.screen h2 { font-family: Fraunces, Georgia, serif; font-size: 1.7rem; margin: 0; font-weight: 560; }
.leaf-badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.progress { margin: 0.9rem 0 0.3rem; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.08); position: relative; }
.progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #bbf7d0); box-shadow: 0 0 12px rgba(74, 222, 128, 0.8); }
.hum { position: absolute; left: 62%; top: -22px; width: 54px; height: 36px; animation: peck 1.8s ease-in-out infinite; }
.hum .wing { transform-origin: 22px 16px; animation: wing 0.28s ease-in-out infinite; }
.month { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; margin: 0.8rem 0 0.45rem; }
.dow, .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow { color: rgba(232,247,239,0.45); font-size: 0.62rem; text-align: center; margin-bottom: 4px; }
.day { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; font-size: 0.72rem; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.35); }
.day.sober { background: linear-gradient(165deg, #34d399, #166534); color: #ecfdf5; box-shadow: inset 0 0 0 1px rgba(236,253,245,0.25); }
.day.mid { background: linear-gradient(165deg, #fb923c, #9a3412); color: #fff7ed; }
.day.high { background: linear-gradient(165deg, #f87171, #991b1b); color: #fee2e2; }
.screen-card { margin-top: 0.8rem; padding: 0.75rem 0.8rem; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.screen-card strong { display: block; font-size: 1.35rem; }
.screen-card span { color: var(--muted); font-size: 0.8rem; }
.ring { width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(#4ade80 0 72%, rgba(255,255,255,0.08) 0); mask: radial-gradient(circle 13px, transparent 98%, #000 100%); }
.phone-nav { display: flex; justify-content: space-around; margin-top: 0.7rem; padding-top: 0.45rem; border-top: 1px solid var(--line); color: rgba(232,247,239,0.55); font-size: 0.68rem; text-align: center; }
.phone-nav .on { color: var(--green); }

section { position: relative; z-index: 1; padding: 1rem 0 3rem; }
h2.sec { font-family: Fraunces, Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; margin: 0 0 1rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.1rem 1rem 1.2rem; backdrop-filter: blur(12px); }
.card h3 { margin: 0.2rem 0 0.35rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.step { font-family: Fraunces, Georgia, serif; font-size: 1.8rem; color: var(--green); }

.privacy { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 1.4rem 1.3rem; backdrop-filter: blur(12px); }
.privacy p { color: var(--muted); margin: 0.4rem 0 0; }

footer { position: relative; z-index: 1; padding: 1rem 0 2.5rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--green); }

@keyframes peck {
  0%, 70%, 100% { transform: translateY(0) rotate(-8deg); }
  80% { transform: translateY(4px) rotate(6deg); }
  88% { transform: translateY(0) rotate(-4deg); }
}
@keyframes wing {
  50% { transform: rotate(-26deg); }
}
@media (max-width: 860px) {
  .hero, .cards, .steps { grid-template-columns: 1fr; }
  .phone { transform: none; }
  .nav-links a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hum, .hum .wing { animation: none; }
  html { scroll-behavior: auto; }
}
