:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-alt: #eef4ef;
  --primary: #1f5c3a;
  --primary-dark: #143f27;
  --accent: #c96a2b;
  --text: #1c2420;
  --text-muted: #55625b;
  --border: #dce3dd;
  --danger: #b91c1c;
  --success: #15803d;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 40, 28, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); }
.container { max-width: 820px; margin: 0 auto; padding: 0 18px; }

.top-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 0; }
.top-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--text-muted); }
.brand-title { font-weight: 800; color: var(--primary-dark); font-size: 16px; text-decoration: none; }
.editorial-badge { background: var(--surface-alt); color: var(--primary); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 13px; }

.hero-section { background: var(--surface); margin: 22px auto; padding: 28px 26px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero-kicker { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 10px; }
h1 { margin: 0 0 14px; font-size: clamp(24px, 4vw, 34px); line-height: 1.24; color: var(--primary-dark); font-weight: 800; }
.hero-lead { font-size: 18px; color: var(--text-muted); margin: 0 0 20px; }

.editorial-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 20px 0 24px; }
.highlight-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.highlight-card strong { display: block; color: var(--primary-dark); margin-bottom: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 14px 24px; border: 0; border-radius: 10px; background: var(--primary); color: #ffffff; font-size: 18px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background-color 0.2s ease, transform 0.1s ease; }
.btn:hover { background: var(--primary-dark); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #ad5720; }
.cta-subtext { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 10px; }

.article-card { background: var(--surface); margin: 20px auto; padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); }
.article-card h2 { margin-top: 0; color: var(--primary-dark); font-size: 23px; line-height: 1.3; }
.science-list { padding-left: 20px; margin: 14px 0 0; }
.science-list li { margin-bottom: 10px; }

.quiz-section { background: var(--surface); margin: 22px auto; padding: 28px 26px; border-radius: var(--radius); box-shadow: var(--shadow); border: 2px solid var(--primary); }
.quiz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 15px; font-weight: 700; color: var(--primary); }
.progress-track { width: 100%; height: 10px; background: var(--surface-alt); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.progress-fill { height: 100%; width: 25%; background: var(--primary); transition: width 0.3s ease; }
.quiz-question-title { font-size: 21px; font-weight: 800; color: var(--text); margin: 0 0 16px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border: 1.5px solid var(--border); border-radius: 10px; background: #ffffff; color: var(--text); font-size: 17px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.quiz-option:hover, .quiz-option.selected { border-color: var(--primary); background: var(--surface-alt); }
.quiz-nav { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.btn-link-muted { background: none; border: 0; color: var(--text-muted); font-size: 15px; cursor: pointer; padding: 6px 0; text-decoration: underline; }

.quiz-analyzing { text-align: center; padding: 32px 12px; }
.spinner { width: 44px; height: 44px; border: 4px solid var(--surface-alt); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

.order-section { background: var(--surface); margin: 24px auto; padding: 28px 26px; border-radius: var(--radius); box-shadow: var(--shadow); border: 2px solid var(--accent); }
.is-hidden { display: none; }
.result-summary { background: var(--surface-alt); border-left: 4px solid var(--primary); padding: 16px 18px; border-radius: 8px; margin-bottom: 22px; }
.result-summary h3 { margin: 0 0 6px; color: var(--primary-dark); font-size: 19px; }

.offer-box { display: grid; grid-template-columns: 1fr; gap: 20px; background: #fbfcf9; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 22px; }
@media (min-width: 680px) { .offer-box { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.discount-pill { display: inline-block; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 6px; margin-bottom: 8px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 12px 0; }
.price-new { font-size: 32px; font-weight: 900; color: var(--primary-dark); }
.price-old { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }

.trust-bullets { list-style: none; padding: 0; margin: 12px 0 0; font-size: 15px; }
.trust-bullets li { margin-bottom: 8px; padding-left: 22px; position: relative; }
.trust-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.guarantee-box { margin-top: 14px; padding: 12px 14px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; font-size: 14px; color: #78350f; }

.cc-status-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; background: var(--surface-alt); padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; color: var(--primary-dark); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.status-dot.after-hours { background: var(--accent); }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.form-control { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 17px; border: 1.5px solid #bfc9c2; border-radius: 8px; background: #fff; color: var(--text); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 92, 58, 0.14); }
.form-error { color: var(--danger); font-size: 14px; font-weight: 600; margin: 6px 0 10px; min-height: 20px; }
.form-note { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 10px; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.review-card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; font-size: 15px; }
.review-meta { font-size: 14px; font-weight: 700; color: var(--primary-dark); margin-top: 10px; }

.thanks-card { background: var(--surface); margin: 32px auto; padding: 34px 26px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center; }
.check-circle { width: 68px; height: 68px; border-radius: 50%; background: #dcfce7; color: var(--success); display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; margin: 0 auto 16px; }
.order-code-pill { display: inline-block; background: var(--surface-alt); border: 1px solid var(--border); padding: 8px 18px; border-radius: 8px; font-size: 18px; font-weight: 800; color: var(--primary-dark); margin: 12px 0; }

.site-footer { margin-top: 36px; padding: 26px 0 34px; border-top: 1px solid var(--border); background: var(--surface); font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 12px; }
.footer-links a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer-text { text-align: center; max-width: 720px; margin: 0 auto; line-height: 1.5; }
