:root {
  --bg: #0A0609;
  --surface: #170D12;
  --surface-high: #231218;
  --primary: #E91E63;
  --secondary: #FF6B9A;
  --gold: #FFC24B;
  --success: #3BE57A;
  --text: #F7EEF1;
  --text-muted: #AA8D96;
  --hairline: rgba(255, 107, 154, 0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .display-heading {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--primary); }

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

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-brand {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(233, 30, 99, 0.45);
}

.btn-outline-brand {
  border: 1.5px solid var(--secondary);
  color: var(--text);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  background: transparent;
  transition: all 0.2s ease;
}
.btn-outline-brand:hover {
  background: var(--surface-high);
  color: var(--text);
  border-color: var(--primary);
}

/* Navbar */
.navbar-brand-custom {
  background: rgba(10, 6, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.navbar-brand-custom .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 0.5rem;
}
.navbar-brand-custom .nav-link:hover,
.navbar-brand-custom .nav-link.active {
  color: var(--secondary) !important;
}
.navbar-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.navbar-wordmark {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.25) 0%, rgba(233, 30, 99, 0) 65%);
  z-index: 0;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

.hero-icon {
  width: 180px;
  height: 180px;
  border-radius: 40px;
  box-shadow: 0 20px 60px rgba(233, 30, 99, 0.4);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.badge-pill {
  background: var(--surface-high);
  border: 1px solid var(--hairline);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Cards */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.section-pad { padding: 5rem 0; }
.section-eyebrow {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.75rem;
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-high);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.cta-banner {
  background: linear-gradient(120deg, #2a0f1a, #170D12);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 3.5rem 2rem;
}

/* Legal/content pages */
.legal-hero {
  padding: 6rem 0 3rem;
  border-bottom: 1px solid var(--hairline);
}
.legal-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--secondary);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text); }
.legal-body ul { padding-left: 1.3rem; }
.legal-body .updated-badge {
  display: inline-block;
  background: var(--surface-high);
  border: 1px solid var(--hairline);
  color: var(--text-muted);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.toc-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
.toc-card a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.toc-card a:hover { color: var(--secondary); }

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 3.5rem 0 2rem;
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--secondary); }
.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hero-icon { width: 130px; height: 130px; }
  .toc-card { position: static; margin-bottom: 2rem; }
}

/* Forms (account deletion, contact, etc.) */
.form-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-card .form-label {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
}
.form-card .form-control {
  background: var(--surface-high);
  border: 1px solid var(--hairline);
  color: var(--text);
  border-radius: 12px;
  padding: 0.7rem 1rem;
}
.form-card .form-control:focus {
  background: var(--surface-high);
  color: var(--text);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.2);
}
.form-card .form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-card .form-text { color: var(--text-muted); }
