
/* AEGIS Home Sections — v1.7.1 */
.aegis-landing{--bg:#0b0b0f;--surface:#121218;--text:#e7e7ea;--muted:#a6a6ad;
  --teal:#10b8c7; --teal2:#27d6ea; --purple1:#7a40ff; --purple2:#a07cff; --g1:#8a93a1; --g2:#c0c7d2;
  --ring-outer:#2bb7a7; --ring-mid:#8156ff; --ring-inner:#8b93a8; --accent:#25c3e6; --gold:#d4af37}
.aegis-landing *{box-sizing:border-box}
.aegis-wrap{max-width:1200px;margin:0 auto;padding:32px 18px}
.aegis-section{margin:36px 0;padding:22px;border-radius:14px;background:linear-gradient(180deg,#121218,#0d0d13);border:1px solid #1b1b23;box-shadow:0 8px 28px rgba(0,0,0,.35)}
.aegis-head{display:flex;gap:10px;align-items:center;margin-bottom:18px}
.aegis-head h2{color:#fff;margin:0}

/* ---------- HERO ---------- */
.hero{padding:48px 22px 18px;border-radius:18px;background:linear-gradient(180deg,#111726,#0b121d);border:1px solid #1b2232;text-align:center}
.hero .brand{font-size:56px;font-weight:900;line-height:1.1;margin:0;
  background:linear-gradient(90deg,#39c2ff,#a166ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .subtitle{margin-top:8px;color:#b8c0ce;font-size:20px}
.hero h2{margin:42px 0 10px;color:#fff;font-size:34px}
.hero p{max-width:900px;margin:0 auto;color:#c6cad4;font-size:18px;line-height:1.7}
@media(max-width:720px){.hero .brand{font-size:40px}.hero h2{font-size:28px}}

/* ---------- SVG Layers Diagram ---------- */
.layers-diagram-wrap{display:grid;place-items:center}
.layers-diagram{width:min(95vw,900px);height:auto;display:block;filter:drop-shadow(0 20px 60px rgba(0,0,0,.35))}
.layers-diagram text{font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;fill:#dfe3ea;paint-order:stroke fill;stroke:#0b0b0f;stroke-width:3px}
.layers-diagram .t-center{font-size:22px;font-weight:800;fill:#fff;stroke-width:0}
.layers-diagram .t-accent{font-size:19px;font-weight:800;fill:#25c3e6;stroke-width:0}
.layers-diagram .t-sub{font-size:17px;fill:#dfe3ea;stroke-width:0}
.layers-diagram .t-curve{font-size:18px;letter-spacing:.2px;text-anchor:middle}
.layers-diagram .t-purple{fill:#b987ff}
.layers-diagram .ring-outer{stroke:var(--ring-outer);stroke-width:4;fill:none;opacity:.9}
.layers-diagram .ring-mid{stroke:var(--ring-mid);stroke-width:4;fill:none;opacity:.85}
.layers-diagram .ring-inner{stroke:var(--ring-inner);stroke-width:4;fill:none;opacity:.8}

/* ---------- Five Pillars ---------- */
.pillars5{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.p5-card{background:#0f1420;border:1px solid #1e2633;border-radius:16px;padding:24px;text-align:center}
.p5-ico{font-size:44px;line-height:1.1;margin-bottom:8px}
.p5-title{color:#fff;font-weight:800;font-size:20px;margin-bottom:6px}
.p5-desc{color:#c4c8d3}
@media(max-width:1100px){.pillars5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.pillars5{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.pillars5{grid-template-columns:1fr}}

/* ---------- Pillar Weights Bar Chart (vivid) ---------- */
.weights-chart{padding:20px;border-radius:14px;background:#16202c;border:1px solid #283241}
.chart-row{display:grid;grid-template-columns:240px 1fr;gap:18px;align-items:center;margin:18px 0}
.chart-label{color:#dfe3ea;text-align:right}
.chart-bar{height:42px;border-radius:10px;position:relative;background:#0e1722;border:1px solid #243042;overflow:hidden;
  background-image: linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px), linear-gradient(#0e1722,#0e1722);
  background-size:30px 100%,100% 100%; background-repeat:repeat,no-repeat}
.chart-fill{height:100%;width:var(--w,0%);position:relative;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 16px rgba(0,0,0,.35)}
.chart-fill::after{content:"";position:absolute;left:0;right:0;top:0;height:40%;pointer-events:none;
  background:linear-gradient(to bottom,rgba(255,255,255,.18),rgba(255,255,255,0))}
.chart-fill.teal{background:linear-gradient(90deg,var(--teal),var(--teal2))}
.chart-fill.purple{background:linear-gradient(90deg,var(--purple1),var(--purple2))}
.chart-fill.gray{background:linear-gradient(90deg,var(--g1),var(--g2))}
.chart-note{margin-top:12px;color:#c6cad4;text-align:center}

/* ---------- Score Snapshot Donuts (kept at bottom) ---------- */
.score-grid{display:grid;gap:18px;grid-template-columns:repeat(5,minmax(0,1fr))}
.score-item{display:grid;gap:8px;justify-items:center;background:#0f0f15;border:1px solid #222230;border-radius:12px;padding:18px}
.ring-wrap{position:relative;width:120px;height:120px;display:grid;place-items:center}
.ring-bg,.ring-fg{position:absolute;inset:0;border-radius:50%}
.ring-bg{background:conic-gradient(#262835 0 100%)}
.ring-fg{--p:0;background:conic-gradient(var(--gold) calc(var(--p)*1%), #262835 0)}
.ring-hole{position:absolute;width:82px;height:82px;border-radius:50%;background:#0f1320;border:1px solid #242434;box-shadow:inset 0 0 0 1px #0d0d13}
.ring-text{position:relative;color:#fff;font-weight:800}
.score-label{color:#fff;font-weight:700}
