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

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

:root {
  --bg: #0D0D0F;
  --surface: #161618;
  --surface2: #1E1E21;
  --primary: #7C3AED;
  --primary-light: #9D65F5;
  --text: #E8E0D5;
  --text-muted: #8A8490;
  --border: #2A2A2E;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header-nav { display: flex; gap: 32px; align-items: center; }

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Breathing ring — signature element */
.breathing-ring {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 48px;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: breathe 4s ease-in-out infinite;
}

.ring:nth-child(2) {
  border-color: rgba(124, 58, 237, 0.4);
  animation-delay: 0.5s;
  inset: -12px;
}

.ring:nth-child(3) {
  border-color: rgba(124, 58, 237, 0.15);
  animation-delay: 1s;
  inset: -26px;
}

.ring-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary);
}

@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--primary-light); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── SECTIONS ── */
section { padding: 96px 24px; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--surface); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.step {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: var(--primary); }

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── SCIENCE SECTION ── */
.science { background: var(--surface); }

.science-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.science-stat {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.science-stat-label { font-size: 0.9rem; color: var(--text-muted); }

.science-stats { display: flex; flex-direction: column; gap: 40px; }

/* ── BLOG TEASER ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}

.blog-card:hover { border-color: var(--primary); transform: translateY(-2px); }

.blog-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }

.blog-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.blog-read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
}

/* ── CTA BANNER ── */
.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, #1a0f2e 0%, #0D0D0F 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-banner p { color: var(--text-muted); margin-bottom: 36px; font-size: 1.05rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.effective-date { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 48px; }

.legal-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }

.legal-content ul {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content a { color: var(--primary-light); }

/* ── BLOG PAGES ── */
.blog-hero {
  padding: 120px 24px 60px;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.blog-hero p { color: var(--text-muted); }

.blog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-list-item {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.blog-list-item:hover { border-color: var(--primary); }

.blog-list-item h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-list-item p { font-size: 0.95rem; color: var(--text-muted); }

.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.post-back:hover { color: var(--text); }

.post-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 48px; }

.post-body h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 14px;
}

.post-body p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.85; }

.post-body ul, .post-body ol {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 20px;
  line-height: 1.85;
}

.post-body strong { color: var(--text); font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-header { padding: 16px 20px; }
  .header-nav { gap: 16px; }
  .science-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .header-nav a:not(.btn) { display: none; }
}
