* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #05020a;
  --card-bg: rgba(13, 8, 26, 0.9);
  --accent: #9d4bff;
  --accent-soft: #b46cff;
  --text-muted: #c6c6d9;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

html, body {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, #130b2a 0, #05020a 55%, #020010 100%);
  color: #fff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* Starfield canvas */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
}

/* Layout wrapper */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 2, 14, 0.95), rgba(5, 2, 14, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(160, 96, 255, 0.7));
}

.nav-title {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}

.nav-right {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-right a {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.18s ease;
}

.nav-right a:hover {
  color: #fff;
}

.nav-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #e79dff, #7b3fff);
  color: #fff !important;
  box-shadow: 0 0 18px rgba(155, 75, 255, 0.7);
}

/* HERO */
.hero {
  padding: 80px 7% 70px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
  align-items: center;
  gap: 60px;
}

.hero-inner {
  max-width: 580px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(10, 6, 24, 0.7);
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.gradient {
  background: linear-gradient(120deg, #ffccff, #9d4bff, #6cd4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 460px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.primary-btn {
  background: linear-gradient(120deg, #c46bff, #7a2cff);
  color: #fff;
  box-shadow: 0 0 20px rgba(186, 98, 255, 0.7);
}

.primary-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.ghost-btn {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(9, 5, 22, 0.7);
  color: var(--text-muted);
}

.ghost-btn:hover {
  border-color: #9d4bff;
  color: #fff;
}

.hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #bdbde0;
}

.hero-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 8, 25, 0.8);
}

/* Hero orbit graphic */
.hero-orbit {
  position: relative;
  width: 280px;
  height: 280px;
  justify-self: center;
}

.hero-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(180, 120, 255, 0.6);
  box-shadow: 0 0 40px rgba(155, 75, 255, 0.5);
  animation: orbitPulse 5s ease-in-out infinite;
}

.hero-orbit-core {
  position: absolute;
  inset: 25%;
  border-radius: 24px;
  background: radial-gradient(circle at top, #ffccff22, #6b2cff33, #0a0418 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(155, 75, 255, 0.7);
}

.hero-orbit-core img {
  width: 70%;
  filter: drop-shadow(0 0 22px rgba(200, 130, 255, 0.9));
  animation: coreFloat 4.2s ease-in-out infinite;
}

/* Sections */
.section {
  padding: 70px 7%;
}

.section-alt {
  background: radial-gradient(circle at top, #12091f 0, #060109 65%);
}

.section-header {
  max-width: 520px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 22px 20px;
  background: linear-gradient(145deg, rgba(19, 12, 40, 0.9), rgba(10, 5, 24, 0.9));
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: radial-gradient(circle at top left, rgba(155, 75, 255, 0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #ffccff, #9d4bff);
  margin-bottom: 12px;
}

.card-icon {
  font-size: 1.2rem;
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.card-list {
  list-style: none;
  font-size: 0.85rem;
  color: #bfbfe5;
}

.card-list li::before {
  content: "• ";
  color: var(--accent-soft);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 24px 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 9, 34, 0.95), rgba(8, 4, 22, 0.95));
  border: 1px solid var(--border-subtle);
  position: relative;
}

.pricing-card.pricing-featured {
  border-color: rgba(210, 140, 255, 0.85);
  box-shadow: 0 0 36px rgba(170, 95, 255, 0.7);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #fdf4ff;
  background: linear-gradient(120deg, #f3b7ff, #9d4bff);
}

.pricing-price {
  font-size: 1.8rem;
  margin: 18px 0 4px;
  background: linear-gradient(120deg, #f9d5ff, #b46cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.pricing-footer {
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-footer span {
  color: #f3d0ff;
}

/* Discord CTA */
.discord-cta {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
}

.discord-left p {
  color: var(--text-muted);
  margin: 10px 0 12px;
}

.discord-glass {
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(19, 12, 40, 0.95), rgba(6, 2, 16, 0.95));
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.6);
}

.discord-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: radial-gradient(circle at top left, #ffdfb7, #ff7a7a);
}

/* Footer */
.footer {
  padding: 40px 7% 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 1, 10, 0.95);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.footer-main p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.8rem;
  color: #8c8ca5;
}

/* Animations */
@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes coreFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-orbit {
    order: -1;
    margin-bottom: 20px;
  }

  .card-grid,
  .pricing-grid,
  .discord-cta {
    grid-template-columns: 1fr;
  }

  .navbar {
    padding-inline: 5%;
  }

  .section {
    padding-inline: 5%;
  }
}

.small-discord-btn {
    padding: 10px 22px;     /* smaller padding */
    font-size: 0.95rem;     /* slightly smaller text */
    border-radius: 30px;    /* keep smooth rounded look */
    background: linear-gradient(90deg, #6a2cff, #b06bff);
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 0 18px rgba(122, 44, 255, 0.4);
}

.small-discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(122, 44, 255, 0.55);
}

@media (max-width: 640px) {
  .nav-right {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }
}
