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

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

:root {
  --purple:       #7C3AED;
  --purple-dark:  #5B21B6;
  --purple-light: rgba(124, 58, 237, 0.18);
  --purple-icon:  #A78BFA;

  /* Dark palette */
  --bg-body:    #111827;
  --bg-raised:  #1F2937;
  --bg-subtle:  #1a1432;
  --bg-footer:  #0F172A;
  --border:     #374151;
  --border-sub: #2D3748;

  /* Text */
  --text-primary:   #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-body:      #D1D5DB;

  --max-w: 960px;
  --radius: 12px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Header ─────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  display: block;
}
.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}
nav a:hover { color: var(--text-primary); }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--purple);
  color: #fff !important;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn-large {
  padding: 14px 32px;
  font-size: 1.0625rem;
  border-radius: 10px;
}
.btn-outline {
  background: transparent;
  color: var(--purple-icon) !important;
  border: 2px solid var(--purple);
}
.btn-outline:hover { background: var(--purple-light); transform: none; }

/* ─── Hero ───────────────────────────────────── */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
  max-width: 680px;
  margin: 0 auto 24px;
}
.hero h1 span { color: var(--purple-icon); }
.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ─── Sections ───────────────────────────────── */
section { padding: 80px 0; }
section.alt { background: var(--bg-raised); }
section.purple-tint { background: var(--bg-subtle); }

.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }
h2.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
p.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
}

/* ─── Grids ──────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* ─── Cards ──────────────────────────────────── */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.15);
  border-color: var(--purple);
}
.card-number {
  width: 36px;
  height: 36px;
  background: var(--purple-light);
  color: var(--purple-icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--purple-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--purple-icon);
  flex-shrink: 0;
}

/* ─── Who it's for ───────────────────────────── */
.persona-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.persona-card:hover { border-color: var(--purple); }
.persona-card .icon {
  width: 44px;
  height: 44px;
  background: var(--purple-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--purple-icon);
  flex-shrink: 0;
}
.persona-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.persona-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── Compliance ─────────────────────────────── */
.compliance-box {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  max-width: 720px;
  margin: 0 auto;
}
.compliance-box ul { list-style: none; }
.compliance-box li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-sub);
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.compliance-box li:last-child { border-bottom: none; padding-bottom: 0; }
.compliance-box li::before {
  content: '✓';
  color: var(--purple-icon);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1rem;
}

/* ─── Contact ────────────────────────────────── */
.contact-section { text-align: center; }
.contact-section p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1rem; }
.contact-section a { color: var(--purple-icon); text-decoration: none; font-weight: 500; }
.contact-section a:hover { text-decoration: underline; }

/* ─── Footer ─────────────────────────────────── */
footer {
  background: var(--bg-footer);
  color: #fff;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-left { font-size: 0.8125rem; color: var(--text-secondary); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  transition: color 0.15s;
  white-space: nowrap;
}
.footer-links a:hover { color: #fff; }
.footer-links .btn {
  color: #fff !important;
  background: var(--purple);
  padding: 6px 16px;
  font-size: 0.8125rem;
}

/* ─── Legal pages ────────────────────────────── */
.legal-header {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 36px;
  text-align: center;
}
.legal-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.legal-header .effective {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text-primary);
}
.legal-content p {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 14px;
  padding-left: 24px;
}
.legal-content ul li { margin-bottom: 6px; }
.legal-content a { color: var(--purple-icon); }
.legal-content strong { color: var(--text-primary); }

/* ─── Divider ────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 700px) {
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  nav { gap: 12px; }
  .hero { padding: 56px 24px 48px; }
  .hero p { font-size: 1rem; }
  section { padding: 56px 0; }
  .compliance-box { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .legal-header h1 { font-size: 1.75rem; }
}
