/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:        #0A0A0F;
  --bg2:       #1C1C1E;
  --bg3:       #252528;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.13);
  --text:      #FFFFFF;
  --text2:     rgba(255,255,255,0.60);
  --text3:     rgba(255,255,255,0.35);
  --a0:        #4F8EF7;
  --a1:        #9B59F5;
  --grad:      linear-gradient(135deg, #4F8EF7, #9B59F5);
  --r-sm:      8px;
  --r-md:      14px;
  --r-lg:      20px;
  --r-pill:    999px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ────────────────────────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-hi);
  background: transparent;
  color: var(--text2);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.28); color: var(--text); transform: translateY(-1px); }

.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10,10,15,0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.3px;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color .2s;
}
.site-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-hi);
  background: rgba(255,255,255,0.035);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text3);
  border-radius: var(--r-pill);
  padding: 6px 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.lang-btn:hover { color: var(--text2); }
.lang-btn.active {
  color: var(--text);
  background: rgba(255,255,255,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-glow.g1 {
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: rgba(79,142,247,0.10);
}
.hero-glow.g2 {
  width: 500px; height: 500px;
  bottom: -50px; right: -50px;
  background: rgba(155,89,245,0.10);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(79,142,247,0.3);
  background: rgba(79,142,247,0.07);
  color: var(--a0);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 12px;
  color: var(--text3);
}

/* ── Extension mockup ──────────────────────────────────────────────────────── */
.hero-mockup { position: relative; }

.hero-visual {
  position: relative;
  width: min(62vw, 860px);
  margin-left: -70px;
  filter: drop-shadow(0 34px 80px rgba(0,0,0,0.52));
}
.hero-visual img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 12% 8% 10% 20%;
  border-radius: 42px;
  background: radial-gradient(circle at 52% 58%, rgba(155,89,245,0.18), transparent 46%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.mock-browser {
  background: var(--bg2);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mock-dots span:first-child { background: #FF5F57; }
.mock-dots span:nth-child(2) { background: #FFBD2E; }
.mock-dots span:nth-child(3) { background: #28C840; }
.mock-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text3);
  text-align: center;
}
.mock-body {
  display: grid;
  grid-template-columns: 1fr 180px;
  min-height: 260px;
}
.mock-article {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}
.mock-line.title-line { height: 12px; width: 80%; background: rgba(255,255,255,0.14); margin-bottom: 4px; }
.mock-line.short  { width: 55%; }
.mock-line.medium { width: 70%; }
.mock-line.hl {
  background: linear-gradient(90deg, rgba(79,142,247,0.35), rgba(155,89,245,0.35));
  position: relative;
  cursor: pointer;
}
.hl-tooltip {
  position: absolute;
  top: -28px; left: 10px;
  background: var(--bg3);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--a0);
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.mock-sidebar {
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-sb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-logo {
  font-size: 11px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mock-x { font-size: 14px; color: var(--text3); cursor: pointer; }
.mock-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  border-radius: var(--r-sm);
  padding: 3px;
}
.mock-tab {
  flex: 1;
  font-size: 8px;
  font-weight: 500;
  color: var(--text3);
  text-align: center;
  padding: 3px 0;
  border-radius: 5px;
  cursor: pointer;
}
.mock-tab.active {
  background: var(--bg2);
  color: var(--text);
}
.mock-summary-box {
  background: var(--bg3);
  border-radius: var(--r-sm);
  padding: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mock-ai-label {
  font-size: 8px;
  color: var(--a0);
  font-weight: 600;
  margin-bottom: 2px;
}
.mock-bullet {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}
.mock-bullet > span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 3px;
}
.mock-btext {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}
.mock-btext.med   { width: 75%; }
.mock-btext.short { width: 55%; }
.mock-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--grad);
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

/* ── Stats bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 24px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}
.stat-n {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-l {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Section base ──────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg2); }

.sec-hdr {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.sec-hdr h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.sec-sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
}

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.step-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
}
.step-num {
  font-size: 52px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
  font-variant-numeric: tabular-nums;
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--a0);
}
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── Features ──────────────────────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 20px;
}
.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .25s, transform .25s;
}
.feat-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.feat-card.feat-lg {
  grid-column: span 1;
}
.feat-grid .feat-lg:nth-child(1) { grid-column: 1 / 3; }
.feat-grid .feat-lg:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 3; }

.feat-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text2);
}
.feat-icon.grad-icon {
  background: linear-gradient(135deg, rgba(79,142,247,0.15), rgba(155,89,245,0.15));
  border-color: rgba(79,142,247,0.25);
  color: var(--a0);
}
.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feat-card p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 16px;
}
.feat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  color: var(--text3);
  border: 1px solid var(--border);
}
.feat-tag.pro {
  background: linear-gradient(135deg, rgba(79,142,247,0.12), rgba(155,89,245,0.12));
  color: var(--a0);
  border-color: rgba(79,142,247,0.2);
}

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.plan-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.plan-card.plan-pro {
  border-color: rgba(79,142,247,0.35);
  background: linear-gradient(160deg, rgba(79,142,247,0.06) 0%, var(--bg2) 60%);
}
.plan-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan-hdr h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.p-amount {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
}
.p-cents { font-size: 28px; font-weight: 700; }
.p-period {
  font-size: 14px;
  color: var(--text3);
}
.plan-desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.5;
}
.plan-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text2);
}
.plan-feats li svg {
  width: 14px; height: 14px;
  stroke-width: 2.5;
  flex-shrink: 0;
}
.plan-feats li.ok svg { stroke: #4aff91; }
.plan-feats li.no { color: var(--text3); }
.plan-feats li.no svg { stroke: rgba(255,255,255,0.2); }
.plan-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--text3);
  margin-top: 8px;
}

/* ── CTA section ───────────────────────────────────────────────────────────── */
.cta-section { padding: 80px 0; }
.cta-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border-hi);
  border-radius: 24px;
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.cta-card p {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 32px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.65;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text3);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text2);
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12.5px;
  color: var(--text3);
}

/* ── Shared form styles (used by auth.html etc.) ───────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: 40px 36px;
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 32px;
}
.auth-lang {
  width: max-content;
  margin: -16px auto 24px;
}
.auth-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.5px;
  text-align: center;
  margin-bottom: 8px;
}
.auth-sub {
  font-size: 13.5px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-hi);
  background: var(--bg3);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-input:focus { border-color: var(--a0); }
.form-input::placeholder { color: var(--text3); }
.form-error {
  font-size: 12.5px;
  color: #ff6b6b;
  margin-top: 10px;
  text-align: center;
  min-height: 18px;
}
.form-success {
  font-size: 12.5px;
  color: #4aff91;
  margin-top: 10px;
  text-align: center;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--text3);
  font-size: 12px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  font-family: inherit;
}
.google-btn:hover { border-color: rgba(255,255,255,0.28); color: var(--text); }
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  margin-top: 20px;
}
.auth-switch a { color: var(--a0); font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }

/* ── Dashboard ─────────────────────────────────────────────────────────────── */
.dash-page {
  min-height: 100vh;
  padding: 88px 0 48px;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.dash-title { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.dash-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
}
.dash-card-label {
  font-size: 12px;
  color: var(--text3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px;
}
.dash-card-value {
  font-size: 32px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.upgrade-card {
  background: linear-gradient(135deg, rgba(79,142,247,0.08), rgba(155,89,245,0.08));
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.upgrade-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.upgrade-card p { font-size: 13.5px; color: var(--text2); }

/* ── Success page ──────────────────────────────────────────────────────────── */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,142,247,0.15), rgba(155,89,245,0.15));
  border: 2px solid rgba(79,142,247,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

/* ── Prose pages (privacy, terms) ──────────────────────────────────────────── */
.prose-page { padding: 96px 0; }
.prose-page h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.prose-page .prose-meta {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 48px;
}
.prose-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.prose-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text2);
}
.prose-body p, .prose-body li {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 12px;
}
.prose-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}
.prose-body a { color: var(--a0); text-decoration: underline; }
.prose-max { max-width: 720px; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner     { grid-template-columns: 1fr; text-align: center; }
  .hero-sub       { max-width: 100%; }
  .hero-cta       { justify-content: center; }
  .hero-mockup    { max-width: 480px; margin: 0 auto; }
  .hero-visual    { width: min(100%, 720px); margin: 0 auto; }
  .steps-grid     { grid-template-columns: 1fr; }
  .feat-grid      { grid-template-columns: 1fr 1fr; }
  .feat-grid .feat-lg:nth-child(1) { grid-column: 1 / 3; }
  .feat-grid .feat-lg:nth-child(2) { grid-column: 1 / 3; grid-row: auto; }
  .pricing-grid   { grid-template-columns: 1fr; max-width: 440px; }
  .footer-inner   { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
  .dash-grid      { grid-template-columns: 1fr 1fr; }
  .upgrade-card   { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .header-actions { display: flex; gap: 8px; }
  .header-actions .btn-primary { display: none; }
  .header-actions .btn-ghost { padding: 8px 12px; font-size: 12px; }
  .lang-btn { padding: 6px 7px; }
  .hamburger      { display: flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open  { display: flex; }
  .site-nav a     { font-size: 16px; }
  .hero           { padding: 100px 0 64px; }
  .hero-title     { font-size: 38px; }
  .mock-body      { grid-template-columns: 1fr 140px; }
  .stats-inner    { gap: 0; }
  .stat           { padding: 12px 20px; }
  .stat-div       { display: none; }
  .section        { padding: 64px 0; }
  .feat-grid      { grid-template-columns: 1fr; }
  .feat-grid .feat-lg:nth-child(1),
  .feat-grid .feat-lg:nth-child(2) { grid-column: 1; grid-row: auto; }
  .footer-links   { grid-template-columns: 1fr 1fr; }
  .dash-grid      { grid-template-columns: 1fr; }
  .auth-card      { padding: 28px 20px; }
}

/* ── Saturn-inspired visual direction ─────────────────────────────────────── */
:root {
  --bg:        #050505;
  --bg2:       #0D0F0E;
  --bg3:       #151814;
  --border:    rgba(232,255,190,0.11);
  --border-hi: rgba(232,255,190,0.24);
  --text:      #F6F4EA;
  --text2:     rgba(246,244,234,0.68);
  --text3:     rgba(246,244,234,0.42);
  --a0:        #D9FF5A;
  --a1:        #41EAD4;
  --a2:        #FF5D4A;
  --grad:      linear-gradient(135deg, #D9FF5A 0%, #41EAD4 58%, #FF5D4A 100%);
  --r-md:      10px;
  --r-lg:      12px;
  --shadow-lg: 0 28px 80px rgba(0,0,0,0.72);
}

* { letter-spacing: 0; }

body {
  background:
    linear-gradient(rgba(217,255,90,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,255,90,0.025) 1px, transparent 1px),
    radial-gradient(900px 440px at 78% 12%, rgba(217,255,90,0.12), transparent 62%),
    radial-gradient(720px 360px at 18% 28%, rgba(65,234,212,0.09), transparent 64%),
    #050505;
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
}

.container { max-width: 1220px; }

.site-header {
  background: rgba(5,5,5,0.72);
  border-bottom-color: rgba(232,255,190,0.08);
}
.site-header.scrolled { background: rgba(5,5,5,0.9); }
.header-inner { height: 76px; }
.logo {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}
.logo svg {
  filter: drop-shadow(0 0 18px rgba(217,255,90,0.28));
}
.site-nav a {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text3);
}

.btn-primary,
.btn-ghost,
.lang-toggle,
.hero-badge,
.feat-tag,
.plan-popular {
  border-radius: 0;
}

.btn-primary {
  background: var(--a0);
  color: #050505;
  border: 1px solid var(--a0);
  box-shadow: 0 0 30px rgba(217,255,90,0.18);
  text-transform: uppercase;
  font-weight: 900;
}
.btn-primary:hover {
  opacity: 1;
  background: #F3FF9C;
}
.btn-ghost {
  background: rgba(246,244,234,0.035);
  border-color: var(--border);
  color: var(--text2);
  text-transform: uppercase;
  font-weight: 800;
}
.btn-ghost:hover {
  background: rgba(246,244,234,0.08);
  border-color: var(--border-hi);
}

.hero {
  padding: 156px 0 92px;
  min-height: 760px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 96px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,255,90,0.42), transparent);
}
.hero::after {
  content: "";
  position: absolute;
  top: 122px;
  right: max(24px, calc((100vw - 1220px) / 2));
  width: min(44vw, 540px);
  aspect-ratio: 1.62;
  border: 1px solid rgba(217,255,90,0.23);
  transform: rotate(-10deg) skewX(-12deg);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(65,234,212,0.08), 0 0 80px rgba(217,255,90,0.08);
}
.hero-glow {
  border-radius: 0;
  filter: none;
  opacity: 0.75;
}
.hero-glow.g1 {
  width: 56%;
  height: 420px;
  top: 118px;
  left: 48%;
  background:
    repeating-linear-gradient(105deg, transparent 0 18px, rgba(217,255,90,0.12) 19px, transparent 20px),
    linear-gradient(120deg, rgba(217,255,90,0.14), rgba(65,234,212,0.04), transparent);
  transform: skewY(-12deg);
}
.hero-glow.g2 {
  width: 100%;
  height: 120px;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,93,74,0.12), transparent 38%, rgba(65,234,212,0.11));
}
.hero-inner {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 74px;
}
.hero-badge {
  border-color: rgba(217,255,90,0.34);
  background: rgba(217,255,90,0.06);
  color: var(--a0);
}
.hero-title {
  font-size: 68px;
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.grad-text {
  background: none;
  -webkit-text-fill-color: var(--a0);
  color: var(--a0);
}
.hero-sub {
  max-width: 540px;
  font-size: 18px;
  color: var(--text2);
}
.hero-note {
  color: var(--a1);
  text-transform: uppercase;
  font-weight: 800;
}

.mock-browser {
  border-radius: 0;
  background: rgba(13,15,14,0.78);
  border-color: rgba(217,255,90,0.22);
  box-shadow: var(--shadow-lg), 20px 20px 0 rgba(217,255,90,0.055);
  transform: rotate(-1.5deg);
}
.mock-bar,
.mock-sidebar,
.mock-summary-box,
.mock-tabs,
.mock-tab.active,
.step-card,
.feat-card,
.plan-card,
.cta-card,
.auth-card,
.dash-card,
.upgrade-card {
  border-radius: 0;
}
.mock-bar {
  background: #11130F;
  border-bottom-color: rgba(217,255,90,0.15);
}
.mock-sidebar {
  background: #080908;
  border-left-color: rgba(217,255,90,0.16);
}
.mock-logo,
.stat-n,
.dash-card-value {
  background: none;
  -webkit-text-fill-color: var(--a0);
  color: var(--a0);
}
.mock-cta-btn {
  border-radius: 0;
  background: var(--a0);
  color: #050505;
}

.signal-strip {
  border-top: 1px solid rgba(217,255,90,0.22);
  border-bottom: 1px solid rgba(217,255,90,0.22);
  background: #D9FF5A;
  color: #050505;
  overflow: hidden;
}
.signal-track {
  display: flex;
  width: max-content;
  animation: signal-marquee 26s linear infinite;
}
.signal-track span {
  padding: 16px 34px;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes signal-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stats-bar {
  background: rgba(5,5,5,0.78);
  border-color: rgba(217,255,90,0.18);
}
.stat {
  min-width: 210px;
  border-left: 1px solid rgba(217,255,90,0.08);
}
.stat-l {
  color: var(--text2);
  text-transform: uppercase;
  font-weight: 700;
}

.section { padding: 116px 0; }
.section-alt { background: rgba(217,255,90,0.035); }
.sec-hdr {
  max-width: 760px;
  margin-bottom: 72px;
}
.eyebrow {
  color: var(--a0);
  background: none;
  -webkit-text-fill-color: var(--a0);
}
.sec-hdr h2,
.cta-card h2,
.prose-page h1 {
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
}

.step-card,
.feat-card,
.plan-card,
.cta-card,
.dash-card,
.upgrade-card {
  background: linear-gradient(180deg, rgba(246,244,234,0.045), rgba(246,244,234,0.015));
  border-color: rgba(217,255,90,0.14);
}
.step-card:hover,
.feat-card:hover,
.plan-card:hover {
  border-color: rgba(217,255,90,0.36);
  transform: translateY(-6px);
}
.step-num {
  color: rgba(217,255,90,0.12);
}
.step-icon,
.feat-icon {
  border-radius: 0;
  background: #D9FF5A;
  color: #050505;
  border-color: #D9FF5A;
}
.feat-icon.grad-icon {
  background: #41EAD4;
  color: #050505;
  border-color: #41EAD4;
}
.feat-card.feat-lg {
  min-height: 280px;
}
.feat-card h3,
.step-card h3,
.plan-hdr h3 {
  text-transform: uppercase;
}
.feat-tag {
  background: transparent;
  color: var(--a0);
  border-color: rgba(217,255,90,0.24);
  text-transform: uppercase;
}
.feat-tag.pro {
  background: rgba(65,234,212,0.08);
  color: var(--a1);
  border-color: rgba(65,234,212,0.28);
}

.plan-card.plan-pro {
  background: linear-gradient(160deg, rgba(217,255,90,0.12), rgba(13,15,14,0.72) 58%);
  border-color: rgba(217,255,90,0.44);
}
.plan-popular {
  background: var(--a0);
  color: #050505;
}
.p-amount {
  color: var(--a0);
}
.plan-feats li.ok svg { stroke: var(--a0); }

.cta-card {
  padding: 82px 40px;
  background:
    linear-gradient(90deg, rgba(217,255,90,0.08) 1px, transparent 1px),
    linear-gradient(rgba(217,255,90,0.08) 1px, transparent 1px),
    #080908;
  background-size: 34px 34px;
}
.cta-glow {
  display: none;
}
.site-footer {
  background: #050505;
  border-top-color: rgba(217,255,90,0.18);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero::after {
    width: 70vw;
    top: 118px;
  }
  .hero-title {
    font-size: 56px;
  }
  .sec-hdr h2,
  .cta-card h2,
  .prose-page h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .header-inner { height: 68px; gap: 12px; }
  .logo { font-size: 15px; }
  .hero { padding-top: 110px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .mock-browser { transform: none; }
  .hero-visual { width: 120%; margin-left: -10%; }
  .signal-track span { padding: 13px 20px; font-size: 12px; }
  .sec-hdr h2,
  .cta-card h2,
  .prose-page h1 {
    font-size: 31px;
  }
  .section { padding: 78px 0; }
}

/* ── Extension palette + frosted Bento refinement ─────────────────────────── */
:root {
  --bg:        #07080D;
  --bg2:       rgba(18,18,26,0.62);
  --bg3:       rgba(25,25,36,0.68);
  --border:    rgba(255,255,255,0.075);
  --border-hi: rgba(255,255,255,0.16);
  --text:      #F8F7FF;
  --text2:     rgba(248,247,255,0.64);
  --text3:     rgba(248,247,255,0.38);
  --a0:        #6C7CFF;
  --a1:        #9B59F5;
  --a2:        #F05A9D;
  --a3:        #FF8E3C;
  --grad:      linear-gradient(135deg, #6C7CFF 0%, #9B59F5 52%, #F05A9D 100%);
  --glass:     linear-gradient(180deg, rgba(255,255,255,0.072), rgba(255,255,255,0.026));
  --glass-2:   linear-gradient(145deg, rgba(108,124,255,0.095), rgba(255,255,255,0.025) 48%, rgba(240,90,157,0.07));
  --shadow-lg: 0 26px 90px rgba(0,0,0,0.58);
  --r-md:      14px;
  --r-lg:      18px;
}

body {
  background:
    radial-gradient(760px 420px at 16% 8%, rgba(108,124,255,0.18), transparent 66%),
    radial-gradient(620px 360px at 88% 16%, rgba(240,90,157,0.13), transparent 64%),
    radial-gradient(520px 300px at 68% 86%, rgba(255,142,60,0.075), transparent 62%),
    #07080D;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.82), transparent 72%);
}

.site-header,
.site-header.scrolled {
  background: rgba(7,8,13,0.66);
  border-bottom-color: rgba(255,255,255,0.075);
}

.logo {
  text-transform: none;
  font-weight: 850;
}

.logo span,
.mock-logo {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo svg {
  filter: drop-shadow(0 0 18px rgba(108,124,255,0.22));
}

.site-nav a {
  text-transform: none;
  color: var(--text3);
}

.btn-primary {
  background: var(--grad);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  box-shadow: 0 12px 34px rgba(108,124,255,0.20);
  text-transform: none;
  border-radius: var(--r-pill);
}
.btn-primary:hover {
  background: var(--grad);
  box-shadow: 0 18px 42px rgba(155,89,245,0.25);
}
.btn-ghost,
.lang-toggle {
  background: rgba(255,255,255,0.035);
  border-color: var(--border);
  border-radius: var(--r-pill);
  text-transform: none;
}
.lang-btn.active {
  background: rgba(255,255,255,0.11);
}

.hero {
  min-height: 720px;
}
.hero::before {
  background: linear-gradient(90deg, transparent, rgba(108,124,255,0.28), transparent);
}
.hero::after {
  border-color: rgba(255,255,255,0.09);
  border-radius: 30px;
  transform: rotate(-7deg) skewX(-8deg);
  box-shadow: inset 0 0 60px rgba(108,124,255,0.045), 0 0 80px rgba(155,89,245,0.06);
}
.hero-glow.g1 {
  background:
    linear-gradient(120deg, rgba(108,124,255,0.10), rgba(155,89,245,0.07), transparent),
    repeating-linear-gradient(110deg, transparent 0 22px, rgba(255,255,255,0.028) 23px, transparent 24px);
}
.hero-glow.g2 {
  background: linear-gradient(90deg, rgba(108,124,255,0.09), transparent 38%, rgba(240,90,157,0.08));
}
.hero-badge {
  color: var(--text2);
  background: rgba(255,255,255,0.045);
  border-color: var(--border);
  border-radius: var(--r-pill);
}
.hero-badge svg {
  color: var(--a3);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-note {
  color: var(--text3);
  text-transform: none;
}

.mock-browser,
.step-card,
.feat-card,
.plan-card,
.cta-card,
.auth-card,
.dash-card,
.upgrade-card,
.stat,
.stats-bar,
.mock-sidebar,
.mock-summary-box,
.mock-tabs,
.mock-tab.active {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 60px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.06);
}

.mock-browser {
  transform: rotate(-1deg);
  border-color: rgba(255,255,255,0.13);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(108,124,255,0.06);
}
.mock-bar {
  background: rgba(255,255,255,0.045);
  border-bottom-color: var(--border);
}
.mock-sidebar {
  border-radius: 0;
  border-width: 0 0 0 1px;
}
.mock-cta-btn {
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-pill);
}

.signal-strip {
  background: rgba(255,255,255,0.035);
  color: var(--text2);
  border-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.signal-track span {
  font-weight: 800;
}
.signal-track span:nth-child(3n+1) {
  color: var(--text);
}

.stats-bar {
  padding: 18px 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  min-width: 0;
  padding: 22px 20px;
  border-left: 0;
}
.stat-div {
  display: none;
}
.stat-n,
.dash-card-value,
.p-amount {
  background: none;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
}
.stat:first-child .stat-n,
.plan-pro .p-amount {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-l {
  text-transform: none;
  font-weight: 600;
  color: var(--text3);
}

.section-alt {
  background: rgba(255,255,255,0.018);
}
.eyebrow {
  color: var(--text3);
  -webkit-text-fill-color: var(--text3);
}
.sec-hdr h2,
.cta-card h2,
.prose-page h1 {
  text-transform: none;
}

.steps-grid {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(210px, auto);
}
.step-card {
  padding: 34px;
}
.step-card:nth-child(1) {
  grid-column: span 5;
}
.step-card:nth-child(2) {
  grid-column: span 4;
  background: var(--glass-2);
}
.step-card:nth-child(3) {
  grid-column: span 3;
}
.step-num {
  color: rgba(255,255,255,0.055);
}
.step-icon,
.feat-icon {
  background: rgba(255,255,255,0.055);
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.feat-icon.grad-icon {
  background: rgba(255,255,255,0.055);
  color: var(--text2);
  border-color: var(--border);
}
.step-card:nth-child(2) .step-icon,
.feat-card.feat-lg:first-child .feat-icon {
  color: #fff;
  background: var(--grad);
  border-color: rgba(255,255,255,0.1);
}

.feat-grid {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(188px, auto);
}
.feat-card {
  grid-column: span 4;
  min-height: 188px;
}
.feat-card.feat-lg {
  min-height: 300px;
}
.feat-grid .feat-lg:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
  background: var(--glass-2);
}
.feat-grid .feat-lg:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}
.feat-grid .feat-card:nth-child(3),
.feat-grid .feat-card:nth-child(4) {
  grid-column: span 6;
}
.feat-grid .feat-card:nth-child(5),
.feat-grid .feat-card:nth-child(6),
.feat-grid .feat-card:nth-child(7) {
  grid-column: span 4;
}
.feat-card h3,
.step-card h3,
.plan-hdr h3 {
  text-transform: none;
}
.feat-tag,
.feat-tag.pro {
  background: rgba(255,255,255,0.035);
  color: var(--text3);
  border-color: var(--border);
  border-radius: var(--r-pill);
  text-transform: none;
}

.pricing-grid {
  max-width: 940px;
  grid-template-columns: 0.92fr 1.08fr;
}
.plan-card {
  padding: 36px;
}
.plan-card.plan-pro {
  background: var(--glass-2);
  border-color: rgba(155,89,245,0.28);
}
.plan-popular {
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-pill);
}
.plan-feats li.ok svg {
  stroke: var(--a3);
}

.cta-card {
  background:
    radial-gradient(540px 220px at 50% 0%, rgba(108,124,255,0.16), transparent 68%),
    var(--glass);
  border-color: rgba(255,255,255,0.11);
}
.site-footer {
  background: rgba(7,8,13,0.74);
  border-top-color: var(--border);
}

@media (max-width: 900px) {
  .stats-inner,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid,
  .feat-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .step-card:nth-child(1),
  .step-card:nth-child(2),
  .step-card:nth-child(3),
  .feat-grid .feat-lg:nth-child(1),
  .feat-grid .feat-lg:nth-child(2),
  .feat-grid .feat-card:nth-child(3),
  .feat-grid .feat-card:nth-child(4),
  .feat-grid .feat-card:nth-child(5),
  .feat-grid .feat-card:nth-child(6),
  .feat-grid .feat-card:nth-child(7) {
    grid-column: span 6;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .stats-inner,
  .pricing-grid,
  .steps-grid,
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .step-card:nth-child(1),
  .step-card:nth-child(2),
  .step-card:nth-child(3),
  .feat-grid .feat-lg:nth-child(1),
  .feat-grid .feat-lg:nth-child(2),
  .feat-grid .feat-card:nth-child(3),
  .feat-grid .feat-card:nth-child(4),
  .feat-grid .feat-card:nth-child(5),
  .feat-grid .feat-card:nth-child(6),
  .feat-grid .feat-card:nth-child(7) {
    grid-column: auto;
  }
  .step-card,
  .feat-card,
  .plan-card {
    padding: 26px;
  }
}

/* ── Hero product visual cleanup ──────────────────────────────────────────── */
.hero-inner {
  grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
  gap: 54px;
}

.hero-visual {
  width: 100%;
  max-width: 760px;
  margin: 0 0 0 auto;
  filter: none;
}

.hero-visual img,
.hero-visual::after {
  display: none;
}

.hero-product {
  position: relative;
  min-height: 520px;
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 9% -2% 4% 7%;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 34px;
  transform: rotate(-4deg);
  background: linear-gradient(135deg, rgba(108,124,255,0.06), rgba(240,90,157,0.025));
}

.hero-product::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 250px;
  right: -60px;
  bottom: -38px;
  background: radial-gradient(circle, rgba(39,216,242,0.18), transparent 66%);
  pointer-events: none;
}

.hero-browser {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 470px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.105);
  border-radius: 18px;
  background:
    radial-gradient(360px 240px at 6% 0%, rgba(240,90,157,0.18), transparent 68%),
    radial-gradient(300px 220px at 98% 96%, rgba(39,216,242,0.12), transparent 70%),
    rgba(12,13,22,0.72);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 34px 90px rgba(0,0,0,0.54), inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero-browser-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.025);
}

.hero-browser-top > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}

.hero-address {
  flex: 1;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: var(--text3);
  font-size: 10px;
}

.hero-reading {
  position: relative;
  display: grid;
  grid-template-columns: 0.98fr 0.88fr;
  gap: 20px;
  padding: 34px;
}

.hero-article-pane,
.hero-sidebar-pane {
  min-height: 360px;
}

.hero-article-pane {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
}

.hero-kicker {
  margin-bottom: 12px;
  color: rgba(248,247,255,0.36);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-article-title {
  width: 88%;
  height: 20px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: rgba(248,247,255,0.54);
}

.hero-article-title.short {
  width: 64%;
  margin-bottom: 28px;
}

.hero-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-copy-grid div {
  height: 88px;
  border-radius: 8px;
  background: rgba(255,255,255,0.075);
}

.hero-copy-lines {
  display: grid;
  gap: 10px;
}

.hero-copy-lines span {
  height: 6px;
  border-radius: 999px;
  background: rgba(248,247,255,0.23);
}

.hero-copy-lines span:nth-child(2) { width: 84%; }
.hero-copy-lines span:nth-child(3) { width: 72%; }
.hero-copy-lines span:nth-child(4) { width: 92%; }
.hero-copy-lines span:nth-child(5) { width: 66%; }

.hero-sidebar-pane {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.035));
  box-shadow: 0 20px 50px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.hero-sidebar-head strong {
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sidebar-head span {
  color: var(--text3);
  font-size: 24px;
}

.hero-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 4px;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

.hero-tabs span {
  padding: 9px 0;
  border-radius: 999px;
  color: var(--text3);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.hero-tabs span:first-child {
  background: rgba(255,255,255,0.13);
  color: var(--text);
}

.hero-summary-card {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
}

.hero-summary-card p {
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 850;
}

.hero-summary-card div {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.hero-summary-card b {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--a2);
}

.hero-summary-card span {
  height: 7px;
  flex: 1;
  border-radius: 999px;
  background: rgba(248,247,255,0.15);
}

.hero-action {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: calc(100% + 58px);
  margin: 22px 0 16px -29px;
  padding: 18px 22px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 44px rgba(155,89,245,0.34);
}

.hero-secondary {
  height: 36px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
}

.hero-ai-flow {
  position: absolute;
  z-index: 2;
  left: 44%;
  top: 48%;
  width: 120px;
  height: 74px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-ai-flow i {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39,216,242,0.7), rgba(240,90,157,0.75), transparent);
  transform-origin: right center;
  box-shadow: 0 0 16px rgba(155,89,245,0.38);
}

.hero-ai-flow i:nth-child(1) { transform: rotate(-24deg); }
.hero-ai-flow i:nth-child(2) { transform: rotate(-12deg); }
.hero-ai-flow i:nth-child(3) { transform: rotate(0deg); }
.hero-ai-flow i:nth-child(4) { transform: rotate(12deg); }
.hero-ai-flow i:nth-child(5) { transform: rotate(24deg); }

@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-visual {
    width: 100%;
    margin: 0;
  }
  .hero-product {
    min-height: auto;
  }
  .hero-browser {
    min-height: 0;
    margin-top: 8px;
  }
  .hero-reading {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .hero-article-pane {
    min-height: 210px;
  }
  .hero-sidebar-pane {
    min-height: 320px;
  }
  .hero-ai-flow {
    display: none;
  }
  .hero-action {
    width: 100%;
    margin-left: 0;
    font-size: 14px;
  }
}
