:root {
  --bg: #06080f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #8b92a8;
  --accent: #00d4aa;
  --accent-2: #6366f1;
  --gold: #f0b429;
  --gradient: linear-gradient(135deg, #00d4aa 0%, #6366f1 50%, #a855f7 100%);
  --font: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 600px; height: 600px;
  background: rgba(0, 212, 170, 0.12);
  top: -200px; right: -100px;
}

.bg-glow-2 {
  width: 500px; height: 500px;
  background: rgba(99, 102, 241, 0.1);
  bottom: 20%; left: -150px;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}

.logo-diamond { color: var(--accent); font-size: 1.1rem; }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 212, 170, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: #fff;
  color: #06080f;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero-badge {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  background: rgba(0, 212, 170, 0.06);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.stat { text-align: center; }

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  max-width: 100%;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-left: max(2rem, calc((100% - 1200px) / 2));
  padding-right: max(2rem, calc((100% - 1200px) / 2));
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label.light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-title.light { color: #fff; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.85;
  margin-bottom: 3rem;
}

.section-desc.light { color: rgba(255,255,255,0.75); }

/* Vision */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.vision-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
}

.vision-icon {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.vision-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.vision-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Chain */
.chain-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chain-layer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.chain-layer:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--bg-card-hover);
}

.layer-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(0, 212, 170, 0.1);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
}

.chain-layer[data-layer="L0"] .layer-tag { color: var(--gold); background: rgba(240, 180, 41, 0.12); }
.chain-layer[data-layer="L5"] .layer-tag { color: #a855f7; background: rgba(168, 85, 247, 0.12); }

.layer-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.layer-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Token */
.token-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.token-main {
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.supply-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.supply-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.token-main p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.alloc-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.alloc-name { font-size: 0.85rem; color: var(--text-muted); }

.alloc-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.alloc-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 1s ease;
}

.alloc-pct {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
}

.token-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tf-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.tf-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.tf-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Earn */
.section-accent {
  max-width: 100%;
  background: linear-gradient(135deg, rgba(0,212,170,0.15) 0%, rgba(99,102,241,0.15) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
}

.earn-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.earn-tiers {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.earn-tier {
  flex: 1;
  min-width: 120px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  text-align: center;
}

.earn-tier.featured {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

.tier-name {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.tier-points {
  font-size: 1.5rem;
  font-weight: 800;
}

.tier-points small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
}

.flow-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2.5rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.flow-step span {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.flow-step p { font-weight: 600; }

.flow-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 1.25rem;
  margin: 0.25rem 0 0.25rem 10px;
}

/* Roadmap */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}

.tl-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-5px);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
}

.tl-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.tl-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.tl-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 8rem 2rem;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 400;
  letter-spacing: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover { color: var(--accent); }

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(6,8,15,0.98);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu-btn { display: block; }
  .token-grid { grid-template-columns: 1fr; }
  .earn-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .alloc-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .alloc-pct { text-align: left; }
}

/* Subpages */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.page-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 3rem 0 1rem;
  color: var(--accent);
}

.page-content h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.page-content p, .page-content li {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.page-content ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.data-table th {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 600;
}

.data-table td { color: var(--text-muted); }

.data-table tr:hover td { background: var(--bg-card); }

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box.warn { border-left-color: var(--gold); }

.info-box code {
  display: block;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 0.5rem;
  white-space: pre-wrap;
}

.points-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.points-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
}

.points-card:hover {
  border-color: rgba(0, 212, 170, 0.4);
  transform: translateY(-3px);
}

.points-card.featured {
  border-color: var(--accent);
  background: rgba(0, 212, 170, 0.06);
}

.points-card .plan { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.points-card .price { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.points-card .pts { font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.points-card .annual { font-size: 0.85rem; color: var(--accent); margin-top: 0.75rem; }

.download-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0 3rem;
}

.nav-links a.active { color: var(--accent); }

.wp-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.wp-toc ol { padding-left: 1.25rem; }
.wp-toc li { margin-bottom: 0.35rem; }
.wp-toc a { color: var(--accent); text-decoration: none; }
.wp-toc a:hover { text-decoration: underline; }
