/* ===== WooGEO landing — design tokens ===== */
:root {
  --navy: #0B1B3A;
  --navy-soft: #16264a;
  --ink: #334155;
  --muted: #64748B;
  --accent: #E2730F;        /* CTA orange (WP Mail SMTP-style) */
  --accent-hover: #C45D0A;
  --accent-soft: #FFF3E8;
  --blue: #2271B1;          /* ties to plugin admin UI */
  --green: #2A7A2A;
  --amber: #E65C00;
  --red: #CC1818;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-warm: #FFFBF5;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;
  --shadow-sm: 0 1px 3px rgba(11, 27, 58, .08);
  --shadow-md: 0 8px 28px rgba(11, 27, 58, .10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 58, .16);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1140px;
  --font-head: 'Rubik', system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 620px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 14px 28px; border-radius: var(--radius); border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-outline-accent { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-outline-accent:hover { background: var(--accent-soft); }
.btn-lg { padding: 17px 34px; font-size: 1.1rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--navy); font-family: var(--font-head); font-weight: 500; font-size: .98rem; }
.nav__links a:hover { color: var(--accent); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle svg { width: 26px; height: 26px; stroke: var(--navy); }

/* ===== Hero ===== */
.hero {
  position: relative; text-align: center; padding: 84px 0 0; overflow: hidden;
  background:
    radial-gradient(circle, rgba(11,27,58,.05) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
    linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
}
.hero__inner { max-width: 820px; margin: 0 auto; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero__sub { font-size: 1.3rem; color: var(--ink); max-width: 640px; margin: 0 auto 32px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero__micro { color: var(--muted); font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.hero__micro svg { width: 18px; height: 18px; stroke: var(--green); }
.hero__shot { max-width: 940px; margin: 54px auto -120px; position: relative; }
.hero__shot img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* ===== Trust / fact bar ===== */
.factbar { background: var(--navy); color: #cbd5e1; padding: 150px 0 40px; }
.factbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.fact__num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: #fff; display: block; }
.fact__lbl { font-size: .92rem; color: #94a3b8; }

/* ===== Problem ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.problem-card {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
  display: flex; gap: 14px; align-items: flex-start;
}
.problem-card svg { width: 22px; height: 22px; stroke: var(--red); flex-shrink: 0; margin-top: 3px; }
.problem-card.good { border-left-color: var(--green); }
.problem-card.good svg { stroke: var(--green); }
.problem-card strong { color: var(--navy); font-family: var(--font-head); }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 1rem; margin: 0; }
.tag { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }
.tag--free { background: #E7F4E7; color: var(--green); }
.tag--pro { background: var(--accent-soft); color: var(--accent); }

/* ===== Showcase (alternating screenshots) ===== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.showcase:last-child { margin-bottom: 0; }
.showcase--rev .showcase__media { order: 2; }
.showcase__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.showcase ul { list-style: none; padding: 0; margin: 18px 0 0; }
.showcase li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink); }
.showcase li svg { width: 20px; height: 20px; stroke: var(--green); flex-shrink: 0; margin-top: 4px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; position: relative; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px;
}

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 28px; justify-content: center; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan--pro { border: 2px solid var(--accent); box-shadow: var(--shadow-md); position: relative; }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 16px; border-radius: 99px; }
.plan h3 { font-size: 1.4rem; }
.plan__price { font-family: var(--font-head); font-weight: 700; font-size: 2.8rem; color: var(--navy); margin: 6px 0 2px; }
.plan__price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan__note { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 1rem; }
.plan li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 4px; stroke: var(--green); }
.plan li.muted { color: var(--muted); }
.plan li.muted svg { stroke: var(--border-strong); }

/* ===== Social proof placeholders ===== */
.placeholder-note {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: 6px 14px; border-radius: 99px; margin-bottom: 18px;
}
.placeholder-note svg { width: 15px; height: 15px; stroke: var(--accent); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 26px; background: #fff;
  display: flex; flex-direction: column; gap: 12px; min-height: 200px;
}
.testi__stars { display: flex; gap: 3px; }
.testi__stars svg { width: 18px; height: 18px; fill: #E2E8F0; stroke: none; }
.testi__quote { color: var(--muted); font-style: italic; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.testi__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); border: 1px dashed var(--border-strong); }
.testi__line { height: 9px; border-radius: 5px; background: var(--bg-soft); }
.chart-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.chart-wrap figcaption { color: var(--muted); font-size: .88rem; margin-top: 14px; text-align: center; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--navy);
  padding: 22px 44px 22px 0; position: relative; display: block;
}
.faq-q:hover { color: var(--accent); }
.faq-q .chev { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; stroke: var(--accent); transition: transform .25s ease; }
.faq-q[aria-expanded="true"] .chev { transform: translateY(-50%) rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a__inner { padding: 0 44px 22px 0; color: var(--ink); }

/* ===== Final CTA ===== */
.cta-final { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; text-align: center; border-radius: 24px; padding: 64px 32px; }
.cta-final h2 { color: #fff; }
.cta-final p { color: #cbd5e1; max-width: 560px; margin: 0 auto 28px; font-size: 1.15rem; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #94a3b8; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #94a3b8; display: block; margin-bottom: 9px; font-size: .95rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav__links, .nav__cta .btn-ghost { display: none; }
  .nav__toggle { display: block; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 18px 24px; gap: 16px; box-shadow: var(--shadow-md);
  }
  .split, .showcase, .showcase--rev .showcase__media { grid-template-columns: 1fr; }
  .showcase--rev .showcase__media { order: 0; }
  .feature-grid, .steps, .testi-grid { grid-template-columns: 1fr; }
  .factbar__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pricing { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__shot { margin-bottom: -70px; }
  .factbar { padding: 110px 0 36px; }
}

/* ===== Email capture modal ===== */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: rgba(11, 27, 58, .55); backdrop-filter: blur(4px); padding: 20px;
  animation: woogeo-fade .18s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 32px 28px;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); position: relative;
  animation: woogeo-pop .22s cubic-bezier(.2, .8, .25, 1);
}
.modal__close {
  position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--muted);
}
.modal__close:hover { background: var(--bg-soft); color: var(--navy); }
.modal__close svg { width: 20px; height: 20px; stroke: currentColor; }
.modal__icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 16px;
}
.modal__icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.modal h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal p.modal__desc { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.modal__field { display: block; width: 100%; font-size: 1rem; font-family: var(--font-body);
  padding: 13px 15px; border: 2px solid var(--border-strong); border-radius: var(--radius);
  margin-bottom: 6px; transition: border-color .15s ease; }
.modal__field:focus { outline: none; border-color: var(--blue); }
.modal__field.is-error { border-color: var(--red); }
.modal__error { color: var(--red); font-size: .9rem; margin: 4px 0 0; min-height: 1.1em; }
.modal__submit { width: 100%; justify-content: center; margin-top: 14px; }
.modal__fine { color: var(--muted); font-size: .82rem; text-align: center; margin: 14px 0 0; }
.modal__success { text-align: center; padding: 8px 0 4px; }
.modal__success .check {
  width: 56px; height: 56px; border-radius: 50%; background: #E7F4E7; display: grid; place-items: center; margin: 0 auto 16px;
}
.modal__success .check svg { width: 28px; height: 28px; stroke: var(--green); }
.modal__success h3 { margin-bottom: 6px; }
.modal__success p { color: var(--muted); margin-bottom: 0; }
@keyframes woogeo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes woogeo-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .feature:hover { transform: none; }
}
