:root {
  --bg: #040205;
  --panel: #0b0911;
  --panel-alt: #14111d;
  --text: #fdf8ff;
  --muted: #b3a9c9;
  --primary: #a885ff;
  --primary-strong: #734bff;
  --primary-soft: rgba(168, 133, 255, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(115, 75, 255, 0.12), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(17, 12, 26, 0.65), transparent 60%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.muted {
  color: var(--muted);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.legal-page {
  max-width: 900px;
}

.legal-content {
  background: var(--panel);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-content h1 {
  margin-top: 0;
  color: var(--primary);
  font-size: 2.6rem;
}

.legal-content h2 {
  margin: 0;
  color: var(--text);
}

.legal-content ul {
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.legal-content section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-content section + section {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-disclaimer {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  background: rgba(168, 133, 255, 0.1);
  border: 1px solid var(--primary-soft);
  color: var(--text);
  font-size: 0.95rem;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.brand-name {
  font-size: 1.1rem;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  background: rgba(9, 7, 12, 0.75);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.85rem;
  color: var(--primary-strong);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 1rem;
  color: var(--primary);
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.hero-description {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.preview-panel {
  border-radius: 28px;
  padding: 0;
  background: transparent;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 260px;
}

.preview-media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.preview-caption {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.metric-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(12, 9, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.metric-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.metric-label {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid rgba(168, 133, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45), 0 0 30px var(--primary-soft);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.features h3 {
  margin: 0 0 0.4rem;
  color: var(--text);
}

.features p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  display: flex;
  justify-content: center;
}

.cta-card {
  width: min(560px, 100%);
  text-align: center;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(115, 75, 255, 0.3), rgba(168, 133, 255, 0.15));
  border: 1px solid rgba(168, 133, 255, 0.4);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
}

.cta-card p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
  font-size: 0.75rem;
}

.cta-card h2 {
  margin: 1rem 0 1.5rem;
  font-size: 2rem;
}

.faq {
  padding: 2.5rem;
  border-radius: 28px;
  background: var(--panel-alt);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 0;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  transition: transform 0.2s ease;
  color: var(--primary);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer > * {
  flex: 1 1 220px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-strong);
}

.btn {
  border: none;
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.link {
  background: transparent;
  color: var(--text);
  padding-left: 0;
}

.btn.waitlist {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #0b0514;
  box-shadow: 0 10px 40px rgba(115, 75, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .top-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .hero,
  .faq {
    padding: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
