/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #04040e;
  --bg-alt:      #07070f;
  --purple:      #5B5EE2;
  --indigo:      #4338ca;
  --grad-text:   linear-gradient(120deg, #a78bfa 0%, #60a5fa 100%);
  --text:        #ffffff;
  --text-muted:  #94a3b8;
  --text-dim:    #475569;
  --border:      rgba(255,255,255,0.07);
  --border-soft: rgba(255,255,255,0.14);
  --card-bg:     rgba(255,255,255,0.04);
  --font:        'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius:      16px;
  --blur:        blur(24px) saturate(180%);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scroll Reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible      { opacity: 1; transform: translateY(0); }
.reveal-d1           { transition-delay: 0.08s; }
.reveal-d2           { transition-delay: 0.16s; }
.reveal-d3           { transition-delay: 0.24s; }

/* ── Header — see shared.css ── */

/* ── Hero ──────────────────────────────────────────────────────────── */
.ft-hero {
  padding: 140px 8px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ft-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ft-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
}
.ft-orb-1 { width: 500px; height: 400px; top: -80px; left: 50%; transform: translateX(-70%); background: #5B5EE2; }
.ft-orb-2 { width: 360px; height: 360px; top: 0; right: 5%;  background: #3b82f6; opacity: 0.18; }
.ft-hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
.ft-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(167,139,250,0.9);
  background: rgba(91,94,226,0.14);
  border: 1px solid rgba(91,94,226,0.30);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.ft-h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 20px;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ft-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Timeline ──────────────────────────────────────────────────────── */
.ft-timeline {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px 120px;
}
.ft-release {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 40px;
  position: relative;
  margin-bottom: 72px;
}
.ft-release::after {
  content: '';
  position: absolute;
  left: 179px;
  top: 0; bottom: -72px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(91,94,226,0.35) 0%, rgba(255,255,255,0.05) 100%);
}
.ft-release:last-child::after { display: none; }

/* Left column — version + date */
.ft-release-meta {
  text-align: right;
  padding-top: 4px;
  padding-right: 24px;
}
.ft-version-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(91,94,226,0.18);
  color: rgba(167,139,250,0.95);
  border: 1px solid rgba(91,94,226,0.35);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.ft-version-badge.major { background: rgba(59,130,246,0.18); color: rgba(147,197,253,0.95); border-color: rgba(59,130,246,0.35); }
.ft-release-date {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Right column — content */
.ft-release-body {
  padding-left: 28px;
  position: relative;
}
.ft-release-body::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91,94,226,0.8);
  box-shadow: 0 0 0 3px rgba(91,94,226,0.15);
}
.ft-release-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.ft-release-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.ft-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.ft-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid;
}
.ft-cat.annotation { background: rgba(167,139,250,0.12); color: rgba(167,139,250,0.9);  border-color: rgba(167,139,250,0.30); }
.ft-cat.history    { background: rgba(59,130,246,0.12);  color: rgba(147,197,253,0.9);  border-color: rgba(59,130,246,0.30); }
.ft-cat.auth       { background: rgba(16,185,129,0.12);  color: rgba(110,231,183,0.9);  border-color: rgba(16,185,129,0.30); }
.ft-cat.engine     { background: rgba(245,158,11,0.12);  color: rgba(253,211,77,0.9);   border-color: rgba(245,158,11,0.30); }
.ft-cat.export     { background: rgba(236,72,153,0.12);  color: rgba(249,168,212,0.9);  border-color: rgba(236,72,153,0.30); }
.ft-cat.ui         { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.60); border-color: rgba(255,255,255,0.14); }
.ft-cat.fix        { background: rgba(239,68,68,0.10);   color: rgba(252,165,165,0.9);  border-color: rgba(239,68,68,0.25); }

.ft-items { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ft-item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.ft-item-icon svg { width: 14px; height: 14px; }
.ft-item-text {}
.ft-item-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  margin-bottom: 2px;
}
.ft-item-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer CTA ────────────────────────────────────────────────────── */
.ft-cta {
  border-top: 1px solid var(--border);
  padding: 72px 8px;
  text-align: center;
}
.ft-cta-inner { max-width: 480px; margin: 0 auto; }
.ft-cta-title { font-size: 26px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.ft-cta-sub   { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.ft-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #5B5EE2, #3b82f6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.ft-cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ft-release { grid-template-columns: 1fr; }
  .ft-release::after { display: none; }
  .ft-release-meta { text-align: left; padding-right: 0; margin-bottom: 10px; }
  .ft-release-body { padding-left: 0; }
  .ft-release-body::before { display: none; }
  .ft-timeline { padding: 0 20px 80px; }
  .ft-hero { padding: 120px 20px 60px; text-align: left; }
  .ft-hero-sub { text-align: left; font-size: 15px; }
  .ft-hero-sub br { display: none; }
  .ov-header-inner { padding: 0 16px; }
}
