/* Homepage: light SaaS layout (Semrush-style: big bold type, soft gradient hero, pill buttons, product shot).
   One blue accent, used for the logo too, like the tool. */
:root {
  --bg: #ffffff; --soft: #f7f8fa; --ink: #0b0e11; --text: #1e2329; --muted: #5e6673; --line: #e6e8ea; --line-2: #d5d8dc;
  --accent: #2563eb; --accent-hover: #1d4ed8; --on-accent: #ffffff; --accent-soft: #eaf1ff;
  --good: #03a66d; --good-soft: #e6f7f0; --warn: #c77700; --warn-soft: #fff1dc; --bad: #e0364f; --bad-soft: #fde8eb;
  --app-bg: #181a20; --app-panel: #1e2329; --app-line: #2b3139; --app-text: #eaecef; --app-muted: #848e9c;
  --font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(800px, 100% - 32px); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.brand b { font-size: 17px; font-weight: 800; display: block; line-height: 1.1; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 11px; }
.logo { width: 34px; height: 34px; border-radius: 9px; display: block; flex-shrink: 0; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--text); font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px; cursor: pointer; }
.lang-switch button.on { background: var(--ink); color: #fff; }

/* buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; cursor: pointer; }
.btn.gold { background: var(--accent); color: var(--on-accent); }
.btn.gold:hover { background: var(--accent-hover); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.top .btn.ghost { background: var(--ink); color: #fff; }
.top .btn.ghost:hover { background: #2b3139; }
.btn.big { padding: 15px 30px; font-size: 16px; }
.btn.block { width: 100%; margin-top: auto; }

/* hero */
.hero { background: linear-gradient(180deg, #eaf1ff 0%, #f6f9ff 45%, #ffffff 100%); padding: 76px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 12px; letter-spacing: .12em; font-weight: 700; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
h1 { font-weight: 800; color: var(--ink); font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 22px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 560px; }
.lead b { color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* product shot (sample data) */
.mock { position: relative; padding-bottom: 215px; }
.mock-win { background: var(--app-bg); border-radius: 16px; box-shadow: 0 40px 80px rgba(11, 14, 17, .22), 0 0 0 1px rgba(11, 14, 17, .06); overflow: hidden; color: var(--app-text); font-size: 13px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--app-panel); border-bottom: 1px solid var(--app-line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3c434d; }
.mock-bar span { margin-left: 10px; font-weight: 700; }
.mock-bar em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--app-muted); border: 1px solid var(--app-line); border-radius: 999px; padding: 1px 8px; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--app-muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--app-line); }
.mock-table td { padding: 11px 14px; border-bottom: 1px solid var(--app-line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mock-table .r { text-align: right; }
.mock-table .up { color: #fff; font-weight: 700; }
.mock-table .down { color: var(--app-muted); font-weight: 700; }
.mp, .mv { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.mv.ok { background: rgba(14, 203, 129, .14); color: #0ecb81; }
.mv.warn { background: transparent; color: #b7bdc6; box-shadow: inset 0 0 0 1px #3c434d; }
.mv.bad { background: rgba(246, 70, 93, .14); color: #f6465d; }
.mp.ok { background: rgba(14, 203, 129, .14); color: #0ecb81; }
.mp.warn { background: rgba(240, 185, 11, .14); color: #f0b90b; }
.mp.bad { background: rgba(246, 70, 93, .14); color: #f6465d; }
.mock-card { position: absolute; right: -18px; bottom: 0; width: 300px; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 24px 60px rgba(11, 14, 17, .18), 0 0 0 1px rgba(11, 14, 17, .05); font-size: 13px; }
.pv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 8px; }
.pv-head b { font-size: 15px; color: var(--ink); }
.pv-verdict { background: var(--good-soft); color: var(--good); border-radius: 999px; padding: 2px 9px; font-weight: 700; font-size: 11px; white-space: nowrap; }
.pv-score { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.pv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.pv-stats div { background: var(--soft); border-radius: 10px; padding: 7px 8px; }
.pv-stats small { display: block; color: var(--muted); font-size: 10px; line-height: 1.3; }
.pv-stats b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pv-stats b.pos { color: var(--good); }
.pv-markets small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.pv-bar { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 8px; font-size: 12px; margin-top: 5px; }
.pv-bar i { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.pv-bar em { font-style: normal; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* data-source strip */
.trust { border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-in { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-label { color: var(--muted); font-size: 13px; }
.mark { font-weight: 800; font-size: 17px; color: #9aa1aa; letter-spacing: -.02em; }

/* before / after */
.band { padding: 64px 0 0; }
.before-after { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--soft); border-radius: 24px; padding: 40px 44px; }
.before-after h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 10px; }
.times { display: flex; align-items: center; justify-content: center; gap: 18px; }
.time { padding: 16px 22px; border-radius: 16px; font-weight: 800; font-size: 19px; text-align: center; }
.time.old { color: var(--muted); border: 1.5px dashed var(--line-2); background: #fff; text-decoration: line-through; text-decoration-color: var(--line-2); }
.time.new { color: var(--on-accent); background: var(--accent); }
.arrow { color: var(--ink); font-size: 26px; }

/* sections */
.section { padding: 96px 0 8px; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin: 0 0 12px; text-align: center; }
.section-sub { text-align: center; color: var(--muted); font-size: 18px; margin: 0 auto 40px; max-width: 660px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.step .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 16px; }
h4 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 15px; }
/* feature cards: tinted blocks like Semrush's colored tiles */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: var(--line-2); box-shadow: 0 12px 30px rgba(11, 14, 17, .06); }
.ico { font-size: 22px; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.who-card { background: var(--soft); border-radius: 20px; padding: 28px; }
.who-card .ico { background: #fff; }
.who-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); box-shadow: 0 24px 60px rgba(11, 14, 17, .10); }
.plan h4 { font-size: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ribbon { position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.price { margin: 8px 0 18px; color: var(--muted); }
.price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-right: 4px; }
ul.checks { list-style: none; padding: 0; margin: 0 0 24px; }
ul.checks li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
ul.muted-list li { color: var(--muted); }
ul.muted-list li::before { content: "–"; background: #eceef1; color: var(--muted); }
.student-note { text-align: center; color: var(--muted); margin: 24px 0 0; font-size: 14px; }

/* billing toggle */
.billing { display: flex; width: max-content; margin: 0 auto 34px; background: var(--soft); border-radius: 999px; padding: 4px; gap: 4px; }
.billing button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.billing button em { font-style: normal; color: var(--good); font-size: 12px; margin-left: 4px; }
.billing button.on { background: var(--ink); color: #fff; }
.billing button.on em { color: #9cc2ff; }
.bill-note { color: var(--muted); font-size: 13px; margin: -10px 0 16px; min-height: 20px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 28px; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* final CTA: dark band in the tool's colors */
.final { text-align: center; padding: 96px 0; margin-top: 96px; background: var(--app-bg); color: var(--app-text); }
.final h2 { color: #fff; }
.final p { color: var(--app-muted); margin: 0 0 28px; font-size: 18px; }
.foot { background: var(--app-bg); border-top: 1px solid var(--app-line); padding: 22px 0; color: var(--app-muted); font-size: 13px; }
.foot a:hover { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; }
.foot .company { display: flex; flex-direction: column; gap: 2px; max-width: 760px; }
.foot .company b { color: #eaecef; font-weight: 700; }

@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero-in, .before-after { grid-template-columns: 1fr; }
  .before-after { padding: 28px 22px; }
  .mock { padding-bottom: 0; }
  .mock-card { position: static; width: auto; margin-top: 14px; }
  .mock-table th:nth-child(3), .mock-table td:nth-child(3) { display: none; }
  .steps, .features, .plans, .who { grid-template-columns: 1fr; }
  .links { display: none; }
  .top-in { gap: 10px; }
  .top-actions { margin-left: auto; gap: 8px; }
  .brand small { display: none; }
  .btn { white-space: nowrap; }
  .top-actions .btn { padding: 8px 14px; }
  .hero { padding: 44px 0 48px; }
  .times { flex-wrap: wrap; }
  .trust-in { gap: 18px; }
}

/* legal pages (/terms, /privacy) */
.legal { padding: 48px 0 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 6px; }
.legal h2 { text-align: left; font-size: 20px; letter-spacing: -.01em; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent); }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal .seller { background: var(--soft); border-radius: 14px; padding: 16px 20px; line-height: 1.8; }

/* One-line audience note under the plan name (not a feature) */
.plan-tag { font-style: italic; color: var(--muted); font-size: 13px; margin: 2px 0 8px; }

/* feature showcase: alternating copy + real screenshot of the tool */
.show-list { display: flex; flex-direction: column; gap: 88px; margin-top: 16px; }
.show-row { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.show-row.flip .show-copy { order: 2; }
.show-copy h3 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); margin: 0 0 14px; }
.show-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.show-copy .checks { margin: 0; }
.show-shot { display: block; background: var(--app-bg); border: 1px solid var(--app-line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(11, 14, 17, .35), 0 0 0 6px var(--soft); transition: transform .25s; }
.show-shot:hover { transform: translateY(-4px); }
.show-shot img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: top left; }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--app-panel); border-bottom: 1px solid var(--app-line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3c434d; }
@media (max-width: 900px) {
  .show-list { gap: 56px; }
  .show-row { grid-template-columns: 1fr; gap: 24px; }
  .show-row.flip .show-copy { order: 0; }
  .show-copy h3 { font-size: 24px; }
}
