@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ─── Custom Properties ─────────────────────────────────────────────────── */
:root {
  --brand-primary:   #6C3BFF;
  --brand-secondary: #FF3B6C;
  --brand-accent:    #FFD700;
  --bg:              #0E0B1F;
  --bg-card:         #1A1535;
  --bg-nav:          rgba(14, 11, 31, 0.92);
  --text:            #F0ECF8;
  --text-muted:      #A098C0;
  --border:          rgba(108, 59, 255, 0.25);
  --radius:          12px;
  --radius-sm:       8px;
  --transition:      0.2s ease;
  --shadow:          0 4px 32px rgba(108, 59, 255, 0.18);
  --max-w:           800px;
  --font-xs:         0.78rem;
  --font-sm:         0.9rem;
  --font-base:       1rem;
  --font-lg:         1.15rem;
  --font-xl:         1.4rem;
  --font-2xl:        2rem;
  --font-3xl:        2.8rem;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: var(--font-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-secondary); }
ul, ol { padding-left: 1.5rem; }

/* ─── Header / Nav ──────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-name {
  font-weight: 700;
  font-size: var(--font-lg);
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

/* ─── Main Content ──────────────────────────────────────────────────────── */
main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}
.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 0 60px rgba(108, 59, 255, 0.45), var(--shadow);
  margin-bottom: 1.8rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-title {
  font-size: var(--font-3xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 30%, var(--brand-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.hero-tagline {
  font-size: var(--font-xl);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.hero-description {
  max-width: 560px;
  color: var(--text-muted);
  font-size: var(--font-sm);
  line-height: 1.8;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.8rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  font-size: var(--font-xs);
  font-weight: 500;
  color: var(--text-muted);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* ─── About Section ─────────────────────────────────────────────────────── */
.about {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.section-label {
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1rem;
  box-shadow: var(--shadow);
}
.about-card h2 {
  font-size: var(--font-xl);
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}
.about-card p {
  color: var(--text-muted);
  font-size: var(--font-sm);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.6rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: var(--font-sm);
}
.feature-list li::before {
  content: '✦';
  color: var(--brand-primary);
  font-size: 0.65rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

/* ─── Legal / Prose Pages ───────────────────────────────────────────────── */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.page-hero h1 {
  font-size: var(--font-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.page-hero .meta {
  font-size: var(--font-xs);
  color: var(--text-muted);
}
.prose h2 {
  font-size: var(--font-xl);
  font-weight: 600;
  margin: 2.4rem 0 0.8rem;
  color: var(--text);
  letter-spacing: -0.02em;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-size: var(--font-lg);
  font-weight: 600;
  margin: 1.6rem 0 0.5rem;
  color: var(--text);
}
.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: var(--font-sm);
}
.prose ul, .prose ol {
  color: var(--text-muted);
  font-size: var(--font-sm);
  margin-bottom: 1rem;
}
.prose li { margin-bottom: 0.35rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--brand-primary); }
.prose a:hover { color: var(--brand-secondary); }
.info-box {
  background: var(--bg-card);
  border-left: 3px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  font-size: var(--font-sm);
  color: var(--text-muted);
}
.info-box strong { color: var(--text); }

/* ─── Footer ────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--font-xs);
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* ─── Retention / Cookie Tables ─────────────────────────────────────────── */
.retention-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: var(--font-sm);
}
.retention-table th,
.retention-table td {
  padding: 0.65rem 0.9rem;
  text-align: left;
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.retention-table th {
  background: rgba(108, 59, 255, 0.15);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.retention-table td {
  color: var(--text-muted);
}
.retention-table td:first-child {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .retention-table,
  .retention-table thead,
  .retention-table tbody,
  .retention-table th,
  .retention-table td,
  .retention-table tr { display: block; }
  .retention-table thead { display: none; }
  .retention-table td { border-top: none; }
  .retention-table td:first-child {
    background: rgba(108, 59, 255, 0.1);
    padding-top: 0.75rem;
    white-space: normal;
  }
  .retention-table tr { border: 1px solid var(--border); margin-bottom: 0.75rem; border-radius: var(--radius-sm); overflow: hidden; }
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --font-3xl: 2.1rem;
    --font-2xl: 1.6rem;
    --font-xl:  1.2rem;
  }
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero-logo { width: 100px; height: 100px; }
  .nav-inner { padding: 0.75rem 1rem; }
  .nav-links { gap: 1rem; }
  .about { padding: 0 1rem 3rem; }
  .about-card { padding: 1.4rem; }
  main { padding: 1.5rem 1rem 3rem; }
}
