:root {
  color-scheme: dark;
  --bg: #070811;
  --bg-deep: #03040a;
  --surface: rgba(17, 20, 34, 0.62);
  --surface-solid: #111421;
  --surface-raised: rgba(25, 29, 47, 0.74);
  --surface-control: rgba(31, 37, 59, 0.82);
  --text: #f7f7fb;
  --text-soft: #b3b9cd;
  --text-muted: #747d98;
  --accent: #8c7dff;
  --accent-strong: #b5a9ff;
  --accent-2: #45d9c5;
  --accent-3: #ff5b78;
  --accent-soft: rgba(140, 125, 255, 0.16);
  --accent-line: rgba(166, 153, 255, 0.35);
  --border: rgba(176, 187, 221, 0.13);
  --border-strong: rgba(190, 200, 232, 0.23);
  --green: #5ee7a0;
  --green-soft: rgba(43, 195, 122, 0.22);
  --amber: #ffd166;
  --red: #ff657d;
  --glass-shadow: 0 36px 110px rgba(0, 0, 0, 0.46);
  --header: rgba(8, 9, 18, 0.55);
  --max-width: 1220px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #eff1f8;
  --bg-deep: #e7e9f2;
  --surface: rgba(255, 255, 255, 0.57);
  --surface-solid: #f9faff;
  --surface-raised: rgba(255, 255, 255, 0.76);
  --surface-control: rgba(245, 246, 252, 0.88);
  --text: #141625;
  --text-soft: #4e566e;
  --text-muted: #788097;
  --accent: #6554e8;
  --accent-strong: #5140ce;
  --accent-2: #089c90;
  --accent-3: #e33f61;
  --accent-soft: rgba(101, 84, 232, 0.1);
  --accent-line: rgba(101, 84, 232, 0.25);
  --border: rgba(47, 53, 82, 0.12);
  --border-strong: rgba(47, 53, 82, 0.2);
  --green: #118456;
  --green-soft: rgba(41, 178, 110, 0.18);
  --amber: #c98600;
  --red: #dc3153;
  --glass-shadow: 0 34px 90px rgba(69, 72, 106, 0.2);
  --header: rgba(245, 246, 252, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 450ms ease, color 300ms ease;
}

body::before {
  content: "";
  position: fixed;
  z-index: -4;
  inset: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(103, 79, 255, 0.2), transparent 34%),
    linear-gradient(180deg, transparent 0 70%, rgba(32, 23, 86, 0.12) 100%),
    var(--bg);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.22;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(700px) rotateX(64deg) translateY(-20%);
  transform-origin: center top;
  mask-image: radial-gradient(ellipse 74% 60% at 50% 14%, black, transparent 76%);
}

.aurora {
  position: absolute;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
  translate: 0 var(--parallax-y, 0);
  will-change: transform;
}

.aurora-one {
  top: -20vw;
  right: -10vw;
  background: #6251ff;
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

.aurora-two {
  top: 46vh;
  left: -23vw;
  background: #00d6c5;
  animation: aurora-drift 20s ease-in-out -4s infinite alternate-reverse;
}

.aurora-three {
  top: 145vh;
  right: -26vw;
  background: #dc315f;
  animation: aurora-drift 24s ease-in-out -7s infinite alternate;
}

.pointer-light {
  position: absolute;
  width: 520px;
  height: 520px;
  left: var(--pointer-x, 50%);
  top: var(--pointer-y, 30%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 137, 255, 0.11), transparent 68%);
  transform: translate(-50%, -50%);
  transition: left 140ms linear, top 140ms linear;
}

.scroll-progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  width: var(--scroll-progress, 0%);
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  box-shadow: 0 0 14px var(--accent);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: 0;
  left: 0;
  pointer-events: none;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--header);
  box-shadow: 0 12px 46px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  pointer-events: auto;
  transition: border-color 200ms ease, background 200ms ease, transform 400ms var(--ease);
}

.site-header.scrolled .header-inner {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--header) 88%, var(--surface-solid));
  transform: translateY(-6px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img,
.footer-brand img {
  object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(255, 74, 89, 0.22));
}

