/* hydra-site.css — premium minimal dark site */

:root {
  --bg: #060709;
  --bg-2: #0B0F14;
  --ink: #FFFFFF;
  --ink-2: rgba(255,255,255,0.62);
  --ink-3: rgba(255,255,255,0.38);
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --blue: #4FC3F7;
  --blue-2: #2196F3;
  --blue-deep: #1976D2;
  --cyan: #26C6DA;

  --font-display: 'Inter', -apple-system, 'SF Pro Display', system-ui, sans-serif;
  --font-text: 'Inter', -apple-system, 'SF Pro Text', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-feature-settings: "ss01";
  cursor: none;
  overflow-x: hidden;
}

/* Hide default cursor on links / buttons too */
a, button, .interactive { cursor: none; }

/* ── Custom cursor ───────────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.2,0.7,0.2,1),
              height 0.3s cubic-bezier(0.2,0.7,0.2,1),
              background 0.3s,
              border-color 0.3s;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor.is-hovering {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0);
}
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor.is-hovering + .cursor-dot { opacity: 0; }

@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
  body, a, button { cursor: auto; }
}

/* ── Nav ─────────────────────────────────────────────────── */
nav.top {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
  mix-blend-mode: difference;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { display: block; }
.nav-links {
  display: flex; gap: 32px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-links a { color: inherit; text-decoration: none; opacity: 0.7; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }

/* ── Sections shared ─────────────────────────────────────── */
section {
  position: relative;
  padding: 0;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--ink);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  height: 100vh; min-height: 760px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-stage {
  position: relative;
  width: min(100vmin, 820px);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-meta {
  position: absolute;
  left: 0; right: 0;
  bottom: 56px;
  text-align: center;
}
.hero-wordmark {
  font-family: var(--font-display);
  font-size: 88px; font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-tagline {
  font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0;
}
.scroll-cue {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 28px;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--ink-3);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 1px; height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 0.6; }
  50% { transform: scaleY(0.4); opacity: 1; }
}

/* ── Section: Manifesto ──────────────────────────────────── */
.manifesto {
  padding: 200px 0 220px;
}
.manifesto-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 124px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 1100px;
}
.manifesto-text .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.5s, transform 0.5s;
}
.manifesto-text .word.dim { color: var(--ink-3); }
.manifesto-text .word.accent {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.manifesto-sub {
  margin-top: 56px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
}

/* ── Section: 3 différenciateurs ───────────────────────── */
.diffs {
  padding: 160px 0 180px;
  border-top: 1px solid var(--line);
}
.diffs-head {
  margin-bottom: 120px;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.diff-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line-2);
}
.diff-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: baseline;
}
.diff-num-suf {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 2px;
}
.diff-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
}
.diff-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 340px;
}

/* ── Section: Today showcase ─────────────────────────────── */
.showcase {
  padding: 200px 0;
  position: relative;
  overflow: hidden;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-text h2 {
  font-family: var(--font-display);
  font-size: 80px; font-weight: 700; letter-spacing: -0.04em; line-height: 0.98;
  margin-top: 24px;
}
.showcase-text .sub {
  margin-top: 32px;
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
  max-width: 440px;
}
.stat-row {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
}
.stat {
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 700; letter-spacing: -0.025em;
  font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .lbl {
  margin-top: 6px;
  font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* Phone frame */
.phone-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16.5;
  max-width: 380px;
  margin: 0 auto;
  transform-style: preserve-3d;
  perspective: 1200px;
}
.phone {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background: linear-gradient(180deg, #1A1F26 0%, #0F1318 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 60px 120px -30px rgba(33,150,243,0.18),
    0 40px 80px -40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
  z-index: 1;
}
.phone .notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; border-radius: 20px; background: #000;
}
.phone .screen {
  position: absolute; inset: 14px;
  border-radius: 36px;
  background: #0A0B0E;
  overflow: hidden;
}
.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Section: Plans (Free vs Lifetime) ──────────────────── */
.plans {
  padding: 160px 0 180px;
  border-top: 1px solid var(--line);
}
.plans-head {
  margin-bottom: 80px;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-2);
}
.plan {
  padding: 56px 48px 64px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan + .plan {
  border-left: 1px solid var(--line);
}
.plan-pro {
  background:
    radial-gradient(circle at 85% 0%, rgba(33,150,243,0.14) 0%, transparent 55%),
    var(--bg-2);
}
.plan-head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.plan-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.plan-pro .plan-tag { color: var(--blue); }
.plan-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
}
.plan-meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.plan-list li {
  padding: 16px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 32px;
  display: flex;
  align-items: center;
}
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.05);
}
.plan-free .plan-list li::after {
  content: '';
  position: absolute;
  left: 6px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  transform: translateY(-50%);
}
.plan-pro .plan-list li::before {
  background: rgba(79,195,247,0.18);
}
.plan-pro .plan-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(79,195,247,0.55);
}

/* ── Section: Science / Methodology ─────────────────────── */
.science {
  padding: 160px 0 180px;
  border-top: 1px solid var(--line);
}
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: start;
}
.science-sub {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 480px;
  text-wrap: pretty;
}
.science-sub em {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}
.science-refs {
  padding-top: 56px;
}
.science-refs-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.refs {
  list-style: none;
  padding: 0;
  margin: 0;
}
.refs li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ref-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.ref-body { min-width: 0; }
.ref-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.ref-authors { color: var(--ink); font-weight: 500; }
.ref-year {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.ref-title {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-style: italic;
  line-height: 1.45;
  text-wrap: pretty;
}
.ref-pub {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  padding-top: 4px;
  white-space: nowrap;
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta {
  padding: 200px 0 240px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(33,150,243,0.18) 0%, rgba(33,150,243,0) 60%);
  pointer-events: none;
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 132px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  max-width: 1100px;
  margin: 0 auto;
}
.cta .sub {
  margin-top: 32px; font-size: 18px; color: var(--ink-2); max-width: 460px;
  margin-inline: auto; line-height: 1.5;
}
.cta-btns {
  margin-top: 56px;
  display: flex; gap: 16px; justify-content: center;
}
.cta-note {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none;
  cursor: none;
  transition: transform 0.25s, background 0.25s;
}
.btn.primary { background: #FFFFFF; color: #000; }
.btn.primary:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255,255,255,0.04); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ── Reveal ──────────────────────────────────────────────── */
[data-reveal] { opacity: 0; }

/* Small */
@media (max-width: 900px) {
  nav.top { padding: 18px 24px; }
  .wrap { padding: 0 24px; }
  .hero-wordmark { font-size: 56px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 60px; }
  .diff-grid { grid-template-columns: 1fr; gap: 56px; }
  .diffs-head { margin-bottom: 72px; }
  .showcase-text h2 { font-size: 56px; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .stat .num { font-size: 32px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan + .plan { border-left: none; border-top: 1px solid var(--line); }
  .plan { padding: 40px 28px 48px; }
  .science-grid { grid-template-columns: 1fr; gap: 56px; }
  .science-refs { padding-top: 0; }
  .refs li { grid-template-columns: auto 1fr; }
  .ref-pub { grid-column: 2; margin-top: 4px; }
}
