/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --ink-navy: #12141c;
  --ink-navy-alt: #191c28;
  --parchment: #f4efe4;
  --parchment-dim: #e9e2d2;
  --text-on-dark: #efece3;
  --text-on-dark-soft: #a8a9b8;
  --text-on-light: #1c1d24;
  --text-on-light-soft: #5c5c68;
  --ember: #ff6a3d;
  --ember-deep: #dd4a20;
  --cyan: #63dad2;
  --line-dark: rgba(239, 236, 227, 0.12);
  --line-light: rgba(28, 29, 36, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --wrap: 1120px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ember-deep);
  margin: 0 0 14px;
  font-weight: 500;
}
.eyebrow.center { text-align: center; }
.on-dark-sub { color: var(--text-on-dark-soft); }

::selection { background: var(--ember); color: #fff; }

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-large { padding: 16px 30px; font-size: 16px; }
.btn-small { padding: 9px 18px; font-size: 13.5px; }

.btn-ember {
  background: linear-gradient(180deg, var(--ember), var(--ember-deep));
  color: #fff8f5;
  box-shadow: 0 10px 24px -10px rgba(221, 74, 32, 0.65);
}
.btn-ember:hover { box-shadow: 0 14px 28px -10px rgba(221, 74, 32, 0.8); }

.btn-ghost {
  background: transparent;
  color: var(--text-on-light);
  border-color: var(--line-light);
}
.btn-ghost:hover { border-color: var(--text-on-light); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 228, 0.82);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-weight: 500; font-size: 14.5px;
  color: var(--text-on-light);
}
.brand-mark { color: var(--ember-deep); display: inline-flex; }
.header-nav { display: flex; gap: 28px; }
.header-nav a {
  font-size: 14.5px; color: var(--text-on-light-soft); font-weight: 600;
  transition: color 0.15s ease;
}
.header-nav a:hover { color: var(--text-on-light); }
@media (max-width: 720px) {
  .header-nav { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(720px 420px at 82% -10%, rgba(255, 106, 61, 0.16), transparent 60%),
    var(--parchment);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 54px);
  color: var(--text-on-light);
}
.hero-title em {
  font-style: italic;
  color: var(--ember-deep);
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-on-light-soft);
  max-width: 46ch;
  margin: 22px 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--text-on-light-soft);
}
.hero-meta li::before { content: "— "; color: var(--ember-deep); }

/* Console card */
.hero-visual { position: relative; }
.console-card {
  background: var(--ink-navy);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(18, 20, 28, 0.55);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.console-head {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-dark);
}
.console-head .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.console-title {
  margin-left: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-on-dark-soft);
}
.console-body {
  padding: 22px 20px 28px;
  min-height: 210px;
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.console-line { margin-bottom: 18px; }
.console-cmd {
  color: var(--cyan);
}
.console-cmd::before { content: "▸ "; color: var(--ember); }
.console-res {
  display: block;
  margin-top: 6px;
  color: var(--text-on-dark-soft);
  padding-left: 16px;
}

.floating-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--parchment);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 7px 13px;
  box-shadow: 0 10px 20px -8px rgba(28, 29, 36, 0.25);
}
.tag-1 { top: -14px; right: 30px; transform: rotate(-3deg); }
.tag-2 { bottom: -16px; left: 12px; transform: rotate(2deg); color: var(--ember-deep); font-weight: 600; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 32px auto 0; }
}

/* ==========================================================================
   SECTIONS (generic)
   ========================================================================== */
