:root {
  --bg: #0a0710;
  --bg-soft: #100a18;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --ink: #f7f2ee;
  --muted: rgba(247, 242, 238, 0.62);
  --faint: rgba(247, 242, 238, 0.38);
  --rose: #eea2a4;
  --rose-deep: #b45b63;
  --amber: #f2b26b;
  --cyan: #7dd3fc;
  --violet: #a78bfa;
  --green: #6ee7b7;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

button,
input {
  font: inherit;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(80px);
}

.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0.32;
  animation: drift 22s ease-in-out infinite alternate;
}

.aurora-a {
  width: 46vw;
  height: 46vw;
  left: -8vw;
  top: -14vw;
  background: radial-gradient(circle, rgba(238, 162, 164, 0.55), transparent 66%);
}

.aurora-b {
  width: 42vw;
  height: 42vw;
  right: -10vw;
  top: 4vw;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.36), transparent 68%);
  animation-delay: -7s;
}

.aurora-c {
  width: 36vw;
  height: 36vw;
  left: 34vw;
  top: 46vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28), transparent 70%);
  animation-delay: -13s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, 3vw, 0) scale(1.13);
  }
}

.cursor-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: radial-gradient(circle, rgba(238, 162, 164, 0.09), transparent 65%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.4s ease;
}

@media (pointer: fine) {
  .cursor-glow {
    opacity: 1;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.nav.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(10, 7, 16, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--rose);
  background: linear-gradient(145deg, rgba(238, 162, 164, 0.2), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(238, 162, 164, 0.3);
  box-shadow: 0 8px 26px rgba(180, 91, 99, 0.18);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.brand-mark.small svg {
  width: 19px;
  height: 19px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--rose);
  transition: right 0.25s ease;
}

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

.nav-links a:hover::after {
  right: 0;
}

.nav-cta {
  flex-shrink: 0;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #1a0e12;
  background: linear-gradient(135deg, #f6c3c0, var(--rose));
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(238, 162, 164, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(238, 162, 164, 0.28);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(140px, 16vh, 190px) clamp(20px, 4vw, 48px) clamp(60px, 8vh, 100px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.pill-dot,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(110, 231, 183, 0.03);
  }
}

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

h1 {
  margin: 24px 0 22px;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 680;
}

h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 660;
}

h3 {
  font-size: 18px;
  font-weight: 640;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: linear-gradient(100deg, #ffd9c9 0%, var(--rose) 38%, var(--amber) 72%, #ffe8c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text.warm {
  background: linear-gradient(100deg, #ffd7a8, var(--amber) 55%, #ffb3a7);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 560px;
  font-size: clamp(15px, 1.35vw, 17.5px);
  color: var(--muted);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 620;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.primary {
  color: #1a0e12;
  background: linear-gradient(135deg, #ffd5c4, var(--rose) 58%, #f5a988);
  box-shadow: 0 16px 40px rgba(238, 162, 164, 0.22);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(238, 162, 164, 0.3);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12.5px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 12px;
  color: var(--faint);
}

.divider-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 162, 164, 0.14), transparent 65%);
  filter: blur(20px);
}

.answer-card {
  position: relative;
  width: min(100%, 460px);
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(160deg, rgba(28, 20, 35, 0.92), rgba(14, 10, 20, 0.94));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.4deg);
  }
}

.answer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(238, 162, 164, 0.45), transparent 45%, rgba(125, 211, 252, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.answer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.answer-tag {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
}

.answer-question {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.answer-body {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(247, 242, 238, 0.72);
}

.answer-body mark {
  color: var(--ink);
  background: linear-gradient(transparent 58%, rgba(238, 162, 164, 0.24) 58%);
  padding: 0 2px;
}

.answer-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.source-label {
  color: var(--faint);
} 

.source-chip {
  padding: 3px 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.source-score {
  margin-left: auto;
  font-family: var(--mono);
  color: var(--green);
}

.answer-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(238, 162, 164, 0.09), transparent);
  animation: scan 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan {
  0% {
    transform: translateY(-140px);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  72% {
    transform: translateY(470px);
    opacity: 0;
  }
  100% {
    transform: translateY(470px);
    opacity: 0;
  }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(18, 12, 25, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
  animation: float 8s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.float-card span {
  display: block;
  font-size: 10.5px;
  color: var(--faint);
}

.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--cyan);
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.2);
}

.float-icon.warm {
  color: var(--amber);
  background: rgba(242, 178, 107, 0.1);
  border-color: rgba(242, 178, 107, 0.22);
}

.float-a {
  top: 26px;
  left: -18px;
  animation-delay: -2s;
}

.float-b {
  right: -22px;
  bottom: 64px;
  animation-delay: -4s;
}

.float-c {
  left: -6px;
  bottom: -6px;
  animation-delay: -6s;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 1px;
  background: var(--line);
}

.stat-value {
  font-family: var(--mono);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.stat-value .unit {
  font-size: 15px;
  margin-left: 2px;
  color: var(--muted);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

.stat-hint {
  font-size: 11px;
  color: var(--faint);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 12vh, 150px) clamp(20px, 4vw, 48px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(38px, 6vw, 68px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--rose);
  text-transform: uppercase;
}

.section-head p {
  max-width: 660px;
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--muted);
}

.geo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(18px, 2.6vw, 30px);
  align-items: stretch;
}

.geo-flow {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.flow-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.flow-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.flow-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  flex: 1;
}

.flow-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  position: relative;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.flow-list li:last-child {
  border-bottom: 0;
}

.flow-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(rgba(238, 162, 164, 0.4), transparent);
}

.flow-list li:last-child::before {
  display: none;
}

.flow-index {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--rose);
  background: rgba(238, 162, 164, 0.09);
  border: 1px solid rgba(238, 162, 164, 0.24);
}

.flow-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.flow-list div span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.flow-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--faint);
}

