:root {
  --bg-dark: #0b0f14;
  --bg-card: #121824;

  --accent-blue: #3ecbff;
  --accent-orange: #ff9f43;
  --accent-purple: #7a6cff;

  --text-main: #ffffff;
  --text-muted: #9aa4bf;

  --border: rgba(255, 255, 255, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

/* ---------------- NAVBAR ---------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  flex: 1;
}

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

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

.nav-cta {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.875rem !important;
}

/* Hamburger button — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animate to × when open */
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.5rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(11, 15, 20, 0.98);
  backdrop-filter: blur(12px);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.85rem 0;
  font-size: 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
  text-decoration: none;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

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

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none; /* shown inside mobile menu instead */
  }
  .nav-burger {
    display: flex;
    margin-left: auto;
  }
  .nav-inner {
    gap: 0.75rem;
  }
}

/* ---------------- BUTTONS ---------------- */

.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-primary {
  background: var(--accent-blue);
  color: #0b0f14;
}

.btn-primary:hover {
  background: #5cd4ff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ---------------- BADGES ---------------- */

.whats-new-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.55rem 0.3rem 0.45rem;
  border-radius: 999px;
  background: rgba(62, 203, 255, 0.07);
  border: 1px solid rgba(62, 203, 255, 0.22);
  color: var(--text-main);
  font-size: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.whats-new-chip:hover {
  background: rgba(62, 203, 255, 0.13);
  border-color: rgba(62, 203, 255, 0.45);
}
.whats-new-label {
  background: var(--accent-blue);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.whats-new-text {
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.whats-new-arrow {
  color: var(--accent-blue);
  font-size: 0.8rem;
  transition: transform 0.2s;
}
.whats-new-chip:hover .whats-new-arrow {
  transform: translateX(3px);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(62, 203, 255, 0.08);
  border: 1px solid rgba(62, 203, 255, 0.25);
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.live-badge .dot {
  width: 6px;
  height: 6px;
  background: #3eff6b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.badge-new {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.owner-badge {
  display: inline-block;
  background: rgba(122, 108, 255, 0.1);
  border: 1px solid rgba(122, 108, 255, 0.3);
  color: #b3aeff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------------- SECTION TITLE ---------------- */

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-title p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
  font-size: 1rem;
}

.title-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-bottom: 0.75rem;
}

/* ---------------- HERO ---------------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1.5rem 5rem;
}

.logo {
  width: 160px;
  margin-bottom: 1.5rem;
  animation: float 6s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 580px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}


.trust-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.7;
}

.trust-sep {
  opacity: 0.4;
}

/* ---------------- HOW IT WORKS ---------------- */

.how-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  padding: 6rem 1.5rem;
}

.how-section .section-title,
.how-section .steps-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.step-card:hover {
  border-color: rgba(62, 203, 255, 0.2);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(62, 203, 255, 0.12);
  border: 1px solid rgba(62, 203, 255, 0.3);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

.step-cmd {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.82rem;
  color: var(--accent-blue);
  background: rgba(62, 203, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ---------------- DM LOGGING ---------------- */

.dm-demo {
  max-width: 520px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dm-message {
  display: flex;
  flex-direction: column;
}

.dm-message.user {
  align-items: flex-end;
}

.dm-name {
  font-size: 11px;
  opacity: 0.5;
  margin-bottom: 4px;
}

.dm-bubble {
  background: #2b2d31;
  padding: 10px 14px;
  border-radius: 12px;
  width: fit-content;
  max-width: 75%;
  line-height: 1.6;
  font-size: 0.9rem;
}

.dm-message.user .dm-bubble {
  background: #5865f2;
}

.dm-bubble.bot {
  background: #1e1f22;
  border: 1px solid rgba(88, 101, 242, 0.4);
}

.dm-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 36px auto;
}

.dm-feature {
  background: var(--bg-card);
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Smart hint badges in DM demo */
.dm-smart-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--accent-blue);
  background: rgba(62, 203, 255, 0.07);
  border: 1px solid rgba(62, 203, 255, 0.18);
  border-radius: 6px;
  padding: 5px 10px;
  margin: 4px 0 4px 12px;
  width: fit-content;
  opacity: 0;
  animation: fadeSlideIn 0.4s ease forwards;
}

.dm-smart-hint svg {
  flex-shrink: 0;
  stroke: var(--accent-blue);
}

.dm-anim-1b { animation-delay: 0.9s; }
.dm-anim-3b { animation-delay: 2.5s; }

/* ---------------- SERVER OWNERS ---------------- */

.server-owners-section {
  background: rgba(122, 108, 255, 0.03);
  border-top: 1px solid rgba(122, 108, 255, 0.1);
  border-bottom: 1px solid rgba(122, 108, 255, 0.1);
  max-width: 100%;
  padding: 6rem 1.5rem;
}

.server-owners-section .section-title,
.server-owners-section .owner-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.server-owners-section > div[style] {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.owner-proof {
  display: inline-block;
  margin-top: 1.25rem;
  background: rgba(122, 108, 255, 0.08);
  border: 1px solid rgba(122, 108, 255, 0.2);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.owner-proof strong {
  color: var(--accent-purple);
}

.owner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .owner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .owner-grid { grid-template-columns: 1fr; }
}

.owner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.owner-card:hover {
  border-color: rgba(122, 108, 255, 0.3);
}

.owner-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ---------------- DASHBOARD PREVIEW ---------------- */

/* Dashboard mockup */
.dd-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.dd-card {
  background: #121824;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px 18px;
}

.dd-welcome {
  border-color: rgba(62,203,255,0.15);
}

.dd-welcome-greeting {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #3ecbff;
  margin-bottom: 5px;
}

.dd-welcome-msg {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.dd-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dd-card-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Recovery */
.dd-recovery-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dd-muscle {
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.dd-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.dd-bar-fill {
  height: 100%;
  border-radius: 2px;
}

.dd-pct {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
}

/* Balance */
.dd-balance-score {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.dd-balance-score span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.dd-balance-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dd-balance-row {
  display: grid;
  grid-template-columns: 30px 1fr 28px;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}

.dd-hint {
  margin-top: 9px;
  font-size: 0.7rem;
  color: #ff9f43;
}

/* Load */
.dd-load-ratio {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dd-load-status {
  font-size: 0.72rem;
  margin: 4px 0 10px;
}

.dd-load-status.optimal { color: #4ade80; }

.dd-load-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dd-load-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

.dd-load-row span:last-child {
  color: rgba(255,255,255,0.65);
}

.dd-nutrition {
  margin-top: 10px;
}

.dd-nutrition-hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 8px 0 6px;
}

.dd-nutrition-left {
  flex-shrink: 0;
}

.dd-nutrition-kcal {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.dd-nutrition-kcal span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-left: 3px;
}

.dd-nutrition-goal {
  font-size: 0.68rem;
  color: var(--accent-blue);
  margin-top: 4px;
  font-weight: 500;
}

.dd-nutrition-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
  flex: 1;
}

.dd-nutrition-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dd-nutrition-stat span {
  font-size: 0.63rem;
  color: rgba(255,255,255,0.4);
}

.dd-nutrition-stat strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.dd-nutrition-hint {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 640px) {
  .dd-row { grid-template-columns: 1fr; }
  .dd-nutrition-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- COMMANDS ---------------- */

.cmd-groups {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cmd-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.commands-grid {
  max-width: 1000px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.command-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color 0.2s;
}

.command-card:hover {
  border-color: rgba(88, 101, 242, 0.4);
}

.cmd-name {
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 5px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.875rem;
}

.cmd-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------------- PRICING ---------------- */

.pricing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.pricing-free-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(62, 203, 255, 0.06);
  border: 1px solid rgba(62, 203, 255, 0.18);
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-free-banner strong { color: var(--accent-blue); }

.pfb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-blue);
}

/* Billing toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.ptog-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s;
}
.ptog-btn.ptog-active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.ptog-save {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  letter-spacing: 0.03em;
}

/* Group labels */
.pricing-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Seats highlight feature */
.pricing-feature-seats {
  font-weight: 600;
  color: var(--text-primary) !important;
}
.pricing-feature-seats::before {
  background: currentColor !important;
  opacity: 0.6;
}

/* Seat expansion note */
.pricing-seats-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.psn-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 0.1rem 0.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Free tier footnote */
.pricing-free-foot {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-free-foot strong { color: var(--text-primary); }
.pricing-free-foot a {
  color: var(--accent-blue);
  text-decoration: none;
  margin-left: 0.35rem;
}
.pricing-free-foot a:hover { text-decoration: underline; }

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 0;
}
.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.pricing-card-pro {
  border-color: rgba(62, 203, 255, 0.35);
  background: linear-gradient(160deg, rgba(62,203,255,0.04) 0%, var(--bg-card) 60%);
}
.pricing-card-server-basic {
  border-color: rgba(122, 108, 255, 0.2);
}
.pricing-card-server-pro {
  border-color: rgba(255, 159, 67, 0.3);
  background: linear-gradient(160deg, rgba(255,159,67,0.03) 0%, var(--bg-card) 60%);
}

/* Billed note */
.pricing-price-wrap { margin-bottom: 0.5rem; }
.pricing-billed {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(62, 203, 255, 0.12);
  color: var(--accent-blue);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 1rem;
  width: fit-content;
}
.pricing-badge-purple {
  background: rgba(122, 108, 255, 0.12);
  color: var(--accent-purple);
}
.pricing-badge-orange {
  background: rgba(255, 159, 67, 0.12);
  color: #ff9f43;
}

.pricing-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1.25rem;
}

.pricing-card-server-pro .pricing-features li::before {
  background: #ff9f43;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.84rem;
  color: var(--text-main);
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.pricing-card-pro .pricing-features li::before {
  background: var(--accent-blue);
}

.pricing-card-server-basic .pricing-features li::before {
  background: #7a6cff;
}

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

.pricing-beta-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pricing-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.pricing-btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-main);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: background 0.15s, border-color 0.15s;
}

.pricing-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

@media (max-width: 860px) {
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ---------------- ROADMAP ---------------- */

.roadmap-timeline {
  max-width: 720px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roadmap-item {
  padding: 18px 22px;
  border-left: 2px solid #2a2f3d;
  background: var(--bg-card);
  border-radius: 0 10px 10px 0;
}

.roadmap-item.done {
  border-color: #4ade80;
}

.roadmap-item.active {
  border-color: var(--accent-orange);
}

.roadmap-item.upcoming {
  border-color: var(--accent-purple);
  opacity: 0.7;
}

.roadmap-status {
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.roadmap-item.done .roadmap-status { color: #4ade80; }
.roadmap-item.active .roadmap-status { color: var(--accent-orange); }
.roadmap-item.upcoming .roadmap-status { color: var(--accent-purple); }

.roadmap-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.roadmap-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---------------- FINAL CTA ---------------- */

.final-cta {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.final-cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ---------------- FOOTER ---------------- */

footer {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* ---------------- BETA POPUP ---------------- */

.beta-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 9999;
}

.beta-overlay.hidden {
  display: none;
}

.beta-modal {
  background: #0e1420;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 460px;
  width: 90%;
  text-align: center;
}

.beta-modal h2 {
  margin: 1rem 0 0.75rem;
  font-size: 1.3rem;
}

.beta-modal p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.beta-badge {
  background: var(--accent-orange);
  color: #000;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.beta-btn {
  margin-top: 1.5rem;
  background: var(--accent-blue);
  color: #0b0f14;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
}

.beta-btn:hover {
  background: #5cd4ff;
  transform: translateY(-1px);
}

/* ---------------- SCROLL REVEAL ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- ANIMATED DM DEMO ---------------- */

.animated-demo .dm-message {
  opacity: 0;
  transform: translateY(6px);
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

.animated-demo .dm-anim-1 { animation-name: dm-msg-1; }
.animated-demo .dm-anim-2 { animation-name: dm-msg-2; }
.animated-demo .dm-anim-3 { animation-name: dm-msg-3; }
.animated-demo .dm-anim-4 { animation-name: dm-msg-4; }

@keyframes dm-msg-1 {
  0%   { opacity: 0; transform: translateY(6px); }
  4%   { opacity: 1; transform: translateY(0); }
  82%  { opacity: 1; transform: translateY(0); }
  91%  { opacity: 0; }
  100% { opacity: 0; transform: translateY(6px); }
}

@keyframes dm-msg-2 {
  0%, 19%  { opacity: 0; transform: translateY(6px); }
  24%      { opacity: 1; transform: translateY(0); }
  82%      { opacity: 1; transform: translateY(0); }
  91%      { opacity: 0; }
  100%     { opacity: 0; transform: translateY(6px); }
}

@keyframes dm-msg-3 {
  0%, 38%  { opacity: 0; transform: translateY(6px); }
  43%      { opacity: 1; transform: translateY(0); }
  82%      { opacity: 1; transform: translateY(0); }
  91%      { opacity: 0; }
  100%     { opacity: 0; transform: translateY(6px); }
}

@keyframes dm-msg-4 {
  0%, 57%  { opacity: 0; transform: translateY(6px); }
  62%      { opacity: 1; transform: translateY(0); }
  82%      { opacity: 1; transform: translateY(0); }
  91%      { opacity: 0; }
  100%     { opacity: 0; transform: translateY(6px); }
}

/* ---------------- WHY DISCORD ---------------- */

.why-discord-section {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-discord-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .why-discord-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.why-card:hover {
  border-color: rgba(62, 203, 255, 0.2);
}

.why-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-family: "SF Mono", "Fira Code", monospace;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

/* ---------------- COMPARISON TABLE ---------------- */

.comparison-section {
  padding: 6rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(90px, 120px));
  align-items: center;
}

.comparison-header.cmp-4col,
.comparison-row.cmp-4col {
  grid-template-columns: 1fr repeat(4, minmax(80px, 110px));
}

.comparison-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
}

.cmp-col-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cmp-col-label.cmp-highlight {
  color: var(--accent-blue);
}

.comparison-row {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

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

.cmp-cell {
  text-align: center;
  font-size: 0.85rem;
}

.cmp-cell.cmp-highlight {
  background: rgba(62, 203, 255, 0.04);
}

.cmp-yes {
  color: #4ade80;
  font-weight: 700;
  font-size: 1rem;
}

.cmp-no {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}

.cmp-partial {
  color: var(--text-muted);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .comparison-section {
    padding: 3rem 1rem;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr repeat(3, 54px);
    padding: 0.6rem 0.75rem;
  }

  .comparison-header.cmp-4col,
  .comparison-row.cmp-4col {
    grid-template-columns: 1fr repeat(4, 44px);
    padding: 0.6rem 0.5rem;
  }

  .cmp-feature {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .cmp-cell {
    font-size: 0.75rem;
  }

  .cmp-col-label {
    font-size: 0.6rem;
    letter-spacing: 0em;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    padding: 0 2px;
  }
}

/* ---------------- FAQ ---------------- */

.faq-section {
  padding: 6rem 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 6px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-question {
  color: var(--text-main);
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

.faq-answer code {
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.85em;
  color: var(--accent-blue);
}

/* ---------------- GENERAL MOBILE ---------------- */

@media (max-width: 600px) {
  section {
    padding: 3.5rem 1.25rem;
  }

  .hero {
    padding: 7rem 1.25rem 3.5rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .how-section,
  .server-owners-section {
    padding: 3.5rem 1.25rem;
  }

  .final-cta {
    padding: 3rem 1.25rem;
    border-radius: 14px;
  }

  .section-title {
    margin-bottom: 2.25rem;
  }

  .logo {
    width: 110px;
  }
}

/* ── Waitlist Modal ─────────────────────────────────────────────── */

.waitlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.waitlist-overlay.hidden {
  display: none;
}

.waitlist-modal {
  background: #0e1420;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.waitlist-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: color 0.15s;
}

.waitlist-close:hover {
  color: var(--text-main);
}

.waitlist-header {
  margin-bottom: 1.5rem;
}

.waitlist-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.waitlist-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Discord connected state */
.wl-discord-connected {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.wl-discord-connected.hidden { display: none; }

.wl-dc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg-card);
}

.wl-dc-info {
  flex: 1;
  min-width: 0;
}

.wl-dc-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.wl-dc-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.wl-dc-check {
  color: #57f287;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Discord connect button */
.wl-discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #5865f2;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 1rem;
}

.wl-discord-btn:hover {
  background: #4752c4;
}

.wl-discord-btn.hidden { display: none; }

/* Divider */
.wl-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.wl-divider::before,
.wl-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.wl-divider.hidden { display: none; }

/* Email input */
.wl-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.wl-input:focus {
  border-color: var(--accent-blue);
}

.wl-input::placeholder {
  color: var(--text-muted);
}

/* Checkboxes */
.wl-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wl-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-blue);
  cursor: pointer;
}

.wl-check a {
  color: var(--accent-blue);
  text-decoration: none;
}

.wl-check a:hover {
  text-decoration: underline;
}

/* Error */
.wl-error {
  font-size: 0.82rem;
  color: #ff6b6b;
  margin-bottom: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.wl-error.hidden { display: none; }

/* Submit button */
.wl-submit {
  width: 100%;
  margin-top: 0.25rem;
}

/* Success state */
.wl-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.wl-success.hidden { display: none; }

.wl-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(87, 242, 135, 0.12);
  border: 1px solid rgba(87, 242, 135, 0.3);
  color: #57f287;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.wl-success-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wl-success-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

