
:root{
  --bg:#08080f;
  --bg2:#10101c;
  --card:rgba(255,255,255,.075);
  --card2:rgba(255,255,255,.11);
  --line:rgba(255,255,255,.16);
  --text:#f7f3e8;
  --muted:#b7b0a3;
  --gold:#ffcc66;
  --amber:#ff9f43;
  --orange:#ff6b35;
  --violet:#8d7cff;
  --cyan:#43e7ff;
  --green:#50f0a7;
  --danger:#ff6b8b;
  --shadow:0 26px 70px rgba(0,0,0,.45);
  --radius:26px;
  --radius2:16px;
  --max:1280px;
  --font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(255,204,102,.18), transparent 34rem),
    radial-gradient(circle at 82% 4%, rgba(141,124,255,.22), transparent 34rem),
    linear-gradient(135deg, var(--bg), #111020 52%, #08080f);
  color:var(--text);
  font-family:var(--font);
  min-height:100vh;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
}
button,input,select{font:inherit}
button{cursor:pointer}
.ambient{
  position:fixed;
  width:38rem;
  height:38rem;
  border-radius:999px;
  filter:blur(72px);
  opacity:.18;
  z-index:-1;
  animation:pulse 8s ease-in-out infinite alternate;
}
.ambient-one{background:var(--gold);left:-14rem;top:8rem}
.ambient-two{background:var(--violet);right:-12rem;top:22rem;animation-delay:2s}
@keyframes pulse{to{transform:scale(1.12) translateY(2rem)}}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(18px);
  background:rgba(8,8,15,.68);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.nav{
  max-width:var(--max);
  margin:0 auto;
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  color:var(--text);
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}
.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#16100a;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  box-shadow:0 14px 34px rgba(255,159,67,.22);
}
.brand strong{display:block;letter-spacing:.2px}
.brand small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.nav-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}

.primary-btn,.secondary-btn,.ghost-btn,.icon-btn{
  border:0;
  border-radius:999px;
  min-height:42px;
  padding:0 18px;
  color:var(--text);
  transition:.2s ease;
}
.primary-btn{
  color:#1a1005;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  box-shadow:0 16px 38px rgba(255,159,67,.24);
  font-weight:800;
}
.primary-btn:hover{transform:translateY(-2px);box-shadow:0 22px 46px rgba(255,159,67,.32)}
.secondary-btn{
  background:rgba(255,255,255,.1);
  border:1px solid var(--line);
}
.ghost-btn{
  background:transparent;
  color:var(--muted);
}
.ghost-btn:hover,.secondary-btn:hover{background:rgba(255,255,255,.16);color:var(--text)}
.large{min-height:52px;padding:0 24px}
.icon-btn{width:42px;padding:0;background:rgba(255,255,255,.08);border:1px solid var(--line)}

.hero{
  max-width:var(--max);
  margin:0 auto;
  padding:88px 24px 58px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:44px;
  align-items:center;
}
.eyebrow,.section-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--gold);
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.18em;
  font-weight:800;
}
.eyebrow::before,.section-label::before{
  content:"";
  width:30px;
  height:1px;
  background:var(--gold);
}
h1,h2,h3,p{margin-top:0}
h1{
  font-size:clamp(42px,7vw,82px);
  line-height:.92;
  letter-spacing:-.065em;
  margin:18px 0 24px;
}
h2{
  font-size:clamp(30px,4vw,54px);
  line-height:1;
  letter-spacing:-.045em;
  margin:14px 0 12px;
}
h3{font-size:24px;letter-spacing:-.02em}
.hero-subtitle,.section-head p{
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
  max-width:820px;
}
.hero-search{
  display:flex;
  align-items:center;
  gap:10px;
  max-width:780px;
  padding:9px;
  margin:34px 0 20px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.hero-search input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  color:var(--text);
  background:transparent;
  padding:0 14px;
  min-height:46px;
}
.hero-search input::placeholder{color:rgba(247,243,232,.48)}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.metrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  max-width:680px;
  margin-top:30px;
}
.metrics div{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
}
.metrics strong{display:block;font-size:32px;color:var(--gold)}
.metrics span{font-size:13px;color:var(--muted)}

