:root {
  --bg: #FBF9F6;
  --fg: #0F0F1A;
  --lavender: #D4C5F9;
  --coral: #FFB5A7;
  --mint: #B5E8D5;
  --cream: #FFF0E8;
  --muted: #8A8A9A;
  --border: rgba(15,15,26,0.08);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,197,249,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,181,167,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── HERO BALL ZONE ─────────────────────────────────── */
.hero-ball-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}

.orbit-ring-1 { width: 260px; height: 260px; border-color: rgba(212,197,249,0.4); }
.orbit-ring-2 { width: 340px; height: 340px; border-color: rgba(181,232,213,0.3); }
.orbit-ring-3 { width: 420px; height: 420px; border-color: rgba(255,181,167,0.2); }

.hero-ball {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8DCFF 0%, var(--lavender) 50%, #B8A9E8 100%);
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 40px rgba(212,197,249,0.5), 0 0 0 8px rgba(212,197,249,0.15);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.ball-shine {
  position: absolute;
  top: 16px;
  left: 20px;
  width: 28px;
  height: 16px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.hero-ball-shadow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(15,15,26,0.12) 0%, transparent 70%);
  animation: shadow-pulse 3s ease-in-out infinite;
}

@keyframes shadow-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(0.85); opacity: 0.5; }
}

/* ── HERO TEXT ──────────────────────────────────────── */
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--fg);
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
}

/* ── SECTION SHARED ────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ── MECHANICS ──────────────────────────────────────── */
.mechanics {
  padding: 100px 60px;
  background: var(--fg);
  color: var(--bg);
}

.mechanics-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.mechanics .section-label { color: rgba(251,249,246,0.5); }

.mechanics-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.mech-card {
  padding: 48px 40px;
  background: rgba(251,249,246,0.04);
  border: 1px solid rgba(251,249,246,0.08);
}

.mech-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 12px;
  color: var(--bg);
}

.mech-card p {
  font-size: 14px;
  color: rgba(251,249,246,0.6);
  line-height: 1.65;
}

/* ── THE BALL ───────────────────────────────────────── */
.theball {
  padding: 100px 60px;
  background: var(--cream);
}

.theball-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tb-orbit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  position: relative;
}

.tb-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212,197,249,0.2) 0%, transparent 65%);
  border-radius: 50%;
}

.tb-ball {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8DCFF 0%, var(--coral) 35%, var(--lavender) 70%, #B8A9E8 100%);
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(212,197,249,0.4), 0 0 0 10px rgba(212,197,249,0.1);
  animation: orbit-spin 8s linear infinite;
}

@keyframes orbit-spin {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(40px, -30px) rotate(90deg); }
  50% { transform: translate(0, -60px) rotate(180deg); }
  75% { transform: translate(-40px, -30px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

.tb-shadow {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 16px;
  background: radial-gradient(ellipse, rgba(15,15,26,0.1) 0%, transparent 70%);
}

.theball-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.theball-text > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ball-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ball-facts li {
  font-size: 14px;
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet {
  color: var(--lavender);
  font-size: 8px;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── PIPELINE ───────────────────────────────────────── */
.pipeline {
  padding: 100px 60px;
  background: var(--bg);
}

.pipeline-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.pipeline-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.step {}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lavender);
  margin-bottom: 16px;
}

.step h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.pipeline-note {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 28px 40px;
  background: linear-gradient(135deg, rgba(212,197,249,0.12) 0%, rgba(181,232,213,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.pipeline-note p {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}

/* ── CLOSING ────────────────────────────────────────── */
.closing {
  padding: 100px 60px;
  background: var(--lavender);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing p {
  font-size: 16px;
  color: var(--fg);
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: 16px;
}

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  padding: 32px 60px;
  background: var(--fg);
  color: var(--bg);
}

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--bg);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(251,249,246,0.4);
  margin-left: 16px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(251,249,246,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(251,249,246,0.8); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 60px 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-ball-zone { height: 260px; }
  .orbit-ring-1 { width: 180px; height: 180px; }
  .orbit-ring-2 { width: 240px; height: 240px; }
  .orbit-ring-3 { width: 300px; height: 300px; }
  .hero-ball { width: 90px; height: 90px; }
  .mechanics { padding: 72px 28px; }
  .mechanics-grid { grid-template-columns: 1fr; }
  .theball { padding: 72px 28px; }
  .theball-inner { grid-template-columns: 1fr; gap: 40px; }
  .pipeline { padding: 72px 28px; }
  .pipeline-steps { grid-template-columns: 1fr 1fr; }
  .closing { padding: 72px 28px; }
  .site-footer { padding: 24px 28px; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .footer-brand { display: flex; align-items: center; gap: 8px; }
  .footer-tagline { margin-left: 0; font-size: 12px; }
}

@media (max-width: 480px) {
  .pipeline-steps { grid-template-columns: 1fr; }
}