.section { padding: 84px 0; }
.section-dark {
  background: var(--ink-navy);
  color: var(--text-on-dark);
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: left; color: var(--text-on-light); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-dark .section-head { color: var(--text-on-dark); }
.on-dark { color: var(--text-on-dark); }
.section-sub { font-size: 16.5px; color: var(--text-on-light-soft); margin-top: 14px; line-height: 1.6; }
.section-dark .section-sub { color: var(--text-on-dark-soft); }

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 34px 0 40px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 26px 24px;
  font-size: 15.5px;
  line-height: 1.55;
}
.problem-num {
  display: block;
  font-family: var(--font-mono);
  color: var(--ember-deep);
  font-size: 13px;
  margin-bottom: 12px;
}
.problem-resolve {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-on-light);
  max-width: 640px;
  margin: 0 auto;
}
.quiz-teaser {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 22px 26px;
  background: #fff;
  border: 1px dashed var(--ember);
  border-radius: 16px;
}
.quiz-teaser-icon { font-size: 28px; flex-shrink: 0; }
.quiz-teaser-text { flex: 1; min-width: 0; }
.quiz-teaser-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-on-light);
  margin: 0 0 4px;
}
.quiz-teaser-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-on-light-soft);
  margin: 0;
}
.quiz-teaser-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 620px) {
  .quiz-teaser { flex-direction: column; align-items: flex-start; text-align: left; }
  .quiz-teaser-btn { align-self: stretch; text-align: center; }
}
@media (max-width: 780px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TOC LIST
   ========================================================================== */
.toc-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line-light);
}
.toc-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-light);
  font-size: 16px;
}
.toc-n {
  font-family: var(--font-mono);
  color: var(--text-on-light-soft);
  font-size: 13px;
  width: 22px;
  flex-shrink: 0;
}
.toc-t { flex: 1; }
.toc-p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-on-light-soft);
}
.toc-highlight { background: rgba(255, 106, 61, 0.07); border-radius: 8px; }
.toc-highlight .toc-t { font-weight: 700; color: var(--ember-deep); }

/* ==========================================================================
   RECIPE CARDS
   ========================================================================== */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.recipe-card {
  background: var(--ink-navy-alt);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.recipe-card h3 {
  font-size: 20px;
  color: var(--ember);
  margin-bottom: 16px;
}
.recipe-card dl { margin: 0; }
.recipe-card dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-soft);
  margin-top: 14px;
}
.recipe-card dt:first-child { margin-top: 0; }
.recipe-card dd {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-on-dark);
}
.recipe-footnote {
  text-align: center;
  margin-top: 30px;
  font-size: 14.5px;
  color: var(--text-on-dark-soft);
}
@media (max-width: 880px) {
  .recipe-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TWO COL / WHO IT'S FOR
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.two-col h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 22px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 4px 0 20px 30px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-on-light-soft);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ember);
}
.format-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.format-list { list-style: none; margin: 18px 0 0; padding: 0; }
.format-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line-light);
  font-size: 15px;
  color: var(--text-on-light-soft);
}
.format-list li:first-child { border-top: none; }
.format-list strong { color: var(--text-on-light); }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  background: var(--ink-navy-alt);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 48px;
  align-items: center;
}
.pricing-includes { list-style: none; margin: 22px 0 0; padding: 0; }
.pricing-includes li {
  padding: 11px 0 11px 26px;
  position: relative;
  font-size: 15.5px;
  color: var(--text-on-dark);
  border-top: 1px solid var(--line-dark);
}
.pricing-includes li:first-child { border-top: none; }
.pricing-includes li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.pricing-bonus {
  color: var(--ember) !important;
  font-weight: 700;
}
.pricing-bonus::before { content: "" !important; }
.pricing-right { text-align: center; }
.price-tag {
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  margin-bottom: 22px;
}
.price-old {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-on-dark-soft);
  text-decoration: line-through;
}
.price-now {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  color: var(--text-on-dark);
}
.btn-buy { width: 100%; }
.pricing-guarantee {
  margin-top: 16px;
  padding: 10px 16px;
  background: rgba(99, 218, 210, 0.1);
  border: 1px solid rgba(99, 218, 210, 0.3);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cyan);
  text-align: center;
}
.pricing-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-on-dark-soft);
}
.pricing-legal {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-on-dark-soft);
}
.pricing-legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 820px) {
  .pricing-card { grid-template-columns: 1fr; padding: 32px 26px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line-light);
  padding: 20px 2px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--ember-deep);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  color: var(--text-on-light-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-navy);
  color: var(--text-on-dark-soft);
  padding: 48px 0 36px;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13.5px;
  color: var(--text-on-dark);
  margin-bottom: 18px;
}
.footer-brand .brand-mark { color: var(--ember); }
.footer-legal {
  max-width: 640px; margin: 0 auto 14px;
  font-size: 12.5px; line-height: 1.6;
}
.footer-seller {
  font-size: 12.5px; margin: 0 0 18px;
  color: var(--text-on-dark);
  font-weight: 600;
}
.footer-contact { font-size: 13px; margin: 0 0 18px; }
.footer-contact a { color: var(--cyan); }
.footer-legal-links {
  font-size: 12.5px;
  margin: 0 0 14px;
}
.footer-legal-links a {
  color: var(--text-on-dark-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal-links a:hover { color: var(--text-on-dark); }
.footer-copy { font-size: 12px; margin: 0; opacity: 0.7; }

/* ==========================================================================
   AUTHOR TRUST STRIP
   ========================================================================== */
.author-trust { padding: 20px 0 32px; }
.trust-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 760px;
  margin: 0 auto;
}
.trust-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--ember), var(--ember-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.trust-text { flex: 1; min-width: 0; }
.trust-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-on-light);
  margin: 0 0 4px;
}
.trust-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-on-light-soft);
  margin: 0;
}
.trust-link {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ember-deep);
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.trust-link:hover { border-color: var(--ember); background: #fff6f2; }
.trust-links {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 620px) {
  .author-trust { padding-bottom: 8px; }
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
  }
  .trust-links {
    flex-direction: column;
    width: 100%;
  }
  .trust-link { text-align: center; }
}
.author-trust + #faq { padding-top: 48px; }
@media (max-width: 620px) {
  .author-trust + #faq { padding-top: 28px; }
}

