:root {
  --bg-canvas: #060911;
  --bg-elevated: rgba(13, 18, 30, 0.78);
  --bg-card: rgba(16, 22, 36, 0.65);
  --bg-card-hover: rgba(21, 29, 46, 0.85);
  --bg-inset: rgba(8, 12, 20, 0.85);

  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-highlight: rgba(56, 189, 248, 0.3);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --sky: #38BDF8;
  --sky-soft: rgba(56, 189, 248, 0.14);
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.13);
  --violet: #A78BFA;

  --font-sans: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Background */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.48;
}

.orb-1 {
  width: 640px;
  height: 460px;
  top: -180px;
  left: 12%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
}

.orb-2 {
  width: 580px;
  height: 440px;
  top: 40px;
  right: 8%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 100%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 9, 17, 0.76);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.025);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.lang-toggle:hover {
  border-color: var(--border-strong);
}

.lang-option.active {
  color: var(--text-primary);
}

.lang-sep {
  opacity: 0.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease-out), background 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.btn-primary {
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  color: #060911;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px -6px rgba(248, 250, 252, 0.25);
}

.btn-primary:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 12px 28px -6px rgba(248, 250, 252, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-hairline);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border-hairline);
  background: rgba(6, 9, 17, 0.96);
  gap: 12px;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 6px 0;
}

/* Hero */
.hero {
  padding: 68px 0 44px;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.eyebrow-pill.small {
  margin-bottom: 16px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pulseRing 2.4s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 4.6vw, 3.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 30px;
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust-strip {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dot-sep {
  opacity: 0.5;
}

/* Interactive Command Center Preview */
.ledger-preview {
  margin-top: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 32px 80px -24px rgba(0, 0, 0, 0.85),
    0 0 80px -30px rgba(56, 189, 248, 0.16);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.preview-url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-hairline);
}

.currency-switcher {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-hairline);
}

.curr-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}

.curr-btn:hover {
  color: var(--text-primary);
}

.curr-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.preview-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kpi-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: rgba(8, 12, 20, 0.65);
  transition: border-color 0.2s;
}

.kpi-card:hover {
  border-color: var(--border-strong);
}

.kpi-card.highlight-amber {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(8, 12, 20, 0.72) 100%);
}