.brand span,
.footer-brand strong {
  font-weight: 780;
  letter-spacing: -0.035em;
}

.brand span::after {
  content: "// LOG VIEWER";
  margin-left: 10px;
  color: var(--text-muted);
  font: 600 9px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(3, 4, 10, 0.12);
}

.nav-links a {
  padding: 7px 13px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-soft);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.language-toggle,
.github-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.language-toggle {
  padding: 0 12px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.theme-toggle {
  width: 40px;
  padding: 0;
}

.theme-icon {
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-soft);
  border-radius: 50%;
  box-shadow: -5px -5px 0 -3px var(--surface-solid);
  transition: transform 450ms var(--ease), background 200ms ease;
}

[data-theme="light"] .theme-icon {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(218, 150, 16, 0.35);
  transform: rotate(180deg) scale(0.8);
}

.github-link {
  gap: 8px;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 720;
}

.language-toggle:hover,
.theme-toggle:hover,
.github-link:hover {
  border-color: var(--accent-line);
  background: var(--surface-control);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 920px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 146px 0 118px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(110deg, transparent 0 46%, rgba(140, 125, 255, 0.06) 46.1% 46.3%, transparent 46.4%),
    radial-gradient(circle at 76% 45%, rgba(140, 125, 255, 0.12), transparent 25%);
  pointer-events: none;
}

.hero-scanline {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), var(--accent), transparent);
  box-shadow: 0 0 28px 5px rgba(130, 115, 255, 0.15);
  opacity: 0.55;
  animation: scan-page 9s linear infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(530px, 1.05fr);
  align-items: center;
  gap: 34px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  animation: hero-copy-in 1s var(--ease) both;
}

.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(69, 217, 197, 0.1), 0 0 20px rgba(69, 217, 197, 0.7);
  animation: signal-pulse 2.4s ease-out infinite;
}

.eyebrow b {
  padding: 2px 7px;
  border: 1px solid var(--accent-line);
  border-radius: 99px;
  color: var(--accent-strong);
  font-size: 8px;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(52px, 5.2vw, 80px);
  line-height: 0.99;
  letter-spacing: -0.072em;
}

h1 em {
  display: inline-block;
  padding-right: 0.08em;
  background: linear-gradient(110deg, #d9d2ff 0%, var(--accent) 42%, var(--accent-2) 85%);
  background-size: 200% auto;
  color: transparent;
  font-style: normal;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 8px 28px rgba(112, 95, 255, 0.22));
  animation: title-shimmer 6s linear infinite;
}

[data-theme="light"] h1 em {
  background-image: linear-gradient(110deg, #4935c7, var(--accent) 45%, var(--accent-2));
}

.hero-lede {
  max-width: 570px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-size: 17px;
}

.hero-actions,
.start-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 740;
  transition: transform 240ms var(--ease), background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.button::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -45%;
  width: 34%;
  height: 340%;
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(24deg);
  transition: left 600ms var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover::before {
  left: 120%;
}

.button-primary {
  background: linear-gradient(120deg, #806dff, #a28fff 56%, #6fdfd0);
  color: #080914;
  box-shadow: 0 14px 40px rgba(104, 86, 242, 0.28), inset 0 1px rgba(255, 255, 255, 0.35);
}

[data-theme="light"] .button-primary {
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 20px 52px rgba(104, 86, 242, 0.38), inset 0 1px rgba(255, 255, 255, 0.4);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-control);
}

.button:focus-visible,
.text-link:focus-visible,
.nav-links a:focus-visible,
.footer-links a:focus-visible,
.language-toggle:focus-visible,
.theme-toggle:focus-visible,
.github-link:focus-visible,
.scroll-cue:focus-visible {
  outline: 3px solid var(--accent-line);
  outline-offset: 3px;
}

.hero-notes {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-muted);
  font-size: 11px;
  list-style: none;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-notes li > span {
  color: var(--accent-2);
  font: 650 8px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.product-stage {
  position: relative;
  z-index: 2;
  padding: 54px 0 70px;
  transform-style: preserve-3d;
  animation: stage-in 1.2s 0.12s var(--ease) both;
  will-change: transform;
}

.stage-glow {
  position: absolute;
  z-index: -1;
  inset: 8% 4% 2%;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  filter: blur(110px);
  opacity: 0.2;
  animation: glow-breathe 5s ease-in-out infinite;
}

.stage-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  opacity: 0.38;
}

.stage-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px var(--accent-2);
}

