/* ============================================================
   YieldLens SEO Pages — yl-styles.css
   Dark theme · Bitcoin orange accent · Space Grotesk + Inter
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --bg:           #0b1020;
  --panel:        #111827;
  --panel-2:      #0d1525;
  --line:         #1e2d52;
  --text:         #eaf0ff;
  --muted:        #8a9bc4;
  --accent:       #F7931A;
  --accent-h:     #FF9F2A;
  --accent-glow:  rgba(247, 147, 26, 0.10);
  --accent-dim:   rgba(247, 147, 26, 0.28);
  --green:        #42c98a;
  --green-dim:    rgba(66, 201, 138, 0.18);
  --r-card:       16px;
  --r-ctrl:       10px;
  --sh:           0 4px 24px rgba(0,0,0,.32);
  --max-w:        1040px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── STICKY NAV ───────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,16,32,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover      { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active     { color: var(--text); }
.btn-launch {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: background .15s, transform .1s !important;
}
.btn-launch:hover { background: var(--accent-h) !important; transform: translateY(-1px) !important; }
@media (max-width: 680px) {
  .nav-links a:not(.btn-launch) { display: none; }
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section      { padding: 60px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: none; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 84px 20px 60px;
  max-width: 780px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.hero-ctas   { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-ctrl);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(247,147,26,.28);
}
.btn.primary:hover { background: var(--accent-h); box-shadow: 0 4px 28px rgba(247,147,26,.44); }
.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn.outline:hover { border-color: var(--accent-dim); color: var(--accent); background: var(--accent-glow); }

/* ── STAT ROW ─────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin: 48px 0 0;
}
.stat-cell   { background: var(--panel-2); padding: 28px 20px; text-align: center; }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label  { font-size: .8125rem; color: var(--muted); }
@media (max-width: 680px) { .stats-row { grid-template-columns: repeat(2,1fr); } }

/* ── SECTION HEADINGS ─────────────────────────────────────── */
h2.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
h2.section-title em { font-style: normal; color: var(--accent); }
.section-intro { font-size: .9375rem; color: var(--muted); max-width: 640px; line-height: 1.75; }

/* ── FEATURE GRID ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 32px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--sh);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 8px 32px rgba(247,147,26,.12);
  transform: translateY(-2px);
}
.feat-icon { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── CALLOUT ──────────────────────────────────────────────── */
.callout {
  background: var(--panel);
  border: 1px solid var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-card);
  padding: 24px 28px;
  margin-top: 28px;
}
.callout h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.callout p, .callout li { font-size: .9375rem; color: var(--muted); line-height: 1.7; }
.callout ul, .callout ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }

/* ── PROTOCOL TICKER ──────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  margin-top: 36px;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.ticker-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── HOW IT WORKS STEPS ───────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s;
}
.step:last-child { border-bottom: none; }
.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: background .2s, box-shadow .2s;
}
.step:hover .step-num,
.step.active .step-num {
  background: var(--accent-dim);
  box-shadow: 0 0 0 4px rgba(247,147,26,.12);
}
.step-connector {
  width: 1px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(var(--accent-dim), transparent);
  margin-top: 6px;
}
.step:last-child .step-connector { display: none; }
.step-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.step-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.step-body > p { font-size: .9375rem; color: var(--muted); line-height: 1.75; }
.step-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.step.active .step-detail { max-height: 300px; }
.step-detail-inner {
  margin-top: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
}
.step-detail-inner ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }

/* ── PRICING ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-top: 32px;
  align-items: start;
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 22px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pricing-card:hover { border-color: var(--accent-dim); box-shadow: 0 8px 32px rgba(247,147,26,.12); transform: translateY(-2px); }
.pricing-card.featured {
  border-color: var(--accent-dim);
  background: linear-gradient(160deg,rgba(247,147,26,.06) 0%,var(--panel) 60%);
  box-shadow: 0 8px 36px rgba(247,147,26,.18);
}
.plan-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 3px 10px;
  align-self: flex-start;
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}
.plan-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.plan-price sub { font-size: .875rem; color: var(--muted); font-weight: 400; vertical-align: baseline; }
.plan-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.plan-features li {
  font-size: .8125rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan-cta { margin-top: auto; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ── FAQ ACCORDION ────────────────────────────────────────── */
.faq-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.faq-section-title:first-child { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--accent-dim); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .15s;
}
.faq-q:hover { color: var(--accent); }
.chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .625rem;
  color: var(--muted);
  transition: transform .3s, background .2s, color .2s, border-color .2s;
}
.faq-item.open .chevron {
  transform: rotate(180deg);
  background: var(--accent-glow);
  border-color: var(--accent-dim);
  color: var(--accent);
}
.faq-a          { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.faq-a-inner a { color: var(--accent); text-decoration: none; }
.faq-a-inner a:hover { text-decoration: underline; }

/* ── CHECKLIST ────────────────────────────────────────────── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.checklist li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── COMPARE TABLE ────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; margin-top: 32px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 560px; }
.compare-table th {
  background: var(--panel-2);
  color: var(--muted);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--line);
}
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.tag-yes  { color: var(--green); font-weight: 600; }
.tag-no   { color: var(--muted); }
.tag-plan { display: inline-block; font-size: .6875rem; font-weight: 700; color: var(--accent); background: var(--accent-glow); border: 1px solid var(--accent-dim); border-radius: 999px; padding: 2px 8px; }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section { text-align: center; padding: 80px 20px; }
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.cta-section h2 em { font-style: normal; color: var(--accent); }
.cta-section p  { color: var(--muted); font-size: 1rem; margin-bottom: 32px; line-height: 1.7; }
.cta-buttons    { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .875rem;
  color: var(--muted);
}
.footer-brand { color: var(--text); font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-right: 8px; }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--text); }

/* ── FOCUS VISIBLE ────────────────────────────────────────── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(247,147,26,.75);
  outline-offset: 2px;
}
