/* =====================================================================
   Vcrux Shared Design System — Sunlit Apple × OpenAI × Second Me
   Shared across vcrux.ai (Home) and vcrux.ai/orbit (Orbit Product Page)
   ===================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-lavender: #f3f3ff;
  --surface-sky: #f2f6ff;
  --ink: #0f0f17;
  --ink-deep: #0f0643;
  --ink-secondary: #585868;
  --ink-muted: #868696;
  --accent: #7b67ef;
  --accent-soft: rgba(123, 103, 239, 0.11);
  --sky: #4a7dff;
  --sky-soft: rgba(74, 125, 255, 0.11);
  --warm: #f4b259;
  --ok: #10a37f;
  --ok-soft: rgba(16, 163, 127, 0.11);
  --warn: #d97706;
  --warn-soft: rgba(217, 119, 6, 0.12);

  --line: rgba(15, 15, 23, 0.08);
  --line-strong: rgba(15, 15, 23, 0.14);

  --shadow-nav: 0 4px 24px rgba(15, 15, 35, 0.07), 0 0 0 1px rgba(15, 15, 35, 0.05);
  --shadow-stage: 0 32px 90px -24px rgba(24, 24, 60, 0.13), 0 0 0 1px rgba(15, 15, 35, 0.06);
  --shadow-float: 0 16px 40px -12px rgba(20, 20, 50, 0.11), 0 0 0 1px rgba(15, 15, 35, 0.05);
  --shadow-soft: 0 8px 24px -8px rgba(20, 20, 50, 0.08);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-pill: 999px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
  color: inherit;
}

.mono-sm {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* =====================================================================
   Floating Frosted Glass Pill Navbar
   ===================================================================== */

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 1060px;
  height: 58px;
  padding: 0 10px 0 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  padding-left: 8px;
  border-left: 1px solid var(--line-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--ink);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 7px 0 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.btn-nav:hover {
  background: #232330;
  transform: translateY(-1px);
}

.btn-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================================
   Hero & Atmospheric Pastel Washes
   ===================================================================== */

.hero {
  position: relative;
  padding: 138px 0 96px;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  z-index: -1;
  background:
    radial-gradient(ellipse 68% 58% at 22% 8%, rgba(181, 159, 255, 0.34), transparent 68%),
    radial-gradient(ellipse 60% 52% at 78% 12%, rgba(255, 214, 153, 0.36), transparent 66%),
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(235, 232, 255, 0.42), transparent 72%),
    linear-gradient(180deg, #faf9ff 0%, #ffffff 82%);
}

