:root {
  --ink: #0a0a0a;
  --bg: #ffffff;
  --bg-dark: #0a0014;
  --bg-dark2: #1a0033;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --pink: #e94b7a;
  --pink-glow: #e94b7a55;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

code {
  font-family: 'JetBrains Mono', Menlo, monospace;
  font-size: 0.92em;
  background: #f3f3f3;
  padding: 1px 6px;
  border-radius: 4px;
}

.dark code { background: rgba(255,255,255,0.08); color: #fff; }

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo .dot { color: var(--pink); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--pink); }
.nav-links .muted { color: var(--muted); }

/* ---- hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  padding: 80px 48px 120px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.lede {
  font-size: 20px;
  line-height: 1.5;
  color: #333;
  margin: 0 0 32px;
  max-width: 560px;
}

.cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 100ms;
}

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

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: white; }

.fineprint { margin-top: 32px; font-size: 12px; color: var(--muted); }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
}

.card-stack { position: relative; width: 100%; height: 100%; }
.card {
  position: absolute;
  width: 60%;
  height: 80%;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a0033, #000);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  top: 10%;
  left: 20%;
}
.card.c1 { transform: translate(-90px, -20px) rotate(-10deg); background: linear-gradient(180deg, #ff8aa9, #e94b7a); }
.card.c2 { transform: translate(0, 10px); background: linear-gradient(180deg, #1a0033, #000); box-shadow: 0 0 60px var(--pink-glow), 0 30px 80px rgba(0,0,0,0.4); }
.card.c3 { transform: translate(90px, -10px) rotate(10deg); background: linear-gradient(180deg, #9ed7ff, #4a90e2); }

/* ---- sections ---- */
.section {
  padding: 100px 48px;
  border-top: 1px solid var(--line);
}
.section.dark {
  background: var(--ink);
  color: white;
  border-top: 0;
}
.section.dark .section-sub { color: #aaa; }

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

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink);
  margin: 0 0 16px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

.section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: #555;
  max-width: 720px;
  margin: 0 0 48px;
}

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

.feature {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 8px;
}
.feature p { margin: 0; color: #555; line-height: 1.5; }
.feature.accent {
  background: linear-gradient(135deg, #1a0033, #0a0014);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--pink-glow), 0 16px 50px rgba(233,75,122,0.18);
}
.feature.accent p { color: #c9b6ff; }

.panel {
  padding: 28px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.panel h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
}
.panel p { margin: 0; line-height: 1.55; color: #ccc; }

.stat {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}
.stat .big {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 42px;
  color: var(--pink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cta-section { text-align: center; }
.cta-section .cta { justify-content: center; }
.cta-section .section-sub { margin-left: auto; margin-right: auto; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 48px;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--pink); }

/* ---- responsive ---- */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px 80px; }
  .hero-art { display: none; }
  .nav { padding: 20px 24px; }
  .nav-links { gap: 18px; }
  .section { padding: 64px 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; }
  footer { padding: 24px; }
}

/* ---- demo-only ---- */
.demo-stage {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark2), var(--bg-dark));
  border-radius: 16px;
  padding: 48px;
  min-height: 520px;
  overflow: hidden;
}
.demo-pills {
  display: flex; gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.demo-pill {
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 20px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}
.demo-pill.active {
  background: var(--pink);
}

/* CoverFlow demo */
.cf-stage {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.cf-card {
  position: absolute;
  width: 220px;
  height: 300px;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.3, 0.7, 0.3, 1), opacity 280ms;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--serif);
  font-size: 22px;
  text-align: center;
  padding: 16px;
}
.cf-name {
  margin-top: 32px;
  text-align: center;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: white;
}
.cf-tagline {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9b6ff;
  margin-top: 8px;
}
.cf-controls {
  text-align: center;
  margin-top: 32px;
}
.cf-arrow {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  margin: 0 12px;
}
.cf-cta {
  background: var(--pink);
  color: white;
  padding: 14px 36px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  cursor: pointer;
}
