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

html, body {
  min-height: 100%;
}

/* BACKGROUND – neon lightning feel */
.bg-lightning {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f9fafb;
  background:
    radial-gradient(circle at 0% 0%, #0ea5e9 0, transparent 45%),
    radial-gradient(circle at 100% 0%, #ec4899 0, transparent 45%),
    radial-gradient(circle at 0% 100%, #22c55e 0, transparent 45%),
    radial-gradient(circle at 100% 100%, #6366f1 0, transparent 45%),
    #020617;
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: bgShift 14s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 50% 0%; }
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.96),
    rgba(15,23,42,0.8),
    transparent
  );
  backdrop-filter: blur(10px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: 0 0 16px rgba(56,189,248,0.7);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 11px;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, filter 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #020617;
  box-shadow:
    0 0 12px rgba(34,197,94,0.5),
    0 0 18px rgba(56,189,248,0.4);
}

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

.btn-outline {
  border-color: rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
}

.btn-outline:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,0.4);
}

.btn.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* LAYOUT */
.page {
  padding: 24px 6vw 40px;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 40px;
}

.hero-main-card,
.hero-side-card {
  background: rgba(15,23,42,0.94);
  border-radius: 24px;
  padding: 22px 20px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow:
    0 0 18px rgba(15,23,42,0.8),
    0 0 32px rgba(15,23,42,0.9);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(56,189,248,0.6);
  background: rgba(15,23,42,0.9);
  color: #7dd3fc;
}

.hero-title {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 14px;
  color: #cbd5f5;
  max-width: 540px;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  color: #e5e7eb;
  background: rgba(15,23,42,0.9);
}

/* HERO SIDE CARD */
.side-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.side-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.side-list li span {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
}

.side-list li p {
  font-size: 13px;
  color: #9ca3af;
}

.side-foot {
  font-size: 12px;
  color: #9ca3af;
}

/* SECTIONS */
.section {
  margin-bottom: 36px;
  background: rgba(15,23,42,0.94);
  border-radius: 24px;
  padding: 22px 20px;
  border: 1px solid rgba(148,163,184,0.4);
}

.section-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.section-text {
  font-size: 13px;
  color: #cbd5f5;
  max-width: 640px;
  margin-bottom: 16px;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.info-card {
  background: rgba(15,23,42,0.98);
  border-radius: 18px;
  padding: 14px 12px;
  border: 1px solid rgba(55,65,81,0.8);
}

.info-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 12px;
  color: #9ca3af;
}

/* ROADMAP */
.roadmap {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: phase;
  margin-top: 4px;
}

.roadmap li {
  position: relative;
  padding-left: 32px;
}

.roadmap li::before {
  counter-increment: phase;
  content: counter(phase);
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #020617;
}

.roadmap h3 {
  font-size: 14px;
  margin-bottom: 3px;
}

.roadmap p {
  font-size: 12px;
  color: #9ca3af;
}

/* COMMUNITY */
.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* FOOTER */
.footer {
  padding: 14px 6vw 18px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 16px;
  }
  .page {
    padding-inline: 16px;
  }
  .section,
  .hero-main-card,
  .hero-side-card {
    padding-inline: 16px;
  }
}
