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

:root {
  --bg: #0c0b0f;
  --bg-card: #14121a;
  --bg-elevated: #1a1724;
  --text: #f2efe8;
  --text-muted: #9a9590;
  --cat-gray: #6b6b73;
  --cream: #e8dfd0;
  --gold: #d4a853;
  --gold-dim: #a8843f;
  --sol-purple: #9945ff;
  --sol-green: #14f195;
  --sol-gradient: linear-gradient(135deg, var(--sol-purple), var(--sol-green));
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.glow-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: rgba(153, 69, 255, 0.15);
}

.glow-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -100px;
  background: rgba(20, 241, 149, 0.08);
}

/* Header */
.header {
  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(12, 11, 15, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dim);
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-social-label {
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--sol-gradient);
  color: #0c0b0f;
  box-shadow: 0 4px 24px rgba(153, 69, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(153, 69, 255, 0.45);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-icon {
  padding: 0.5rem;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-icon:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 11, 15, 0.94) 0%, rgba(12, 11, 15, 0.82) 42%, rgba(12, 11, 15, 0.45) 100%),
    linear-gradient(180deg, rgba(12, 11, 15, 0.35) 0%, transparent 35%, rgba(12, 11, 15, 0.65) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 8rem 2rem 4rem;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(26, 23, 36, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sol-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sol-gradient);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.line-muted {
  display: block;
  font-size: 0.45em;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-sub strong {
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(20, 18, 26, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  max-width: fit-content;
}

.ca-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.ca-address {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-social svg {
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-ring {
  position: relative;
  width: min(380px, 80vw);
  height: min(380px, 80vw);
  border-radius: 50%;
  padding: 4px;
  background: var(--sol-gradient);
  animation: float 6s ease-in-out infinite;
}

.logo-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  padding: 8px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating-tag {
  position: absolute;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  animation: drift 4s ease-in-out infinite;
}

.tag-1 {
  top: 10%;
  right: 0;
  color: var(--gold);
  animation-delay: 0s;
}

.tag-2 {
  bottom: 20%;
  left: -5%;
  color: var(--sol-green);
  animation-delay: 1s;
}

.tag-3 {
  top: 50%;
  right: -10%;
  background: var(--sol-gradient);
  color: var(--bg);
  border: none;
  animation-delay: 2s;
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

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

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.about-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}

.about-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-4px);
}

.card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--sol-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Story */
.story {
  background: linear-gradient(180deg, transparent, rgba(153, 69, 255, 0.04), transparent);
}

.quote {
  margin: 0 0 3rem;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 1rem;
}

.quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
}

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

.story-block {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.story-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.story-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Facts */
.facts-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.facts-list {
  list-style: none;
  margin-top: 1.5rem;
}

.facts-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.facts-list li:last-child {
  border-bottom: none;
}

.facts-list strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 0.35rem;
}

.facts-aside {
  padding: 2rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.facts-highlight {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gold);
  margin-bottom: 1rem;
}

.facts-aside-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Chart */
.chart-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.chart-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  min-height: 520px;
}

.chart-wrap iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

/* Tokenomics */
.tokenomics {
  background: linear-gradient(180deg, transparent, rgba(20, 241, 149, 0.03), transparent);
}

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

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

.token-stat.wide {
  grid-column: 1 / -1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.stat-value.accent {
  color: var(--gold);
  font-size: 1.4rem;
}

.stat-value.mono {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--cream);
  word-break: break-all;
}

/* Buy */
.buy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.steps {
  list-style: none;
  margin-top: 2rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.75rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sol-gradient);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
}

.steps li strong {
  display: block;
  margin-bottom: 0.25rem;
}

.steps li span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.buy-panel {
  text-align: center;
  padding: 2rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.buy-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-dim);
  margin-bottom: 1.5rem;
}

.buy-ca-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.buy-ca {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: var(--cream);
  word-break: break-all;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: var(--bg);
  border-radius: 8px;
}

.buy-panel .btn {
  margin-bottom: 0.75rem;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-size: 1.1rem;
}

.footer-brand span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--gold);
}

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

.copyright {
  color: var(--cat-gray);
  font-size: 0.75rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 0.75rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  z-index: 2000;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .nav {
    display: none;
  }

  .header-social-label {
    display: none;
  }

  .header-social {
    padding: 0.5rem;
    gap: 0;
  }

  .header-social svg {
    width: 18px;
    height: 18px;
  }

  .chart-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-wrap,
  .chart-wrap iframe {
    min-height: 420px;
    height: 420px;
  }

  .hero {
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 6rem 1rem 3rem;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .quote {
    padding: 1.5rem;
  }

  .quote p {
    font-size: 1rem;
  }

  .facts-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .ca-box {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .logo-ring {
    width: min(280px, 70vw);
    height: min(280px, 70vw);
  }

  .floating-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
  }

  .buy-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
}
