:root {
  --g: #0d5235;       /* flakon yashili */
  --g2: #16794c;
  --g3: #2fa36b;
  --mint: #e9f6ee;
  --mint2: #d4eedd;
  --bg: #f6faf7;
  --ink: #10201a;
  --muted: #56675d;
  --y: #ffd23f;       /* sariq — faqat tugmalarda */
  --y2: #f5b800;
  --line: rgba(13, 82, 53, .12);
  --r: 22px;
  --sh: 0 12px 32px -14px rgba(13, 82, 53, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; position: relative; }
section { padding: 64px 0; position: relative; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 14px; letter-spacing: -.02em; }
h1 { font-size: 31px; font-weight: 800; }
h2 { font-size: 27px; font-weight: 800; color: var(--g); }
h3 { font-size: 17px; font-weight: 800; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.white { background: #fff; }

/* ---------- Tugmalar ---------- */
.btn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #ffdc5e, var(--y) 60%, var(--y2)); color: #1d1a00; font: inherit; font-size: 19px; font-weight: 800; text-decoration: none; padding: 14px 20px; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(245, 184, 0, .7), inset 0 -3px 0 rgba(0,0,0,.08); transition: transform .2s var(--ease), box-shadow .2s; }
.btn::after { content: "→"; font-size: 22px; transition: transform .25s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(245, 184, 0, .8); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .6; }
.cta-note { font-size: 14px; color: var(--muted); text-align: center; margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cta-note .i { width: 16px; height: 16px; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- Hero ---------- */
.hero { padding: 0 0 76px; color: #fff; background: radial-gradient(120% 70% at 100% 0%, #1f8a57 0%, transparent 55%), linear-gradient(165deg, #0f5c3b, #093d2b); border-radius: 0 0 36px 36px; overflow: hidden; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 26px; position: relative; z-index: 2; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: .14em; color: inherit; text-decoration: none; }
.logo .i { color: var(--g3); width: 24px; height: 24px; }
.lang { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 700; color: inherit; cursor: pointer; }
.page-top { background: linear-gradient(165deg, #0f5c3b, #093d2b); color: #fff; border-radius: 0 0 28px 28px; }
.hero .hero .hero h1 { color: #fff; }
.hero .sub { color: #cfe9da; }

.stage { position: relative; height: 330px; margin: 6px 0 22px; display: grid; place-items: center; }
.stage .glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 230, 180, .55), rgba(47,163,107,.15) 55%, transparent 70%); animation: breathe 5s ease-in-out infinite; }
.stage .orbit { position: absolute; width: 290px; height: 290px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.28); animation: spin 26s linear infinite; }
.stage .orbit.o2 { width: 200px; height: 200px; border-style: solid; border-color: rgba(255,255,255,.12); animation-duration: 18s; animation-direction: reverse; }
.stage .orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--y); box-shadow: 0 0 14px var(--y); }
.stage .orbit.o2::after { background: #a9e5c3; box-shadow: 0 0 12px #a9e5c3; top: auto; bottom: -5px; }
.stage img { position: relative; height: 270px; width: auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.45)); animation: float 5s ease-in-out infinite; }
.stage .shadow { position: absolute; bottom: 14px; width: 120px; height: 16px; border-radius: 50%; background: rgba(0,0,0,.35); filter: blur(8px); animation: shadow 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes shadow { 50% { transform: scale(.8); opacity: .6; } }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .8; } }
@keyframes spin { to { transform: rotate(360deg); } }

.perks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 2px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; overflow: hidden; }
.perks li { display: flex; gap: 14px; align-items: center; padding: 13px 16px; font-weight: 700; font-size: 16px; }
.perks li + li { border-top: 1px solid rgba(255,255,255,.1); }
.perks .ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(169, 229, 195, .16); color: #a9e5c3; display: grid; place-items: center; flex: none; }
.hero .cta-note { color: #bfe0cc; }

/* Faktlar */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -42px auto 0; position: relative; z-index: 3; }
.fact { background: #fff; border-radius: 18px; padding: 16px 6px; text-align: center; box-shadow: var(--sh); }
.fact b { display: block; font-size: 27px; line-height: 1.1; color: var(--g); font-weight: 800; }
.fact span { font-size: 12.5px; color: var(--muted); font-weight: 700; line-height: 1.3; display: block; margin-top: 4px; }

/* Giyohlar lentasi */
.ticker { overflow: hidden; padding: 26px 0 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker div { display: flex; gap: 28px; width: max-content; animation: tick 28s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--g2); font-size: 16px; white-space: nowrap; }
.ticker .i { width: 18px; height: 18px; color: var(--g3); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Belgilar testi ---------- */
.quiz { display: grid; gap: 10px; margin: 18px 0 16px; }
.q { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 16px; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .25s, background .25s, transform .2s var(--ease), box-shadow .25s; }
.q:active { transform: scale(.98); }
.q .box { width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--mint2); display: grid; place-items: center; flex: none; transition: all .25s var(--ease); }
.q .box .i { width: 16px; height: 16px; stroke-width: 3; color: #fff; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--ease) .05s; }
.q[aria-pressed=true] { border-color: var(--g3); background: #f1faf4; box-shadow: 0 8px 20px -14px rgba(13,82,53,.6); }
.q[aria-pressed=true] .box { background: var(--g3); border-color: var(--g3); transform: scale(1.08); }
.q[aria-pressed=true] .box .i { stroke-dashoffset: 0; }
.meter { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.meter .bar { flex: 1; height: 8px; border-radius: 8px; background: var(--mint2); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--g3), var(--g)); transition: width .5s var(--ease); }
.verdict { background: linear-gradient(135deg, var(--g2), var(--g)); color: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--sh); transition: transform .4s var(--ease); }
.verdict p { font-weight: 700; font-size: 18px; margin: 0; }
.verdict .btn { margin-top: 16px; display: none; }
.verdict.hit { animation: pop .5s var(--ease); }
.verdict.hit .btn { display: flex; }
@keyframes pop { 40% { transform: scale(1.03); } }

/* ---------- Aylana ---------- */
.cycle { position: relative; width: 320px; height: 320px; margin: 10px auto 24px; }
.cycle svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle .track { fill: none; stroke: var(--mint2); stroke-width: 3; }
.cycle .flow { fill: none; stroke: var(--g3); stroke-width: 3; stroke-dasharray: 6 10; stroke-linecap: round; animation: flow 1.4s linear infinite; }
.cycle .chev { fill: none; stroke: var(--g); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.cycle .c { position: absolute; left: 50%; top: 50%; width: 120px; margin: -31px 0 0 -60px; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 8px 6px 6px; font-size: 13.5px; font-weight: 800; line-height: 1.2; color: var(--g); box-shadow: var(--sh);
  transform: rotate(var(--a)) translateY(-124px) rotate(calc(-1 * var(--a))); animation: lit 7.5s infinite; animation-delay: var(--d); }
.cycle .c em { position: absolute; top: -10px; left: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: #fff; font-style: normal; font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
@keyframes lit { 0%, 20%, 100% { background: #fff; color: var(--g); } 4%, 16% { background: var(--g); color: #fff; } }
.cycle .mid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 13px; font-weight: 800; color: var(--g2); line-height: 1.25; }
.cycle .mid span { display: block; width: 92px; }
.stop { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; font-weight: 700; box-shadow: var(--sh); margin-bottom: 22px; }
.stop .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--g2); display: grid; place-items: center; flex: none; }

/* ---------- Tarkib ---------- */
.herbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.herb { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 14px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, opacity .7s var(--ease); }
.herb:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.herb::after { content: ""; position: absolute; width: 90px; height: 90px; right: -30px; top: -30px; border-radius: 50%; background: var(--c); opacity: .1; transition: transform .5s var(--ease); }
.herb:hover::after { transform: scale(1.6); }
.herb .ic { width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); display: grid; place-items: center; }
.herb .n { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 800; color: var(--muted); opacity: .6; z-index: 1; }
.herb h3 { font-size: 15.5px; margin: 12px 0 4px; color: var(--g); }
.herb p { font-size: 13.5px; margin: 0; color: var(--muted); line-height: 1.45; }

/* ---------- Kartalar ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 12px; box-shadow: 0 4px 14px -10px rgba(13,82,53,.3); }
.dose { display: flex; gap: 16px; align-items: center; }
.dose .num { flex: 0 0 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, var(--g3), var(--g)); color: #fff; display: grid; place-content: center; font-size: 26px; font-weight: 800; line-height: 1; text-align: center; }
.dose .num small { display: block; font-size: 11px; font-weight: 700; opacity: .85; margin-top: 3px; }
.big { font-size: 19px; font-weight: 800; color: var(--g); margin-bottom: 4px; }
.warn { display: grid; gap: 10px; }
.warn > div { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.warn .ic { width: 38px; height: 38px; border-radius: 11px; background: #fff5d6; color: #9a6b00; display: grid; place-items: center; flex: none; }
.warn b { display: block; color: var(--ink); }
.warn span { color: var(--muted); font-size: 15px; }

/* ---------- Qadamlar ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 22px; counter-reset: s; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 40px; width: 2px; background: var(--mint2); }
.steps::after { background: linear-gradient(var(--g3), var(--g)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease) .2s; }
.steps.in::after { transform: scaleY(1); }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: center; padding-bottom: 14px; position: relative; z-index: 1; }
.steps li::before { content: counter(s); flex: 0 0 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--g3), var(--g)); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg); }
.steps li span { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; flex: 1; font-weight: 600; }

/* ---------- FAQ ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; transition: box-shadow .25s; }
details[open] { box-shadow: var(--sh); }
summary { cursor: pointer; padding: 18px 56px 18px 18px; font-weight: 800; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--g); font-size: 22px; line-height: 30px; text-align: center; transition: transform .3s var(--ease), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--mint2); }
details p { padding: 0 18px 18px; margin: 0; color: var(--muted); animation: fadeUp .35s var(--ease); }

/* ---------- Forma ---------- */
#forma { background: radial-gradient(80% 45% at 50% 0%, var(--mint2), transparent 70%); }
.form-box { background: #fff; border-radius: 26px; padding: 22px 16px 20px; box-shadow: 0 30px 60px -30px rgba(13,82,53,.45); border: 1px solid var(--line); }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--g2); }
.form-head .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--mint); padding: 6px 10px; border-radius: 999px; }
.form-head .chip .i { width: 15px; height: 15px; }
.prog { height: 6px; border-radius: 6px; background: var(--mint); overflow: hidden; margin-bottom: 18px; }
.prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g3), var(--g)); border-radius: 6px; transition: width .45s var(--ease); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field { margin-bottom: 12px; }
.row { position: relative; display: flex; align-items: center; }
.row > .i { position: absolute; left: 16px; color: var(--g2); pointer-events: none; }
.row input, .row select { width: 100%; min-height: 60px; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 44px 12px 50px; font: inherit; font-size: 18px; font-weight: 600; background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.row select { cursor: pointer; }
.row select.empty { color: #7b8a81; font-weight: 500; font-size: 16px; }
.row .chev { position: absolute; right: 16px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; transition: transform .2s; }
.row input:focus, .row select:focus { outline: none; border-color: var(--g3); background: #fff; box-shadow: 0 0 0 4px rgba(47,163,107,.18); }
.row .ok { position: absolute; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--g3); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); pointer-events: none; }
.row .ok .i { width: 14px; height: 14px; stroke-width: 3; }
.field.good .ok { transform: scale(1); }
.field.good .chev { opacity: 0; }
.row.other { margin-top: 8px; animation: fadeUp .35s var(--ease); }
.row.other[hidden] { display: none; }
.row.other input { padding-right: 16px; }
.err { color: #b3261e; font-size: 14px; margin: 6px 0 0 4px; display: none; font-weight: 600; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select { border-color: #b3261e; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.hp { position: absolute; left: -9999px; }
.form-box .btn { margin-top: 6px; }
.form-msg { color: #b3261e; text-align: center; margin-top: 10px; display: none; font-weight: 600; }

footer { background: #093d2b; color: #cfe9da; font-size: 14px; padding: 32px 0; text-align: center; border-radius: 36px 36px 0 0; margin-top: 40px; }
footer a { color: #fff; }
footer .logo { margin-bottom: 10px; }

/* ---------- Scroll animatsiyasi ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
/* Hero yuklanishi bilan chiqadi — scrollni kutmaydi */
.js .hero .rv { opacity: 1; transform: none; transition: none; animation: heroIn .9s var(--ease) var(--d, 0s) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

.short, .m-only { display: none; }

/* ---------- Mobil: kamroq detal ---------- */
@media (max-width: 719px) {
  section { padding: 46px 0; }
  h1 { font-size: 27px; }
  h2 { font-size: 23px; }
  .hero { padding-bottom: 44px; }
  .hero .cta-note, .facts, .cycle .mid, .herb .n, .ticker { display: none; }
  .stage { height: 270px; margin: 0 0 16px; }
  .stage img { height: 220px; }
  .stage .orbit { width: 240px; height: 240px; }
  .stage .orbit.o2 { width: 170px; height: 170px; }
  .stage .glow { width: 220px; height: 220px; }
  .perks { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .perks li { flex-direction: column; text-align: center; gap: 8px; padding: 12px 6px; font-size: 13px; line-height: 1.3; }
  .perks li + li { border-top: 0; border-left: 1px solid rgba(255,255,255,.1); }
  .long { display: none; }
  .short, .m-only { display: block; }
  .q { padding: 12px 14px; font-size: 15px; }
  .herb { padding: 12px; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .herb .ic { width: 36px; height: 36px; border-radius: 11px; }
  .herb h3 { margin: 0; flex: 1; font-size: 14px; }
  .herb p { display: none; flex-basis: 100%; }
  .herb.open p { display: block; animation: fadeUp .3s var(--ease); }
  .herbs { align-items: start; }
  .warn { gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .warn > div { border: 0; border-radius: 0; padding: 12px 14px; gap: 12px; font-size: 15px; line-height: 1.45; }
  .warn > div + div { border-top: 1px solid var(--line); }
  .warn .ic { width: 30px; height: 30px; border-radius: 9px; }
  .warn .ic .i { width: 17px; height: 17px; }
  .dose .num { flex-basis: 62px; height: 62px; font-size: 21px; border-radius: 18px; }
  .dose .muted { font-size: 15px; }
  .warn b { display: inline; }
  .warn b::after { content: " — "; font-weight: 500; }
  .warn span { font-size: 14.5px; }
  .card { padding: 16px; }
  .stop { padding: 14px; font-size: 15px; }
}

@media (min-width: 720px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  section { padding: 84px 0; }
  .herbs { grid-template-columns: repeat(4, 1fr); }
  .stage { height: 380px; }
  .stage img { height: 320px; }
  .perks { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .perks li + li { border-top: 0; border-left: 1px solid rgba(255,255,255,.1); }
  .btn { max-width: 440px; margin-left: auto; margin-right: auto; }
  .quiz { grid-template-columns: 1fr 1fr; }
  .cycle { width: 420px; height: 420px; }
  .cycle .c { width: 140px; margin-left: -70px; font-size: 15px; transform: rotate(var(--a)) translateY(-163px) rotate(calc(-1 * var(--a))); }
}