.orbit-one {
  inset: -5% -8% 4%;
  transform: rotate(-12deg);
  animation: orbit-spin 18s linear infinite;
}

.orbit-two {
  inset: 5% 0 -8% -13%;
  transform: rotate(22deg);
  animation: orbit-spin-reverse 26s linear infinite;
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface-raised) 92%, transparent);
  box-shadow: var(--glass-shadow), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  transform: perspective(1400px) rotateY(calc(-4deg + var(--tilt-y, 0deg))) rotateX(calc(2deg + var(--tilt-x, 0deg))) translateZ(18px);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.app-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, 0.055) 43%, transparent 58%);
  pointer-events: none;
  transform: translateX(-80%);
  animation: window-glare 7s 1.5s ease-in-out infinite;
}

.window-titlebar,
.window-toolbar,
.window-tabs,
.searchbar,
.window-footer {
  display: flex;
  align-items: center;
}

.window-titlebar {
  min-height: 40px;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 11, 20, 0.28);
  color: var(--text-soft);
  font-size: 10px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window-controls span:first-child { background: #ff657d; }
.window-controls span:nth-child(2) { background: #ffd166; }
.window-controls span:nth-child(3) { background: #5ee7a0; }

.window-title { font-weight: 700; }

.window-status i,
.window-footer i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.window-toolbar {
  min-height: 44px;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 26, 0.22);
  color: var(--text-muted);
  font-size: 9px;
}

.tool { padding: 4px 6px; }

.path {
  flex: 1;
  overflow: hidden;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-control);
  color: var(--text-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-tabs {
  min-height: 46px;
  gap: 6px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 26, 0.2);
  color: var(--text-muted);
  font-size: 10px;
}

.tab {
  min-width: 124px;
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
}

.tab.active {
  border-color: var(--border-strong);
  background: var(--surface-control);
  color: var(--text);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.tab b { color: var(--text-muted); font-weight: 400; }
.tab-add { padding: 0 6px; color: var(--text-soft); font-size: 16px; }

.searchbar {
  min-height: 52px;
  gap: 6px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 26, 0.18);
  color: var(--text-soft);
  font-size: 9px;
}

.search-mode,
.search-input,
.search-option,
.search-button {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-control);
}

.search-input {
  flex: 1;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.search-option { padding: 0 8px; }
.search-option.active { border-color: var(--accent); color: var(--accent-strong); }

.search-button {
  border-color: var(--accent);
  background: var(--accent);
  color: #080914;
  font-weight: 700;
}

.log-view {
  position: relative;
  padding: 12px 0;
  background: rgba(8, 10, 18, 0.2);
  font-size: 9px;
  line-height: 2.55;
}

.log-view::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(8, 10, 18, 0.2));
  pointer-events: none;
}

.log-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  border-left: 3px solid transparent;
  color: var(--text-soft);
  white-space: nowrap;
  animation: log-flicker 5.6s ease-in-out infinite;
}

.log-row:nth-child(2) { animation-delay: -0.8s; }
.log-row:nth-child(3) { animation-delay: -1.6s; }
.log-row:nth-child(4) { animation-delay: -2.4s; }
.log-row:nth-child(5) { animation-delay: -3.2s; }
.log-row:nth-child(6) { animation-delay: -4s; }
.log-row:nth-child(7) { animation-delay: -4.8s; }

