/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #e8e9ed;
  background: #08090b;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 4px; font-size: .88em; }
kbd { display: inline-block; padding: 2px 7px; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; background: rgba(255,255,255,.06); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82em; color: #c9cad0; box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); }

/* ─── Skip Link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 1000;
  padding: 10px 18px; background: #fff; color: #111; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ─── Container ─────────────────────────────────────────────────────────── */
.container { width: min(100% - 40px, 1120px); margin: 0 auto; }

/* ─── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 9, 11, .78);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-container {
  display: flex; align-items: center; gap: 32px;
  max-width: 1120px; margin: 0 auto;
  padding: 0 20px; height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.logo-icon { font-size: 20px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 7px 14px; border-radius: 10px; font-size: 13px; font-weight: 500;
  color: #9b9ca4; transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: #d0d1d5;
  font-size: 13px; font-weight: 550;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 14px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .2s, background .2s, box-shadow .2s;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: #f0f0f3; color: #111216; }
.btn-primary:hover { background: #fff; box-shadow: 0 8px 30px rgba(255,255,255,.12); }
.btn-secondary { background: rgba(255,255,255,.08); color: #d0d1d5; border: 1px solid rgba(255,255,255,.12); }
.btn-secondary:hover { background: rgba(255,255,255,.13); color: #fff; }
.btn-large { padding: 16px 34px; font-size: 16px; border-radius: 16px; }

/* ─── Section Commons ───────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #7d91ca; margin-bottom: 14px; }
.section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 650; letter-spacing: -.04em; line-height: 1.15; color: #f5f5f7; }
.section-subtitle { max-width: 560px; margin: 16px auto 0; color: #9b9ca4; font-size: 16px; line-height: 1.65; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative; padding: 140px 20px 80px; text-align: center;
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(100, 120, 180, .12), transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 80%, rgba(180, 100, 80, .06), transparent 60%),
    linear-gradient(180deg, #08090b 0%, #0c0e14 40%, #111828 100%);
}
.hero-stars {
  position: absolute; inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.15), transparent),
                    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.1), transparent),
                    radial-gradient(1.5px 1.5px at 60% 20%, rgba(255,255,255,.12), transparent),
                    radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,.08), transparent),
                    radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,.1), transparent),
                    radial-gradient(1.5px 1.5px at 90% 10%, rgba(255,255,255,.07), transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 7px 16px; border-radius: 50px;
  background: rgba(125, 145, 202, .1); border: 1px solid rgba(125, 145, 202, .2);
  color: #b7c8ff; font-size: 12px; font-weight: 600; letter-spacing: .03em;
  margin-bottom: 28px;
}
.hero-content h1 {
  font-size: clamp(38px, 6vw, 68px); font-weight: 680; letter-spacing: -.05em;
  line-height: 1.08; color: #f5f5f7;
  margin-bottom: 20px;
}
.hero-subtitle { max-width: 540px; margin: 0 auto 32px; color: #9b9ca4; font-size: 17px; line-height: 1.7; }
.hero-subtitle strong { color: #d0d1d5; font-weight: 600; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta { display: flex; align-items: center; justify-content: center; gap: 10px; color: #5e6069; font-size: 12px; font-weight: 500; }
.hero-screenshot {
  position: relative; z-index: 1; max-width: 960px; margin: 56px auto 0;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 120px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
}
.hero-screenshot img { width: 100%; display: block; }

/* ─── Features ──────────────────────────────────────────────────────────── */
.features-section { padding: 120px 20px; background: #08090b; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  padding: 28px 24px; border-radius: 18px;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  transition: background .25s, border-color .25s, transform .25s;
}
.feature-card:hover { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 15px; font-weight: 620; margin-bottom: 8px; letter-spacing: -.02em; color: #f0f0f3; }
.feature-card p { font-size: 13px; color: #8a8b93; line-height: 1.6; }

/* ─── Showcase ──────────────────────────────────────────────────────────── */
.showcase-section { padding: 120px 20px; background: linear-gradient(180deg, #08090b, #0b0d14 50%, #08090b); }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.showcase-card {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color .3s, transform .3s;
}
.showcase-card:hover { border-color: rgba(255,255,255,.14); transform: translateY(-3px); }
.showcase-card--large { grid-column: 1 / -1; }
.showcase-card img { width: 100%; display: block; }
.showcase-card figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  display: flex; align-items: center; gap: 10px;
}
.showcase-time { font-size: 18px; }
.showcase-card figcaption strong { font-size: 14px; font-weight: 600; color: #f0f0f3; }
.showcase-card figcaption span:last-child { color: #9b9ca4; font-size: 13px; margin-left: auto; }

/* ─── Use Cases ─────────────────────────────────────────────────────────── */
.usecases-section { padding: 120px 20px; background: #08090b; }
.usecases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usecase-card {
  padding: 32px 28px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  transition: background .25s, border-color .25s, transform .25s;
}
.usecase-card:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); transform: translateY(-2px); }
.usecase-icon { font-size: 32px; margin-bottom: 18px; }
.usecase-card h3 { font-size: 16px; font-weight: 620; margin-bottom: 10px; letter-spacing: -.02em; color: #f0f0f3; }
.usecase-card p { font-size: 14px; color: #8a8b93; line-height: 1.65; }

/* ─── Install ───────────────────────────────────────────────────────────── */
.install-section { padding: 120px 20px; background: linear-gradient(180deg, #08090b, #0c0e14); }
.install-steps { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.install-step {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.install-step:last-child { border-bottom: none; }
.step-number {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px; background: rgba(125, 145, 202, .1);
  color: #b7c8ff; font-size: 15px; font-weight: 700;
}
.install-step h3 { font-size: 15px; font-weight: 620; margin-bottom: 4px; color: #f0f0f3; }
.install-step p { font-size: 14px; color: #8a8b93; line-height: 1.55; }
.install-step a { color: #b7c8ff; text-decoration: underline; text-underline-offset: 3px; }
.install-step a:hover { color: #d4dfff; }
.install-cta { text-align: center; margin-top: 48px; }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq-section { padding: 120px 20px; background: #08090b; }
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px; cursor: pointer;
  font-size: 16px; font-weight: 590; letter-spacing: -.02em; color: #e0e1e5;
  list-style: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; margin-left: 16px;
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; background: rgba(255,255,255,.05);
  font-size: 18px; font-weight: 400; color: #7d91ca;
  transition: transform .25s, background .25s;
}
.faq-item[open] summary::after { content: "−"; background: rgba(125,145,202,.15); }
.faq-item summary:hover { color: #fff; }
.faq-answer {
  padding: 0 4px 22px;
  color: #8a8b93; font-size: 15px; line-height: 1.72;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ol { padding-left: 20px; margin: 8px 0; }
.faq-answer li { margin-bottom: 6px; }
.faq-answer a { color: #b7c8ff; text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: #d4dfff; }
.faq-answer strong { color: #c8c9cd; font-weight: 600; }
.faq-answer em { font-style: italic; }
.faq-answer code { font-size: .88em; background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 4px; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #08090b;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #8a8b93; }
.footer-credit { font-size: 13px; color: #5e6069; }
.footer-credit a { color: #9b9ca4; text-decoration: none; transition: color .2s; }
.footer-credit a:hover { color: #f0f0f3; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: #5e6069; transition: color .2s; }
.footer-links a:hover { color: #d0d1d5; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-container { justify-content: space-between; }
  .hero-section { padding: 120px 16px 60px; min-height: auto; }
  .hero-content h1 { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .features-section, .showcase-section, .usecases-section, .install-section, .faq-section { padding: 80px 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ─── Focus & Accessibility ─────────────────────────────────────────────── */
:focus-visible { outline: 2px solid rgba(183, 200, 255, .7); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-color-scheme: light) {
  /* Keep dark theme — the extension is dark-first */
}
