/* ===== Design Tokens ===== */
:root {
  --color-bg: #09090b;
  --color-surface: #131316;
  --color-surface-hover: #1a1a1f;
  --color-border: #1e1e24;
  --color-text: #e4e4e7;
  --color-text-muted: #71717a;
  --color-brand: #c2856e;
  --color-brand-soft: rgba(194, 133, 110, 0.12);
  --color-brand-border: rgba(194, 133, 110, 0.2);
  --color-accent: #e8b88a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 960px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Subtle Background Grid ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(194, 133, 110, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 133, 110, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-header.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
}

.brand-icon { font-size: 24px; }

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-brand);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero-section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 120px 24px 80px;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand);
  background: var(--color-brand-soft);
  border: 1px solid var(--color-brand-border);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-heading {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 680px;
}

.highlight {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

.wallet-connect.connected {
  background: #2a7a4f;
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-content.revealed {
  opacity: 1;
  transform: translateY(0);
}

.about-text {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.about-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.about-text p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text blockquote {
  font-style: italic;
  color: var(--color-accent);
  border-left: 2px solid var(--color-brand);
  padding-left: 16px;
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.about-links-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.about-links-panel h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.channel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.channel-list a:hover {
  border-color: var(--color-brand-border);
  background: var(--color-surface-hover);
}

.channel-list svg {
  flex-shrink: 0;
  color: var(--color-text-muted);
}

/* ===== Tokenomics ===== */
.tokenomics-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.token-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s;
}

.token-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.token-card:hover {
  border-color: var(--color-brand-border);
}

.token-percentage {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.token-percentage small {
  font-size: 20px;
  font-weight: 700;
}

.token-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.token-fill {
  height: 100%;
  width: var(--fill);
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  border-radius: 2px;
  transition: width 0.8s ease;
}

.token-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.token-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
}

.footer-top {
  text-align: center;
  margin-bottom: 32px;
}

.footer-top .brand-icon { font-size: 22px; }
.footer-top .brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-brand);
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(9, 9, 11, 0.97);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    gap: 4px;
  }

  .nav-menu.open { display: flex; }

  .mobile-toggle { display: flex; }

  .hero-section {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .hero-heading { font-size: 32px; }

  .hero-desc { font-size: 15px; }

  .about-content {
    grid-template-columns: 1fr;
  }

  .token-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 64px 0; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 26px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { justify-content: center; }

  .about-text,
  .about-links-panel {
    padding: 24px;
  }

  .token-card { padding: 20px; }
}