.log-row.info { border-left-color: #4f87c7; background: rgba(38, 63, 104, 0.26); }
.log-row.warn { border-left-color: #e9a800; background: rgba(92, 69, 20, 0.28); }
.log-row.error { border-left-color: #ef526d; background: rgba(112, 34, 51, 0.27); }

.log-row.selected::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #5e9de8;
  box-shadow: inset 0 0 18px rgba(71, 141, 225, 0.08);
  pointer-events: none;
}

.line-no {
  padding-right: 8px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-muted);
  text-align: right;
}

.log-row code {
  overflow: hidden;
  padding-left: 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-overflow: clip;
}

.log-row mark {
  padding: 2px 3px;
  border-radius: 3px;
  background: var(--green-soft);
  color: var(--text);
  box-shadow: 0 0 12px rgba(43, 195, 122, 0.16);
}

.window-footer {
  min-height: 31px;
  justify-content: space-between;
  padding: 0 12px;
  border-top: 1px solid var(--border);
  background: rgba(13, 15, 26, 0.22);
  color: var(--text-muted);
  font-size: 9px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 146px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-raised) 82%, transparent);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transform: translateZ(60px);
}

.floating-card span,
.floating-card strong { display: block; }
.floating-card span { color: var(--text-muted); font-size: 9px; letter-spacing: 0.05em; }
.floating-card strong { margin-top: 3px; font-size: 13px; }
.floating-card strong b { color: var(--accent-2); font-size: 18px; }

.result-card {
  right: -22px;
  bottom: 18px;
  animation: float-card 5s ease-in-out infinite;
}

.result-card span i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.file-card {
  top: 12px;
  left: -30px;
  animation: float-card 6.2s -2s ease-in-out infinite;
}

.speed-card {
  top: 26%;
  right: -38px;
  min-width: 96px;
  animation: float-card 5.6s -3.1s ease-in-out infinite;
}

.speed-card strong { color: var(--accent-2); font: 720 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.speed-card strong i { width: 24px; height: 5px; display: inline-block; margin-left: 4px; background: repeating-linear-gradient(90deg, var(--accent-2) 0 2px, transparent 2px 4px); animation: live-bars 0.9s steps(3) infinite; }

.scroll-cue {
  position: absolute;
  right: 50%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(50%);
}

.scroll-cue i {
  position: relative;
  width: 23px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 9px;
  background: var(--accent-2);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.trust-strip {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 32px;
  border-right: 1px solid var(--border);
  transition: background 240ms ease;
}

.trust-grid > div:first-child { border-left: 1px solid var(--border); }
.trust-grid > div:hover { background: var(--accent-soft); }
.trust-grid i { position: absolute; top: 16px; right: 18px; color: var(--border-strong); font: 600 9px ui-monospace, SFMono-Regular, Consolas, monospace; }
.trust-grid strong { color: var(--accent-strong); font-size: 21px; letter-spacing: -0.03em; }
.trust-grid span { color: var(--text-muted); font-size: 11px; }

.section {
  position: relative;
  padding: 138px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-heading.compact { max-width: 800px; }

.section-heading h2,
.experience-copy h2,
.start-heading h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.section-heading > p:last-child,
.experience-copy > p,
.platform-grid p,
.feature-card p,
.steps p {
  color: var(--text-soft);
}

.section-heading > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  font-size: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition: opacity 750ms var(--ease), transform 850ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  perspective: 1300px;
}

.feature-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 318px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 38%),
    var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 22px 70px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 180ms ease-out;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(147, 132, 255, 0.18), transparent 52%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -90px;
  bottom: -115px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(74px);
  opacity: 0.08;
  transition: opacity 300ms ease, transform 500ms var(--ease);
}

.feature-card:hover {
  border-color: var(--accent-line);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.17);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 0.16; transform: scale(1.22); }

.feature-wide {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  grid-template-columns: 50px 0.86fr 1.14fr;
  align-items: center;
  gap: 30px;
}

.feature-index {
  position: relative;
  z-index: 1;
  margin-bottom: 46px;
  color: var(--accent);
  font: 700 11px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.feature-index::before {
  content: "";
  width: 20px;
  height: 1px;
  display: inline-block;
  margin-right: 7px;
  background: var(--accent);
  vertical-align: middle;
}

.feature-wide .feature-index { margin-bottom: 0; }

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 0;
  font-size: 14px;
}

.index-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(3, 4, 10, 0.18);
  transform: translateZ(25px);
}