.kpi-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.kpi-value {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.kpi-delta {
  margin-top: 6px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kpi-delta.positive { color: var(--emerald); }
.kpi-delta.neutral { color: var(--sky); }
.kpi-delta.amber { color: var(--amber); }

.preview-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

.chart-panel,
.sources-panel {
  min-width: 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: rgba(8, 12, 20, 0.62);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-head h3 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.panel-sub {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.chart-legend {
  display: flex;
  gap: 14px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend em {
  font-style: normal;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.emerald { background: var(--emerald); }
.legend-dot.sky { background: var(--sky); }

.svg-chart-wrap {
  width: 100%;
}

.cashflow-svg {
  width: 100%;
  height: auto;
  display: block;
}

.sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  color: var(--emerald);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--emerald-soft);
}

.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.source-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.source-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.source-info > div {
  min-width: 0;
}

.source-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.source-tag.card { background: rgba(248, 250, 252, 0.1); color: #E2E8F0; }
.source-tag.fx { background: var(--sky-soft); color: var(--sky); }
.source-tag.crypto { background: rgba(167, 139, 250, 0.16); color: var(--violet); }
.source-tag.shop { background: var(--amber-soft); color: var(--amber); }

.source-name {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.source-amount {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.source-amount.positive {
  color: var(--emerald);
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-header {
  max-width: 660px;
  margin-bottom: 40px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sky);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Bento Aggregation Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.bento-card {
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  background: var(--bg-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.bento-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  margin-bottom: 18px;
}

.bento-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.bento-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.bento-card p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
}

/* AI Copilot & Diagnostics Workspace */
.intelligence-workspace {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.ai-chat-card,
.diagnostic-card {
  min-width: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ai-orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E0F2FE, #38BDF8 48%, #0284C7 100%);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  flex-shrink: 0;
}

.chat-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.chat-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-reset-chat {
  border: 1px solid var(--border-hairline);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-reset-chat:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.chat-messages {
  flex: 1;
  min-height: 280px;
  max-height: 360px;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg {
  max-width: 90%;
  padding: 11px 14px;
  border-radius: 13px;
  font-size: 0.89rem;
  line-height: 1.6;
  animation: fadeUp 0.25s var(--ease-out);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg.user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.msg.ai {
  align-self: flex-start;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

.msg.ai strong {
  color: var(--text-primary);
}

.msg-card {
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.msg-metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  gap: 10px;
}

.msg-metric span:last-child {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.prompt-chips {
  padding: 10px 20px 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.prompt-chip {
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.77rem;
  padding: 6px 11px;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.prompt-chip:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.32);
  color: var(--text-primary);
}

.chat-input-form {
  padding: 12px 16px 16px;
  display: flex;
  gap: 10px;
}

.chat-input-form input {
  flex: 1;
  background: var(--bg-inset);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-form input:focus {
  border-color: var(--sky);
}

.btn-send {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--text-primary);
  color: var(--bg-canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s, background 0.18s;
}

.btn-send:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

/* Diagnostic Panel */
.diag-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
  gap: 6px;
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(0, 0, 0, 0.22);
}

.diag-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 8px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}

.diag-tab:hover {
  color: var(--text-primary);
}

.diag-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.diag-panel {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diag-panel[hidden] {
  display: none;
}

.diag-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.diag-eyebrow {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.diag-eyebrow.amber { background: var(--amber-soft); color: var(--amber); }
.diag-eyebrow.sky { background: var(--sky-soft); color: var(--sky); }
.diag-eyebrow.emerald { background: var(--emerald-soft); color: var(--emerald); }

.diag-summary h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.diag-total {
  text-align: right;
  flex-shrink: 0;
}

.diag-total span {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

.diag-total small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.amber-text { color: var(--amber); }
.sky-text { color: var(--sky); }
.emerald-text { color: var(--emerald); }

.zombie-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zombie-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-hairline);
  background: rgba(8, 12, 20, 0.55);
  transition: opacity 0.2s, border-color 0.2s;
}

.zombie-item.dismissed {
  opacity: 0.52;
  border-style: dashed;
}

.zombie-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.z-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--amber-soft);
  color: var(--amber);
  white-space: nowrap;
}

.z-badge em {
  font-style: normal;
}

.z-badge.dup {
  background: var(--sky-soft);
  color: var(--sky);
}

.z-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.z-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.z-action-btn {
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.z-action-btn:hover {
  background: var(--emerald-soft);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald);
}

.zombie-item.dismissed .z-action-btn {
  background: var(--emerald-soft);
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Optimization List */
.opt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opt-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-hairline);
  background: rgba(8, 12, 20, 0.55);
}

.opt-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.opt-item h5 {
  margin: 0 0 5px;
  font-size: 0.92rem;
  font-weight: 600;
}

.opt-item p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Income Bars */
.income-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inc-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 6px;
  gap: 8px;
}

.inc-head span:first-child {
  color: var(--text-secondary);
}

.inc-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.inc-fill {
  height: 100%;
  border-radius: 999px;
}

.inc-fill.emerald { background: var(--emerald); }
.inc-fill.sky { background: var(--sky); }
.inc-fill.violet { background: var(--violet); }
.inc-fill.slate { background: #94A3B8; }

.inc-insight-box {
  margin-top: auto;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.22);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.inc-insight-box strong {
  color: var(--emerald);
}

/* Security Banner */
.security-banner {
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hairline);
  background: linear-gradient(180deg, rgba(16, 22, 36, 0.72) 0%, rgba(8, 12, 20, 0.82) 100%);
}

.security-head {
  max-width: 620px;
  margin-bottom: 32px;
}

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

.sec-item {
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
}

.sec-num {
  font-size: 0.78rem;
  color: var(--emerald);
  margin-bottom: 10px;
}

.sec-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.sec-item p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Waitlist */
.waitlist-section {
  padding-bottom: 92px;
}

.waitlist-card {
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.14), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.1), transparent 45%),
    rgba(13, 18, 30, 0.88);
  text-align: center;
}

.waitlist-copy {
  max-width: 600px;
  margin: 0 auto 28px;
}

.waitlist-form {
  max-width: 560px;
  margin: 0 auto;
}

.focus-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.focus-pill {
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.18s;
}

.focus-pill.active {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--text-primary);
}

.wl-input-row {
  display: flex;
  gap: 10px;
}

.wl-input-row input {
  flex: 1;
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s;
}

.wl-input-row input:focus {
  border-color: var(--sky);
}

.wl-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.waitlist-success {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 0 4px;
}

.waitlist-success[hidden] {
  display: none;
}

.success-badge {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.waitlist-success h3 {
  margin: 0 0 8px;
}

.waitlist-success p {
  margin: 0 0 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 28px 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand,
.footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand .brand-name {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.footer-meta a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-split,
  .intelligence-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .header-actions .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 44px 0 32px;
  }

  .bento-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-banner,
  .waitlist-card {
    padding: 28px 20px;
  }

  .wl-input-row {
    flex-direction: column;
  }

  .wl-input-row .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .brand-domain {
    display: none;
  }

  .hero-title br {
    display: none;
  }

  .eyebrow-pill {
    font-size: 0.72rem;
    padding: 5px 11px;
    max-width: 100%;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .preview-topbar {
    justify-content: center;
    padding: 12px;
  }

  .window-dots,
  .preview-url {
    display: none;
  }

  .curr-btn {
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .preview-body {
    padding: 14px;
  }

  .chart-panel,
  .sources-panel {
    padding: 14px;
  }

  .diag-tabs {
    grid-template-columns: 1fr;
  }

  .zombie-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .z-action-btn {
    align-self: flex-end;
  }
}
