/*
Theme Name: World Wise People Landing Page
Template: 
*/

:root {
  --bg:       #0C1523;
  --surface:  #152035;
  --surface2: #1C2D45;
  --amber:    #C8960C;
  --blue:     #4A9EBF;
  --text:     #F0EDE6;
  --muted:    #8A9AAD;
  --border:   #1E3050;
  --serif:    'DM Serif Display', serif;
  --sans:     'Inter', sans-serif;
  --mono:     'DM Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(12,21,35,0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 0 48px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-mark { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.nav-mark span { color: var(--amber); }
.nav-cta { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber); padding: 9px 22px; text-decoration: none; transition: background 0.18s, color 0.18s; }
.nav-cta:hover { background: var(--amber); color: var(--bg); }

/* HERO */
#hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 48px 80px; position: relative; overflow: hidden; text-align: center; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,150,12,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(200,150,12,0.035) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.hub { width: 260px; height: 260px; margin-bottom: 52px; }
.spoke { stroke-dasharray: 5 5; animation: spk 3.2s ease-in-out infinite; }
.node  { animation: nd 3.2s ease-in-out infinite; }
.spoke:nth-child(1) { animation-delay: 0s; }
.spoke:nth-child(2) { animation-delay: .45s; }
.spoke:nth-child(3) { animation-delay: .9s; }
.spoke:nth-child(4) { animation-delay: 1.35s; }
.spoke:nth-child(5) { animation-delay: 1.8s; }
.spoke:nth-child(6) { animation-delay: 2.25s; }
.node:nth-child(7)  { animation-delay: 0s; }
.node:nth-child(8)  { animation-delay: .45s; }
.node:nth-child(9)  { animation-delay: .9s; }
.node:nth-child(10) { animation-delay: 1.35s; }
.node:nth-child(11) { animation-delay: 1.8s; }
.node:nth-child(12) { animation-delay: 2.25s; }
@keyframes spk { 0%,100%{opacity:.2} 50%{opacity:.75} }
@keyframes nd  { 0%,100%{opacity:.3} 50%{opacity:1} }
@media (prefers-reduced-motion:reduce) { .spoke,.node { animation:none; opacity:.5; } }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.hero-h  { font-family: var(--serif); font-size: clamp(38px,6vw,76px); line-height: 1.08; color: var(--text); max-width: 840px; margin-bottom: 22px; }
.hero-h em { font-style: italic; color: var(--amber); }
.hero-sub { font-size: clamp(15px,1.6vw,18px); color: var(--muted); max-width: 560px; line-height: 1.75; margin-bottom: 56px; }
.stats { display: flex; gap: 52px; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--border); padding-top: 44px; width: 100%; max-width: 740px; }
.stat-val { font-family: var(--mono); font-size: 28px; color: var(--amber); display: block; line-height: 1.2; }
.stat-lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* SHARED */
section { padding: 100px 48px; }
.inner { max-width: 1100px; margin: 0 auto; }
.ey { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.sh { font-family: var(--serif); font-size: clamp(28px,3.6vw,50px); line-height: 1.12; color: var(--text); margin-bottom: 18px; }
.sb { font-size: 17px; color: var(--muted); line-height: 1.85; max-width: 620px; }
.rule { border: none; border-top: 1px solid var(--amber); opacity: .18; margin: 0; }

/* DECLARATION */
#declaration { background: var(--surface); }
.decl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.decl-quote { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 36px); line-height: 1.3; color: var(--text); border-left: 2px solid var(--amber); padding-left: 28px; margin-bottom: 32px; font-style: italic; }
.decl-quote em { color: var(--amber); font-style: normal; }
.outcomes { display: flex; flex-direction: column; gap: 0; }
.outcome { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.outcome:first-child { border-top: 1px solid var(--border); }
.out-word { font-family: var(--serif); font-size: 22px; color: var(--text); min-width: 180px; }
.out-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* PRINCIPLE */
#visible { background: var(--bg); text-align: center; padding: 120px 48px; }
.vv { font-family: var(--serif); font-size: clamp(54px,9vw,112px); line-height: .95; color: var(--text); margin-bottom: 28px; letter-spacing: -.015em; }
.vv span { color: var(--amber); }
.vv-tag { font-family: var(--mono); font-size: clamp(12px,1.4vw,15px); color: var(--muted); letter-spacing: .04em; max-width: 600px; margin: 0 auto 52px; line-height: 1.85; }
.vv-tag strong { color: var(--amber); font-weight: 500; }
.vv-stats { display: flex; gap: 64px; justify-content: center; flex-wrap: wrap; padding-top: 52px; border-top: 1px solid var(--border); }
.vv-sv { font-family: var(--mono); font-size: 44px; color: var(--amber); display: block; line-height: 1; margin-bottom: 8px; }
.vv-sl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* HOW IT WORKS */
#how { background: var(--surface); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.card { background: var(--bg); border: 1px solid var(--border); padding: 36px; position: relative; overflow: hidden; transition: border-color .2s; }
.card::after { content:''; position:absolute; top:0;left:0;right:0; height:2px; background:var(--amber); opacity:0; transition:opacity .2s; }
.card:hover { border-color: rgba(200,150,12,.4); }
.card:hover::after { opacity:1; }
.ctag { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.ctit { font-family: var(--serif); font-size: 22px; color: var(--text); margin-bottom: 10px; }
.cbod { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* PARTICIPATION */
#participation { background: var(--bg); }
.part-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.part-visual { display: flex; flex-direction: column; gap: 14px; }
.pv-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.pv-row:hover { border-color: rgba(200,150,12,.35); }
.pv-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pv-avatar svg { width: 18px; height: 18px; }
.pv-name { font-size: 13px; color: var(--text); font-weight: 500; flex: 1; }
.pv-org { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.pv-stars { font-size: 15px; color: var(--amber); letter-spacing: 2px; }

/* PLATFORMS */
#platforms { background: var(--surface); padding: 80px 0 80px 48px; overflow: hidden; }
.plat-head { max-width: 1100px; margin: 0 auto 36px; padding-right: 48px; display: flex; align-items: flex-end; justify-content: space-between; }
.scroll-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.scroll-row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 20px; padding-right: 48px; scrollbar-width: none; -ms-overflow-style: none; }
.scroll-row::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 260px; background: var(--surface2); border: 1px solid var(--border); padding: 28px 24px 52px; text-decoration: none; color: var(--text); display: block; transition: border-color .18s, background .18s; position: relative; cursor: pointer; }
.pcard:hover { border-color: var(--amber); background: var(--surface); }
.ptag { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.pnam { font-family: var(--serif); font-size: 22px; color: var(--text); margin-bottom: 8px; line-height: 1.2; }
.pdsc { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.pcard-actions { display: flex; align-items: center; gap: 12px; position: absolute; bottom: 18px; left: 24px; right: 24px; }
.pstar-btn { font-family: var(--mono); font-size: 11px; color: var(--muted); background: none; border: 1px solid var(--border); padding: 5px 10px; cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: 5px; }
.pstar-btn:hover { border-color: var(--amber); color: var(--amber); }
.pstar-btn.voted { color: var(--amber); border-color: var(--amber); background: rgba(200,150,12,.08); }
.pgo-link { font-family: var(--mono); font-size: 11px; color: var(--amber); text-decoration: none; letter-spacing: .1em; margin-left: auto; opacity: 0; transition: opacity .18s, transform .18s; }
.pcard:hover .pgo-link { opacity: 1; transform: translateX(3px); }

/* CONNECT */
#connect { background: var(--bg); padding: 100px 48px; border-top: 1px solid var(--border); }
.con-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.con-inner .sh { margin-bottom: 20px; }
.con-inner .sb { margin: 0 auto 44px; }
.con-cta { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--amber); padding: 16px 44px; text-decoration: none; transition: opacity .18s; }
.con-cta:hover { opacity: .88; }
.con-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 22px; letter-spacing: .08em; }
.disc { font-size: 11px; color: var(--muted); line-height: 1.7; opacity: .5; border-top: 1px solid var(--border); padding-top: 22px; margin-top: 48px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* FOOTER */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 22px 48px; display: flex; align-items: center; justify-content: space-between; }
.fmark { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fmark span { color: var(--amber); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  section { padding: 72px 20px; }
  #platforms { padding: 72px 0 72px 20px; }
  #connect { padding: 72px 20px; }
  .decl-grid, .part-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }
  .stats, .vv-stats { gap: 28px; }
  .plat-head { padding-right: 20px; }
  .scroll-row { padding-right: 20px; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
  .outcome { flex-direction: column; gap: 4px; }
  .out-word { min-width: unset; }
}