.index-visual span {
  width: var(--w);
  height: 5px;
  border-radius: 99px;
  background: var(--border-strong);
  transition: width 800ms var(--ease);
}

.feature-card:hover .index-visual span { width: calc(var(--w) + 6%); }
.index-visual span.hot { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 18px var(--accent); }

.query-pills,
.color-dots,
.resume-visual,
.tail-visual {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 32px;
  left: 32px;
  transform: translateZ(22px);
}

.query-pills { display: flex; gap: 8px; }

.query-pills span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-control);
  color: var(--text-soft);
  font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
  transition: border-color 220ms ease, color 220ms ease, transform 220ms var(--ease);
}

.feature-card:hover .query-pills span { border-color: var(--accent-line); color: var(--accent-strong); transform: translateY(-3px); }
.feature-card:hover .query-pills span:nth-child(2) { transition-delay: 60ms; }
.feature-card:hover .query-pills span:nth-child(3) { transition-delay: 120ms; }

.tail-visual {
  height: 50px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  border-bottom: 1px solid var(--border-strong);
}

.tail-visual span { width: 8px; height: 16px; border-radius: 5px 5px 0 0; background: var(--border-strong); transition: height 450ms var(--ease); }
.tail-visual span:nth-child(2) { height: 27px; }
.tail-visual span:nth-child(3) { height: 39px; }
.feature-card:hover .tail-visual span:first-child { height: 31px; }
.feature-card:hover .tail-visual span:nth-child(2) { height: 43px; }
.feature-card:hover .tail-visual span:nth-child(3) { height: 24px; }

.tail-visual i {
  width: 9px;
  height: 9px;
  margin: 0 0 -5px auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(94, 231, 160, 0.1), 0 0 16px var(--green);
}

