/* ============================================================
   SWISS RESILIENCE NAVIGATOR 2.5 — Design tokens & components
   ============================================================ */
:root {
  --navy: #0F172A;
  --navy-2: #0B1220;
  --navy-3: #111a2e;
  --white: #F8FAFC;
  --muted: #94A3B8;
  --muted-2: #64748B;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);
  --crimson: #D52B1E;
  --crimson-2: #B71D12;
  --emerald: #059669;
  --emerald-2: #10B981;
  --gold: #D97706;
  --gold-2: #F59E0B;
  --blue: #2563EB;
  --blue-2: #3B82F6;
  --panel: rgba(30, 41, 59, 0.70);
  --panel-2: rgba(30, 41, 59, 0.55);
  --panel-3: rgba(30, 41, 59, 0.35);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(213, 43, 30, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(5, 150, 105, 0.08), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(217, 119, 6, 0.06), transparent 60%),
    var(--navy);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font-family: inherit; }

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

/* ---------- TOP BANNER ---------- */
.top-banner {
  background: linear-gradient(90deg, rgba(217,119,6,0.18) 0%, rgba(37,99,235,0.16) 100%);
  border-bottom: 1px solid rgba(217,119,6,0.35);
  padding: 9px 0;
  font-size: 12.5px;
  letter-spacing: 0.005em;
  position: relative;
  z-index: 60;
}
.top-banner .container { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: center; }
.top-banner-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(217,119,6,0.25);
  flex-shrink: 0;
}
.top-banner strong { color: #FEF3C7; font-weight: 600; }
.top-banner-full { color: rgba(255,255,255,0.9); }
@media (max-width: 720px) { .top-banner-full { font-size: 11.5px; text-align: left; } }

/* ---------- NAV ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 12px 0; background: linear-gradient(to bottom, rgba(15,23,42,0.85), rgba(15,23,42,0.0)); backdrop-filter: blur(8px); }
.nav {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.7);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #0B1220, #1a2542);
  border: 1px solid var(--line-2);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { color: var(--muted); font-weight: 500; display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav-links a { font-size: 13.5px; color: #CBD5E1; padding: 8px 11px; border-radius: 8px; transition: background .18s, color .18s; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
@media (max-width: 1080px) { .nav-links { display: none; } .nav { grid-template-columns: auto auto; justify-content: space-between; } }

/* ---------- LANG SWITCHER ---------- */
.lang-toggle { display: inline-flex; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.lang-toggle button { padding: 6px 9px; border-radius: 7px; color: var(--muted); transition: background .15s, color .15s; }
.lang-toggle button.active { background: rgba(255,255,255,0.10); color: #fff; }
.lang-toggle button:hover:not(.active) { color: #E2E8F0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; border-radius: 12px;
  padding: 10px 16px; transition: transform .12s, box-shadow .18s, background .18s, border-color .18s;
  min-height: 42px; line-height: 1; letter-spacing: -0.005em;
}
.btn-primary { background: var(--crimson); color: #fff; box-shadow: 0 10px 30px -10px rgba(213,43,30,0.55); }
.btn-primary:hover { background: var(--crimson-2); transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(213,43,30,0.75); }
.btn-ghost { background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); color: #E2E8F0; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--line-3); }
.btn-gold  { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); }
.btn-blue  { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px rgba(37,99,235,0.5); }
.btn-blue:hover { background: var(--blue-2); }
.btn-lg { padding: 13px 20px; font-size: 15px; min-height: 48px; }
.btn-disabled { background: rgba(255,255,255,0.04); border: 1px dashed var(--line-2); color: var(--muted); cursor: not-allowed; }
.btn-disabled:hover { transform: none; }

/* ---------- SECTIONS ---------- */
section { padding: 84px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }
.eyebrow {
  display: inline-block;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-2);
  padding: 5px 10px; background: rgba(217,119,6,0.10);
  border: 1px solid rgba(217,119,6,0.30); border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 10px; text-wrap: balance; }
.section-sub { color: var(--muted); max-width: 780px; font-size: 15.5px; line-height: 1.6; margin: 0; text-wrap: pretty; }

/* ---------- HERO ---------- */
.hero { padding: 60px 0 40px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; background: rgba(5,150,105,0.10); border: 1px solid rgba(5,150,105,0.30); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6EE7B7; font-family: 'JetBrains Mono', monospace; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-2); box-shadow: 0 0 0 0 rgba(16,185,129,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(16,185,129,0.6); } 70%{ box-shadow: 0 0 0 10px rgba(16,185,129,0);} 100%{ box-shadow: 0 0 0 0 rgba(16,185,129,0);} }
.hero-title { font-size: clamp(34px, 5.5vw, 62px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 22px 0 18px; text-wrap: balance; max-width: 1100px; }
.hero-title .accent { color: var(--gold-2); }
.hero-sub { color: #CBD5E1; font-size: 17px; line-height: 1.6; max-width: 820px; margin: 0 0 34px; text-wrap: pretty; }

/* ---------- HERO TABS ---------- */
.hero-tabs { display: inline-flex; gap: 6px; padding: 6px; background: rgba(15,23,42,0.75); border: 1px solid var(--line-2); border-radius: 14px; margin-top: 8px; }
.hero-tab { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; transition: all .18s; }
.hero-tab .tab-icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,0.04); font-size: 15px; }
.hero-tab-sub { display: block; font-size: 11px; color: var(--muted-2); font-weight: 500; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-tab:hover { color: #E2E8F0; }
.hero-tab.active { background: rgba(255,255,255,0.08); color: #fff; }
.hero-tab.active .tab-icon { background: var(--crimson); color: #fff; }
.hero-tab.active.tab-b .tab-icon { background: var(--blue); }
@media (max-width: 640px) { .hero-tab { padding: 10px 12px; } .hero-tab-sub { display: none; } }

/* ---------- METRIC TILES ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
@media (max-width: 960px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .metrics { grid-template-columns: 1fr; } }
.metric { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 18px 20px; position: relative; overflow: hidden; }
.metric::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--emerald-2); }
.metric.v-crimson::before { background: var(--crimson); }
.metric.v-gold::before { background: var(--gold-2); }
.metric.v-blue::before { background: var(--blue-2); }
.metric-label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.metric-value { font-size: 26px; font-weight: 700; margin: 8px 0 6px; letter-spacing: -0.02em; }
.metric-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- CARD ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-lg { padding: 34px; }
.card-title { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 6px; }
.card-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; line-height: 1.55; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.card-head h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.card-head p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- FIELDS ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.select, .input {
  width: 100%; background: rgba(15,23,42,0.75); border: 1px solid var(--line-2);
  color: #fff; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  transition: border-color .15s, background .15s;
}
.select:hover, .input:hover { border-color: var(--line-3); }
.select:focus, .input:focus { outline: none; border-color: var(--gold-2); background: rgba(15,23,42,0.95); }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2394A3B8' stroke-width='2'><polyline points='6 8 10 12 14 8'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 36px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-btn {
  padding: 9px 13px; border-radius: 10px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2); color: #CBD5E1; font-size: 13px; font-weight: 600;
  transition: all .15s;
}
.pill-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.pill-btn.active { background: rgba(217,119,6,0.16); border-color: rgba(217,119,6,0.5); color: #FEF3C7; }
.pill-btn.active-blue { background: rgba(37,99,235,0.16); border-color: rgba(37,99,235,0.5); color: #DBEAFE; }

.seg { display: inline-flex; padding: 4px; background: rgba(15,23,42,0.7); border: 1px solid var(--line-2); border-radius: 10px; gap: 4px; }
.seg button { padding: 8px 14px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); transition: all .15s; }
.seg button.active { background: rgba(255,255,255,0.10); color: #fff; }

/* ---------- CALCULATOR ---------- */
.calc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

.verdict-panel { background: linear-gradient(160deg, rgba(30,41,59,0.85), rgba(15,23,42,0.9)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.verdict-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.verdict-amount { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.verdict-amount .cur { font-size: 20px; color: var(--muted); font-weight: 600; }
.verdict-amount .per { font-size: 14px; color: var(--muted); font-weight: 500; }
.verdict-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.verdict-fact { padding: 12px 14px; background: rgba(15,23,42,0.65); border: 1px solid var(--line); border-radius: 10px; }
.verdict-fact .label { font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.verdict-fact .value { font-size: 14px; font-weight: 600; margin-top: 4px; color: #E2E8F0; }

.compliance-box { margin-top: 20px; padding: 16px 18px; border-radius: 12px; display: flex; gap: 14px; align-items: flex-start; }
.compliance-box.ok { background: rgba(5,150,105,0.10); border: 1px solid rgba(5,150,105,0.4); }
.compliance-box.warn { background: rgba(213,43,30,0.10); border: 1px solid rgba(213,43,30,0.45); }
.compliance-box.notice { background: rgba(217,119,6,0.10); border: 1px solid rgba(217,119,6,0.40); }
.compliance-box .icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: 15px; }
.compliance-box.ok .icon { background: var(--emerald); color: #fff; }
.compliance-box.warn .icon { background: var(--crimson); color: #fff; }
.compliance-box.notice .icon { background: var(--gold); color: #fff; }
.compliance-box .title { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.compliance-box .body { font-size: 12.5px; color: #CBD5E1; line-height: 1.5; }

.subsidiarity { margin-top: 14px; padding: 10px 14px; background: rgba(15,23,42,0.5); border: 1px dashed var(--line-2); border-radius: 10px; font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.subsidiarity::before { content: 'ℹ'; color: var(--gold-2); font-weight: 700; }

/* ---------- STELLENMELDEPFLICHT ---------- */
.stellen-alert {
  background: linear-gradient(135deg, rgba(217,119,6,0.14), rgba(213,43,30,0.10));
  border: 1px solid rgba(217,119,6,0.45);
  border-left: 4px solid var(--gold-2);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 18px;
}
.stellen-alert .badge { padding: 4px 10px; background: var(--gold); color: #fff; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.stellen-alert .title { font-weight: 700; font-size: 14.5px; color: #FEF3C7; margin-bottom: 6px; }
.stellen-alert .body { font-size: 12.5px; line-height: 1.55; color: #E2E8F0; }

/* ---------- PROFESSION TABLE ---------- */
.prof-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 18px; }
.prof-table thead th { text-align: left; font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; }
.prof-table tbody td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.prof-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.prof-table .isco { font-family: 'JetBrains Mono', monospace; color: var(--muted); font-size: 12px; }
.prof-table .job-title { font-weight: 600; }
.prof-table .job-title-alt { font-size: 11.5px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.prof-table .salary { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #E2E8F0; white-space: nowrap; }
.qbadge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); color: #CBD5E1; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; }
.stellen-flag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: rgba(217,119,6,0.16); border: 1px solid rgba(217,119,6,0.4); color: #FCD34D; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; }
.no-results { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- SIDE B ---------- */
.host-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; }
@media (max-width: 900px) { .host-grid { grid-template-columns: 1fr; } }

.shield-box { background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(15,23,42,0.4)); border: 1px solid rgba(37,99,235,0.35); border-radius: 12px; padding: 18px; margin-bottom: 22px; display: flex; gap: 14px; align-items: flex-start; }
.shield-box .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.shield-box .title { font-weight: 700; font-size: 15px; color: #DBEAFE; margin-bottom: 6px; }
.shield-box .body { font-size: 12.5px; line-height: 1.55; color: #E2E8F0; }

.slider-wrap { margin-top: 6px; }
.slider {
  width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--emerald) 0%, var(--emerald) 50%, var(--gold-2) 75%, var(--crimson) 100%);
  outline: none;
}
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.slider-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); font-family: 'JetBrains Mono', monospace; margin-top: 6px; letter-spacing: 0.08em; text-transform: uppercase; }

.final-rent-box { background: rgba(15,23,42,0.65); border: 1px solid var(--line-2); border-radius: 12px; padding: 18px; margin-top: 18px; text-align: center; }
.final-rent-box .label { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.final-rent-box .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 4px; }
.final-rent-box .amount .cur { font-size: 16px; color: var(--muted); font-weight: 600; }
.final-rent-box .breakdown { font-size: 12px; color: var(--muted); }

.badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mini-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; background: rgba(5,150,105,0.10); border: 1px solid rgba(5,150,105,0.35); color: #6EE7B7; }
.mini-badge.blue { background: rgba(37,99,235,0.10); border-color: rgba(37,99,235,0.35); color: #93C5FD; }
.mini-badge.gold { background: rgba(217,119,6,0.10); border-color: rgba(217,119,6,0.35); color: #FCD34D; }

/* PDF preview mock */
.pdf-preview { background: #F8FAFC; color: #0F172A; border-radius: 12px; padding: 22px 24px; font-size: 12px; line-height: 1.55; font-family: 'Georgia', 'Times New Roman', serif; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); }
.pdf-preview h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; border-bottom: 2px solid #0F172A; padding-bottom: 8px; }
.pdf-preview .pdf-row { display: grid; grid-template-columns: 130px 1fr; gap: 8px; margin: 6px 0; font-size: 11.5px; }
.pdf-preview .pdf-row .k { font-weight: 700; color: #334155; }
.pdf-preview .pdf-close { margin-top: 12px; padding-top: 10px; border-top: 1px solid #E2E8F0; color: #475569; font-size: 11px; font-style: italic; }
.pdf-preview .pdf-sig { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 11px; color: #64748B; }
.pdf-preview .pdf-sig .line { border-top: 1px solid #94A3B8; padding-top: 4px; margin-top: 30px; }

/* ---------- MENTOR TRACKS ---------- */
.tracks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 720px) { .tracks-grid { grid-template-columns: 1fr; } }
.track-card { background: rgba(15,23,42,0.55); border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: border-color .18s, background .18s; }
.track-card:hover { border-color: var(--line-3); background: rgba(15,23,42,0.75); }
.track-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold-2); letter-spacing: 0.14em; font-weight: 700; }
.track-title { font-weight: 700; font-size: 15px; margin: 6px 0 6px; letter-spacing: -0.01em; }
.track-body { font-size: 13px; color: var(--muted); line-height: 1.55; }

.legal-strip { margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: rgba(15,23,42,0.6); border: 1px solid var(--line); font-size: 12.5px; color: #CBD5E1; display: flex; gap: 12px; align-items: flex-start; }
.legal-strip::before { content: '§'; color: var(--gold-2); font-weight: 800; font-size: 16px; line-height: 1; margin-top: 1px; }

/* ---------- BETA PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.price-card.frozen { filter: grayscale(0.6); opacity: 0.72; }
.price-card.donation { background: linear-gradient(160deg, rgba(213,43,30,0.14), rgba(217,119,6,0.10) 100%); border: 1px solid rgba(213,43,30,0.4); box-shadow: 0 20px 50px -20px rgba(213,43,30,0.3); }
.frozen-overlay { position: absolute; top: 16px; right: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(15,23,42,0.9); border: 1px solid var(--line-3); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.price-name { font-size: 13px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; }
.price-amount { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 4px; }
.price-amount .cur { font-size: 18px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.price-amount .per { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price-tagline { color: #CBD5E1; font-size: 13.5px; margin: 10px 0 18px; line-height: 1.55; }
.features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.features li { font-size: 13px; color: #CBD5E1; display: flex; gap: 8px; align-items: flex-start; }
.features .check { width: 16px; height: 16px; border-radius: 999px; background: rgba(5,150,105,0.2); color: var(--emerald-2); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; font-size: 10px; font-weight: 800; }

/* ---------- DONATION MODAL ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(2, 6, 23, 0.75); backdrop-filter: blur(8px); z-index: 200; display: grid; place-items: center; padding: 20px; animation: fadein .18s; }
@keyframes fadein { from{opacity: 0;} to{opacity: 1;} }
.modal {
  width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto;
  background: linear-gradient(160deg, #0F172A, #0B1220);
  border: 1px solid var(--line-2); border-radius: 20px; padding: 32px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.9);
}
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.modal-header h2 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.modal-close { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.modal-close:hover { background: rgba(255,255,255,0.10); color: #fff; }

.split-viz { display: flex; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); margin-bottom: 22px; }
.split-70 { flex: 7; padding: 18px; background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(30,41,59,0.8)); }
.split-30 { flex: 3; padding: 18px; background: linear-gradient(135deg, rgba(217,119,6,0.20), rgba(213,43,30,0.15)); border-left: 1px solid var(--line-2); }
.split-pct { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.split-70 .split-pct { color: var(--emerald-2); }
.split-30 .split-pct { color: var(--gold-2); }
.split-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 560px) { .pay-row { grid-template-columns: 1fr; } }
.pay-card { padding: 16px; border-radius: 12px; background: rgba(15,23,42,0.7); border: 1px solid var(--line-2); text-align: left; }
.pay-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pay-card .head .icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 16px; }
.pay-card .head .title { font-weight: 700; font-size: 14px; }
.pay-card .hint { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.pay-card.stars .head .icon { background: rgba(59,130,246,0.2); color: #93C5FD; }
.pay-card.card  .head .icon { background: rgba(16,185,129,0.2); color: var(--emerald-2); }
.pay-card.qr    .head .icon { background: rgba(213,43,30,0.2); color: #FCA5A5; }

.amount-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.amount-chip { padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); color: #E2E8F0; font-size: 13px; font-weight: 700; font-family: 'JetBrains Mono', monospace; transition: all .15s; }
.amount-chip:hover { background: rgba(255,255,255,0.10); }
.amount-chip.active { background: rgba(213,43,30,0.20); border-color: rgba(213,43,30,0.5); color: #FCA5A5; }

.merkle-strip { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(15,23,42,0.6); border: 1px solid var(--line-2); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.merkle-strip .label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.merkle-strip .hash { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: #6EE7B7; word-break: break-all; }
.merkle-strip a { margin-left: auto; font-size: 12px; color: var(--gold-2); font-weight: 600; }

.modal-actions { margin-top: 22px; display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- FOOTER ---------- */
footer { padding: 60px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; background: rgba(11,18,32,0.6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 14px; font-family: 'JetBrains Mono', monospace; }
.foot-col p { font-size: 13px; color: #CBD5E1; line-height: 1.6; margin: 8px 0; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col ul li a { font-size: 13px; color: #CBD5E1; }
.foot-col ul li a:hover { color: #fff; }

.compliance-row { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.comp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); font-size: 11.5px; color: #CBD5E1; font-weight: 600; }
.foot-legal { margin-top: 24px; font-size: 11.5px; color: var(--muted); line-height: 1.65; text-align: center; }

/* ---------- ANIMATIONS ---------- */
.fade-in { animation: fadeIn .35s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
