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

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --card-bg: rgba(124, 58, 237, 0.06);
  --card-bg-highlight: rgba(139, 92, 246, 0.12);
  --card-border: rgba(139, 92, 246, 0.15);
  --card-border-strong: rgba(139, 92, 246, 0.25);
  --divider: rgba(139, 92, 246, 0.1);
  --accent-primary: #8b5cf6;
  --accent-secondary: #7c3aed;
  --accent-light: #a78bfa;
  --text-primary: #f8f9fc;
  --text-secondary: #94a3b8;
  --text-tertiary: #c4b5fd;
  --brand-gradient: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(139, 92, 246, 0.12) 0%, transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(124, 58, 237, 0.10) 0%, transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(139, 92, 246, 0.025) 49px, rgba(139, 92, 246, 0.025) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(139, 92, 246, 0.025) 49px, rgba(139, 92, 246, 0.025) 50px);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Navigation ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background-color: rgba(10, 14, 26, 0.72);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  display: inline-block;
  text-shadow: 0 0 24px rgba(139, 92, 246, 0.0);
  transition: text-shadow 0.3s ease;
}

.brand-wordmark:hover {
  color: var(--text-primary);
  text-shadow: 0 0 24px rgba(139, 92, 246, 0.6);
  border: none;
}

.brand-wordmark span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  border: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-light);
  border: none;
}

/* ---------- Layout ---------- */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  animation: fadeUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.container-wide {
  max-width: 1100px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Typography ---------- */
.page-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 6px 14px;
  background: var(--card-bg-highlight);
  border: 1px solid var(--card-border-strong);
  border-radius: 999px;
  margin-bottom: 24px;
}

h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: 56px;
  margin-bottom: 18px;
  position: relative;
  padding-top: 20px;
}

h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

p {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--accent-primary);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.7;
}

li::marker {
  color: var(--accent-light);
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border-strong), transparent);
  margin: 48px 0;
}

.meta {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 13px;
  margin-right: 18px;
  margin-bottom: 4px;
}

.meta strong {
  color: var(--text-tertiary);
  font-weight: 600;
}

/* ---------- Tables ---------- */
.table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  margin: 28px 0;
  position: relative;
}

.table-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-gradient);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--divider);
}

tbody tr:last-child th, tbody tr:last-child td {
  border-bottom: none;
}

th {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background-color: rgba(139, 92, 246, 0.06);
}

td {
  color: var(--text-primary);
}

tbody tr {
  transition: background 0.15s ease;
}

tbody tr:hover {
  background: rgba(139, 92, 246, 0.04);
}

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px;
  margin: 28px 0;
  position: relative;
}

.card-highlight {
  background: var(--card-bg-highlight);
  border-color: var(--card-border-strong);
  border-left: 4px solid var(--accent-primary);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.10);
}

.card-highlight .card-label {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-secondary);
  border-top: 2px solid;
  border-image: var(--brand-gradient) 1;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: block;
}

.footer-brand span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  border: none;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-light);
  border: none;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-copy strong {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---------- Landing hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 140px 24px 110px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-wordmark {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 32px;
  animation: glowPulse 3s ease-in-out infinite;
}

.hero-wordmark span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 24px rgba(139, 92, 246, 0.35); }
  50% { text-shadow: 0 0 48px rgba(139, 92, 246, 0.65); }
}

.hero h1 {
  font-size: 72px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(180deg, #f8f9fc 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 28px;
}

.hero .tagline {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.cta-primary {
  background: var(--brand-gradient);
  color: var(--text-primary);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.30);
  animation: ctaGlow 3s ease-in-out infinite;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(139, 92, 246, 0.55);
  border: none;
  color: var(--text-primary);
  filter: brightness(1.08);
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(139, 92, 246, 0.25); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.45); }
}

.cta-secondary {
  background: transparent;
  border: 1px solid var(--card-border-strong);
  color: var(--text-primary);
}

.cta-secondary:hover {
  border-color: var(--accent-light);
  background: rgba(139, 92, 246, 0.06);
  color: var(--text-primary);
}

/* ---------- Feature grid ---------- */
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  text-align: center;
  margin-bottom: 12px;
}

.section-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-primary);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.feature {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.25s ease;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature:hover {
  background: var(--card-bg-highlight);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 24px rgba(139, 92, 246, 0.10);
}

.feature:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg-highlight);
  border: 1px solid var(--card-border-strong);
  border-radius: 12px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 17px;
}

.feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ---------- Landing "How" section ---------- */
.section {
  padding: 60px 24px 80px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.step {
  position: relative;
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
}

.step-num {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 36px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 17px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.65;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .container { padding: 48px 20px 80px; }
  h1 { font-size: 34px; }
  h2 { font-size: 21px; margin-top: 40px; padding-top: 18px; }
  h3 { font-size: 16px; }
  body { font-size: 15px; }
  p { font-size: 15px; }

  .hero { padding: 80px 20px 70px; }
  .hero h1 { font-size: 42px; }
  .hero-wordmark { font-size: 17px; }
  .hero .tagline { font-size: 16px; }
  .section-heading { font-size: 28px; }

  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.08em; }

  table { font-size: 13px; }
  th, td { padding: 12px 14px; }

  .cta { padding: 14px 24px; font-size: 13px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .cta { width: 100%; }
}
