/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #07071a;
  --bg2:      #0d0d26;
  --bg3:      #12122e;
  --accent:   #4f9eff;
  --accent2:  #7b5fff;
  --text:     #e8e8f4;
  --dim:      rgba(232,232,244,0.5);
  --dimmer:   rgba(232,232,244,0.28);
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);
  --card:     rgba(255,255,255,0.03);
  --radius:   16px;
  --shadow:   0 32px 80px rgba(0,0,0,0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(79,158,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(79,158,255,0.25);
  padding: 4px 12px; border-radius: 99px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(7,7,26,0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 0 28px; height: 60px;
}
.nav-logo {
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo .logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 14px; color: var(--dim); font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  border: none; cursor: pointer; transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: scale(0.97) translateY(0); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(79,158,255,0.3);
}
.btn-ghost {
  background: transparent; color: var(--dim);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: 12px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(79,158,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
}
.hero-badge { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px; color: var(--dim); line-height: 1.7;
  max-width: 440px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-platforms {
  margin-top: 28px;
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--dimmer);
}
.hero-platforms .plat {
  display: flex; align-items: center; gap: 5px; font-weight: 500;
}
.hero-platforms svg { opacity: 0.5; }

/* ── App mockup ───────────────────────────────────────────────────────────── */
.app-mockup {
  position: relative;
}
.app-mockup::before {
  content: '';
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(79,158,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.app-window {
  background: rgba(13,13,38,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 48px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.app-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app-titlebar .dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.dot-red   { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.app-title {
  flex: 1; text-align: center; font-size: 11px;
  color: rgba(255,255,255,0.3); font-weight: 500;
  margin-left: -47px;
}
.app-body {
  display: grid; grid-template-columns: 52px 1fr;
  height: 340px;
}
.app-sidebar {
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 0; gap: 4px;
}
.sb-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; transition: background 0.15s;
  color: rgba(255,255,255,0.35);
}
.sb-icon.active {
  background: rgba(79,158,255,0.12);
  color: var(--accent);
}
.sb-icon:hover { background: rgba(255,255,255,0.05); }
.app-chat {
  display: flex; flex-direction: column;
  flex: 1; overflow: hidden;
  padding: 16px; gap: 14px;
}
.chat-msg {
  display: flex; flex-direction: column; gap: 4px;
}
.chat-msg.user { align-items: flex-end; }
.chat-msg.proton { align-items: flex-start; }
.chat-bubble {
  max-width: 88%; padding: 10px 14px;
  border-radius: 14px; font-size: 12px; line-height: 1.5;
}
.chat-msg.user .chat-bubble {
  background: rgba(79,158,255,0.15);
  border: 1px solid rgba(79,158,255,0.2);
  color: rgba(255,255,255,0.9);
}
.chat-msg.proton .chat-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
}
.chat-label { font-size: 10px; color: rgba(255,255,255,0.28); font-weight: 500; }
.app-input-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 10px;
  display: flex; gap: 8px; align-items: center;
  flex-shrink: 0;
}
.app-input-fake {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px; padding: 6px 10px;
  font-size: 11px; color: rgba(255,255,255,0.2);
}
.app-send {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(79,158,255,0.2); border: 1px solid rgba(79,158,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.blink {
  display: inline-block; width: 7px; height: 14px;
  background: var(--accent); border-radius: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom; margin-left: 2px;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Section common ───────────────────────────────────────────────────────── */
section { padding: 100px 0; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--dim); line-height: 1.7;
  max-width: 540px;
}
.section-header { margin-bottom: 60px; }

/* ── Features grid ────────────────────────────────────────────────────────── */
.features { background: var(--bg2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--bg2);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(79,158,255,0.04); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(79,158,255,0.1);
  border: 1px solid rgba(79,158,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 20px;
}
.feature-title {
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px; color: var(--dim); line-height: 1.6;
}

/* ── Voice section ────────────────────────────────────────────────────────── */
.voice-section {
  position: relative; overflow: hidden;
}
.voice-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(123,95,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.voice-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 72px;
}
.voice-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.voice-orb {
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,95,255,0.25) 0%, rgba(79,158,255,0.08) 50%, transparent 70%);
  border: 1px solid rgba(123,95,255,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: pulse-orb 3s ease-in-out infinite;
}
.voice-orb::before, .voice-orb::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1px solid rgba(123,95,255,0.12);
  animation: ring 3s ease-out infinite;
}
.voice-orb::before { width: 280px; height: 280px; animation-delay: 0s; }
.voice-orb::after  { width: 340px; height: 340px; animation-delay: 0.8s; }
@keyframes ring {
  0%   { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 0;   transform: scale(1.1); }
}
@keyframes pulse-orb {
  0%,100% { box-shadow: 0 0 40px rgba(123,95,255,0.15); }
  50%      { box-shadow: 0 0 80px rgba(123,95,255,0.3); }
}
.voice-mic-icon { font-size: 48px; }
.voice-pills {
  display: flex; flex-direction: column; gap: 10px; margin-top: 24px;
}
.voice-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 99px;
  width: fit-content;
}
.voice-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing { background: var(--bg2); }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 860px; margin: 0 auto;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: rgba(79,158,255,0.35);
  background: rgba(79,158,255,0.04);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 99px;
}
.plan-name {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 16px;
}
.plan-price {
  font-size: 48px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 4px;
}
.plan-price span { font-size: 18px; font-weight: 500; color: var(--dim); vertical-align: super; margin-right: 6px; }
.plan-period { font-size: 13px; color: var(--dim); margin-bottom: 28px; }
.plan-cta { width: 100%; justify-content: center; margin-bottom: 28px; font-size: 15px; }
.plan-divider {
  height: 1px; background: var(--border); margin-bottom: 24px;
}
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--dim);
}
.plan-features li .check { color: var(--accent); font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.plan-features li .cross { color: var(--dimmer); margin-top: 1px; flex-shrink: 0; }
.plan-features li.muted { color: var(--dimmer); }
.plan-note {
  margin-top: 20px; font-size: 12px; color: var(--dimmer);
  text-align: center; line-height: 1.5;
}

/* ── Download section ─────────────────────────────────────────────────────── */
.download { text-align: center; }
.download .section-sub { margin: 0 auto 40px; }
.download-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.platform-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border2);
  border-radius: 12px; padding: 14px 24px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.platform-btn:hover {
  background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px); text-decoration: none; color: var(--text);
}
.platform-btn svg { flex-shrink: 0; }
.platform-btn-sub { font-size: 11px; color: var(--dim); font-weight: 400; display: block; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dimmer);
  display: flex; align-items: center; gap: 8px;
}
.footer-links {
  display: flex; gap: 24px; list-style: none; flex-wrap: wrap;
}
.footer-links a { font-size: 13px; color: var(--dimmer); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 12px; color: var(--dimmer); }

