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

:root {
  --bg: #050016;
  --bg-alt: #0c0724;
  --accent: #a66bff;
  --accent-soft: rgba(166, 107, 255, 0.14);
  --text: #ffffff;
  --muted: #a4a3c2;
  --card-bg: rgba(12, 7, 36, 0.9);
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #2c1672 0, var(--bg) 40%, #020009 100%);
  color: var(--text);
  line-height: 1.6;
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 0, 22, 0.92), rgba(5, 0, 22, 0.6));
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-emoji {
  font-size: 1.3rem;
}

.logo-text {
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a66bff, #ff8ad8);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 10% 0%, #ff8ad8 0, #a66bff 40%, #5c7dff 100%);
  color: #0b041f;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--accent-soft);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  padding-inline: 0.9rem;
  font-size: 0.75rem;
  box-shadow: none;
}

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-big {
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
}

/* LAYOUT */

.hero,
.section {
  padding: 4rem 1.25rem;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(166, 107, 255, 0.16), rgba(5, 0, 22, 0.95));
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

/* HERO CONTENT */

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 1.5rem;
}

.contract {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  margin-bottom: 1.4rem;
  font-size: 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 0, 22, 0.75);
  border: 1px solid var(--border-soft);
}

.contract .label {
  color: var(--muted);
}

.contract .value {
  font-family: monospace;
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 7, 36, 0.8);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image {
  position: relative;
  justify-self: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.09), transparent 60%);
  filter: blur(12px);
  z-index: -1;
}

.hero-image img {
  max-width: 360px;
  width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

/* SECTIONS */

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.section > .section-inner > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

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

/* TOKENOMICS */

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tokenomics-item {
  background: rgba(5, 0, 22, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1rem;
}

.tokenomics-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

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

/* STEPS */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin-top: 1.5rem;
}

.steps li {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1rem;
}

.steps h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.steps p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* CTA SECTION */

.section-cta {
  background: radial-gradient(circle at top, rgba(166, 107, 255, 0.35), rgba(5, 0, 22, 0.96));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner p {
  color: var(--muted);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* FOOTER */

.footer {
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: #050016;
  border-top: 1px solid var(--border-soft);
}

.footer .disclaimer {
  max-width: 600px;
  margin: 0 auto 0.6rem;
}

.footer .copy {
  opacity: 0.7;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .hero {
    padding-top: 3rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .cards,
  .steps,
  .tokenomics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contract {
    border-radius: 12px;
  }

  .nav-inner {
    padding-inline: 1rem;
  }
}