.flow-foot i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(238, 162, 164, 0.4), transparent);
}

.mode-column {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

.mode-card {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.034);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.mode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 162, 164, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.mode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mode-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 15px;
  color: var(--rose);
  background: rgba(238, 162, 164, 0.1);
  border: 1px solid rgba(238, 162, 164, 0.22);
}

.mode-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.mode-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.mode-meter {
  height: 5px;
  margin-top: 20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.mode-meter span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose), var(--amber));
  animation: grow 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes grow {
  from {
    width: 0;
  }
}

.mode-meta {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--faint);
}

.score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
  background: radial-gradient(circle at 50% 50%, rgba(110, 231, 183, 0.12), transparent 70%);
  border: 1px solid rgba(110, 231, 183, 0.3);
  box-shadow: inset 0 0 20px rgba(110, 231, 183, 0.08);
}

.score-bars {
  flex: 1;
  display: grid;
  gap: 7px;
}

.score-bars i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.75), rgba(167, 139, 250, 0.5));
  width: var(--value);
}

.rewrite-preview {
  display: grid;
  gap: 7px;
  margin-top: 20px;
}

.rewrite-preview .line {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.rewrite-preview .long {
  width: 100%;
}

.rewrite-preview .mid {
  width: 78%;
}

.rewrite-preview .short {
  width: 46%;
}

.rewrite-preview .accent {
  background: linear-gradient(90deg, var(--rose), transparent);
}

.platform-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: clamp(26px, 4vw, 44px);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
}

.cloud-label {
  margin-right: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.cloud-chip {
  padding: 4px 11px;
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cloud-chip:hover {
  color: var(--ink);
  border-color: rgba(238, 162, 164, 0.35);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.feature-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg-soft);
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: #150d20;
}

.feature-icon {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rose);
}

.feature-card h3 {
  font-size: 17px;
}

.feature-card p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.chamber-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--max);
}

.chamber-copy p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(110, 231, 183, 0.4);
  background: radial-gradient(circle, rgba(110, 231, 183, 0.55) 0 34%, transparent 38%);
}

.terminal {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(9, 6, 13, 0.9);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.terminal:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.terminal-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.terminal-bar i:first-child {
  background: rgba(238, 162, 164, 0.6);
}

.terminal-bar span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.terminal-body {
  display: grid;
  gap: 12px;
  padding: 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.terminal-body em {
  font-style: normal;
  color: var(--ink);
}

.prompt {
  margin-right: 9px;
  color: var(--rose);
}

.terminal-body .ok {
  color: var(--green);
}

.cursor-line {
  display: flex;
  align-items: center;
}

.caret {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 6px;
  background: var(--rose);
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.download {
  position: relative;
}

.release-root {
  min-height: 220px;
}

.release-loading,
.release-empty,
.release-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 32px;
  font-size: 13.5px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.016);
  text-align: center;
}

.release-error {
  color: #ffb4b4;
  border-color: rgba(255, 120, 120, 0.3);
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--rose);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.release-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.release-version {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.release-badge {
  padding: 3px 10px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--green);
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.07);
}

.release-date {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--faint);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(10, 7, 16, 0.55);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(238, 162, 164, 0.34);
}

.download-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.platform-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--rose);
  background: rgba(238, 162, 164, 0.09);
  border: 1px solid rgba(238, 162, 164, 0.22);
}

.download-name {
  font-size: 15px;
  font-weight: 600;
}

.download-sub {
  font-size: 11px;
  color: var(--faint);
}

.download-file {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  word-break: break-all;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--faint);
}

.download-meta span {
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.sha-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 8px;
  overflow: hidden;
}

.sha-row code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-chip {
  margin-left: auto;
  flex-shrink: 0;
  padding: 2px 7px;
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.copy-chip:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.release-notes {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  white-space: pre-line;
}

.release-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 11.5px;
  color: var(--faint);
}

.release-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.release-foot a svg {
  width: 15px;
  height: 15px;
}

.release-foot a:hover {
  color: var(--rose);
}

.final-cta {
  padding-top: clamp(40px, 6vh, 80px);
}

.final-cta-inner {
  position: relative;
  padding: clamp(44px, 7vw, 90px) clamp(24px, 5vw, 72px);
  border-radius: 30px;
  border: 1px solid rgba(238, 162, 164, 0.22);
  background: radial-gradient(120% 140% at 20% 0%, rgba(238, 162, 164, 0.14), transparent 60%),
    radial-gradient(120% 120% at 90% 100%, rgba(125, 211, 252, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.final-cta-inner::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -90px;
  top: -120px;
  border-radius: 50%;
  border: 1px solid rgba(238, 162, 164, 0.16);
  box-shadow: 0 0 0 40px rgba(238, 162, 164, 0.03), 0 0 0 90px rgba(238, 162, 164, 0.02);
}

.final-cta h2 {
  max-width: 760px;
}

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 40px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-size: 13.5px;
}

.footer-brand span {
  display: block;
  font-size: 11px;
  color: var(--faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12px;
  color: var(--muted);
}

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

.footer-copy {
  grid-column: 1 / -1;
  font-size: 10.5px;
  color: var(--faint);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .geo-grid,
  .chamber-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3)::before {
    display: none;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 0;
  }

  .terminal {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .float-a {
    left: 0;
    top: 4px;
  }

  .float-b {
    right: 0;
  }

  .float-c {
    display: none;
  }

  .hero-visual {
    min-height: 400px;
  }

  .answer-card {
    padding: 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat::before {
    display: none;
  }

  .stat:nth-child(2),
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 0;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