.hero-wash-orbit {
  background:
    radial-gradient(ellipse 68% 58% at 24% 8%, rgba(130, 170, 255, 0.32), transparent 68%),
    radial-gradient(ellipse 60% 52% at 78% 12%, rgba(186, 165, 255, 0.32), transparent 66%),
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(232, 240, 255, 0.48), transparent 72%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 84%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(15, 15, 35, 0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow-dot-sky {
  background: var(--sky);
}

.eyebrow-sep {
  color: var(--ink-muted);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--ink-deep);
  max-width: 920px;
}

.hero-gradient {
  background: linear-gradient(92deg, #6d58e8 0%, #9b7ce8 38%, #d78a6e 72%, #efa94a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-gradient-orbit {
  background: linear-gradient(92deg, #3568e8 0%, #6d58e8 52%, #a274ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 36px;
  max-width: 650px;
  font-size: 19px;
  line-height: 1.62;
  letter-spacing: -0.01em;
  color: var(--ink-secondary);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 9px 0 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 26px -10px rgba(15, 15, 25, 0.45);
}

.btn-dark:hover {
  background: #20202e;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 0 4px 16px -6px rgba(15, 15, 35, 0.08);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: rgba(123, 103, 239, 0.45);
}

.btn-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-soft {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn-icon-sky {
  background: var(--sky-soft);
  color: var(--sky);
}

.btn:focus-visible,
.btn-nav:focus-visible,
.seg-tab:focus-visible,
.os-tab:focus-visible,
.trail-row:focus-visible {
  outline: 2px solid rgba(123, 103, 239, 0.55);
  outline-offset: 2px;
}

/* =====================================================================
   Vcrux Home: Flagship Two-Product Suite Stage
   ===================================================================== */

.suite-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.product-portal {
  min-width: 0;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-stage);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-portal:hover {
  transform: translateY(-3px);
  box-shadow: 0 36px 96px -24px rgba(24, 24, 60, 0.18), 0 0 0 1px rgba(123, 103, 239, 0.14);
}

.portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-id {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portal-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.portal-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.tag-sky {
  background: var(--sky-soft);
  color: var(--sky);
}

.tag-purple {
  background: var(--accent-soft);
  color: var(--accent);
}

.portal-visual {
  height: 214px;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.pv-orbit {
  background: linear-gradient(145deg, #edf3ff 0%, #f7f9ff 52%, #f1edff 100%);
}

.pv-baton {
  background: linear-gradient(145deg, #f2eeff 0%, #faf9ff 52%, #fff3e1 100%);
}

.mini-sheet {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 13px 15px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.ms-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ms-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ms-title {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ms-meta {
  font-size: 11.5px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.ms-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--ok-soft);
  color: var(--ok);
  white-space: nowrap;
}

.ms-pill-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.ms-pill-purple {
  background: var(--accent-soft);
  color: var(--accent);
}

.portal-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
  flex: 1;
}

.portal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-deep);
}

.portal-link:hover {
  color: var(--accent);
}

/* =====================================================================
   Shared Section Layout & Typography
   ===================================================================== */

.section {
  padding: 112px 0;
}

.center-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}

.display-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink-deep);
}

.text-soft {
  color: var(--ink-muted);
}

.accent-text {
  color: var(--accent);
}

.sky-text {
  color: var(--sky);
}

.section-sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.section-sub-italic {
  margin: 0;
  font-size: 17px;
  font-style: italic;
  color: var(--ink-secondary);
}

/* 3-Column Philosophy Grid (Vcrux Home) */

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tri-card {
  padding: 32px;
  border-radius: 30px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tri-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.tri-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink-deep);
}

.tri-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

/* Research Spotlight Card (Vcrux Home — DailySafe) */

.research-card {
  border-radius: 32px;
  background: var(--surface-lavender);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.research-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.research-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.research-card p {
  margin: 0 0 24px;
  font-size: 15.5px;
  color: var(--ink-secondary);
}

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

.research-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.r-stat {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.r-stat strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--ink-deep);
  margin-bottom: 4px;
}

.r-stat span {
  font-size: 13px;
  color: var(--ink-secondary);
}

/* =====================================================================
   Orbit Interactive Stage (Used on /orbit)
   ===================================================================== */

.stage-card {
  width: 100%;
  text-align: left;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-stage);
  overflow: hidden;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(249, 251, 255, 0.92);
  flex-wrap: wrap;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #ebedf5;
  gap: 4px;
}

.seg-tab {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.seg-tab.is-active {
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 15, 35, 0.08);
}

.stage-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.stage-panel {
  display: none;
  padding: 24px;
}

.stage-panel.is-active {
  display: block;
}

/* Orbit Activity Trail View */

.orbit-trail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.trail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trail-row {
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.18s ease;
}

.trail-row:hover {
  border-color: var(--line-strong);
}

.trail-row.is-active {
  background: var(--surface-sky);
  border-color: rgba(74, 125, 255, 0.35);
}

.tr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-muted);
}

.tr-agent {
  font-weight: 600;
  color: var(--ink-deep);
}

.tr-plain {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.tr-files {
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.trail-detail {
  background: var(--surface);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.td-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.td-head strong {
  font-size: 14px;
  color: var(--ink-deep);
}

.td-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.td-k {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.td-v {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.52;
}

.td-cmd {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-secondary);
  background: var(--surface);
  padding: 10px 12px;
  border-radius: 10px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Orbit Drift Radar View */

.drift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.drift-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drift-card.drift-flagged {
  background: linear-gradient(160deg, #fff9ef, #ffffff);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.drift-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.drift-card h4 {
  margin: 0;
  font-size: 16px;
  color: var(--ink-deep);
}

.drift-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  flex: 1;
}

.drift-foot {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* Orbit Connected Agents View */

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.agent-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ac-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-deep);
}

.ac-method {
  font-size: 12px;
  color: var(--ink-muted);
}

.ac-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--sky);
  border: 1px solid var(--line);
}

/* =====================================================================
   2-Column Showcase Split, Orbit Network, Timeline, Privacy Bento
   ===================================================================== */

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.showcase-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-visual {
  height: 256px;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.visual-sky {
  background: linear-gradient(145deg, #ebf2ff 0%, #f8faff 55%, #f1edff 100%);
}

.visual-plain {
  background: linear-gradient(145deg, #f5f5fa 0%, #ffffff 55%, #eef4ff 100%);
  border: 1px solid var(--line);
}

.float-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: var(--shadow-float);
}

.fc-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sky);
  margin-bottom: 5px;
}

.float-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.showcase-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.showcase-copy p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
}

/* Concentric Orbit Network */

.orbit-stage {
  position: relative;
  height: 450px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74, 125, 255, 0.18);
  pointer-events: none;
}

.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 350px; height: 350px; border-color: rgba(74, 125, 255, 0.13); }
.ring-3 { width: 520px; height: 520px; border-color: rgba(74, 125, 255, 0.08); }

.orbit-center {
  position: relative;
  z-index: 3;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 18px 46px -10px rgba(74, 125, 255, 0.28), 0 0 0 1px rgba(74, 125, 255, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-deep);
}

