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

:root {
  --bg: #050712;
  --bg-alt: #0c0f1f;
  --accent: #00f6ff;
  --accent-soft: rgba(0, 246, 255, 0.3);
  --accent-pink: #ff2e88;
  --text-main: #f5f5f5;
  --text-muted: #9ca3af;
  --card-bg: rgba(15, 23, 42, 0.85);
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 50%, #000 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Background FX */
.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1600 900' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 1;
}

.grid-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.16) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.16) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text {
  border-left: 1px solid rgba(148, 163, 184, 0.5);
  padding-left: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: 0.18s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.8);
}

.nav-link.primary-link {
  border: 1px solid var(--accent-soft);
  color: var(--accent);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 8px 0 14px;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

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

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: 0.17s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent));
  color: #020617;
  box-shadow: 0 10px 30px rgba(0, 246, 255, 0.3);
}

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

.btn.ghost {
  border-color: var(--border-subtle);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
}

.btn.wide {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Hero side panel */
.hero-panel {
  background: radial-gradient(circle at top left, #1e293b 0, #020617 60%);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot.red {
  background: #f97373;
}
.dot.amber {
  background: #facc15;
}
.dot.green {
  background: #4ade80;
}

.panel-title {
  margin-left: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.panel-body {
  padding: 14px 14px 16px;
  font-size: 0.85rem;
}

.panel-line {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
}

.panel-line .label {
  color: var(--text-muted);
}

.panel-line .value {
  color: var(--text-main);
}

.panel-line .accent {
  color: var(--accent);
}

.panel-divider {
  margin: 10px 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(148, 163, 184, 0.7),
    transparent
  );
}

.panel-footnote {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Sections */

.section {
  margin-top: 40px;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.section-text {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 0.98rem;
}

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

.grid {
  margin-top: 20px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.7);
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

/* Join section */

.join-section {
  display: flex;
  justify-content: center;
}

.join-card {
  margin-top: 26px;
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
  border-radius: 20px;
  padding: 20px 22px 22px;
  max-width: 680px;
  width: 100%;
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 20px 55px rgba(8, 47, 73, 0.8);
}

.join-card h2 {
  margin-top: 0;
}

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

.join-list {
  margin: 12px 0 16px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.join-list li {
  margin-bottom: 4px;
}

/* Footer */
.footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 860px) {
  .nav-right {
    display: none;
  }

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

  .hero-panel {
    order: -1;
  }
}