.color-dots { display: flex; justify-content: space-between; }
.color-dots i { width: 17px; height: 17px; border-radius: 50%; background: #4e79a7; transition: transform 350ms var(--ease); }
.feature-card:hover .color-dots i { transform: translateY(-7px); }
.feature-card:hover .color-dots i:nth-child(even) { transform: translateY(4px); }
.color-dots i:nth-child(2) { background: #f28e2b; }
.color-dots i:nth-child(3) { background: #e15759; }
.color-dots i:nth-child(4) { background: #76b7b2; }
.color-dots i:nth-child(5) { background: #59a14f; }
.color-dots i:nth-child(6) { background: #edc948; }
.color-dots i:nth-child(7) { background: #b07aa1; }
.color-dots i:nth-child(8) { background: #ff9da7; }
.color-dots i:nth-child(9) { background: #9c755f; }
.color-dots i:nth-child(10) { background: #6f63c2; }

.resume-visual {
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(3, 4, 10, 0.17);
}

.resume-visual span { height: 45px; flex: 1; border-radius: 7px; background: var(--surface-control); transition: flex 500ms var(--ease); }
.resume-visual span:nth-child(2) { flex: 1.7; border: 1px solid var(--accent-line); box-shadow: inset 0 0 18px var(--accent-soft); }
.feature-card:hover .resume-visual span:first-child { flex: 1.4; }
.feature-card:hover .resume-visual span:nth-child(2) { flex: 1.2; }

.export-visual {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr auto 1.2fr;
  align-items: center;
  gap: 8px;
  transform: translateZ(25px);
}

.export-visual span,
.export-visual strong {
  overflow: hidden;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(3, 4, 10, 0.18);
  color: var(--text-soft);
  font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.export-visual strong { border-color: var(--accent-line); color: var(--accent-strong); box-shadow: inset 0 0 20px var(--accent-soft); }
.export-visual b { color: var(--accent); transition: transform 300ms var(--ease); }
.feature-card:hover .export-visual b { transform: translateX(4px); }

.experience-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 52%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.experience-section::before {
  content: "INTERFACE / 02";
  position: absolute;
  top: 55px;
  right: 4vw;
  color: var(--border);
  font: 700 clamp(52px, 9vw, 130px) ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.experience-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: 78px;
}

.experience-copy > p { margin-bottom: 28px; }

.check-list {
  margin: 0 0 30px;
  padding: 0;
  color: var(--text-soft);
  font-size: 13px;
  list-style: none;
}

.check-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.check-list li::before { content: "↳"; margin-right: 10px; color: var(--accent-2); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.text-link span { transition: transform 200ms var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }

.design-board {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: var(--surface-raised);
  box-shadow: var(--glass-shadow), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 180ms ease-out;
}

.design-board img { width: 100%; transition: transform 800ms var(--ease); }
.design-board:hover img { transform: scale(1.025); }

.board-glare {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(360px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.design-board figcaption {
  position: relative;
  z-index: 3;
  padding: 14px 17px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.05em;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  perspective: 1200px;
}

.platform-grid article {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 285px;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent), var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 180ms ease-out, border-color 240ms ease, background 240ms ease;
}

.platform-grid article::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  bottom: -80px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(60px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.platform-grid article:hover { border-color: var(--accent-line); background-color: var(--accent-soft); }
.platform-grid article:hover::after { opacity: 0.2; }

.platform-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font: 700 18px ui-monospace, SFMono-Regular, Consolas, monospace;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 400ms var(--ease), box-shadow 400ms ease;
}

.platform-grid article:hover .platform-symbol { transform: translateY(-5px) rotate(-5deg); box-shadow: 0 12px 30px var(--accent-soft); }
.platform-grid h3 { margin-bottom: 8px; font-size: 25px; letter-spacing: -0.035em; }
.platform-grid p { margin-bottom: 4px; font-size: 13px; }
.platform-grid small { color: var(--text-muted); font-size: 11px; }

.start-section { padding-top: 30px; }

.start-card {
  position: relative;
  overflow: hidden;
  padding: 72px;
  border: 1px solid var(--accent-line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(140, 125, 255, 0.17), transparent 42%),
    linear-gradient(315deg, rgba(69, 217, 197, 0.08), transparent 38%),
    var(--surface);
  box-shadow: var(--glass-shadow), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.start-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(100deg, transparent, black 70%);
}

.cta-orbits {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -300px;
  right: -120px;
}

.cta-orbits i {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  animation: cta-ring 8s ease-in-out infinite;
}

.cta-orbits i:nth-child(2) { inset: 65px; animation-delay: -2.6s; }
.cta-orbits i:nth-child(3) { inset: 130px; animation-delay: -5.2s; }

.start-heading,
.steps,
.start-actions { position: relative; z-index: 2; }

.steps {
  margin: 48px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 6px 30px;
  border-right: 1px solid var(--border);
}

.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps li > span { color: var(--accent-2); font: 700 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.steps strong { display: block; margin-bottom: 5px; font-size: 17px; }
.steps p { margin-bottom: 0; font-size: 13px; }
.start-actions .text-link { margin-left: 10px; }

.site-footer {
  position: relative;
  margin-top: 50px;
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 44%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-grid,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span,
.footer-meta { color: var(--text-muted); font-size: 10px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--text-soft); font-size: 12px; transition: color 180ms ease, transform 180ms ease; }
.footer-links a:hover { color: var(--accent-strong); transform: translateY(-2px); }
.footer-meta { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); }

@keyframes aurora-drift {
  from { transform: translate3d(-4%, -3%, 0) scale(0.94); }
  to { transform: translate3d(7%, 9%, 0) scale(1.09); }
}

@keyframes scan-page {
  0% { transform: translateY(0); opacity: 0; }
  8%, 82% { opacity: 0.55; }
  100% { transform: translateY(880px); opacity: 0; }
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(69, 217, 197, 0.26), 0 0 20px rgba(69, 217, 197, 0.7); }
  65%, 100% { box-shadow: 0 0 0 10px rgba(69, 217, 197, 0), 0 0 20px rgba(69, 217, 197, 0.25); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes stage-in {
  from { opacity: 0; transform: translate3d(40px, 28px, 0) scale(0.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes title-shimmer { to { background-position: -200% center; } }
@keyframes glow-breathe { 50% { opacity: 0.3; transform: scale(1.08); } }
@keyframes orbit-spin { to { transform: rotate(348deg); } }
@keyframes orbit-spin-reverse { to { transform: rotate(-338deg); } }
@keyframes window-glare { 0%, 20% { transform: translateX(-90%); } 55%, 100% { transform: translateX(100%); } }
@keyframes log-flicker { 0%, 88%, 100% { opacity: 1; } 92% { opacity: 0.6; } }
@keyframes float-card { 50% { transform: translate3d(0, -9px, 60px); } }
@keyframes live-bars { 50% { opacity: 0.35; transform: scaleY(1.7); } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 13px); } }
@keyframes cta-ring { 50% { transform: scale(1.08); opacity: 0.35; } }

@media (max-width: 1080px) {
  .brand span::after { display: none; }
  .header-inner { gap: 12px; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 760px; }
  .product-stage { width: min(780px, 92%); margin: 0 auto; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-copy { max-width: 720px; }
  .design-board { max-width: 840px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), var(--max-width)); }
  .site-header { top: 10px; }
  .header-inner { min-height: 58px; border-radius: 17px; }
  .nav-links { display: none; }
  .brand span::after { display: none; }
  .hero { padding: 128px 0 92px; }
  .hero-grid { gap: 34px; }
  .hero-lede { font-size: 16px; }
  .product-stage { width: 100%; padding: 32px 0 48px; }
  .app-window { transform: none; }
  .orbit-one { inset: -2% -5% 4%; }
  .orbit-two { inset: 6% 2% -5% -5%; }
  .file-card { top: 0; left: 8px; }
  .result-card { right: 8px; bottom: 0; }
  .speed-card { display: none; }
  .scroll-cue { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div,
  .trust-grid > div:first-child { border: 0; border-bottom: 1px solid var(--border); }
  .trust-grid > div:nth-child(odd) { border-right: 1px solid var(--border); }
  .section { padding: 98px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; min-height: 360px; display: block; }
  .feature-wide .feature-index { margin-bottom: 46px; }
  .index-visual,
  .export-visual { position: absolute; right: 30px; bottom: 30px; left: 30px; }
  .export-visual { grid-template-columns: 1fr auto 1fr; }
  .export-visual span:nth-child(2) { display: none; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-grid article { min-height: 230px; }
  .platform-symbol { margin-bottom: 30px; }
  .start-card { padding: 48px 30px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li,
  .steps li:first-child { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--border); }
  .steps li:last-child { border-bottom: 0; }
}

@media (max-width: 540px) {
  .site-header { top: 8px; }
  .header-inner { padding-left: 10px; gap: 8px; }
  .header-actions { gap: 6px; }
  .language-toggle { min-height: 38px; padding: 0 8px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .github-link { min-height: 38px; padding: 0 11px; }
  .theme-toggle { width: 38px; min-height: 38px; }
  .hero { padding-top: 112px; }
  h1 { font-size: 47px; }
  .eyebrow { letter-spacing: 0.1em; }
  .eyebrow b { display: none; }
  .hero-actions,
  .hero-actions .button,
  .start-actions,
  .start-actions .button { width: 100%; }
  .start-actions .text-link { width: auto; margin: 8px auto 0; }
  .hero-notes { display: grid; }
  .window-toolbar .tool,
  .window-title,
  .window-status,
  .tab:nth-child(2),
  .search-option,
  .floating-card { display: none; }
  .window-toolbar { padding: 0 8px; }
  .search-mode { display: none; }
  .log-view { font-size: 8px; }
  .log-row { grid-template-columns: 43px 1fr; }
  .window-footer span:last-child { display: none; }
  .trust-grid > div { min-height: 100px; padding: 18px; }
  .section-heading h2,
  .experience-copy h2,
  .start-heading h2 { font-size: 39px; }
  .feature-card { min-height: 340px; padding: 27px; }
  .query-pills,
  .color-dots,
  .resume-visual,
  .tail-visual,
  .index-visual,
  .export-visual { right: 25px; left: 25px; }
  .color-dots i { width: 13px; height: 13px; }
  .start-card { border-radius: 22px; }
  .footer-grid,
  .footer-meta { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 380px) {
  .site-header .brand span { display: none; }
}