.hero-panel{
  position:relative;
  min-height:560px;
  border-radius:var(--radius);
  background:
    linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.04)),
    radial-gradient(circle at 70% 20%, rgba(255,204,102,.25), transparent 18rem);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-panel::before{
  content:"";
  position:absolute;
  inset:24px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:24px;
}
.orbital{
  position:absolute;
  inset:44px 34px 130px;
  border-radius:50%;
  border:1px dashed rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  animation:float 5s ease-in-out infinite alternate;
}
@keyframes float{to{transform:translateY(-14px)}}
.core{
  width:150px;
  height:150px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#140f05;
  font-weight:950;
  letter-spacing:.12em;
  background:radial-gradient(circle at 30% 30%,#fff0bd,var(--gold) 45%,var(--orange));
  box-shadow:0 0 80px rgba(255,204,102,.34);
}
.orbital span{
  position:absolute;
  left:50%;
  top:50%;
  padding:9px 13px;
  border-radius:999px;
  transform:
    rotate(calc(var(--i) * 60deg))
    translateX(185px)
    rotate(calc(var(--i) * -60deg));
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.14);
  color:var(--muted);
  font-size:13px;
}
.panel-card{
  position:absolute;
  left:28px;
  right:28px;
  bottom:28px;
  padding:24px;
  border-radius:22px;
  background:rgba(0,0,0,.32);
  border:1px solid var(--line);
  backdrop-filter:blur(18px);
}
.panel-card small{color:var(--gold);text-transform:uppercase;letter-spacing:.14em;font-weight:800}
.panel-card p{margin:8px 0 0;color:var(--text);font-size:18px;line-height:1.5}

.section{
  max-width:var(--max);
  margin:0 auto;
  padding:58px 24px;
}
.strategy-strip{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:30px;
  align-items:start;
}
.lens-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.lens-grid article{
  min-height:156px;
  padding:18px;
  border-radius:22px;
  background:var(--card);
  border:1px solid var(--line);
}
.lens-grid strong{display:block;color:var(--gold);margin-bottom:10px}
.lens-grid span{color:var(--muted);font-size:14px;line-height:1.45}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:22px;
}
.view-tools{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
select{
  min-height:44px;
  color:var(--text);
  background:rgba(255,255,255,.09);
  border:1px solid var(--line);
  border-radius:999px;
  padding:0 16px;
  outline:0;
}
select option{background:#161620;color:#fff}

.chips{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 16px}
.chip{
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  color:var(--muted);
  border-radius:999px;
  padding:9px 14px;
  transition:.18s ease;
}
.chip:hover,.chip.active{
  background:linear-gradient(135deg,rgba(255,204,102,.95),rgba(255,107,53,.95));
  color:#160e06;
  border-color:transparent;
}
.results-info{color:var(--muted);margin:14px 0 20px}

.book-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.book-card{
  position:relative;
  padding:20px;
  border-radius:24px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045));
  border:1px solid var(--line);
  min-height:330px;
  overflow:hidden;
  transition:.18s ease;
}
.book-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:radial-gradient(circle at 10% 0%, rgba(255,204,102,.18), transparent 15rem);
  opacity:0;
  transition:.2s ease;
  pointer-events:none;
}
.book-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,204,102,.38);
  box-shadow:0 20px 55px rgba(0,0,0,.3);
}
.book-card:hover::before{opacity:1}
.book-number{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(255,204,102,.16);
  color:var(--gold);
  border:1px solid rgba(255,204,102,.24);
  font-weight:800;
}
.book-card h3{
  margin:16px 0 6px;
  font-size:20px;
  line-height:1.12;
}
.author{color:var(--muted);font-size:14px;margin-bottom:12px}
.category-pill{
  display:inline-flex;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  color:#160e06;
  background:linear-gradient(135deg,var(--gold),var(--amber));
  font-weight:800;
  margin-bottom:12px;
}
.book-card p{
  color:var(--muted);
  line-height:1.5;
  font-size:14px;
  display:-webkit-box;
  -webkit-line-clamp:5;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.card-actions{
  position:absolute;
  left:20px;
  right:20px;
  bottom:18px;
  display:flex;
  gap:8px;
}
.card-actions button{
  flex:1;
  min-height:38px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--text);
  background:rgba(255,255,255,.08);
}
.card-actions button:first-child{
  color:#150d05;
  border:0;
  background:linear-gradient(135deg,var(--gold),var(--orange));
  font-weight:800;
}

