:root {
  --bg: #ffffff;
  --bg-alt: #fafbfc;
  --surface: #f6f7f8;
  --surface-2: #ffffff;
  --border: #e5e8eb;
  --text: #14171a;
  --text-muted: #5b6167;
  --accent: #0e7f92;
  --accent-light: #17a2b8;
  --accent-text-on: #ffffff;
  --pro: #7a3ea1;
  --pro-light: #9a5cc2;
  --pro-bg: rgba(122, 62, 161, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 26, 0.05);
  --shadow-md: 0 4px 16px rgba(20, 23, 26, 0.06), 0 1px 3px rgba(20, 23, 26, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 23, 26, 0.10), 0 2px 8px rgba(20, 23, 26, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --bg-alt: #16191c;
    --surface: #1b1e22;
    --surface-2: #1e2226;
    --border: #2a2e33;
    --text: #f0f2f4;
    --text-muted: #9aa1a8;
    --accent: #45c7dc;
    --accent-light: #6fdcec;
    --accent-text-on: #05323a;
    --pro: #c79be8;
    --pro-light: #d9bcf2;
    --pro-bg: rgba(199, 155, 232, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45), 0 2px 10px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn:hover {
  border-color: color-mix(in srgb, var(--text) 20%, var(--border));
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--surface);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text-on);
  border-color: transparent;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn-pro {
  background: linear-gradient(135deg, var(--pro), var(--pro-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--pro) 35%, transparent);
}

.btn-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--pro) 40%, transparent);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Eyebrow labels */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.eyebrow.center {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}

/* Hero */

.hero {
  position: relative;
  text-align: center;
  padding: 88px 0 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero p.tagline {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .actions .btn {
  padding: 14px 24px;
  font-size: 15.5px;
}

.hero .smartscreen-note {
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 13px;
  color: var(--text-muted);
}

.screenshot-frame {
  margin: 56px auto 0;
  max-width: 920px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.screenshot-chrome {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.screenshot-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}

/* Sections */

section {
  padding: 88px 0;
}

section h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 44px;
}

#proof h2 {
  text-align: left;
  margin-bottom: 12px;
}

#features {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Proof point */

.proof {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}

.proof-stat {
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 40px;
}

.stat {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.stat-disclaimer {
  display: block;
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0.8;
}

.proof-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.proof-copy em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.plan {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.plan.pro {
  border-color: color-mix(in srgb, var(--pro) 45%, var(--border));
  background: var(--pro-bg);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, var(--pro), var(--pro-light));
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.plan h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
}

.plan .price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 6px 0 20px;
}

.plan .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 6px 0;
}

.plan li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7f92' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.plan.pro li::before {
  background-color: color-mix(in srgb, var(--pro) 18%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a3ea1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Steps (after you buy) */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text-on);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.step strong {
  color: var(--text);
}

/* FAQ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item a {
  color: var(--accent);
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer a:hover {
  color: var(--text);
}

/* Standalone legal pages (privacy/terms/refund) */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-page h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 6px;
}

.legal-page .updated {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 36px;
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 10px;
  text-align: left;
}

.legal-page p,
.legal-page li {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-page a {
  color: var(--accent);
  font-weight: 600;
}

.legal-page ul {
  padding-left: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 36px;
  }
  .nav-links {
    display: none;
  }
  .proof {
    grid-template-columns: 1fr;
  }
  .proof-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 24px;
  }
}
