:root {
  --bg: #130a0e;
  --bg-alt: #1d1118;
  --card: #261520;
  --card-2: #311926;
  --text: #fff4f8;
  --muted: #d2b3bf;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #ee2b5b;
  --primary-soft: rgba(238, 43, 91, 0.15);
  --success: #16a34a;
  --warning: #f97316;
  --danger: #dc2626;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, #3a1525 0%, transparent 46%),
    radial-gradient(circle at 95% 10%, #3e1e1a 0%, transparent 32%),
    var(--bg);
  line-height: 1.6;
}

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

.shell {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(19, 10, 14, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--primary), #ff8d6b);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--primary-soft);
  border-color: rgba(238, 43, 91, 0.3);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 2px;
}

.hero {
  padding: 76px 0 48px;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #ffdbe7;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary-soft);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-family: "Space Grotesk", "Sora", sans-serif;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  margin-top: 14px;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.lead {
  margin: 18px 0 24px;
  max-width: 70ch;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 15px;
  font-weight: 600;
  font-size: 0.92rem;
}

.btn.primary {
  background: linear-gradient(45deg, var(--primary), #ff8d6b);
  color: #23050e;
}

.btn.ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.grid {
  display: grid;
  gap: 14px;
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
}

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

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  margin: 10px 0 26px;
}

.section-head {
  margin-bottom: 10px;
}

.page-head {
  padding: 52px 0 16px;
}

.copy {
  color: var(--muted);
  max-width: 75ch;
}

.panel {
  background: rgba(38, 21, 32, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.notice {
  margin: 14px 0;
  border-radius: 12px;
  border: 1px dashed rgba(238, 43, 91, 0.45);
  padding: 12px;
  background: rgba(238, 43, 91, 0.1);
  color: #ffe6ee;
}

.notice.warn {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(249, 115, 22, 0.1);
}

.notice.danger {
  border-color: rgba(220, 38, 38, 0.5);
  background: rgba(220, 38, 38, 0.11);
}

.quick-links {
  margin: 24px 0 60px;
}

.quick-links a {
  color: #ffdbe7;
  font-weight: 600;
  font-size: 0.92rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.stat-card {
  background: rgba(24, 13, 19, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.stat-value {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 700;
  color: #ffdbe7;
  margin-bottom: 8px;
}

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

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
}

.chip.active {
  color: var(--text);
  background: var(--primary-soft);
  border-color: rgba(238, 43, 91, 0.4);
}

.filter-grid .card {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.is-hidden {
  display: none;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}

.tab-btn.active {
  color: var(--text);
  background: var(--primary-soft);
  border-color: rgba(238, 43, 91, 0.4);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(30, 18, 25, 0.82);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  cursor: pointer;
}

.faq-a {
  display: none;
  border-top: 1px solid var(--line);
  padding: 11px 14px;
  color: var(--muted);
}

.faq-item.open .faq-a {
  display: block;
}

.cta-band {
  border: 1px solid rgba(238, 43, 91, 0.35);
  background: linear-gradient(180deg, rgba(238, 43, 91, 0.18), rgba(255, 141, 107, 0.08));
  border-radius: 16px;
  padding: 18px;
  margin: 10px 0 18px;
}

.cta-band p {
  color: #ffdbe7;
  margin: 10px 0 15px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 42px;
}

.footer-row {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 22px 0 30px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.legal-links a {
  color: #ffdbe7;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(238, 43, 91, 0.4);
  background: rgba(20, 12, 16, 0.9);
  color: #ffdbe7;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 0.86rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 60;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(17, 10, 14, 0.98);
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-link {
    padding: 10px 11px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    max-width: 100%;
  }
}
