/* =====================================================
   ROOT VARIABLES — Soft Slate Dark Theme
   ===================================================== */
:root {
  --bg-main: #0B0F17;
  --bg-card: #151C28;
  --bg-card-hover: #1B2333;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(56, 189, 248, 0.22);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #4B5563;
  --accent-cyan: #38BDF8;
  --accent-blue: #6366F1;
  --accent-emerald: #10B981;
  --accent-gradient: linear-gradient(135deg, #38BDF8 0%, #6366F1 100%);
  --accent-glow: 0 0 20px rgba(56, 189, 248, 0.15);
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Atmosphere glow */
body::before {
  content: '';
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(56, 189, 248, 0.04) 55%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================================================
   HEADER & NAV
   ===================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 15, 23, 0.88);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.12rem 0.5rem;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-cyan); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  background: rgba(11, 15, 23, 0.97);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 150;
  transform: translateY(-110%);
  transition: transform 0.3s var(--ease);
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav ul {
  list-style: none;
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--accent-cyan); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
  z-index: 1;
}

/* Fade-up entrance */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.55s var(--ease) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.8rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px var(--accent-emerald); }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* Stats Row */
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  width: fit-content;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.1rem;
}

.stat-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* Highlights */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.highlight-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--text-primary);
}

.highlight-pill svg { color: var(--accent-cyan); flex-shrink: 0; }

/* CTAs */
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(56, 189, 248, 0.3); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--accent-cyan); transform: translateY(-2px); }

.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.section-header { margin-bottom: 1.75rem; }

.section-tag {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.section-desc { color: var(--text-secondary); font-size: 0.925rem; }

/* =====================================================
   GRID & CARDS
   ===================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.card-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.card-desc { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.5rem; }
.card-example {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(56,189,248,0.3);
  padding: 0.4rem 0.65rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* =====================================================
   SHOWCASE CARDS (Collapsible)
   ===================================================== */
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.25s;
}
.showcase-card:hover { border-color: var(--border-glow); }

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.showcase-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.showcase-desc { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.12rem 0.45rem;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.tag-accent {
  background: rgba(56,189,248,0.08);
  color: var(--accent-cyan);
  border-color: rgba(56,189,248,0.22);
}

/* Collapsible video */
.video-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.3s ease;
}
.video-wrapper.open { max-height: 520px; opacity: 1; }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* =====================================================
   PRICING — Simple
   ===================================================== */
.pricing-simple-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  max-width: 540px;
}

.pricing-simple-range {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-per {
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-simple-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-simple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pricing-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
}

.pricing-meta-pill svg { color: var(--accent-cyan); flex-shrink: 0; }

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: var(--border-glow); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  gap: 1rem;
}

.faq-question:hover { color: var(--accent-cyan); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease);
}

.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding: 0 1.25rem 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

/* =====================================================
   CONTACT & PAYMENT
   ===================================================== */
.contact-card {
  background: linear-gradient(135deg, rgba(21, 28, 40, 0.95), rgba(27, 35, 51, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0 0.5rem;
}

.discord-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.4rem;
  background: #23262d;
  border: 1px solid #3a3d44;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.discord-box:hover {
  background: #2d3038;
  border-color: #5865F2;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.3);
  transform: translateY(-2px);
}

.discord-icon { color: #5865F2; }

.copy-badge {
  font-size: 0.7rem;
  font-family: var(--font-sans);
  background: #5865F2;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-left: 0.25rem;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.payment-badge svg { color: #0070BA; }

.payment-methods-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--accent-glow);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s var(--ease);
  z-index: 1000;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 680px) {
  .hero-title { font-size: 1.85rem; }
  .hero { padding: 2.75rem 0 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .stats-row { width: 100%; justify-content: center; gap: 0; }
  .showcase-header { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 1.5rem; }
  .discord-box { width: 100%; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; }
}
