:root {
  --bg: #0b1020;
  --bg-alt: #0f1630;
  --surface: #141c38;
  --surface-2: #1b2547;
  --border: #263159;
  --text: #eef1fb;
  --muted: #a6b0d4;
  --brand: #6c8cff;
  --brand-2: #9a6cff;
  --accent: #34d399;
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1120px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 24px rgba(108, 140, 255, 0.35);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.8);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(154, 108, 255, 0.25), transparent 60%),
    radial-gradient(800px 500px at 10% 10%, rgba(108, 140, 255, 0.22), transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }

.hero-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-window-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.hero-window-bar span {
  width: 12px; height: 12px; border-radius: 50%;
  background: #ff5f57;
}
.hero-window-bar span:nth-child(2) { background: #febc2e; }
.hero-window-bar span:nth-child(3) { background: #28c840; }
.hero-window-body { position: relative; min-height: 260px; }
.hero-window-body img { display: block; width: 100%; height: auto; }
.hero-window-fallback {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}
.hero-window-fallback code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  padding: 18px 24px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 60ch; }

/* ---------- Platform Compare ---------- */
.platform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.platform-card {
  background: linear-gradient(180deg, rgba(20, 28, 56, 0.96), rgba(15, 22, 48, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.platform-card-windows {
  background: linear-gradient(180deg, rgba(18, 28, 42, 0.98), rgba(13, 19, 34, 0.98));
}
.platform-header h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.platform-header p { margin: 0 0 18px; color: var(--muted); }
.platform-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.platform-shot {
  margin: 0 0 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.platform-shot img { display: block; width: 100%; height: auto; }
.platform-shot figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.platform-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.platform-list li { margin-bottom: 8px; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--brand); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--brand);
  background: rgba(108, 140, 255, 0.12);
  border: 1px solid var(--border);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ---------- Screenshots ---------- */
.platform-shots {
  display: grid;
  gap: 28px;
}
.shot-group h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.shots { grid-template-columns: repeat(2, 1fr); }
.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: 0.92rem; }
/* Placeholder when an image is missing */
.shot:has(img.is-hidden) {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px);
}
.shot:has(img.is-hidden) figcaption { text-align: center; }
.shots-hint { text-align: center; color: var(--muted); margin-top: 22px; font-size: 0.9rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(108, 140, 255, 0.22), transparent 60%);
}
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 10px; }
.cta-inner p { color: var(--muted); margin: 0 0 24px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Docs (privacy / support) ---------- */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 8px; letter-spacing: -0.02em; }
.doc h2 { margin: 40px 0 12px; font-size: 1.4rem; }
.doc-meta { color: var(--muted); margin: 0 0 28px; }
.doc p, .doc li { color: #d5dbf2; }
.doc code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}

/* ---------- Support ---------- */
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0 40px;
}
.support-card h2 { margin-top: 0; }
.contact-form { margin-top: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(108, 140, 255, 0.25);
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { margin: 8px 0 0; font-size: 0.95rem; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff7a90; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 36px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-links { display: flex; gap: 20px; margin: 0 auto; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ---------- Utilities ---------- */
img.is-hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .features, .shots { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 60px 0; }
  .footer-links { margin: 0; width: 100%; }
}
