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

html {
  scroll-behavior: smooth;
}

body {
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(160, 160, 160, 0.12), transparent 38%),
    linear-gradient(180deg, #111113, #020202);
  background-attachment: fixed;
  scroll-snap-type: none;
}

main {
  width: 100%;
  margin: 0 auto;
  padding: 8rem 0 4rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #a0a0a0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #ffffff;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(6px);
  gap: 0.2rem;
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn-active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.toc-shell {
  position: fixed;
  top: 6rem;
  left: 1.5rem;
  z-index: 900;
  pointer-events: auto;
}

.toc-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(9, 12, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.toc-toggle:hover {
  background: rgba(15, 18, 25, 0.98);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.toc-toggle svg {
  width: 18px;
  height: 18px;
}

.toc-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  padding: 1.2rem 1.2rem 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 18, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

.toc-shell:hover .toc-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.toc-shell:hover .toc-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.toc-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc-body {
  max-height: 65vh;
  overflow-y: auto;
  padding-top: 0.3rem;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.toc-entry {
  position: relative;
}

.toc-children {
  list-style: none;
  margin: 0.2rem 0 0 1.2rem;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 600px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.toc-entry-expanded > .toc-children,
.toc-entry-hovered > .toc-children {
  max-height: 600px;
  opacity: 1;
  pointer-events: auto;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  font-size: 0.92rem;
}

.toc-item-child {
  font-size: 0.86rem;
  padding: 0.4rem 0.35rem;
  color: rgba(255, 255, 255, 0.65);
}

.toc-item-parent {
  font-weight: 600;
}

.toc-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  position: relative;
}

.toc-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -12px;
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  transform: translateX(-50%);
}

.toc-list li:first-child .toc-marker::after {
  display: none;
}

.toc-children .toc-marker::after {
  display: none;
}

.toc-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.toc-item-active {
  color: #ffffff;
  background: rgba(220, 220, 220, 0.22);
  box-shadow: inset 0 0 12px rgba(220, 220, 220, 0.35);
}

.toc-item-active-parent {
  color: #ffffff;
}

.toc-item-active .toc-marker {
  background: linear-gradient(135deg, #f7f7f7, #cfcfcf);
  box-shadow: 0 0 10px rgba(210, 210, 210, 0.55), inset 0 0 4px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1040px) {
  .toc-shell {
    display: none;
  }
}

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.5rem 3rem;
  min-height: calc(100vh - 13.5rem);
  width: 100%;
}

.rest-page {
  min-height: 100vh;
  overflow: visible;
  margin-top: 3.5rem;
}

.rest-scroll {
  height: auto;
  overflow: visible;
  padding: 0 0 4rem;
}

.content-section {
  width: 100%;
  padding: 3rem 1.5rem 2rem;
  min-height: 100vh;
  display: block;
}

.rest-scroll .content-section {
  min-height: auto;
}

.rest-scroll .content-section:first-of-type {
  padding-top: 3rem;
}

.section-main {
  display: block;
}

.content-block {
  padding: 4rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-block + .content-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-body {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin: 0;
}

.section-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.section-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.section-lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 1rem 0 2.5rem;
}

.section-copy {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.model-subsection + .model-subsection {
  margin-top: 2rem;
}

.model-subsection h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.section-list {
  list-style: disc;
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.open-source-outline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.open-source-card {
  padding: 1.6rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(150deg, rgba(13, 13, 16, 0.96), rgba(5, 5, 6, 0.92));
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 100%;
}

.open-source-card a:not(.open-source-link),
.section-copy a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.open-source-card__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.open-source-card__head {
  display: flex;
  flex-direction: column;
}

.open-source-card__head h4 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.2rem;
}

.open-source-card__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.open-source-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.open-source-card__list li {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.open-source-card__bullets {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.open-source-card__bullets li {
  position: relative;
  padding-left: 1.1rem;
}

.open-source-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.open-source-card__bullets a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.open-source-card__bullets a:hover {
  color: #ffffff;
}

.open-source-card__list strong {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.open-source-card__footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.open-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.open-source-link:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.demo-panel {
  margin-top: 2rem;
  padding: 2rem 0;
}

.use-cases-panel {
  position: relative;
  padding: 2rem 2.4rem 2.4rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 12, 0.72);
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  backdrop-filter: blur(22px);
}

.use-cases-panel::before,
.use-cases-panel::after {
  content: '';
  position: absolute;
  inset: -45% -15%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(circle at 75% 60%, rgba(180, 180, 180, 0.12), transparent 55%);
  filter: blur(20px);
  opacity: 0.5;
  animation: glassDrift 18s linear infinite;
  pointer-events: none;
}

.use-cases-panel::after {
  inset: -35% -25%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 65%);
  animation-direction: reverse;
  opacity: 0.35;
}

.use-cases-header {
  margin-bottom: 1.5rem;
}

.use-cases-header p {
  color: rgba(255, 255, 255, 0.78);
}

.use-cases-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.use-case-examples {
  overflow-x: auto;
  padding-bottom: 0.3rem;
}

.use-case-example-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.use-case-example {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.use-case-example:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.use-case-example.active {
  border-color: rgba(255, 255, 255, 0.65);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.08));
}

.use-case-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: rgba(8, 9, 12, 0.9);
  overflow: hidden; /* 防止内容溢出导致容器变化 */
}

.use-case-preview-frame--scrolling {
  aspect-ratio: auto;
  height: auto;
  min-height: 600px;
  max-height: none;
  overflow: visible;
}

.use-case-preview-frame--scrolling iframe {
  position: relative;
  height: 800px;
  min-height: 600px;
}

.use-case-preview-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  background: transparent;
  transition: opacity 0.25s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.use-case-preview-frame::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  opacity: 0.5;
  filter: blur(40px);
  pointer-events: none;
}

.use-case-preview-frame.use-case-preview-frame--transition {
  opacity: 0;
  transform: translateY(10px);
}

.use-case-preview-frame--scaled {
  position: relative;
  overflow: hidden;
}

.use-case-preview-frame--scrolling.use-case-preview-frame--scaled {
  overflow: auto;
}

.use-case-preview-frame--scaled iframe {
  position: absolute;
  top: 0;
  left: 0;
}

.use-case-preview-frame iframe.use-case-iframe-hidden {
  display: none;
}

.use-case-iframe-loading {
  opacity: 0;
  visibility: hidden;
}

.use-case-preview-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.other-metrics-panel {
  margin-top: 1.5rem;
  padding: 1.8rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 12, 0.88);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.other-metrics-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.other-metrics-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.other-metrics-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.other-metrics-title {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
}

.other-metrics-description {
  margin-top: 0.35rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.other-metrics-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.other-metrics-chart {
  width: 100%;
  height: 360px;
}

.other-metrics-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.deepresearch-section {
  margin-top: 2.5rem;
}

.deepresearch-panel {
  padding: 2.2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(150deg, rgba(8, 8, 12, 0.95), rgba(3, 3, 6, 0.92));
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.deepresearch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.deepresearch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.deepresearch-eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.deepresearch-head h4 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.35rem;
  color: #ffffff;
}

.deepresearch-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 100%;
}

.deepresearch-meta {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

.deepresearch-chart-shell {
  width: 100%;
  min-height: 420px;
  position: relative;
}

#deepresearch-chart {
  width: 100%;
  height: 100%;
}

.deepresearch-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.deepresearch-note a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.deepresearch-note a:hover {
  text-decoration: underline;
}

.site-footer {
  margin-top: 4rem;
  padding: 4rem 2rem 2rem;
  background: rgba(5, 6, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand {
  flex: 1 1 240px;
  margin-right: 0.8rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.6rem 0 1rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.footer-social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}


.footer-columns {
  flex: 1.5 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.footer-column {
  min-width: 140px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-column a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .footer-main {
    flex-wrap: wrap;
  }

  .footer-brand,
  .footer-columns {
    flex: 1 1 100%;
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    display: flex;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 900px) {
  .use-cases-body {
    grid-template-columns: 1fr;
  }
}

.demo-intro h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.demo-intro p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
}

.demo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.demo-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.demo-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

.demo-card.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.demo-card-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.demo-card strong {
  display: block;
  font-size: 1.1rem;
  margin: 0.4rem 0;
}

.demo-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.demo-detail {
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.demo-detail-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.demo-detail-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.demo-detail h3 {
  font-size: 1.6rem;
}

.demo-detail p {
  color: rgba(255, 255, 255, 0.75);
}

.demo-highlights {
  margin: 1.25rem 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-highlights li {
  color: rgba(255, 255, 255, 0.9);
}

.demo-preview {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.2rem;
  font-size: 0.9rem;
  overflow-x: auto;
}

.logo {
  font-size: 9rem;
  font-weight: 1000;
  text-align: center;
  background: linear-gradient(
    90deg,
    #a0a0a0 0%,
    #c0c0c0 12.5%,
    #d8d8d8 25%,
    #e8e8e8 37.5%,
    #ffffff 50%,
    #e8e8e8 62.5%,
    #d8d8d8 75%,
    #c0c0c0 87.5%,
    #a0a0a0 100%
  );
  background-size: 400% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 2rem 0;
  letter-spacing: 0.1em;
  animation: rainbow 20s linear infinite;
  transform: scaleX(1.3);
}

@keyframes rainbow {
  to {
    background-position: 400% 0;
  }
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    #b8b8b8 0%,
    #e8e8e8 25%,
    #ffffff 50%,
    #e8e8e8 75%,
    #b8b8b8 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}

.hero-lead {
  max-width: 60ch;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.hero-points {
  margin: 1.5rem 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-point-index {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  flex-shrink: 0;
}

.hero-points p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.section-intro .hero-lead,
.section-intro .hero-points {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-intro .hero-lead {
  max-width: none;
}

.section-intro .hero-points {
  align-items: flex-start;
  padding-left: 0;
}

.benchmark-block {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background: rgba(0, 0, 0, 0.25);
}

.benchmark-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.benchmark-legend-global {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.benchmark-head h3 {
  font-size: 1.5rem;
}

.benchmark-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.benchmark-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
  justify-content: flex-start;
}

.benchmark-card-head {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.benchmark-card .benchmark-chart {
  flex: 1;
  height: 120px;
}

.benchmark-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-top: 0.25rem;
}

.benchmark-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.benchmark-legend-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.benchmark-legend-logo img {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .benchmark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .benchmark-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.model-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.model-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.model-name {
  font-size: 1.4rem;
  font-weight: 700;
  background: none;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.model-params {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0.4rem 0 0.2rem;
}

.model-base {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}

@media (max-width: 800px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-nav {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .lang-toggle {
    align-self: flex-end;
  }
}

@media (max-width: 540px) {
  .site-header {
    position: static;
  }

  .header-actions {
    flex-direction: column;
    align-items: center;
  }

  .header-nav {
    justify-content: center;
  }

  .lang-toggle {
    width: 100%;
    justify-content: center;
  }
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}
@keyframes glassDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(24px, -12px, 0) rotate(3deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}
