:root {
  --bg: #0b0d14;
  --bg-2: #11141d;
  --bg-3: #161a25;
  --text: #e7e9f0;
  --muted: #9aa3b8;
  --line: #232838;
  --accent: #7c5cff;
  --accent-2: #21d4fd;
  --accent-grad: linear-gradient(135deg, #7c5cff 0%, #21d4fd 100%);
  --code-bg: #1a1f2e;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code, .mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, Monaco, monospace; }
code {
  background: var(--code-bg);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.88em;
  color: #d6dbff;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(11, 13, 20, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-text { font-size: 17px; }
.brand-mark { display: inline-flex; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

/* ===== Buttons ===== */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-grad);
  color: white !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cta-small { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.cta-large { padding: 16px 28px; font-size: 16px; }
.cta-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--line);
  box-shadow: none;
}
.cta-ghost:hover { border-color: #3a4159; background: rgba(255,255,255,.03); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(33, 212, 253, 0.18), transparent 60%),
    radial-gradient(700px 400px at -10% 0%, rgba(124, 92, 255, 0.22), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow.center { display: block; text-align: center; }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #c9cfe0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.hero-meta strong { color: var(--text); font-weight: 600; }

/* ===== Phone mockup ===== */
.hero-art { display: flex; justify-content: center; }
.phone {
  width: 320px;
  height: 640px;
  background: linear-gradient(160deg, #1c2030 0%, #0f1320 100%);
  border-radius: 44px;
  padding: 14px;
  position: relative;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.04);
  transform: rotate(-2deg);
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0c14;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #1d2233;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 44px 16px 14px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid #1a1f2e;
}
.chat-header .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}
.chat-body {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.msg {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  max-width: 85%;
  line-height: 1.45;
}
.msg.user {
  align-self: flex-end;
  background: var(--accent-grad);
  color: white;
  border-bottom-right-radius: 4px;
}
.msg.ai {
  align-self: flex-start;
  background: #161a26;
  border: 1px solid #222842;
  border-bottom-left-radius: 4px;
  color: #d6dbe8;
}
.ai-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 3px;
}
.tool {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: #b6bdd0;
  background: #11141e;
  border: 1px dashed #2a3148;
  padding: 6px 9px;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.tool-tag {
  background: rgba(124, 92, 255, 0.18);
  color: #b8a9ff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
}
.tool code { background: transparent; border: 0; padding: 0; color: #e7e9f0; }
.tab-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #1a1f2e;
  padding: 10px 4px 14px;
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
}
.tab-bar span.active { color: var(--accent-2); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  text-align: center;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 820px;
}
.section-title.left { text-align: left; margin-left: 0; }
.section-lede {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 56px;
  font-size: 17px;
}

/* ===== Grid cards ===== */
.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #2f3650;
  background: #1a1f2c;
}
.card-icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ===== Tools table ===== */
.tools-table {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}
.tools-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.tools-row:last-child { border-bottom: 0; }
.tools-head {
  background: #1a1f2c;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}
.tools-row div:nth-child(2) { color: var(--muted); }
.footnote {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

/* ===== Steps ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps li {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 22px rgba(124, 92, 255, 0.35);
}
.steps h3 { margin: 0 0 8px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== Privacy ===== */
.privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.privacy-grid p { color: var(--muted); }
.bullets { list-style: none; padding: 0; margin: 20px 0 28px; }
.bullets li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(33, 212, 253, 0.5);
}
.callout {
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.10), rgba(33, 212, 253, 0.06));
  border: 1px solid #2a2f4a;
  border-radius: var(--radius);
  padding: 28px;
}
.callout h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.callout p { color: var(--muted); margin: 0 0 12px; font-size: 14.5px; }
.callout p:last-child { margin: 0; }

/* ===== CTA band ===== */
.cta-band {
  padding: 80px 0;
  background:
    radial-gradient(600px 300px at 0% 50%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(600px 300px at 100% 50%, rgba(33, 212, 253, 0.18), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
}
.cta-band p { margin: 0; color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .phone { transform: rotate(0); width: 280px; height: 560px; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .grid-5 { grid-template-columns: 1fr; }
  .tools-row { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 80px; }
}
