:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fe;
  --surface: #ffffff;
  --surface-2: #f0f3ff;
  --border: #e3e8f7;
  --text: #161b33;
  --text-dim: #565f82;
  --text-faint: #8891b3;
  --primary: #4f6bff;
  --primary-dark: #3a52e0;
  --accent: #00c896;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 45px -20px rgba(79,107,255,0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 12px; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: white; box-shadow: 0 8px 20px -6px rgba(79,124,255,0.6); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; }
.brand__mark {
  display: block; width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background-size: 420% auto;
  background-position: 47% 32%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px var(--border);
}
.brand__accent { color: var(--accent); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--text-dim); font-size: 14px; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; align-items: center; }

/* Hero */
.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 12% -10%, rgba(79,107,255,0.14), transparent 60%),
    radial-gradient(500px 260px at 92% 0%, rgba(0,200,150,0.14), transparent 60%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 46px; max-width: 620px; }
.hero__sub { font-size: 17px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; margin: 26px 0 20px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-faint); flex-wrap: wrap; }
.hero__trust .dot { opacity: .5; }

/* Screenshot frames */
.shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.shot img { display: block; width: 100%; height: auto; }
.shot--empty { aspect-ratio: 16 / 10; }
.shot__placeholder {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background:
    repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  color: var(--text-faint);
  text-align: center;
  padding: 24px;
}
.shot--empty .shot__placeholder { display: flex; }
.shot__placeholder-icon { font-size: 30px; opacity: .6; }
.shot__placeholder-text { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text-dim); background: rgba(0,0,0,0.25); padding: 3px 10px; border-radius: 6px; }
.shot__placeholder-hint { font-size: 12px; max-width: 220px; }

/* Stat strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); padding: 28px 0; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: 24px; color: var(--text); }
.stat span { font-size: 13px; color: var(--text-faint); }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: 32px; }
.section__head p { font-size: 16px; }

/* Feature grid */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--primary); transform: translateY(-2px); }
.card__icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; margin: 0; }

/* Showcase rows */
.showcase__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}
.showcase__row + .showcase__row { border-top: 1px solid var(--border); }
.showcase__row--reverse { grid-template-columns: 1fr 1.15fr; }
.showcase__row--reverse .shot { order: 2; }
.showcase__row--reverse .showcase__copy { order: 1; }
.showcase__copy h3 { font-size: 22px; }
.showcase__copy p { font-size: 15px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.plan--featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); background: var(--surface-2); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
}
.plan__head { margin-bottom: 20px; }
.plan__head h3 { font-size: 16px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.plan__price .amt { font-size: 36px; font-weight: 800; }
.plan__price .per { font-size: 14px; color: var(--text-faint); }
.plan__yr { font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.plan__features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.plan__features li { padding-left: 22px; position: relative; color: var(--text-dim); }
.plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan__features li.no { color: var(--text-faint); opacity: .55; }
.plan__features li.no::before { content: "–"; color: var(--text-faint); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--text-faint); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 12px; font-size: 14px; }

/* CTA */
.cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(79,107,255,0.16), transparent 65%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.cta h2 { font-size: 30px; }
.cta p { font-size: 16px; margin-bottom: 24px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer p { margin: 0; font-size: 13px; color: var(--text-faint); }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .showcase__row, .showcase__row--reverse { grid-template-columns: 1fr; }
  .showcase__row--reverse .shot, .showcase__row--reverse .showcase__copy { order: initial; }
  .nav__links { display: none; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .grid--3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
}