/* ==========================================================================
   LEGAL PAGES (oferta / privacy / consent)
   ========================================================================== */
.legal-page { padding-top: 56px; }
.legal-wrap { max-width: 760px; }
.legal-wrap h1 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--text-on-light);
  margin-bottom: 6px;
}
.legal-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-on-light-soft);
  margin: 0 0 40px;
}
.legal-wrap h2 {
  font-size: 19px;
  color: var(--text-on-light);
  margin: 34px 0 12px;
  padding-top: 4px;
}
.legal-wrap p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-light-soft);
  margin: 0 0 14px;
}
.legal-wrap ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-wrap li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-light-soft);
  margin-bottom: 6px;
}

/* ==========================================================================
   THANK-YOU PAGE (success redirect from Prodamus)
   ========================================================================== */
.thankyou {
  padding-top: 64px;
  padding-bottom: 90px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(600px 380px at 50% 0%, rgba(255, 106, 61, 0.14), transparent 60%),
    var(--parchment);
}
.thankyou-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.thankyou-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 48px 40px 40px;
  box-shadow: 0 30px 60px -24px rgba(28, 29, 36, 0.18);
}
.thankyou-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--ember), var(--ember-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 22px -8px rgba(221, 74, 32, 0.55);
}
.thankyou h1 {
  font-size: clamp(28px, 4.2vw, 38px);
  color: var(--text-on-light);
  margin: 0 0 16px;
}
.thankyou-lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-on-light-soft);
  margin: 0 0 30px;
}
.thankyou-card .btn {
  width: 100%;
}
.thankyou-bonus-btn {
  margin-top: 12px;
}
.thankyou-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-on-light-soft);
  margin: 20px 0 0;
}
.thankyou-note a { color: var(--ember-deep); text-decoration: underline; }
.thankyou-divider {
  height: 1px;
  background: var(--line-light);
  margin: 32px 0 22px;
}
.thankyou-hint {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-light-soft);
  margin: 0 0 8px;
}
.thankyou-hint-spaced { margin-top: 18px; }
.thankyou-url {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-on-light);
  background: var(--parchment);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 12px 16px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin: 0;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.thankyou-url:hover {
  background: var(--parchment-dim);
  border-color: var(--ember);
  color: var(--ember-deep);
}
.thankyou-footnote {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--text-on-light-soft);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-in { opacity: 1; transform: translateY(0); }