/* ============================================
   Vesanor V2 - Landing Page
   ============================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #11141c;
  --bg-soft: #161b25;
  --bg-elevated: #1a2130;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-primary: #f4f5f8;
  --text-secondary: rgba(244, 245, 248, 0.7);
  --text-tertiary: rgba(244, 245, 248, 0.5);
  --text-quaternary: rgba(244, 245, 248, 0.32);
  --pass: #34d399;
  --warn: #f59e0b;
  --fail: #f87171;
  --accent: #8b9dff;

  --demo-bg: #fafaf8;
  --demo-surface: #ffffff;
  --demo-border: rgba(28, 25, 23, 0.08);
  --demo-text: #1f2937;
  --demo-text-secondary: #5b6472;
  --demo-text-tertiary: #8992a1;

  --metro-line: rgba(255, 255, 255, 0.08);
  --metro-dot: rgba(255, 255, 255, 0.18);
  --metro-dot-active: var(--pass);
  --metro-car: var(--pass);
  --metro-car-shadow: var(--accent);

  --nav-height: 60px;
  --content-max: 1180px;
  --hero-max: 1260px;
  --proof-max: 1680px;
  --site-margin: clamp(20px, 4vw, 32px);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top, rgba(76, 110, 245, 0.08), transparent 30%),
    linear-gradient(180deg, #10131a 0%, #121722 30%, #0f141c 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.v2-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--pass);
  color: #04140d;
  border-radius: 6px;
  font-size: 14px;
}

.v2-skip:focus {
  left: 16px;
}

.v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--site-margin);
  background: rgba(17, 20, 28, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.v2-nav__wordmark {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.v2-nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.v2-nav__link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.v2-nav__link:hover {
  color: var(--text-primary);
}

.v2-nav__cta,
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.v2-nav__cta {
  min-height: 36px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  background: var(--text-primary);
  color: #11141c;
}

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

.v2-dots {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 40;
  height: 36px;
  background: rgba(17, 20, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.v2-dots__track {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.v2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--metro-dot);
  transition: all 0.4s var(--ease-out);
}

.v2-dot--active {
  background: var(--metro-dot-active);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.48);
  transform: scale(1.25);
}

.v2-dot--split {
  width: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--metro-car) 45%, transparent 45%, transparent 55%, var(--metro-car-shadow) 55%);
  box-shadow:
    -4px 0 8px rgba(52, 211, 153, 0.42),
    4px 0 8px rgba(139, 157, 255, 0.4);
}

.v2-metro {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  pointer-events: none;
}

.v2-metro__track {
  position: relative;
  width: 40px;
  height: 320px;
}

.v2-metro__line {
  position: absolute;
  left: 19px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--metro-line);
  border-radius: 999px;
}

.v2-metro__branch {
  position: absolute;
  left: 19px;
  top: 160px;
  width: 22px;
  height: 80px;
  opacity: 0;
  overflow: visible;
}

.v2-metro__branch-path {
  stroke: var(--metro-car-shadow);
  stroke-opacity: 0.5;
  fill: none;
  stroke-width: 2;
}

.v2-metro__station {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.v2-metro__station[data-station="0"] { top: 0; }
.v2-metro__station[data-station="1"] { top: 80px; }
.v2-metro__station[data-station="2"] { top: 160px; }
.v2-metro__station[data-station="3"] { top: 240px; }
.v2-metro__station[data-station="4"] { top: 320px; }

.v2-metro__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--metro-dot);
  transition: all 0.4s var(--ease-out);
  flex-shrink: 0;
}

.v2-metro__station--active .v2-metro__dot {
  background: var(--metro-dot-active);
  border-color: var(--metro-dot-active);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.v2-metro__label {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-quaternary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.v2-metro__station--active .v2-metro__label {
  opacity: 1;
  color: var(--text-tertiary);
}

.v2-metro__car {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -4px;
  width: 6px;
  height: 18px;
  border-radius: 999px;
  background: var(--metro-car);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
  z-index: 2;
}

.v2-metro__car--shadow {
  background: var(--metro-car-shadow);
  box-shadow: 0 0 12px rgba(139, 157, 255, 0.38);
  opacity: 0;
  left: calc(50% + 20px);
  top: 191px;
}

.v2-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.v2-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.v2-nav--open .v2-nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.v2-nav--open .v2-nav__toggle span:nth-child(2) {
  opacity: 0;
}

.v2-nav--open .v2-nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.v2-btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.v2-btn--primary {
  background: var(--text-primary);
  color: #11141c;
}

.v2-btn--secondary {
  color: var(--text-primary);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.v2-btn--secondary:hover {
  border-color: var(--border-strong);
}

.v2-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 92px) 0 120px;
}

.v2-hero::before,
.v2-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
}

.v2-hero::before {
  width: 420px;
  height: 420px;
  top: 40px;
  left: min(10vw, 120px);
  background: rgba(52, 211, 153, 0.08);
}

.v2-hero::after {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 120px;
  background: rgba(139, 157, 255, 0.09);
}

.v2-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--hero-max);
  margin: 0 auto;
  padding: 0 var(--site-margin);
  display: grid;
  gap: 64px;
}

.v2-hero__copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.v2-hero__headline {
  font-size: clamp(2.7rem, 2.05rem + 2vw, 4.55rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  max-width: 880px;
  margin: 0 auto;
}

.v2-hero__sub {
  margin: 24px auto 0;
  max-width: 700px;
  font-size: clamp(1rem, 0.92rem + 0.28vw, 1.16rem);
  line-height: 1.75;
  color: var(--text-secondary);
}

.v2-hero__cta,
.v2-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.v2-hero__cta {
  justify-content: center;
  margin-top: 34px;
}

.v2-hero__demo {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.v2-demo__frame {
  background: var(--demo-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.34),
    0 8px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.v2-demo__frame--hero {
  border-radius: 28px;
}

.v2-demo--hero {
  width: min(100%, 1180px);
}

.v2-demo__frame.has-ready-video {
  background: rgba(10, 12, 17, 0.94);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.34),
    0 10px 34px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.v2-demo__frame.has-ready-video .v2-demo__titlebar {
  display: none;
}

.v2-demo__titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--demo-surface);
  border-bottom: 1px solid var(--demo-border);
}

.v2-demo__dots {
  display: flex;
  gap: 6px;
}

.v2-demo__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d7dc;
}

.v2-demo__dots i:nth-child(1) { background: #ff5f57; }
.v2-demo__dots i:nth-child(2) { background: #febc2e; }
.v2-demo__dots i:nth-child(3) { background: #28c840; }

.v2-demo__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--demo-text-secondary);
}

.v2-main {
  position: relative;
}

.v2-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height) + 30px);
}

.v2-section--cta {
  min-height: 76svh;
}

.v2-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.v2-atmosphere__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 20, 28, 0.08) 0%, rgba(17, 20, 28, 0.22) 42%, rgba(17, 20, 28, 0.3) 100%);
}

.v2-atmosphere__overlay--centered {
  background:
    radial-gradient(circle at 50% 38%, rgba(52, 211, 153, 0.1), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(17, 20, 28, 0.08), rgba(17, 20, 28, 0.34) 62%, rgba(17, 20, 28, 0.58) 100%);
}

.v2-atmosphere--observe {
  background:
    radial-gradient(circle at 14% 24%, rgba(245, 158, 11, 0.12), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(52, 211, 153, 0.08), transparent 32%),
    linear-gradient(180deg, #141822 0%, #161d28 44%, #121822 100%);
}

.v2-atmosphere--changes {
  background:
    radial-gradient(circle at 18% 72%, rgba(245, 158, 11, 0.08), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(139, 157, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #121922 0%, #131b28 44%, #10161f 100%);
}

.v2-atmosphere--shadow {
  background:
    radial-gradient(circle at 75% 78%, rgba(139, 157, 255, 0.1), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(52, 211, 153, 0.06), transparent 24%),
    linear-gradient(180deg, #10161f 0%, #121826 48%, #121728 100%);
}

.v2-atmosphere--merge {
  background:
    radial-gradient(circle at 35% 28%, rgba(139, 157, 255, 0.12), transparent 26%),
    radial-gradient(circle at 78% 82%, rgba(245, 158, 11, 0.09), transparent 28%),
    linear-gradient(180deg, #121629 0%, #15182d 44%, #111821 100%);
}

.v2-atmosphere--final {
  background:
    radial-gradient(circle at 50% 24%, rgba(52, 211, 153, 0.12), transparent 28%),
    radial-gradient(circle at 78% 78%, rgba(139, 157, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #121822 0%, #121a24 45%, #10151d 100%);
}

.v2-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--proof-max);
  margin: 0 auto;
  padding: 104px clamp(36px, 4vw, 72px) 104px calc(104px + var(--site-margin));
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(18px, 2.2vw, 40px);
  align-items: center;
}

.v2-section__inner--media-left .v2-copy {
  order: 2;
}

.v2-section__inner--media-left .v2-media {
  order: 1;
}

.v2-section__inner--media-left {
  grid-template-columns: minmax(0, 1.52fr) minmax(240px, 0.48fr);
}

.v2-section__inner--centered {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
  justify-items: center;
  text-align: center;
  padding-left: var(--site-margin);
}

.v2-copy {
  max-width: 320px;
  opacity: 0;
}

.v2-copy--centered {
  max-width: 620px;
}

.v2-label {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--pass);
}

.v2-headline {
  font-size: clamp(2rem, 1.55rem + 1.35vw, 3.1rem);
  font-weight: 670;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.v2-subhead {
  margin-top: 16px;
  max-width: 320px;
  font-size: clamp(1rem, 0.93rem + 0.18vw, 1.08rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.v2-copy--centered .v2-subhead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.v2-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.v2-proof__item,
.v2-proof__sep {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 520;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.v2-proof__item {
  color: var(--text-tertiary);
}

.v2-proof__sep {
  color: var(--text-quaternary);
}

.v2-media {
  position: relative;
  width: 100%;
  opacity: 0;
}

.v2-media__plate {
  position: relative;
  min-height: clamp(640px, 58vw, 920px);
  padding: clamp(10px, 1vw, 16px);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.015);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 70px rgba(0, 0, 0, 0.18);
}

.v2-section--proof .v2-media__plate {
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.v2-section--proof .v2-media__plate::before,
.v2-section--proof .v2-media__plate::after {
  content: none;
}

.v2-media__plate::before,
.v2-media__plate::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.v2-media__plate::before {
  inset: -25% auto auto -8%;
  width: 45%;
  height: 45%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(60px);
}

.v2-media__plate::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 20, 28, 0.1) 0%, rgba(17, 20, 28, 0.12) 35%, rgba(17, 20, 28, 0.52) 100%);
}

.v2-media__plate-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.9s ease,
    transform 1.2s ease;
}

.v2-media__plate-img.is-loaded {
  opacity: 0.28;
  transform: scale(1);
}

.v2-section--observe .v2-media__plate-img {
  object-position: center 36%;
}

.v2-section--changes .v2-media__plate-img {
  object-position: center 44%;
}

.v2-section--shadow .v2-media__plate-img {
  object-position: center 32%;
}

.v2-section--merge .v2-media__plate-img {
  object-position: center 48%;
}

.v2-section--shadow .v2-media__plate-img.is-loaded {
  opacity: 0.24;
}

.v2-demo {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
}

.v2-demo--wide {
  width: min(100%, 1180px);
}

.v2-section--observe .v2-demo,
.v2-section--shadow .v2-demo {
  width: min(100%, 1080px);
}

.v2-section--changes .v2-demo--wide {
  width: min(100%, 1240px);
}

.v2-section--proof .v2-demo,
.v2-section--proof .v2-demo--wide {
  width: 100%;
  max-width: none;
}

.v2-section--proof .v2-demo__frame {
  border-radius: 34px;
}

.v2-section--proof .v2-demo,
.v2-section--proof .v2-demo__frame {
  height: 100%;
}

.v2-section__inner--media-right .v2-demo,
.v2-section__inner--media-right .v2-gate {
  margin-left: auto;
}

.v2-section__inner--media-right .v2-media__plate {
  justify-content: flex-end;
}

.v2-section__inner--media-left .v2-demo,
.v2-section__inner--media-left .v2-gate {
  margin-right: auto;
}

.v2-section__inner--media-left .v2-media__plate {
  justify-content: flex-start;
}

.v2-media--gate .v2-media__plate {
  align-items: center;
}

.v2-demo__body {
  padding: 20px;
}

.v2-demo__body--hero {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: clamp(24px, 3vw, 32px);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, #10131a 0%, #0d1118 100%);
}

.v2-demo__body--hero .v2-demo__text {
  color: rgba(244, 245, 248, 0.88);
}

.v2-demo__body--hero .v2-demo__meta {
  color: rgba(244, 245, 248, 0.58);
}

.v2-demo__body--hero .v2-demo__separator {
  background: rgba(255, 255, 255, 0.09);
}

.v2-demo__body--hero .v2-demo__badge--neutral {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 245, 248, 0.8);
}

.v2-demo__fallback--hero {
  width: min(100%, 560px);
}

.v2-demo__body.has-ready-video {
  padding: 0;
  background: #0d1118;
}

.v2-section--proof .v2-demo__body.has-ready-video {
  overflow: hidden;
}

.v2-demo__body--hero.has-ready-video {
  display: block;
}

.v2-demo__fallback {
  display: block;
}

.v2-demo__body.has-ready-video .v2-demo__fallback {
  display: none;
}

.v2-demo__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-demo__row + .v2-demo__row {
  margin-top: 10px;
}

.v2-demo__row--meta {
  align-items: flex-start;
}

.v2-demo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.v2-demo__badge--pass {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.v2-demo__badge--warn {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
}

.v2-demo__badge--fail {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.v2-demo__badge--neutral {
  background: rgba(31, 41, 55, 0.08);
  color: #334155;
}

.v2-demo__text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--demo-text);
}

.v2-demo__meta {
  font-size: 12px;
  color: var(--demo-text-tertiary);
}

.v2-demo__separator {
  height: 1px;
  margin: 14px 0;
  background: var(--demo-border);
}

.v2-demo__video {
  display: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #0d1118;
}

.v2-demo__video.is-ready {
  display: block;
}

.v2-section--proof .v2-demo__video.is-ready {
  transform: scale(1.08);
  transform-origin: center center;
}

.v2-section--changes .v2-demo__video.is-ready {
  transform: scale(1.12);
}

.v2-demo__diff {
  border: 1px solid var(--demo-border);
  border-radius: 14px;
  overflow: hidden;
}

.v2-demo__diff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(17, 24, 39, 0.03);
  border-bottom: 1px solid var(--demo-border);
}

.v2-demo__diff-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--demo-text);
}

.v2-demo__diff-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.v2-demo__diff-row--removed {
  background: rgba(220, 38, 38, 0.05);
  color: #b91c1c;
}

.v2-demo__diff-row--added {
  background: rgba(22, 163, 74, 0.05);
  color: #15803d;
}

.v2-demo__diff-sign {
  width: 14px;
  text-align: center;
  font-weight: 700;
  flex-shrink: 0;
}

.v2-demo__compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.v2-demo__compare-col {
  padding: 8px 12px;
  text-align: center;
}

.v2-demo__compare-divider {
  width: 1px;
  background: var(--demo-border);
}

.v2-demo__compare-header {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--demo-text-tertiary);
}

.v2-demo__compare-model {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--demo-text);
}

.v2-demo__compare-score {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.v2-gate {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
}

.v2-gate__label {
  display: inline-block;
  margin: 0 0 14px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 245, 248, 0.74);
}

.v2-gate-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(17, 20, 28, 0.92) 0%, rgba(13, 17, 24, 0.94) 100%);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.v2-gate-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.v2-gate-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.v2-gate-card__title {
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.v2-gate-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #9bf0c9;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.v2-gate-card__summary {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.v2-gate-card__checks {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.v2-gate-card__check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 14px;
}

.v2-gate-card__footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-tertiary);
  font-size: 12px;
}

.v2-copy--centered .v2-cta-group {
  justify-content: center;
}

.v2-footer {
  border-top: 1px solid var(--border);
  padding: 24px var(--site-margin);
}

.v2-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.v2-footer__wordmark {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.v2-footer__copy {
  font-size: 12px;
  color: var(--text-quaternary);
}

@media (max-width: 1024px) {
  .v2-section {
    min-height: auto;
  }

  .v2-section__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 80px clamp(28px, 4vw, 44px) 80px calc(92px + var(--site-margin));
  }

  .v2-section__inner--media-left .v2-copy,
  .v2-section__inner--media-left .v2-media {
    order: initial;
  }

  .v2-copy {
    max-width: 560px;
  }

  .v2-subhead {
    max-width: 560px;
  }

  .v2-media__plate {
    min-height: 460px;
  }

  .v2-hero {
    padding-top: calc(var(--nav-height) + 72px);
  }

  .v2-hero__headline {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-height: 52px;
  }

  .v2-dots {
    display: block;
  }

  .v2-metro {
    display: none;
  }

  .v2-nav__links {
    gap: 16px;
  }

  .v2-nav__link {
    font-size: 13px;
  }

  .v2-hero {
    padding: calc(var(--nav-height) + 52px) 0 72px;
  }

  .v2-hero__inner {
    gap: 40px;
  }

  .v2-hero__headline {
    font-size: clamp(2rem, 1.55rem + 4vw, 2.9rem);
  }

  .v2-hero__sub {
    margin-top: 16px;
  }

  .v2-hero__cta,
  .v2-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .v2-section {
    scroll-margin-top: calc(var(--nav-height) + 52px);
  }

  .v2-section__inner {
    gap: 28px;
    padding: 64px var(--site-margin);
  }

  .v2-section__inner--centered {
    padding-left: var(--site-margin);
  }

  .v2-headline {
    font-size: clamp(1.75rem, 1.45rem + 1.8vw, 2.3rem);
  }

  .v2-proof {
    gap: 6px;
  }

  .v2-media__plate {
    min-height: 320px;
    padding: 14px;
    border-radius: 26px;
  }

  .v2-media__plate-img.is-loaded {
    opacity: 0.22;
  }

  .v2-demo,
  .v2-demo--wide,
  .v2-gate {
    width: 100%;
  }

  .v2-demo__body,
  .v2-gate-card {
    border-radius: 18px;
  }

  .v2-demo__body {
    padding: 16px;
  }

  .v2-demo__text,
  .v2-demo__diff-row {
    font-size: 11.5px;
  }

  .v2-gate-card {
    padding: 18px;
  }

  .v2-gate-card__header {
    flex-direction: column;
  }

  .v2-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .v2-nav__toggle {
    display: flex;
  }

  .v2-nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 8px var(--site-margin) 16px;
    background: rgba(17, 20, 28, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 0;
  }

  .v2-nav--open .v2-nav__links {
    display: flex;
  }

  .v2-nav__link {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .v2-nav__link:last-of-type {
    border-bottom: none;
  }

  .v2-nav__cta {
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .v2-dots {
    display: none;
  }

  .v2-metro {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-copy,
  .v2-media {
    opacity: 1 !important;
    transform: none !important;
  }

  .v2-dot,
  .v2-metro__car,
  .v2-metro__car--shadow,
  .v2-metro__branch,
  .v2-media__plate-img,
  .v2-btn,
  .v2-nav__cta {
    transition: none !important;
  }
}
