/* PowerOfWeb3 — shared styles
   Brand: purple (#7c3aed) to electric blue (#2563eb) gradients. No pink. */

:root {
  --bg: #070b18;
  --bg2: #0b1124;
  --card: #101832;
  --line: rgba(124, 58, 237, 0.25);
  --text: #eef2ff;
  --muted: #a5b0d6;
  --purple: #7c3aed;
  --blue: #2563eb;
  --cyan: #38bdf8;
  --gold: #fbbf24;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav .btn { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff; font-weight: 700;
  padding: 14px 28px; border-radius: 999px;
  border: 0; cursor: pointer; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 32px rgba(124, 58, 237, 0.5); }
.btn.ghost {
  background: transparent; border: 2px solid var(--line); box-shadow: none; color: var(--text);
}
.btn.ghost:hover { border-color: var(--purple); }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(800px 380px at 85% 20%, rgba(37, 99, 235, 0.25), transparent 60%),
    var(--bg);
}
.kicker {
  display: inline-block;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
  background: rgba(124, 58, 237, 0.12);
}
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.12; margin-bottom: 18px; }
.grad { background: linear-gradient(135deg, #a78bfa, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.micro { font-size: 0.85rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 26px 20px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.5rem; background: linear-gradient(135deg, #a78bfa, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Tokenomics donut ---------- */
.tokenomics-visual { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: center; margin: 28px 0; }
.donut { width: 240px; height: 240px; border-radius: 50%; flex: none;
  background: conic-gradient(#38bdf8 0% 65%, #a78bfa 65% 75%, #818cf8 75% 85%, #7c3aed 85% 95%, #fbbf24 95% 97.5%, #94a3b8 97.5% 100%);
  display: grid; place-items: center; box-shadow: 0 10px 40px rgba(124, 58, 237, 0.35); }
.donut-center { width: 148px; height: 148px; border-radius: 50%; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center b { font-size: 2.1rem; line-height: 1; }
.donut-center span { color: var(--muted); font-size: 0.85rem; }
.donut-legend { list-style: none; margin: 0; padding: 0; min-width: 220px; }
.donut-legend li { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.donut-legend li:last-child { border-bottom: 0; }
.donut-legend i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.donut-legend b { margin-left: auto; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { padding: 24px 20px; text-align: center; }
.trust-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.trust-row a { display: inline-block; background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 999px; border: 0; font-size: 0.95rem; box-shadow: 0 6px 24px rgba(124, 58, 237, 0.35); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.trust-row a:hover { transform: translateY(-2px); text-decoration: none; color: #fff; box-shadow: 0 10px 32px rgba(124, 58, 237, 0.5); }
.trust-row .audit { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
section.block .sub { color: var(--muted); max-width: 700px; margin-bottom: 34px; font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .icon { font-size: 1.8rem; margin-bottom: 12px; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(37,99,235,0.25));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px 40px; text-align: center;
  margin: 20px 0;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--muted); max-width: 620px; margin: 0 auto 26px; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.about .card { padding: 30px; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.badge {
  font-size: 0.82rem; font-weight: 700;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
}

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; }
.faq summary::marker { color: var(--purple); }
.faq details p { color: var(--muted); margin-top: 10px; }

/* article */
.article { max-width: 760px; }
.article h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 26px 0 14px; line-height: 1.15; }
.article h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.article h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.article p, .article li { color: #cfd7f2; margin-bottom: 14px; }
.article ul, .article ol { padding-left: 22px; }
.article .lede { font-size: 1.12rem; color: var(--muted); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 26px 0 0; }
.breadcrumb a { color: var(--cyan); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 44px 0 30px; margin-top: 20px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 0.92rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer h4 { margin-bottom: 12px; font-size: 1rem; }
.disclaimer { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .about { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 44px; }
  section.block { padding: 44px 0; }
  .cta-banner { padding: 36px 24px; }
}
