@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap");

:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5d6973;
  --paper: #f4f7f5;
  --panel: #ffffff;
  --line: #dce4df;
  --night: #0d151c;
  --night-2: #121f29;
  --green: #8bf19c;
  --green-deep: #238b4a;
  --cyan: #72d9ff;
  --yellow: #ffd56a;
  --shadow: 0 28px 80px rgba(12, 26, 36, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, video { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(13,21,28,.9);
  backdrop-filter: blur(18px);
}
.nav-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--night);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  box-shadow: 0 0 0 5px rgba(139,241,156,.08);
}
.nav-links { display: flex; align-items: center; gap: 22px; color: #c7d2d9; font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: white; }
.lang-switch {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: white !important;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 16% 15%, rgba(114,217,255,.12), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(139,241,156,.12), transparent 34%),
    linear-gradient(180deg, #0c151d 0%, #111e28 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(460px, 1.04fr);
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(58px, 7.7vw, 104px);
  line-height: .92;
  letter-spacing: -.066em;
}
.hero-accent { display: block; color: var(--green); }
.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c9d3d9;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.48;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.16);
  text-decoration: none;
  font-weight: 600;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.35); }
.button.primary { background: var(--green); border-color: var(--green); color: #0d171c; }
.button.secondary { background: rgba(255,255,255,.045); color: white; }

.hero-visual { position: relative; padding: 22px 126px 24px 0; }
.window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  background: #0a1015;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}
.window-bar {
  height: 43px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #8ea0aa;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #41515c; }
.dots i:first-child { background: #ff6b6b; }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:nth-child(3) { background: var(--green); }
.window img { width: 100%; display: block; aspect-ratio: 1.5 / 1; object-fit: cover; opacity: .9; }
.window-overlay {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 12px 18px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #0d171e, #091117);
}
.waveform { height: 52px; flex: 1; display: flex; align-items: center; gap: 4px; }
.waveform span { width: 4px; border-radius: 4px; background: var(--green); animation: pulse 1.15s ease-in-out infinite alternate; }
.waveform span:nth-child(2n) { animation-delay: -.2s; background: var(--cyan); }
.waveform span:nth-child(3n) { animation-delay: -.45s; }
@keyframes pulse { from { height: 9px; opacity: .52; } to { height: 42px; opacity: 1; } }
.rec-label { margin-left: 16px; font-family: "IBM Plex Mono", monospace; color: white; font-size: 12px; }
.key-stack { position: absolute; right: 0; top: 34px; display: grid; gap: 10px; }
.keycap {
  min-width: 110px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  background: rgba(18,31,41,.95);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.keycap strong { display: block; font-family: "IBM Plex Mono", monospace; color: var(--green); font-size: 13px; }
.keycap span { color: #9fb0ba; font-size: 11px; }

.metrics {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: -1px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: #111d26;
}
.metric { min-height: 132px; padding: 24px 25px; border-right: 1px solid rgba(255,255,255,.09); }
.metric:last-child { border-right: 0; }
.metric-value { color: white; font-size: clamp(34px, 4vw, 54px); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.metric-unit { margin-left: 5px; color: var(--green); font-family: "IBM Plex Mono", monospace; font-size: 16px; font-style: italic; letter-spacing: -.02em; }
.metric p { margin: 10px 0 0; color: #91a4ae; font-size: 13px; }

section { padding: 104px 0; }
.section-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.75fr); gap: 70px; align-items: end; margin-bottom: 48px; }
.kicker { margin: 0 0 12px; color: var(--green-deep); font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(38px, 5.2vw, 68px); line-height: .99; letter-spacing: -.052em; }
.section-head > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.58; }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.value-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.value-card .num { color: var(--green-deep); font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 600; }
.value-card h3 { margin: 54px 0 11px; font-size: 24px; letter-spacing: -.03em; }
.value-card p { margin: 0; color: var(--muted); }

.pipeline-section { background: var(--night); color: white; }
.pipeline-section .kicker { color: var(--green); }
.pipeline-section .section-head > p { color: #a8b7c0; }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.pipe-step { position: relative; min-height: 230px; padding: 25px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(255,255,255,.035); }
.pipe-step::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 21px; z-index: 2; }
.pipe-step:last-child::after { display: none; }
.pipe-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(139,241,156,.11); color: var(--green); font-family: "IBM Plex Mono", monospace; font-weight: 600; }
.pipe-step h3 { margin: 48px 0 10px; font-size: 21px; }
.pipe-step p { margin: 0; color: #a9b6be; font-size: 15px; }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.mode-card { position: relative; overflow: hidden; min-height: 330px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 16px 42px rgba(25,45,55,.07); }
.mode-card::before { content: ""; position: absolute; inset: auto -30px -70px auto; width: 170px; height: 170px; border-radius: 50%; background: rgba(139,241,156,.17); }
.mode-key { display: inline-flex; padding: 8px 11px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 9px; background: #f9fbfa; font-family: "IBM Plex Mono", monospace; font-weight: 600; }
.mode-card h3 { margin: 46px 0 10px; font-size: 26px; letter-spacing: -.03em; }
.mode-card p { margin: 0; color: var(--muted); }
.mode-note { position: absolute; left: 28px; bottom: 26px; color: var(--green-deep); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; }

.demo-section { padding-top: 40px; }
.demo-shell { padding: 16px; border-radius: 24px; background: #0a1117; box-shadow: var(--shadow); }
.demo-shell video {
  width: 100%;
  aspect-ratio: 1920 / 500;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  background: black;
}
.demo-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 15px; padding: 0 5px 2px; color: #99a9b2; font-size: 13px; }
.demo-caption strong { color: white; }

.voices-section { padding-top: 40px; background: #edf3ef; }
.voices-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.voice-card {
  position: relative;
  min-height: 286px;
  margin: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #d1ddd5;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 38px rgba(23,47,36,.06);
}
.quote-mark {
  display: block;
  height: 52px;
  color: var(--green-deep);
  font: 700 72px/.72 Georgia, serif;
}
.voice-card > p { margin: 16px 0 34px; font-size: 20px; line-height: 1.55; letter-spacing: -.018em; }
.voice-card footer { padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; color: var(--muted); font-size: 13px; }
.voice-card footer strong { color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.voice-card footer a { color: var(--green-deep); text-decoration: none; font-weight: 600; }
.voice-card footer a:hover { text-decoration: underline; }

.frameworks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.framework { padding: 30px; border: 1px solid var(--line); border-radius: 19px; background: white; }
.framework-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.framework h3 { margin: 0; font-size: 29px; }
.badge { padding: 6px 10px; border-radius: 999px; background: #e7f8eb; color: #236d3e; font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.framework p { color: var(--muted); }
.framework ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.framework li::before { content: "✓"; margin-right: 9px; color: var(--green-deep); font-weight: 700; }

.install-section { background: #eaf0ec; }
.install-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.install-card { overflow: hidden; border: 1px solid #cad5ce; border-radius: 18px; background: #101920; color: white; }
.install-title { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.09); }
.install-title strong { font-size: 20px; }
.install-title span { color: #93a6b0; font-family: "IBM Plex Mono", monospace; font-size: 11px; }
pre { margin: 0; padding: 24px; overflow-x: auto; color: #cfdae0; font: 13px/1.75 "IBM Plex Mono", monospace; }
pre .prompt { color: var(--green); }
.requirements { margin-top: 20px; color: var(--muted); font-size: 14px; }

.final-cta { padding: 78px 0; background: var(--green); }
.final-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.final-cta h2 { max-width: 760px; font-size: clamp(38px, 5vw, 67px); }
.final-cta .button { border-color: rgba(13,21,28,.25); background: var(--night); color: white; flex: 0 0 auto; }

footer { padding: 34px 0 46px; background: var(--night); color: #8ea0aa; font-size: 13px; }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-inner a { color: white; text-decoration: none; }

html[lang="zh-CN"] body { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-CN"] h1 { font-size: clamp(52px, 6.8vw, 92px); line-height: .98; letter-spacing: -.055em; }
html[lang="zh-CN"] .hero-lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.68; }
html[lang="zh-CN"] h2 { font-size: clamp(36px, 4.7vw, 61px); line-height: 1.12; letter-spacing: -.045em; }
html[lang="zh-CN"] .section-head > p { line-height: 1.75; }
html[lang="zh-CN"] .metric-unit { font-family: "Noto Sans SC", sans-serif; font-style: normal; font-size: 15px; }

@media (max-width: 980px) {
  .nav-links a:not(.lang-switch):not(:last-child) { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 720px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .pipeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pipe-step:nth-child(2)::after { display: none; }
  .value-grid, .modes, .voices-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 280px; }
  .voice-card { min-height: 0; }
}

@media (max-width: 680px) {
  .nav-inner, .hero-inner, .section-inner, .metrics, .final-inner, .footer-inner { width: min(100% - 28px, 1180px); }
  .hero-inner { padding: 56px 0 54px; gap: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-visual { padding: 10px 4px 20px; }
  .key-stack { position: static; margin-top: 12px; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .keycap { min-width: 0; padding: 9px; }
  .keycap span { display: none; }
  .metrics { grid-template-columns: 1fr; border-radius: 15px 15px 0 0; }
  .metric, .metric:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .metric:last-child { border-bottom: 0; }
  section { padding: 78px 0; }
  .pipeline, .frameworks, .install-grid { grid-template-columns: 1fr; }
  .pipe-step::after { display: none; }
  .demo-shell { padding: 8px; border-radius: 16px; }
  .demo-caption, .final-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .final-cta .button { width: auto; }
}
