:root {
  --bg: #0e0b2e;
  --bg-alt: #150f3d;
  --surface: #1a1347;
  --border: #322a63;
  --text: #e6e3fb;
  --text-dim: #a5a0cc;
  --accent: #fbbf24;
  --accent-2: #818cf8;
  --accent-grad: linear-gradient(135deg, #6366f1, #4f46e5);
  --radius: 14px;
  --max-w: 1120px;
  --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: #f8fafc;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-dim); margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #02150a;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(14, 11, 46, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1a1347;
  box-shadow: 0 4px 16px -4px rgba(251, 191, 36, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -6px rgba(251, 191, 36, 0.5); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px -4px rgba(251, 191, 36, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent-2); color: #fff; transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }

.btn-small { padding: 9px 16px; font-size: 0.88rem; }
.btn-large { padding: 14px 26px; font-size: 1rem; }

/* Hero */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.2), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(251, 191, 36, 0.12), transparent 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-sub { font-size: 1.08rem; max-width: 52ch; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

/* Hero visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }

/* App popup mockup (live HTML/CSS, matches the real extension UI) */
.app-mock {
  width: 100%;
  max-width: 360px;
  background: var(--accent-grad);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.app-mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 16px;
}
.app-mock-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.app-mock-icon img { width: 100%; height: 100%; display: block; }
.app-mock-head strong { display: block; font-family: var(--font-heading); font-size: 1rem; }
.app-mock-head span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.75); }

.app-mock-body { display: flex; flex-direction: column; gap: 10px; }

.app-field {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-field-label { font-size: 0.68rem; color: #8b87a8; }
.app-field-value { font-size: 0.88rem; font-weight: 700; color: #3730a3; }

.app-status {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: #1e1b4b;
  font-weight: 600;
  line-height: 1.4;
}
.app-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: #e0e0fb;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.app-picker {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
}
.app-picker-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  color: #8b87a8;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.app-refresh { color: #4f46e5; }
.app-search {
  background: #f4f3fb;
  border: 1px solid #e5e3f5;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 0.76rem;
  color: #a5a0cc;
  margin-bottom: 8px;
}
.app-select {
  border: 1px solid #e5e3f5;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #3730a3;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.app-select span { color: #8b87a8; font-weight: 400; }
.app-note { font-size: 0.65rem; color: #8b87a8; line-height: 1.4; margin: 0 0 8px; }
.app-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #3f3a5c;
  margin-bottom: 6px;
}
.app-box {
  width: 14px;
  height: 14px;
  border: 1.5px solid #cfcbe8;
  border-radius: 4px;
  flex-shrink: 0;
}

.app-btn-primary {
  background: rgba(255,255,255,0.28);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
}
.app-hint {
  color: rgba(255,255,255,0.7);
  font-size: 0.68rem;
  text-align: center;
  margin: 0;
}
.app-hint b { color: #fff; }
.app-btn-row { display: flex; gap: 8px; margin-top: 2px; }
.app-btn-coffee, .app-btn-feedback {
  flex: 1;
  text-align: center;
  border-radius: 9px;
  padding: 9px;
  font-size: 0.76rem;
  font-weight: 700;
}
.app-btn-coffee { background: var(--accent); color: #1a1347; }
.app-btn-feedback { background: rgba(255,255,255,0.18); color: #fff; }

.app-mock-wide { max-width: 420px; }
.app-progress {
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}
.app-progress-bar {
  height: 7px;
  border-radius: 4px;
  background: #eceafb;
  overflow: hidden;
  margin-bottom: 6px;
}
.app-progress-bar span {
  display: block;
  height: 100%;
  background: var(--accent-grad);
  border-radius: 4px;
}
.app-progress p { margin: 0; font-size: 0.72rem; color: #8b87a8; }
.app-stat-row { display: flex; gap: 10px; }
.app-stat {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}
.app-stat span { display: block; font-size: 0.68rem; color: #8b87a8; margin-bottom: 2px; }
.app-stat b { display: block; font-size: 1.3rem; color: #4f46e5; font-family: var(--font-heading); }

/* Who strip */
.who-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--bg-alt);
}
.who-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 500;
}
.who-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.who-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
  flex-shrink: 0;
}

/* Proof strip */
.proof-strip {
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  background: var(--bg);
}
.proof-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proof-item {
  text-align: center;
  padding: 0 12px;
}
.proof-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.proof-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Sections */
.section { padding: 80px 0; position: relative; }
.section-alt {
  background:
    radial-gradient(circle at 1px 1px, rgba(129, 140, 248, 0.16) 1px, transparent 0),
    var(--bg-alt);
  background-size: 28px 28px;
}
.section-sub { font-size: 1.02rem; margin-bottom: 40px; max-width: 56ch; }

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.how-shot { max-width: 100%; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps-stacked { grid-template-columns: 1fr; gap: 16px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--accent-2);
  box-shadow: 0 12px 30px -14px rgba(99, 102, 241, 0.5);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 14px;
}
.step p { margin: 0; font-size: 0.92rem; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-2);
  box-shadow: 0 12px 30px -14px rgba(99, 102, 241, 0.5);
}
.feature-card p { margin: 0; font-size: 0.92rem; }
.feature-card-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 16px;
  display: block;
}

/* Stat mockup (big-number card) */
.stat-mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 16px;
}
.stat-mock-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
}
.stat-mock-label { display: block; font-size: 0.76rem; color: var(--text-dim); margin: 4px 0 12px; }
.stat-mock-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.stat-mock-pills span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  color: var(--text);
}

/* CSV table mockup */
.csv-mock {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.74rem;
}
.csv-mock th {
  background: var(--accent-grad);
  color: #fff;
  text-align: left;
  padding: 8px 10px;
  font-weight: 700;
}
.csv-mock td {
  background: var(--bg);
  padding: 7px 10px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}
.csv-mock td:first-child { color: var(--text); font-weight: 600; }

/* Privacy */
.privacy-section { background: var(--bg-alt); }
.privacy-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.shield-mock {
  display: flex;
  justify-content: center;
}
.shield-mock svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.3));
}
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
}
.privacy-list li { display: flex; gap: 10px; align-items: flex-start; }
.privacy-list li::before { content: "🔒"; }

.link-underline {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 760px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #f8fafc;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; font-size: 0.94rem; }

/* Contact / feedback form */
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
.contact-form .btn { align-self: flex-start; }
.contact-status {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
  min-height: 1.2em;
}
.contact-status-success { color: #4ade80; }
.contact-status-error { color: #f87171; }

/* Final CTA */
.final-cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.22), transparent 60%);
  border-top: 1px solid var(--border);
}
.final-cta-inner { max-width: 620px; margin: 0 auto; }
.final-cta p { margin-bottom: 30px; font-size: 1.05rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 20px;
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}
.footer-disclaimer {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 60ch;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .how-grid { grid-template-columns: 1fr; }
  .how-shot { order: -1; max-width: 420px; margin: 0 auto; }
  .privacy-inner { grid-template-columns: 1fr; }
  .shield-mock { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .proof-inner { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .who-strip-inner { gap: 10px 16px; }
}
