/* Design reminder: 纯静态版本继续保持深色、瑞士网格和开发者控制台气质；优先保证结构稳定、对比清晰与响应式表现。 */
:root {
  --radius: 1.5rem;
  --background: oklch(0.135 0.02 254);
  --foreground: oklch(0.965 0.01 240);
  --card: oklch(0.19 0.018 255);
  --primary: oklch(0.86 0.12 188);
  --border: oklch(1 0 0 / 10%);
  --muted-foreground: oklch(0.72 0.02 245);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  background-image:
    radial-gradient(circle at top, rgba(94, 234, 212, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(94, 234, 212, 0.25);
  color: white;
}

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

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

button,
a[href],
summary {
  cursor: pointer;
}

/* Layout utilities */
.min-h-screen { min-height: 100vh; }
.overflow-x-hidden { overflow-x: hidden; }
.bg-background { background-color: var(--background); }
.text-foreground { color: var(--foreground); }
.pointer-events-none { pointer-events: none; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-8 { top: 2rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-left-12 { left: -3rem; }
.-bottom-8 { bottom: -2rem; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; min-width: 0; min-height: 0; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.order-1 { order: 1; }
.order-2 { order: 2; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-40 { width: 10rem; }
.w-52 { width: 13rem; }
.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-10 { height: 2.5rem; }
.h-18 { height: 4.5rem; }
.h-2 { height: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-128 { height: 32rem; }
.w-128 { width: 32rem; }
.min-w-0 { min-width: 0; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[1\.75rem\] { border-radius: 1.75rem; }
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-y {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/12 { border-color: rgba(255, 255, 255, 0.12); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.bg-slate-950\/75 { background: rgba(2, 6, 23, 0.75); }
.bg-white\/5 { background: rgba(255, 255, 255, 0.05); }
.bg-white\/6 { background: rgba(255, 255, 255, 0.06); }
.bg-white\/\[0\.02\] { background: rgba(255, 255, 255, 0.02); }
.bg-white\/\[0\.03\] { background: rgba(255, 255, 255, 0.03); }
.bg-teal-300 { background: rgb(94, 234, 212); }
.text-slate-950 { color: rgb(15, 23, 42); }
.text-slate-300 { color: rgb(203, 213, 225); }
.text-white { color: #fff; }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/55 { color: rgba(255, 255, 255, 0.55); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/65 { color: rgba(255, 255, 255, 0.65); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-teal-300 { color: rgb(94, 234, 212); }
.font-display { font-family: "Space Grotesk", "Noto Sans SC", sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-8 { line-height: 2rem; }
.leading-tight { line-height: 1.05; }
.tracking-tight { letter-spacing: -0.04em; }
.tracking-wider { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.22em; }
.uppercase { text-transform: uppercase; }
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.whitespace-nowrap { white-space: nowrap; }
.opacity-60 { opacity: 0.6; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-10 { padding-top: 2.5rem; }
.pb-18 { padding-bottom: 4.5rem; }
.transition {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.transition-transform { transition: transform 0.2s ease; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-teal-200:hover { color: rgb(153, 246, 228); }
.hover\:bg-teal-200:hover { background: rgb(153, 246, 228); }
.hover\:bg-white\/10:hover { background: rgba(255, 255, 255, 0.1); }
.backdrop-blur { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(20px); }
.blur-3xl { filter: blur(64px); }
.bg-gradient-radial { background-repeat: no-repeat; }

/* Responsive utilities */
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.9rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.7rem; }
  .sm\:pb-24 { padding-bottom: 6rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .lg\:flex { display: flex; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-\[1\.05fr_0\.95fr\] { grid-template-columns: 1.05fr 0.95fr; }
  .lg\:grid-cols-\[0\.85fr_1\.15fr\] { grid-template-columns: 0.85fr 1.15fr; }
  .lg\:grid-cols-\[1fr_1\.2fr\] { grid-template-columns: 1fr 1.2fr; }
  .lg\:items-center { align-items: center; }
  .lg\:ml-auto { margin-left: auto; }
  .lg\:pb-28 { padding-bottom: 7rem; }
  .lg\:pt-14 { padding-top: 3.5rem; }
  .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:w-\[min\(100\%\,40rem\)\] { width: min(100%, 40rem); }
  .lg\:hidden { display: none; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Components */
.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.section-kicker {
  font-size: 0.78rem;
  line-height: 1.1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.46);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.65rem 1rem;
  color: rgba(240, 249, 255, 0.82);
  backdrop-filter: blur(18px);
}

.signal-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.95rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.72);
}

.hero-visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.25));
  padding: 1rem;
  box-shadow: 0 40px 100px rgba(2, 6, 23, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.12), transparent 40%, transparent 70%, rgba(96, 165, 250, 0.12));
  pointer-events: none;
}

.glass-panel {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 19rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(7, 11, 21, 0.92));
  padding: 1.7rem;
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.22);
  box-shadow: 0 34px 76px rgba(2, 6, 23, 0.48), 0 0 0 1px rgba(94, 234, 212, 0.08);
}

.feature-icon-wrap {
  display: inline-flex;
  height: 3.35rem;
  width: 3.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.1rem;
  border: 1px solid rgba(94, 234, 212, 0.16);
  background: rgba(94, 234, 212, 0.08);
  color: rgb(94, 234, 212);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-stat {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.58);
  text-transform: uppercase;
}

.image-shell {
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.95rem;
  box-shadow: 0 26px 64px rgba(2, 6, 23, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.workflow-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.2rem;
  position: relative;
  padding-left: 1.2rem;
}

.workflow-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1.2rem;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.6), rgba(94, 234, 212, 0.2));
  border-radius: 9999px;
}

.workflow-row:first-of-type::before { top: 0; }

.workflow-index {
  display: inline-flex;
  min-width: 3.4rem;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(94, 234, 212, 0.18);
  background: rgba(94, 234, 212, 0.08);
  padding: 0.45rem 0.8rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.86rem;
  color: rgb(153, 246, 228);
}

.feature-side-card {
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(12, 18, 30, 0.8));
  padding: 1.55rem;
  box-shadow: 0 22px 55px rgba(2, 6, 23, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-side-card:hover {
  transform: translateX(6px);
  border-color: rgba(94, 234, 212, 0.18);
}

.language-tile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.1rem;
  color: rgba(241, 245, 249, 0.86);
  backdrop-filter: blur(14px);
}

.cta-shell {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(9, 14, 25, 0.86));
  padding: 2rem;
  box-shadow: 0 34px 90px rgba(2, 6, 23, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cta-shell {
    grid-template-columns: 1.3fr auto;
    align-items: end;
  }
}

.faq-item {
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(10, 15, 26, 0.88));
  padding: 1.4rem 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item details[open] summary svg { transform: rotate(180deg); }

/* Motion */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Mobile navigation fallback */
.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: white;
}

.mobile-nav-open nav {
  display: flex;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 1rem;
  right: 1rem;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(18px);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(2,6,23,0.45);
}

@media (min-width: 1024px) {
  .mobile-menu-button { display: none; }
}

/* Specific typography tightening for static pages */
section h1 span,
section h2 span {
  display: inline;
}

@media (max-width: 767px) {
  h1[style] {
    font-size: 3rem !important;
    line-height: 1.02;
  }
}

@media (max-width: 1023px) {
  .md\:block { display: none; }
}
