/* ===== Save Webpage as PDF — Landing styles ===== */
:root {
  --brand: #1e8e3e;
  --brand-600: #197a34;
  --brand-700: #146328;
  --brand-050: #eaf6ee;
  --brand-100: #d3eedb;
  --ink: #101828;
  --ink-2: #364152;
  --muted: #667085;
  --line: #e5e8ec;
  --bg: #ffffff;
  --bg-soft: #f5faf6;
  --star: #f5a623;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--ink); }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--features { padding-bottom: 44px; }
.section--ai { padding-top: 36px; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-600); background: var(--brand-050);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-head--wide { max-width: 900px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer;
  padding: 15px 26px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(30, 142, 62, .28); }
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 10px 22px rgba(30, 142, 62, .34); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #cfd6dd; background: #fafbfc; }
.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: #f2f6f3; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn svg { width: 20px; height: 20px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--brand-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(30, 142, 62, .10), transparent 60%),
    radial-gradient(50% 50% at 0% 30%, rgba(30, 142, 62, .06), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.12fr; gap: 44px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 18px; }
.hero-badges .eyebrow {
  margin-bottom: 0;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
}
.hero-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 14px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid #dde2e7;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .10), 0 1px 2px rgba(16, 24, 40, .08);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.hero-rating-pill .stars {
  font-size: 16px;
  letter-spacing: 2px;
}
.hero-rating-pill strong { color: var(--ink-2); }
.hero h1 { font-size: clamp(36px, 5.2vw, 56px); font-weight: 800; }
.hero .lead { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 540px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
.hero-actions .btn { width: fit-content; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-trust > span { display: inline-flex; align-items: center; gap: 8px; }
.trust-check { color: var(--brand-600); font-size: 13px; font-weight: 800; line-height: 1; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: #cbd2d9; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.hero-visual { position: relative; padding: 0; }
.hero-visual-img { display: block; width: 110%; max-width: none; height: auto; margin-left: 0; }

/* Browser mockup */
.mockup {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  background: #f3f5f7; border-bottom: 1px solid var(--line);
}
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }
.url {
  display: flex; align-items: center; gap: 7px; margin-left: 6px; flex: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 12px; font-size: 12.5px; color: var(--muted); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.url svg { width: 13px; height: 13px; color: var(--brand); flex-shrink: 0; }
.mockup-body { position: relative; padding: 26px; min-height: 300px; }
.doc-h { height: 15px; width: 52%; background: #c4ccd4; border-radius: 6px; margin-bottom: 18px; }
.doc-l { height: 9px; background: #e8ebef; border-radius: 5px; margin: 11px 0; }
.doc-img {
  height: 96px; margin: 18px 0; border-radius: 10px;
  background: linear-gradient(135deg, #e8f0e9, #d6e8db);
  display: grid; place-items: center; color: #9db7a4;
}
.doc-img svg { width: 34px; height: 34px; }

/* Real extension popup (v1.4 screenshot) floating over the page */
.mk-popup-img {
  position: absolute; right: -6px; bottom: -22px; z-index: 3; width: 232px; height: auto;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 22px 48px rgba(16, 24, 40, .22); background: #fff;
}

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
.center-cta { text-align: center; margin-top: 44px; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-600); margin-bottom: 18px;
}
.feature-ic svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ===== AI Chat Export (accent band) ===== */
.ai {
  background: linear-gradient(135deg, #114a24 0%, #1a7a37 100%);
  color: #fff; border-radius: 28px; overflow: hidden;
}
.ai-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 60px; }
.ai .eyebrow { background: rgba(255, 255, 255, .16); color: #d6f5df; }
.ai h2 { color: #fff; }
.ai p { color: #d7ebde; font-size: 18px; margin-top: 16px; }
.ai-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ai-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  backdrop-filter: blur(4px);
}
.ai-pill i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.ai-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px; padding: 26px;
}
.ai-chat-row { display: flex; gap: 12px; margin-bottom: 16px; }
.ai-chat-row:last-child { margin-bottom: 0; }
.ai-ava { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.ai-bubble { background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; color: #eafaef; }
.ai-line { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .22); margin: 7px 0; }
.ai-export-flow {
  display: grid; grid-template-columns: auto 42px 1fr; gap: 12px; align-items: center;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.ai-export-action {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 40px; padding: 10px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-size: 13.5px; font-weight: 800; white-space: nowrap;
}
.ai-export-action svg { width: 17px; height: 17px; }
.ai-export-arrow { width: 42px; height: 18px; color: #d6f5df; opacity: .82; }
.ai-pdf-preview {
  position: relative; min-height: 86px; border-radius: 13px; padding: 15px 14px 13px;
  background: #fff; color: var(--ink-2); box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}
.ai-pdf-badge {
  position: absolute; top: 12px; right: 12px; padding: 5px 7px; border-radius: 7px;
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 900; line-height: 1;
}
.ai-pdf-title { padding-right: 44px; margin-bottom: 13px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.ai-pdf-line { height: 7px; border-radius: 5px; background: #e2e7ec; margin-top: 8px; }

/* ===== Use cases ===== */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.usecase {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.usecase .tag {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px;
  color: var(--brand-700); margin-bottom: 12px;
}
.usecase .tag svg { width: 20px; height: 20px; }
.usecase p { color: var(--muted); font-size: 15.5px; }

/* ===== Testimonials ===== */
.tst-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 44px; text-align: center; }
.tst-rating { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.tst .stars { font-size: 14px; }
.tst p { font-size: 15.5px; color: var(--ink-2); }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst .who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; }
.tst .who b { font-size: 15px; }
.tst .who span { color: var(--muted); font-size: 13px; }
.tst-link { text-align: center; margin-top: 36px; }
.tst-link a { color: var(--brand-600); font-weight: 700; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-size: 18px; font-weight: 700; color: var(--ink); font-family: inherit;
}
.faq-q .ic { flex-shrink: 0; width: 22px; height: 22px; transition: transform .2s ease; color: var(--brand-600); }
.faq-item[open] .faq-q .ic { transform: rotate(45deg); }
.faq-a { padding: 0 4px 24px; color: var(--muted); font-size: 16px; max-width: 92%; }
.faq-a a { color: var(--brand-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
details.faq-item > summary { list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }

/* ===== Final CTA ===== */
.final {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff; border-radius: 28px; text-align: center; padding: 66px 32px;
}
.final h2 { color: #fff; }
.final p { color: #e4f5ea; font-size: 18px; margin: 16px auto 30px; max-width: 520px; }
.final .btn--white { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.final .mini { margin-top: 18px; color: #cdeed7; font-size: 14px; }

/* ===== Footer ===== */
.footer { background: #0e1a12; color: #c7d1c9; padding: 60px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { color: #98a49b; font-size: 15px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #c7d1c9; font-size: 15px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; color: #8b978d; font-size: 14px; flex-wrap: wrap; }
.footer-langs { color: #8b978d; font-size: 13.5px; max-width: 620px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .ai-inner, .footer-top { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual-img { width: 100%; margin-left: 0; }
  .steps, .features, .usecases, .tst-grid { grid-template-columns: 1fr 1fr; }
  .ai { border-radius: 20px; }
  .ai-inner { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section--features { padding-bottom: 34px; }
  .section--ai { padding-top: 26px; }
  .header .brand { font-size: 16px; }
  .nav-cta .btn { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; align-items: stretch;
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero-badges { gap: 8px; }
  .hero-badges .eyebrow { padding: 7px 12px; font-size: 11px; }
  .hero-rating-pill { min-height: 34px; padding: 6px 12px; gap: 8px; font-size: 13px; }
  .hero-rating-pill .stars { font-size: 14px; letter-spacing: 1.5px; }
  .steps, .features, .usecases, .tst-grid { grid-template-columns: 1fr; }
  .ai-export-flow { grid-template-columns: 1fr; }
  .ai-export-arrow { justify-self: center; transform: rotate(90deg); }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
