:root {
  --bg: #06080F;
  --bg-surface: #0A0D1A;
  --bg-card: #0D1224;
  --fg: #E8EAF2;
  --fg-muted: #7A8399;
  --accent: #00E5C7;
  --accent-glow: rgba(0, 229, 199, 0.15);
  --gold: #FFB84D;
  --danger: #FF5E7A;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 199, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

.nav-cta {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 199, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 199, 0.1);
  border: 1px solid rgba(0, 229, 199, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #00b8a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--accent);
  color: #06080F;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: #00f5d4;
  transform: translateY(-1px);
}

.btn-large { padding: 14px 32px; font-size: 1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--fg-muted);
  font-family: 'Times New Roman', Times, serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-ghost:hover { color: var(--fg); border-color: rgba(255,255,255,0.2); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 199, 0.1);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: rgba(0, 229, 199, 0.25); }

.stat-value {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Section Commons ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Products ── */
.products {
  padding: 100px 24px;
  background: var(--bg-surface);
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s;
}

.product-card:hover {
  border-color: rgba(0, 229, 199, 0.2);
  transform: translateY(-3px);
}

.product-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px;
  margin-bottom: 4px;
}

.product-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: inline-block;
  background: rgba(0, 229, 199, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.product-name {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}

.product-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  transition: color 0.2s;
}

.product-link:hover { color: #00f5d4; }

/* ── Architecture ── */
.architecture {
  padding: 100px 24px;
  background: var(--bg);
}

.layers-stack {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.layer {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 199, 0.12);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.layer-top { border-color: rgba(0, 229, 199, 0.3); }

.layer-arrow {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

.layer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.layer-badge-top { background: rgba(0, 229, 199, 0.2); color: var(--accent); }
.layer-badge-mid { background: rgba(100, 80, 220, 0.2); color: #a78bfa; }
.layer-badge-base { background: rgba(255, 184, 77, 0.15); color: var(--gold); }
.layer-badge-bottom { background: rgba(255, 94, 122, 0.15); color: var(--danger); }

.layer-content h3 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.layer-content p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Security ── */
.security {
  padding: 100px 24px;
  background: var(--bg-surface);
}

.security-intro {
  text-align: center;
  margin-bottom: 56px;
}

.threat-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.threat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}

.threat-card:hover { border-color: rgba(0, 229, 199, 0.15); }

.threat-header { margin-bottom: 16px; }

.threat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--danger);
  display: block;
  margin-bottom: 4px;
}

.threat-header h4 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
}

.response-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.threat-response p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Tokenomics ── */
.tokenomics {
  padding: 100px 24px;
  background: var(--bg);
}

.token-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.allocation-block h3 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.alloc-list { display: flex; flex-direction: column; gap: 12px; }

.alloc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.alloc-label { font-size: 0.85rem; color: var(--fg); }

.alloc-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 229, 199, 0.4));
  border-radius: 2px;
  min-width: 30px;
  max-width: 120px;
}

.alloc-pct {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 44px;
  text-align: right;
}

.presale-block {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 199, 0.2);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.presale-stage { margin-bottom: 24px; }

.stage-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.stage-price {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.per-token { font-size: 1rem; color: var(--fg-muted); font-weight: 400; }

.stage-progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin: 16px 0 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #00b8a0);
  border-radius: 2px;
}

.stage-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ── Closing ── */
.closing {
  padding: 120px 24px;
  background: var(--bg-surface);
  text-align: center;
}

.closing-inner { max-width: 720px; margin: 0 auto; }

.closing-headline {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  color: var(--fg);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

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

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .token-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .threat-grid { grid-template-columns: 1fr; }
  .layer { padding: 20px; }
  .layer-arrow svg { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .alloc-row { gap: 8px; }
  .alloc-label { font-size: 0.78rem; }
}