.illustrate-section,.connect-section{
  scroll-margin-top:90px;
}
.illustrate-layout,.connect-layout{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}
.illustration-canvas,.illustration-notes,.graph-wrap,.insight-panel{
  border-radius:var(--radius);
  background:rgba(255,255,255,.075);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.illustration-canvas{
  min-height:520px;
  overflow:hidden;
}
.illustration-notes{
  padding:28px;
}
.illustration-notes p{color:var(--muted);line-height:1.65}
.tag-row{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0 24px}
.tag{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  color:var(--muted);
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  font-size:12px;
}
.power-illustration{
  width:100%;
  height:520px;
  display:block;
}
.power-illustration text{
  font-family:var(--font);
}
.illus-title{font-weight:900;fill:#f7f3e8}
.illus-muted{fill:#b7b0a3}
.illus-gold{fill:#ffcc66}
.illus-line{stroke:rgba(255,255,255,.28);stroke-width:2}
.illus-hot{stroke:#ffcc66;stroke-width:4;filter:drop-shadow(0 0 10px rgba(255,204,102,.4))}
.illus-card{fill:rgba(255,255,255,.08);stroke:rgba(255,255,255,.18)}
.illus-core{fill:url(#coreGrad);filter:drop-shadow(0 0 18px rgba(255,204,102,.32))}

.graph-wrap{min-height:720px;overflow:hidden;background:radial-gradient(circle at 50% 42%,rgba(255,204,102,.08),rgba(255,255,255,.04))}
#powerGraph{width:100%;height:720px;display:block}
.node{cursor:pointer;transition:.18s ease}
.node text{font-size:11px;fill:#f7f3e8;pointer-events:none}
.node circle{stroke:rgba(255,255,255,.38);stroke-width:1.5}
.node.book circle{fill:rgba(141,124,255,.72)}
.node.theme circle{fill:#ffcc66;filter:drop-shadow(0 0 10px rgba(255,204,102,.28))}
.node.dim{opacity:.18}
.edge{stroke:rgba(255,255,255,.13);stroke-width:1}
.edge.hot{stroke:#ffcc66;stroke-width:2.2;opacity:.9}
.edge.dim{opacity:.05}
.insight-panel{
  padding:26px;
  align-self:stretch;
}
.insight-panel p{color:var(--muted);line-height:1.65}
.insight-links{display:grid;gap:9px;margin-top:18px}
.insight-links button{
  text-align:left;
  color:var(--text);
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  border-radius:16px;
  padding:12px;
}
.insight-links button span{display:block;color:var(--muted);font-size:12px;margin-top:3px}

.modal{
  position:fixed;
  inset:0;
  z-index:60;
  display:none;
}
.modal.show{display:block}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}
.modal-card{
  position:relative;
  max-width:860px;
  max-height:88vh;
  overflow:auto;
  margin:6vh auto;
  padding:30px;
  border-radius:30px;
  background:linear-gradient(145deg,#171722,#0e0e17);
  border:1px solid var(--line);
  box-shadow:0 40px 100px rgba(0,0,0,.65);
}
.modal-close{
  position:sticky;
  top:0;
  float:right;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:var(--text);
  font-size:24px;
}
.modal-kicker{color:var(--gold);font-size:13px;text-transform:uppercase;letter-spacing:.14em;font-weight:800}
.modal-title{font-size:42px;line-height:1;margin:12px 0 10px;letter-spacing:-.04em}
.modal-author{color:var(--muted);font-size:16px}
.modal-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:24px 0;
}
.modal-box{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
}
.modal-box strong{color:var(--gold);display:block;margin-bottom:8px}
.modal-box p{color:var(--muted);line-height:1.55;margin:0}
.modal-summary{
  color:var(--text);
  font-size:18px;
  line-height:1.65;
  padding:22px;
  border-radius:22px;
  background:rgba(255,204,102,.08);
  border:1px solid rgba(255,204,102,.18);
}

.footer{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 24px 60px;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.1);
}

@media (max-width:1100px){
  .book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lens-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .strategy-strip,.hero,.illustrate-layout,.connect-layout{grid-template-columns:1fr}
  .hero-panel{min-height:500px}
}
@media (max-width:760px){
  .nav{align-items:flex-start}
  .nav-actions{display:none}
  .hero{padding-top:54px}
  .hero-search{border-radius:22px}
  .book-grid{grid-template-columns:1fr}
  .lens-grid{grid-template-columns:1fr}
  .section-head{display:block}
  .view-tools{justify-content:flex-start;margin-top:16px}
  .metrics{grid-template-columns:1fr}
  .hero-panel{min-height:430px}
  .orbital span{transform:rotate(calc(var(--i) * 60deg)) translateX(125px) rotate(calc(var(--i) * -60deg));font-size:11px}
  .modal-card{margin:0;max-height:100vh;border-radius:0;min-height:100vh}
  .modal-title{font-size:32px}
  .modal-grid{grid-template-columns:1fr}
  .graph-wrap,#powerGraph{min-height:640px;height:640px}
}
