/* ── Ghost Landing & Products — Public Page Styles ───────────────────────── */

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

:root {
  --bg:           #07070a;
  --bg-card:      #0d0d12;
  --bg-elevated:  #111118;
  --border:       #18181f;
  --border-mid:   #22222c;
  --border-light: #2e2e3c;
  --text:         #e2e2e6;
  --text-dim:     #64646e;
  --text-muted:   #3a3a46;
  --accent:       #b42a2a;
  --accent-light: #d44040;
  --accent-dark:  #7a1520;
  --accent-glow:  rgba(180, 42, 42, 0.18);
  --radius:       8px;
  --radius-lg:    14px;
  --nav-h:        64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 999;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

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

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

.btn-nav-ghost {
  font-size: 12px;
  color: var(--text-dim);
  padding: 7px 16px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-nav-ghost:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.btn-nav-primary {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  padding: 7px 18px;
  background: var(--accent);
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.3px;
}

.btn-nav-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(180,42,42,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -55%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -55%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(180,42,42,0.08);
  border: 1px solid rgba(180,42,42,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  animation: fade-up 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-light);
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 900;
  letter-spacing: 18px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #c0c0c8 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.08));
  animation: fade-up 0.6s 0.1s ease both;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 400px;
  animation: fade-up 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  animation: fade-up 0.6s 0.3s ease both;
}

.btn-primary {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 12px 28px;
  background: var(--accent);
  border-radius: var(--radius);
  border: 1px solid var(--accent-light);
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180,42,42,0.3);
}

.btn-outline {
  font-size: 13px;
  color: var(--text-dim);
  padding: 12px 28px;
  background: transparent;
  border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  animation: fade-in 1s 1s ease both;
}

.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── SECTION SHARED ───────────────────────────────────────────────────────── */
section { padding: 100px 0; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 56px;
}

/* ── FEATURES ─────────────────────────────────────────────────────────────── */
.features { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg-elevated); }

.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(180,42,42,0.1);
  border: 1px solid rgba(180,42,42,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── DIVIDER ──────────────────────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-mid), transparent);
}

/* ── PRODUCTS PREVIEW ─────────────────────────────────────────────────────── */
.products-section { background: var(--bg); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.product-card.featured {
  border-color: rgba(180,42,42,0.3);
}

.product-card.featured:hover {
  border-color: rgba(180,42,42,0.5);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  transition: background 0.3s;
}

.product-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(180,42,42,0.08);
  border: 1px solid rgba(180,42,42,0.15);
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
}

.product-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.product-features-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.product-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.btn-product {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 11px 24px;
  background: var(--accent);
  border-radius: var(--radius);
  border: 1px solid var(--accent-light);
  transition: all 0.2s;
  flex: 1;
  text-align: center;
}

.btn-product:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(180,42,42,0.25);
}

.btn-product-ghost {
  font-size: 13px;
  color: var(--text-dim);
  padding: 11px 20px;
  background: transparent;
  border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  transition: all 0.2s;
  flex: 1;
  text-align: center;
}

.btn-product-ghost:hover {
  color: var(--text);
  border-color: var(--border-light);
}

/* ── STATS STRIP ──────────────────────────────────────────────────────────── */
.stats-strip {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: var(--border);
}

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

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* ── DISCORD CTA ──────────────────────────────────────────────────────────── */
.discord-section { background: var(--bg); }

.discord-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (max-width: 700px) {
  .discord-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
}

.discord-card-text h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.discord-card-text p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 400px;
}

.btn-discord {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 13px 28px;
  background: #5865f2;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88,101,242,0.3);
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-dim); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── PRODUCTS PAGE ────────────────────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label { text-align: center; }

.full-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 800px) {
  .full-products-grid { grid-template-columns: 1fr; }
}

.full-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.full-product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.full-product-card.featured { border-color: rgba(180,42,42,0.25); }
.full-product-card.featured:hover { border-color: rgba(180,42,42,0.45); }

.fpc-header {
  padding: 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.fpc-body { padding: 32px; }

.fpc-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 12px 0 8px;
}

.fpc-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

.fpc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.fpc-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.fpc-features li .check {
  color: var(--accent-light);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.fpc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  margin-top: 24px;
}

.fpc-label:first-child { margin-top: 0; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section { padding-bottom: 100px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
}

.faq-item {
  background: var(--bg-card);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--accent-light); }

.faq-q .arrow {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.faq-item.open .faq-q .arrow { transform: rotate(180deg); }

.faq-a {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