/* ── PROTON strip ────────────────────────────────────────────────────────── */
.proton-strip {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.proton-cell {
  flex: 1;
  position: relative;
  padding: 36px 28px 32px;
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.25s;
}
.proton-cell:last-child { border-right: none; }
.proton-cell:hover { background: rgba(79,158,255,0.04); }
.proton-cell-to { flex: 1.1; }
.proton-bg-letter {
  position: absolute;
  bottom: -16px; right: -8px;
  font-size: 96px; font-weight: 900; line-height: 1;
  letter-spacing: -4px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.25s;
}
.proton-cell:hover .proton-bg-letter { opacity: 0.13; }
.proton-cell-word {
  font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
  position: relative;
}
.proton-cell-word::before {
  content: attr(data-letter);
}
.proton-cell-desc {
  font-size: 13px; color: var(--dim); line-height: 1.65;
  position: relative;
}

/* ── Deep sections (alternating text/visual) ─────────────────────────────── */
.deep-section {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 72px;
}
.deep-section.reverse { direction: rtl; }
.deep-section.reverse > * { direction: ltr; }

.feature-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.fpill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--dim); padding: 5px 12px; border-radius: 99px;
}

/* ── Code card ───────────────────────────────────────────────────────────── */
.code-card {
  background: rgba(7,7,26,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.code-header {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.code-body {
  padding: 20px 22px; font-size: 12px; line-height: 1.8;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  color: rgba(255,255,255,0.7); white-space: pre; overflow-x: auto;
}
.ck { color: #c792ea; } /* keyword */
.cv { color: #82aaff; } /* variable */
.cs { color: #c3e88d; } /* string */
.cf { color: #82aaff; } /* function */

/* ── Project card visual ─────────────────────────────────────────────────── */
.project-card-visual {
  background: rgba(13,13,38,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.pv-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pv-dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf7d; box-shadow: 0 0 6px #4caf7d; }
.pv-name { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.pv-divider { height: 1px; background: var(--border); margin: 14px 0; }
.pv-row { display: flex; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.pv-key { color: var(--dimmer); min-width: 60px; font-weight: 500; }
.pv-val { color: var(--text); }

/* ── Signals visual ──────────────────────────────────────────────────────── */
.signals-visual {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.signal-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: rgba(13,13,38,0.95);
  transition: background 0.2s;
}
.signal-item.active { background: rgba(79,158,255,0.06); }
.signal-status {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: signal-pulse 1.5s ease-in-out infinite;
}
.signal-status.idle { background: rgba(255,255,255,0.2); box-shadow: none; animation: none; }
@keyframes signal-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.signal-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.signal-sub { font-size: 11px; color: var(--dim); }
.signal-badge {
  margin-left: auto; flex-shrink: 0;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(255,255,255,0.05); color: var(--dimmer);
  border: 1px solid var(--border);
}
.signal-badge.triggered {
  background: rgba(79,158,255,0.1); color: var(--accent);
  border-color: rgba(79,158,255,0.3);
}

/* ── Two-col explain ─────────────────────────────────────────────────────── */
.two-col-explain {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 24px;
}
.explain-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.explain-icon { font-size: 32px; margin-bottom: 16px; }
.explain-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.explain-desc { font-size: 14px; color: var(--dim); line-height: 1.7; }

/* ── Atom examples ───────────────────────────────────────────────────────── */
.atom-examples {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.atom-example-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.atom-example-card:hover { border-color: rgba(79,158,255,0.25); transform: translateY(-3px); }
.atom-ex-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.atom-ex-icon { font-size: 28px; }
.atom-ex-name { font-size: 15px; font-weight: 700; }
.atom-ex-sub { font-size: 12px; color: var(--dim); }
.atom-electrons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.electron-tag {
  font-size: 11px; font-weight: 500;
  background: rgba(79,158,255,0.08); color: var(--accent);
  border: 1px solid rgba(79,158,255,0.2);
  padding: 4px 10px; border-radius: 99px;
}
.atom-ex-desc { font-size: 13px; color: var(--dim); line-height: 1.65; }

/* ── AI Providers ────────────────────────────────────────────────────────── */
.providers-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 32px;
}
.provider-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color 0.2s;
}
.provider-card:hover { border-color: var(--border2); }
.provider-logo {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900; margin-bottom: 16px;
}
.provider-logo.anthropic { background: rgba(210,130,60,0.15); color: #d2824a; border: 1px solid rgba(210,130,60,0.25); }
.provider-logo.openai    { background: rgba(100,180,100,0.12); color: #6ab46a; border: 1px solid rgba(100,180,100,0.25); }
.provider-logo.google    { background: rgba(79,158,255,0.1);  color: var(--accent); border: 1px solid rgba(79,158,255,0.25); }
.provider-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.provider-models { font-size: 12px; color: var(--dim); margin-bottom: 14px; font-weight: 500; }
.provider-desc { font-size: 13px; color: var(--dim); line-height: 1.65; margin-bottom: 16px; }
.provider-key-note {
  font-size: 11px; color: var(--dimmer);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 12px; line-height: 1.5;
}
.byok-note {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(79,158,255,0.05);
  border: 1px solid rgba(79,158,255,0.2);
  border-radius: var(--radius); padding: 28px 32px;
}
.byok-icon { font-size: 28px; flex-shrink: 0; }
.byok-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.byok-desc { font-size: 14px; color: var(--dim); line-height: 1.7; }

/* ── Responsive additions ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .deep-section, .deep-section.reverse { grid-template-columns: 1fr; direction: ltr; }
  .two-col-explain { grid-template-columns: 1fr; }
  .atom-examples { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: 1fr; }
  .proton-strip { flex-direction: column; }
  .proton-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .proton-cell:last-child { border-bottom: none; }
  .proton-bg-letter { font-size: 72px; }
}

/* ── Legal pages ──────────────────────────────────────────────────────────── */
.legal-page {
  max-width: 720px; margin: 0 auto; padding: 120px 28px 80px;
}
.legal-page h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal-page .updated { font-size: 13px; color: var(--dim); margin-bottom: 48px; }
.legal-page h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; }
.legal-page p { font-size: 15px; color: var(--dim); line-height: 1.8; margin-bottom: 14px; }
.legal-page ul { padding-left: 22px; color: var(--dim); font-size: 15px; line-height: 1.8; }
.legal-page ul li { margin-bottom: 6px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .voice-inner { grid-template-columns: 1fr; }
  .app-mockup { width: 100%; margin-top: 40px; }
  .app-window { width: 100%; }
  .app-body { height: 340px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .voice-inner { text-align: center; }
  .voice-pills { align-items: center; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .download-btns { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ── App mockup panel views ─────────────────────────────────────────────── */
.mock-panel {
  display: flex; flex-direction: column; flex: 1; overflow: hidden;
  padding: 14px 14px 14px 12px;
}
.mock-panel-title {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
}

/* Memory */
.mock-memory-list { display: flex; flex-direction: column; gap: 7px; }
.mock-memory-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 10.5px; color: rgba(255,255,255,0.6); line-height: 1.4;
}
.mock-mem-tag {
  font-size: 9px; font-weight: 600; padding: 1px 6px; border-radius: 4px;
  background: rgba(79,158,255,0.12); color: var(--accent);
  white-space: nowrap; margin-top: 1px; flex-shrink: 0;
}

/* Skills & Signals shared list */
.mock-skill-list { display: flex; flex-direction: column; gap: 6px; }
.mock-skill-item {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; padding: 7px 10px;
}
.mock-skill-icon { font-size: 14px; flex-shrink: 0; }
.mock-skill-name { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.8); }
.mock-skill-desc { font-size: 9.5px; color: rgba(255,255,255,0.35); margin-top: 1px; }

/* Signal active dot */
.mock-sig-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.15); margin-left: auto; flex-shrink: 0;
}
.mock-sig-dot.active { background: #22c55e; box-shadow: 0 0 5px #22c55e88; }

/* Settings */
.mock-settings-list { display: flex; flex-direction: column; gap: 1px; }
.mock-setting-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-setting-label { font-size: 10px; color: rgba(255,255,255,0.4); }
.mock-setting-val { font-size: 10px; color: rgba(255,255,255,0.65); font-weight: 500; }
.mock-toggle-on { color: var(--accent) !important; }

/* ── Knowledge graph ────────────────────────────────────────────────────── */
@keyframes kg-pulse {
  0%, 100% { opacity: 0.15; r: 22; }
  50%       { opacity: 0.04; r: 28; }
}
.kg-graph {
  width: 100%; margin-top: 4px; flex-shrink: 0;
}
.kg-edge     { stroke: rgba(79,158,255,0.2); stroke-width: 1; }
.kg-edge-dim { stroke: rgba(255,255,255,0.07); stroke-width: 0.8; }
.kg-pulse       { fill: rgba(79,158,255,0.12); stroke: none; animation: kg-pulse 2.8s ease-in-out infinite; }
.kg-node-center { fill: #0f1a2e; stroke: rgba(79,158,255,0.7); stroke-width: 1.5; }
.kg-node        { fill: #141428; stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.kg-node-dim    { fill: #141428; stroke: rgba(255,255,255,0.12); stroke-width: 0.8; }
.kg-label-center { fill: rgba(79,158,255,0.95); font-size: 7px; font-weight: 700; text-anchor: middle; font-family: Inter, sans-serif; }
.kg-label        { fill: rgba(255,255,255,0.55); font-size: 6px; font-weight: 600; text-anchor: middle; font-family: Inter, sans-serif; }
.kg-label-dim    { fill: rgba(255,255,255,0.28); font-size: 5.5px; text-anchor: middle; font-family: Inter, sans-serif; }

/* ── View switch animation ───────────────────────────────────────────────── */
@keyframes viewIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.app-view.animating {
  animation: viewIn 0.18s ease forwards;
}