.orbit-node {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: var(--shadow-float);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.node-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.d-amber { background: #e89b5a; }
.d-green { background: #10a37f; }
.d-blue { background: #3b82f6; }
.d-indigo { background: #7b67ef; }
.d-cyan { background: #06b6d4; }
.d-purple { background: #9333ea; }
.d-rose { background: #ec4899; }

.n-claude { top: 40px; left: 50%; transform: translateX(-50%); }
.n-codex  { top: 118px; right: 118px; }
.n-cursor { bottom: 110px; right: 136px; }
.n-gemini { bottom: 34px; left: 50%; transform: translateX(-50%); }
.n-kimi   { bottom: 112px; left: 134px; }
.n-qwen   { top: 116px; left: 126px; }
.n-trae   { top: 210px; right: 52px; }

/* Central-Spine Timeline */

.timeline {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 68px;
}

.timeline-spine {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: #dfe2ee;
  transform: translateX(-50%);
}

.tl-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 28px;
  align-items: center;
}

.tl-text { padding-right: 16px; }
.tl-visual { padding-left: 16px; }

.tl-step {
  display: inline-block;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  color: var(--sky);
  margin-bottom: 8px;
}

.tl-text h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.tl-text p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 6px #ffffff, 0 0 0 9px rgba(74, 125, 255, 0.16);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.soft-card-preview {
  padding: 22px;
  border-radius: 26px;
  background: var(--surface-sky);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scp-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 14px;
  background: #ffffff;
  font-size: 13.5px;
  box-shadow: 0 2px 8px rgba(15, 15, 35, 0.04);
}

.scp-line span {
  color: var(--ink-secondary);
  font-weight: 500;
}

/* Privacy Asymmetric Bento */

.bento-privacy {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.p-card {
  padding: 34px;
  border-radius: 30px;
  background: var(--surface-sky);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-span-6 { grid-column: span 6; }
.p-span-5 { grid-column: span 5; }
.p-span-7 { grid-column: span 7; }

.p-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(74, 125, 255, 0.25);
  margin-bottom: 10px;
}

.p-card h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink-deep);
}

.p-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

/* Download & Web Beta Cards (Orbit Page) */

.get-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.get-card {
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-stage);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.get-card-featured {
  background: linear-gradient(160deg, #f3f7ff 0%, #ffffff 65%);
  border-color: rgba(74, 125, 255, 0.25);
}

.get-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--sky-soft);
  color: var(--sky);
}

.get-badge-neutral {
  background: var(--surface);
  color: var(--ink-secondary);
}

.get-card h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.get-card p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
}

.os-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  align-self: flex-start;
  gap: 4px;
}

.os-tab {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
}

.os-tab.is-active {
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(15, 15, 35, 0.08);
}

.cmd-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  overflow-x: auto;
}

.copy-mini {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.get-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =====================================================================
   Finale Wash + Floating White Footer Card
   ===================================================================== */

.finale {
  position: relative;
  padding-top: 104px;
  overflow: hidden;
}

.finale-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 65% 60% at 24% 35%, rgba(255, 214, 153, 0.36), transparent 68%),
    radial-gradient(ellipse 68% 60% at 76% 45%, rgba(181, 159, 255, 0.34), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f9f7ff 45%, #f5f2ff 100%);
}

.finale-wash-orbit {
  background:
    radial-gradient(ellipse 65% 60% at 24% 35%, rgba(130, 170, 255, 0.3), transparent 68%),
    radial-gradient(ellipse 68% 60% at 76% 45%, rgba(186, 165, 255, 0.3), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 48%, #f1f4ff 100%);
}

.finale-cta {
  text-align: center;
  max-width: 700px;
  margin-bottom: 84px;
}

.finale-title {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink-deep);
}

.finale-sub {
  margin: 0 0 34px;
  font-size: 18px;
  color: var(--ink-secondary);
}

.footer-card-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-card {
  background: #ffffff;
  border-radius: 34px 34px 0 0;
  padding: 52px 52px 34px;
  box-shadow: 0 -10px 40px rgba(24, 24, 60, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.footer-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.footer-col a {
  font-size: 14px;
  color: var(--ink-secondary);
  transition: color 0.16s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Reveal Animation */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   Responsive
   ===================================================================== */

@media (max-width: 1024px) {
  .suite-grid,
  .orbit-trail-grid,
  .research-card,
  .get-grid {
    grid-template-columns: 1fr;
  }
  .tri-grid,
  .drift-grid,
  .agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-span-6,
  .p-span-5,
  .p-span-7 {
    grid-column: span 12;
  }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .split-grid,
  .tri-grid,
  .drift-grid,
  .agents-grid {
    grid-template-columns: 1fr;
  }
  .timeline-spine,
  .tl-dot { display: none; }
  .tl-row { grid-template-columns: 1fr; gap: 20px; }
  .tl-text,
  .tl-visual { padding: 0; }
  .orbit-stage { height: 360px; }
  .n-codex { right: 16px; }
  .n-cursor { right: 20px; }
  .n-kimi { left: 16px; }
  .n-qwen { left: 16px; }
  .n-trae { display: none; }
  .footer-card { padding: 36px 24px 28px; }
  .research-card { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .hero { padding: 112px 0 64px; }
  .section { padding: 76px 0; }
}
