/* ============================================
   Kejike API - Global Stylesheet
   Theme: Bright Lavender SaaS (kie.ai inspired)
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors - Primary (Cyan Blue) */
  --color-primary: #22d3ee;
  --color-primary-hover: #06b6d4;
  --color-primary-light: #38bdf8;
  --color-primary-soft: #60a5fa;
  --color-secondary: #3b82f6;
  --color-accent: #8b5cf6;
  --color-accent-soft: #a78bfa;

  /* Colors - Background (Dark Deep Space) */
  --bg-primary: #030712;
  --bg-secondary: #06091a;
  --bg-tertiary: rgba(15, 23, 42, 0.5);
  --bg-elevated: rgba(15, 23, 42, 0.6);
  --bg-subtle: rgba(15, 23, 42, 0.35);

  /* Colors - Text (Light for Dark BG) */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;

  /* Colors - Border (Glowing cyan/blue lines) */
  --border-color: rgba(56, 189, 248, 0.12);
  --border-color-strong: rgba(56, 189, 248, 0.22);
  --border-subtle: rgba(56, 189, 248, 0.07);
  --border-primary: rgba(56, 189, 248, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  --gradient-primary-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
  --gradient-text: linear-gradient(135deg, #22d3ee 0%, #3b82f6 40%, #8b5cf6 100%);
  --gradient-text-soft: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  --gradient-hero: linear-gradient(180deg, rgba(6, 9, 26, 0.8) 0%, #030712 100%);

  /* Shadows (Soft Cyan/Blue Glow) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 25px 50px -12px rgba(34, 211, 238, 0.12);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 20px 40px -15px rgba(34, 211, 238, 0.18), 0 8px 16px -8px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.08);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-width: 1200px;
  --nav-height: 68px;
  --announcement-height: 40px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

#waveBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center top, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 75%);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.12), transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59, 130, 246, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  #waveBg { display: none; }
  body::before { animation: none; }
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

/* --- Section base --- */
section {
  position: relative;
  z-index: 2;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.4;
  font-family: inherit;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 0.98rem;
  border-radius: 12px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px -2px rgba(34, 211, 238, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(34, 211, 238, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--color-primary);
  background: var(--bg-tertiary);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* --- Announcement Bar --- */
.announcement-bar {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.08) 0%, rgba(59, 130, 246, 0.08) 50%, rgba(34, 211, 238, 0.08) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--announcement-height);
  gap: 1rem;
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.announcement-icon {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  animation: star-twinkle 2s ease-in-out infinite;
}

.announcement-icon svg {
  width: 14px;
  height: 14px;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

.announcement-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}

.announcement-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.announcement-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.announcement-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.announcement-link:hover::after {
  transform: translateX(3px);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(3, 7, 18, 0.5);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  top: 0;
  background: rgba(3, 7, 18, 0.8);
  border-bottom-color: var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-tertiary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-icon-link:hover {
  color: var(--color-primary);
  background: var(--bg-tertiary);
}

/* 教程文档高亮胶囊按钮 */
.nav-docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #F59E0B 0%, #FB923C 45%, #E28C51 100%);
  box-shadow:
    0 0 0 1px rgba(251, 146, 60, 0.4),
    0 4px 14px -2px rgba(226, 140, 81, 0.45),
    0 0 20px -4px rgba(251, 146, 60, 0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-docs-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: docs-shimmer 2.8s ease-in-out infinite;
}

@keyframes docs-shimmer {
  0%   { left: -75%; }
  55%  { left: 125%; }
  100% { left: 125%; }
}

.nav-docs-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(251, 146, 60, 0.6),
    0 6px 20px -2px rgba(226, 140, 81, 0.6),
    0 0 28px -4px rgba(251, 146, 60, 0.55);
  color: #ffffff;
}

.nav-docs-btn:active {
  transform: translateY(0);
}

/* 移动端菜单中教程文档高亮项 */
.mobile-only-docs { display: none; }

.nav-link--docs-mobile {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600 !important;
  color: #ffffff !important;
  padding: 0.65rem 1.1rem !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #F59E0B 0%, #FB923C 45%, #E28C51 100%);
  box-shadow:
    0 0 0 1px rgba(251, 146, 60, 0.4),
    0 4px 14px -2px rgba(226, 140, 81, 0.4),
    0 0 20px -4px rgba(251, 146, 60, 0.35);
  position: relative;
  overflow: hidden;
}

.nav-link--docs-mobile::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: docs-shimmer 2.8s ease-in-out infinite;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  position: relative;
}

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  text-align: left;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-header-left {
  max-width: 540px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.8rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-wrap: pretty;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--announcement-height));
  display: flex;
  align-items: center;
  padding-top: calc(var(--announcement-height) + var(--nav-height) + 3rem);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  text-align: center;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
}

.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: hero-orb-float 10s ease-in-out infinite alternate;
}

.hero-glow-orb--1 {
  width: 500px;
  height: 500px;
  background: #22d3ee;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.hero-glow-orb--2 {
  width: 350px;
  height: 350px;
  background: #3b82f6;
  bottom: -80px;
  left: 10%;
  opacity: 0.25;
  animation-delay: -3s;
}

.hero-glow-orb--3 {
  width: 300px;
  height: 300px;
  background: #8b5cf6;
  bottom: -60px;
  right: 10%;
  opacity: 0.2;
  animation-delay: -6s;
}

@keyframes hero-orb-float {
  0% { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-45%, 20px) scale(1.1); }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(99, 102, 241, 0.5); }
  50% { opacity: 0.6; transform: scale(1.2); box-shadow: 0 0 12px rgba(99, 102, 241, 0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  text-wrap: pretty;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-tertiary);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust-item strong {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-trust-divider {
  width: 1px;
  height: 16px;
  background: var(--border-color);
}

/* --- Stats Bar Section --- */
.stats-section {
  padding: var(--space-lg) 0;
  position: relative;
}

.stats-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 2rem 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
  padding: 0 0.5rem;
  min-width: 0;
}

.stat-item-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  justify-self: center;
}

.stat-item-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-item-label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Models Table Section --- */
.models-table-section {
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  background: var(--bg-secondary);
}

.model-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.model-tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.model-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-color-strong);
}

.model-tab.active {
  color: #ffffff;
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.model-table-wrapper {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.model-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.model-table thead {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
}

.model-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.model-table th:last-child {
  text-align: right;
}

.model-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.model-table tbody tr {
  transition: all var(--transition-fast);
}

.model-table tbody tr:hover {
  background: var(--bg-subtle);
}

.model-table tbody tr:last-child td {
  border-bottom: none;
}

.model-table-name {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.model-table-logo {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 9px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.model-table-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  border-radius: 7px;
  display: block;
}

.model-table-logo--claude { background: transparent; }
.model-table-logo--openai { background: transparent; }
.model-table-logo--gemini { background: transparent; }
.model-table-logo--midjourney { background: transparent; }
.model-table-logo--luna { background: transparent; }
.model-table-logo--anthropic { background: transparent; }
.model-table-logo--xai { background: transparent; }
.model-table-logo--kimi { background: transparent; }
.model-table-logo--deepseek { background: transparent; }
.model-table-logo--glm { background: transparent; }

.model-table tr:hover .model-table-logo {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* --- Model Group Headers --- */
.model-row-group td {
  padding: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.model-group-label {
  background: var(--bg-subtle) !important;
}

.model-group-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
}

.model-group-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.model-row-group:hover td {
  background: var(--bg-subtle) !important;
}

.model-table-category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cat-text {
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary);
}

.cat-image {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

.cat-multimodal {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.cat-video {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.model-table-desc {
  max-width: 380px;
}

.model-table-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 100px;
}

.status-online {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.status-online::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.model-table td:last-child {
  text-align: right;
}

.model-table-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.model-table-btn:hover {
  color: var(--color-primary-hover);
}

/* --- Featured Models Section --- */
.featured-models-section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.featured-grid--nine {
  grid-template-columns: repeat(3, 1fr);
}

.featured-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.featured-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-card-hover);
}

.featured-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.featured-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover .featured-card-media img {
  transform: scale(1.05);
}

.featured-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cat-badge-llm {
  background: rgba(99, 102, 241, 0.9);
  color: #ffffff;
}

.cat-badge-image {
  background: rgba(236, 72, 153, 0.9);
  color: #ffffff;
}

.cat-badge-multimodal {
  background: rgba(139, 92, 246, 0.9);
  color: #ffffff;
}

.cat-badge-more {
  background: rgba(148, 163, 184, 0.9);
  color: #ffffff;
}

.featured-card-media--more {
  background: linear-gradient(135deg, #f5f3ff 0%, #fce7f3 100%);
}

.featured-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 2rem;
  position: relative;
}

.featured-more-tile {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
}

.featured-more-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.featured-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.featured-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.featured-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.featured-card:hover .featured-brand-logo {
  transform: scale(1.1) rotate(-5deg);
}

.featured-brand-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  display: block;
}

.featured-brand-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
}

.featured-brand-logo--claude { background: transparent; }
.featured-brand-logo--openai { background: transparent; }
.featured-brand-logo--gemini { background: transparent; }
.featured-brand-logo--grok { background: transparent; }
.featured-brand-logo--kimi { background: transparent; }
.featured-brand-logo--zhipu { background: transparent; }

.featured-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.featured-card-status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
}

.featured-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.featured-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.featured-card-tags span {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.featured-card-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.featured-card-btn:hover {
  gap: 0.6rem;
}

.featured-card-pricing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  background: rgba(236, 72, 153, 0.07);
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 8px;
  margin-bottom: 1.1rem;
  font-size: 0.72rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.featured-card-pricing-label {
  flex-shrink: 0;
  padding: 0.1rem 0.45rem;
  background: rgba(236, 72, 153, 0.18);
  color: #f472b6;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.featured-card-pricing-value {
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-mono);
}

/* --- Features Section --- */
.features-section {
  padding: var(--space-3xl) 0;
  position: relative;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: 0 12px 32px -8px rgba(34, 211, 238, 0.18);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  color: #ffffff;
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.feature-icon-2 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.feature-icon-3 { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.feature-icon-4 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.feature-icon-5 { background: linear-gradient(135deg, #f472b6, #ec4899); }
.feature-icon-6 { background: linear-gradient(135deg, #a78bfa, #c4b5fd); }
.feature-icon-7 { background: linear-gradient(135deg, #60a5fa, #6366f1); }
.feature-icon-8 { background: linear-gradient(135deg, #f9a8d4, #c4b5fd); }

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-tertiary);
}

/* --- Flow Section --- */
.flow-section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.flow-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.flow-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.flow-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.flow-step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  margin-top: 0.1rem;
  color: var(--text-primary);
}

.flow-step-en {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
  opacity: 0.9;
}

.flow-step-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Code block */
.flow-code {
  position: relative;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.code-tabs {
  display: flex;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.code-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-mono);
}

.code-tab:hover {
  color: #cbd5e1;
}

.code-tab.active {
  color: #e2e8f0;
  border-bottom-color: var(--color-primary-soft);
}

.code-panel {
  padding: 1.5rem;
  overflow-x: auto;
  max-height: 460px;
}

.code-panel pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #e2e8f0;
  white-space: pre;
}

.code-keyword {
  color: #c4b5fd;
}

.code-string {
  color: #86efac;
}

.code-comment {
  color: #64748b;
  font-style: italic;
}

.code-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(99, 102, 241, 0.08);
  border-top: 1px solid #1e293b;
  font-size: 0.78rem;
  color: #94a3b8;
}

.code-footer-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

.code-footer code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #c4b5fd;
  background: rgba(196, 181, 253, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* --- Network Section --- */
.network-section {
  padding: var(--space-3xl) 0;
  position: relative;
  background: var(--bg-secondary);
}

.network-hud {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 1.5rem;
  align-items: stretch;
}

.hud-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hud-panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hud-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hud-status-dot--blue {
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.hud-status-value {
  margin-left: auto;
  color: #10b981;
  font-weight: 600;
  font-size: 0.65rem;
}

.hud-panel--right .hud-status-value {
  color: var(--color-primary);
}

.hud-metric {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hud-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hud-metric-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hud-metric-value--blue { color: var(--color-primary); }
.hud-metric-value--amber { color: #f59e0b; }

.hud-metric-unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-left: 0.25rem;
}

.hud-sparkline svg {
  width: 100%;
  height: 40px;
}

.hud-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}

.hud-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hud-bar--success .hud-bar-fill {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.hud-metric-sub {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.hud-node-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hud-node-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hud-node-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

.hud-node-dot--purple { background: #8b5cf6; }
.hud-node-dot--blue { background: #3b82f6; }
.hud-node-dot--amber { background: #f59e0b; }

.hud-node-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* Globe */
.globe-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  min-height: 420px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.globe-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  position: relative;
  z-index: 1;
}

.globe-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.globe-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.08);
  transform: translate(-50%, -50%);
}

.globe-ring-1 {
  width: 360px;
  height: 360px;
  animation: ring-rotate 30s linear infinite;
  border-top-color: rgba(99, 102, 241, 0.3);
}

.globe-ring-2 {
  width: 420px;
  height: 420px;
  animation: ring-rotate 45s linear infinite reverse;
  border-right-color: rgba(139, 92, 246, 0.25);
}

.globe-ring-3 {
  width: 480px;
  height: 480px;
  animation: ring-rotate 60s linear infinite;
  border-bottom-color: rgba(236, 72, 153, 0.2);
}

@keyframes ring-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.data-arc {
  stroke-dasharray: 10 8;
  animation: arc-flow 2.5s linear infinite;
}

.data-arc:nth-child(2) { animation-delay: -0.6s; }
.data-arc:nth-child(3) { animation-delay: -1.2s; }
.data-arc:nth-child(4) { animation-delay: -1.8s; }

@keyframes arc-flow {
  from { stroke-dashoffset: 36; }
  to { stroke-dashoffset: 0; }
}

.hub-pulse {
  animation: hub-pulse 2.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes hub-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.node-pulse {
  animation: node-glow 2.5s ease-in-out infinite;
}

@keyframes node-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(99, 102, 241, 0.2);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.hud-corner--tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.hud-corner--tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.hud-corner--bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.hud-corner--br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

.globe-label {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.globe-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* --- FAQ Section --- */
.faq-section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-item[open] {
  border-color: var(--border-primary);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast);
}

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

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--text-tertiary);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-answer code {
  padding: 0.15rem 0.45rem;
  background: var(--bg-tertiary);
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--color-primary);
  border: 1px solid var(--border-subtle);
}

/* --- Dev Integration Section --- */
.dev-integration-section {
  padding: var(--space-3xl) 0;
  position: relative;
  background: var(--bg-secondary);
}

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.dev-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 2.5rem;
}

.dev-step-card {
  background: linear-gradient(155deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.5), 0 0 40px -20px rgba(99, 102, 241, 0.3);
}

.dev-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
}

.dev-step-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.dev-step-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(196, 181, 253, 0.9);
  background: rgba(99, 102, 241, 0.15);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.dev-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

.dev-step-dot--green {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.dev-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.dev-step-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.75);
  margin-bottom: 1.5rem;
}

.dev-step-visual {
  margin-top: auto;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step 1: Model Matrix */
.model-matrix {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.mm-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.mm-cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 8px;
  transition: all 1.5s ease-in-out;
  min-height: 36px;
}

.mm-cell--active {
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3), inset 0 0 10px rgba(99, 102, 241, 0.1);
  animation: mm-pulse 3s ease-in-out infinite;
}

.mm-col:nth-child(1) .mm-cell:nth-child(1) { animation-delay: 0s; }
.mm-col:nth-child(1) .mm-cell:nth-child(2) { animation-delay: 0.4s; }
.mm-col:nth-child(1) .mm-cell:nth-child(3) { animation-delay: 0.8s; }
.mm-col:nth-child(2) .mm-cell:nth-child(1) { animation-delay: 1.2s; }
.mm-col:nth-child(2) .mm-cell:nth-child(2) { animation-delay: 1.6s; }
.mm-col:nth-child(2) .mm-cell:nth-child(3) { animation-delay: 0.2s; }
.mm-col:nth-child(3) .mm-cell:nth-child(1) { animation-delay: 0.6s; }
.mm-col:nth-child(3) .mm-cell:nth-child(2) { animation-delay: 1s; }
.mm-col:nth-child(3) .mm-cell:nth-child(3) { animation-delay: 1.4s; }
.mm-col:nth-child(4) .mm-cell:nth-child(1) { animation-delay: 1.8s; }
.mm-col:nth-child(4) .mm-cell:nth-child(2) { animation-delay: 0.3s; }
.mm-col:nth-child(4) .mm-cell:nth-child(3) { animation-delay: 0.7s; }

@keyframes mm-pulse {
  0%, 100% {
    color: rgba(148, 163, 184, 0.4);
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(71, 85, 105, 0.3);
    box-shadow: none;
  }
  50% {
    color: #c4b5fd;
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3), inset 0 0 10px rgba(99, 102, 241, 0.1);
  }
}

/* Step 2: API Gateway Visual */
.api-gateway-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  gap: 1rem;
}

.ag-inputs, .ag-outputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.ag-inputs { align-items: flex-end; }
.ag-outputs { align-items: flex-start; }

.ag-line {
  position: relative;
  height: 2px;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6));
  border-radius: 1px;
}

.ag-line::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
  top: 50%;
  transform: translateY(-50%);
  right: -2px;
  animation: ag-flow 2.5s ease-in-out infinite;
}

.ag-line--1::before { animation-delay: 0s; }
.ag-line--2::before { animation-delay: 0.6s; }
.ag-line--3::before { animation-delay: 1.2s; }
.ag-line--4::before { animation-delay: 0.9s; left: -2px; right: auto; }

.ag-line--1 { background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.7)); width: 70%; }
.ag-line--2 { background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.7)); width: 55%; }
.ag-line--3 { background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.7)); width: 65%; }
.ag-line--4 { background: linear-gradient(90deg, rgba(59, 130, 246, 0.7), transparent); width: 80%; }

@keyframes ag-flow {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.9);
  }
}

.ag-center {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ag-core-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: ag-core-pulse 2.5s ease-in-out infinite;
}

@keyframes ag-core-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}

.ag-core {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Step 3: Webhook Visual */
.webhook-visual {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
}

.wv-source {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.wv-server {
  width: 32px;
  height: 22px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 4px;
  position: relative;
}

.wv-server::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 4px;
  height: 4px;
  background: rgba(196, 181, 253, 0.8);
  border-radius: 1px;
}

.wv-server::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 10px;
  width: 12px;
  height: 4px;
  background: rgba(196, 181, 253, 0.5);
  border-radius: 1px;
}

.wv-server--sm {
  width: 24px;
  height: 16px;
}

.wv-server--sm::before { top: 3px; left: 3px; width: 3px; height: 3px; }
.wv-server--sm::after { top: 3px; left: 8px; width: 10px; height: 3px; }

.wv-tube {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.8), rgba(99, 102, 241, 0.8));
  border-radius: 1px;
  position: relative;
}

.wv-tube::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
  animation: wv-flow 3s ease-in-out infinite;
}

.wv-tube--dashed {
  background: none;
  border-top: 2px dashed rgba(59, 130, 246, 0.4);
}

.wv-tube--dashed::before {
  animation-delay: 1.5s;
}

@keyframes wv-flow {
  0% { left: 0%; opacity: 0.4; }
  50% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0.4; }
}

.wv-results {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.wv-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 5px;
  color: #ffffff;
}

.wv-chip svg {
  width: 12px;
  height: 12px;
}

.wv-chip--webhook {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.wv-chip--poll {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.wv-chip--ready {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding-left: 0.4rem;
}

.wv-ready-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Connectors */
.dev-step-connector {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  min-width: 20px;
}

.dev-step-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.3), rgba(59, 130, 246, 0.6));
  position: relative;
}

.dev-step-line::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
  animation: connector-flow 3s ease-in-out infinite;
}

.dev-step-connector:nth-of-type(2) .dev-step-line::before {
  animation-delay: 1.5s;
}

@keyframes connector-flow {
  0% { left: 0%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0.3; }
}

.dev-step-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1e3a8a;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  margin: 0 -6px;
  z-index: 1;
  flex-shrink: 0;
}

.dev-step-node--end {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* --- Contact Section (Dark Card) --- */
.contact-section {
  padding: var(--space-2xl) 0 var(--space-3xl);
  position: relative;
  background: var(--bg-secondary);
}

.contact-dark-card {
  position: relative;
  background: linear-gradient(180deg, #0a0f1f 0%, #0f172a 50%, #0a0f1f 100%);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 3.5rem 3rem;
  overflow: hidden;
}

.contact-dark-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.contact-dark-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 80% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, black 0%, transparent 70%);
}

.contact-dark-glow {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-dark-number {
  position: absolute;
  right: 2rem;
  bottom: -3rem;
  font-size: 14rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(59, 130, 246, 0.06);
  font-family: var(--font-sans);
  line-height: 1;
  pointer-events: none;
}

.contact-dark-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-dark-header {
  text-align: left;
  margin: 0;
}

.section-eyebrow--dark {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.section-title--light {
  color: #ffffff;
}

.section-desc--light {
  color: rgba(148, 163, 184, 0.8);
}

.contact-dark-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-dark-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.contact-dark-item:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateX(4px);
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.3);
}

.contact-dark-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  transition: transform var(--transition-normal);
}

.contact-dark-item:hover .contact-dark-icon {
  transform: scale(1.08) rotate(-4deg);
}

.contact-dark-icon svg {
  width: 30px;
  height: 30px;
}

.contact-dark-icon--discord {
  background: linear-gradient(135deg, #5865F2 0%, #7289da 100%);
  box-shadow: 0 8px 20px -4px rgba(88, 101, 242, 0.5);
}

.contact-dark-icon--telegram {
  background: linear-gradient(135deg, #26A5E4 0%, #34c1f9 100%);
  box-shadow: 0 8px 20px -4px rgba(38, 165, 228, 0.5);
}

.contact-dark-icon--docs {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.5);
}

.contact-dark-text {
  flex: 1;
}

.contact-dark-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.contact-dark-sub {
  font-size: 0.95rem;
  color: rgba(148, 163, 184, 0.75);
}

.contact-dark-arrow {
  width: 20px;
  height: 20px;
  color: rgba(148, 163, 184, 0.5);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.contact-dark-item:hover .contact-dark-arrow {
  color: #c4b5fd;
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .contact-dark-card { padding: 2.5rem 2rem; }
  .contact-dark-content { grid-template-columns: 1fr; gap: 2rem; }
  .contact-dark-header { text-align: center; margin: 0 auto; }

  .dev-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .dev-step-connector { display: none; }
}

@media (max-width: 640px) {
  .contact-dark-card { padding: 2rem 1.25rem; border-radius: var(--radius-xl); }
  .contact-dark-item { padding: 1rem; gap: 0.85rem; }
  .contact-dark-icon { width: 48px; height: 48px; border-radius: 12px; }
  .contact-dark-icon svg { width: 24px; height: 24px; }
  .contact-dark-name { font-size: 1.15rem; }
  .contact-dark-sub { font-size: 0.85rem; }
  .contact-dark-number { font-size: 8rem; right: -1rem; }

  .dev-step-card { padding: 1.5rem 1.25rem; }
  .dev-step-title { font-size: 1.15rem; }
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--space-xl) 0 var(--space-2xl);
  position: relative;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(6, 9, 26, 0.7) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 60px -20px rgba(34, 211, 238, 0.25), inset 0 1px 0 rgba(56, 189, 248, 0.1);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 40%, transparent 60%, rgba(59, 130, 246, 0.08));
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: cta-breathe 8s ease-in-out infinite alternate;
}

@keyframes cta-breathe {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(-30px, 20px); opacity: 1; }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cta-card .btn-primary {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

.cta-card .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.4);
}

.cta-card .btn-ghost {
  color: rgba(196, 236, 255, 0.95);
  border-color: rgba(56, 189, 248, 0.35);
}

.cta-card .btn-ghost:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(34, 211, 238, 0.1);
}

/* --- Footer --- */
.site-footer {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin-bottom: 0.85rem;
}

.footer-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.footer-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-tertiary);
}

.footer-social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.footer-social-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.footer-social-btn:hover {
  transform: translateY(-3px);
  border-color: var(--border-primary);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.15);
}

.footer-social-btn:hover img,
.footer-social-btn:hover svg {
  transform: scale(1.1);
}

.footer-social-btn--telegram {
  color: #26A5E4;
  border-color: rgba(38, 165, 228, 0.3);
  background: rgba(38, 165, 228, 0.08);
}

.footer-social-btn--telegram:hover {
  color: #fff;
  background: #26A5E4;
  border-color: #26A5E4;
  box-shadow: 0 6px 16px rgba(38, 165, 228, 0.35);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-meta-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.meta-separator {
  color: var(--text-muted);
  opacity: 0.4;
}

/* --- Particle canvas --- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #particleCanvas { display: none; }
  .hero-glow-orb { animation: none; }
}

/* --- Tablet --- */
@media (max-width: 1024px) {
  .nav-list { gap: 1.25rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; }
  .network-hud { grid-template-columns: 220px 1fr 220px; gap: 1rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    --nav-height: 60px;
  }

  .main-nav { display: none; }
  .nav-icon-link { display: none; }
  .mobile-menu-toggle { display: flex; }

  .main-nav.active {
    display: flex;
    position: fixed;
    top: calc(var(--announcement-height) + var(--nav-height));
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    flex-direction: column;
    z-index: 99;
  }

  .main-nav.active .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .mobile-only-docs { display: list-item; }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--announcement-height) + var(--nav-height) + 3rem);
  }

  .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-subtitle { font-size: 1rem; }

  .hero-trust { gap: 0.75rem; }
  .hero-trust-divider { display: none; }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .stat-item-divider { display: none; }
  .stat-item { padding: 0.5rem 0; text-align: left; }
  .stat-item-value { font-size: 1.4rem; }

  .section-header--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .model-table-wrapper { overflow-x: auto; }
  .model-table { min-width: 640px; }

  .featured-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .feature-card { padding: 1.25rem; }

  .flow-layout { grid-template-columns: 1fr; gap: 2rem; }

  .network-hud { grid-template-columns: 1fr; }
  .globe-container { min-height: 380px; }

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

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }
  .cta-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .announcement-text { display: none; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Partner Logo Wall --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: var(--space-xl);
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.partner-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(30, 41, 59, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(99, 102, 241, 0.25);
}

.partner-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.partner-logo--anthropic img {
  filter: drop-shadow(0 1px 2px rgba(217, 119, 87, 0.3));
}

.partner-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

.partner-card:hover .partner-name {
  color: var(--text-primary);
}

.partner-card--more {
  background: rgba(99, 102, 241, 0.08);
  border: 1px dashed rgba(99, 102, 241, 0.35);
}

.partner-card--more:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.6);
}

.partner-logo--more {
  background: rgba(99, 102, 241, 0.12);
  border: none;
}

.partner-more-count {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Package Chips --- */
.package-section {
  margin-top: var(--space-2xl);
}

.package-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.package-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: default;
}

.package-chip:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(30, 41, 59, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px rgba(99, 102, 241, 0.3);
}

.package-chip-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.package-chip[data-tier="特价"] .package-chip-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.package-chip[data-tier="高性价比"] .package-chip-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.package-chip[data-tier="首选推荐"] .package-chip-badge {
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
}

.package-chip[data-tier="外接生图"] .package-chip-badge {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.package-chip[data-tier="官方生图"] .package-chip-badge {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
}

.package-chip[data-tier="极速响应"] .package-chip-badge {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.package-chip[data-tier="企业级稳定"] .package-chip-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.package-chip[data-tier="专业版"] .package-chip-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.package-chip[data-tier="顶配套餐"] .package-chip-badge {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}

.package-chip[data-tier="酒馆专属"] .package-chip-badge {
  background: rgba(139, 92, 246, 0.18);
  color: #a78bfa;
}

.package-chip[data-tier="前端之神"] .package-chip-badge {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
}

.package-chip[data-tier="国产之光"] .package-chip-badge {
  background: rgba(234, 88, 12, 0.15);
  color: #fb923c;
}

.package-chip[data-tier="上新"] .package-chip-badge {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

.package-chip[data-tier="全能型"] .package-chip-badge {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
}

.package-chip[data-tier="高速线路"] .package-chip-badge {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.package-chip-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.package-chip-rate {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.package-chip:hover .package-chip-rate {
  color: var(--color-primary);
}

/* --- Responsive: Partner Grid & Packages --- */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .partner-logo {
    width: 48px;
    height: 48px;
  }
  .partner-card {
    padding: 1rem 0.5rem;
    border-radius: 12px;
  }
  .partner-name {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .partner-logo {
    width: 40px;
    height: 40px;
  }
  .partner-card {
    padding: 0.75rem 0.35rem;
  }
  .partner-name {
    font-size: 0.65rem;
  }
  .package-chip {
    padding: 0.4rem 0.65rem;
    gap: 0.35rem;
  }
  .package-chip-name {
    font-size: 0.7rem;
  }
  .package-chip-badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
  }
  .package-chip-rate {
    font-size: 0.68rem;
  }
}

/* --- Responsive: Model Table group labels --- */
@media (max-width: 768px) {
  .model-group-inner {
    padding: 0.7rem 1rem;
  }
}

/* --- Partner Grid v2: inline SVG logos --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.9rem;
  margin-top: var(--space-xl);
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0.5rem 0.9rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.partner-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(30, 41, 59, 0.65);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px -10px rgba(99, 102, 241, 0.3);
}

.partner-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.partner-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

.partner-card:hover .partner-name {
  color: var(--text-primary);
}

.partner-card--more {
  background: rgba(99, 102, 241, 0.08);
  border: 1px dashed rgba(99, 102, 241, 0.4);
}

.partner-card--more:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.65);
}

.partner-logo--more {
  background: rgba(99, 102, 241, 0.12);
  border-radius: 12px;
}

.partner-more-count {
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Model Accordion --- */
.model-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.model-accordion-group {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.model-accordion-group.is-open {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 28px -12px rgba(99, 102, 241, 0.2);
}

.model-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.25s ease;
}

.model-accordion-header:hover {
  background: rgba(30, 41, 59, 0.6);
}

.model-accordion-head-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.model-accordion-logo {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.model-accordion-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.model-accordion-title {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.model-accordion-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.model-accordion-head-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.model-accordion-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 0.2rem 0.55rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 100px;
}

.model-accordion-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.model-accordion-group.is-open .model-accordion-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.model-accordion-panel {
  max-height: none;
  overflow: hidden;
}

/* JS 加载后启用折叠动画；无 JS 时全部展开，内容永不丢失 */
.js-ready .model-accordion-panel {
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-ready .model-accordion-group.is-open .model-accordion-panel {
  max-height: 5000px;
}

.model-accordion-inner {
  padding: 0 1.25rem 1rem;
}

/* --- Model Subtable --- */
.model-subtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  border-top: 1px solid var(--border-subtle);
}

.model-subtable td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.model-subtable tr:last-child td {
  border-bottom: none;
}

.model-subtable tr:hover {
  background: rgba(99, 102, 241, 0.04);
}

.model-subtable-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

.model-subtable td:last-child {
  text-align: right;
  white-space: nowrap;
}

/* --- Old model-table cleanup (kept for other pages if any) --- */
.model-table-logo--claude,
.model-table-logo--openai,
.model-table-logo--gemini,
.model-table-logo--midjourney,
.model-table-logo--luna,
.model-table-logo--anthropic,
.model-table-logo--xai,
.model-table-logo--kimi,
.model-table-logo--deepseek,
.model-table-logo--glm {
  background: transparent;
}

/* --- Snake Track Package Flow --- */
.package-section {
  margin-top: var(--space-2xl);
}

.snake-track {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.snake-track-row {
  display: flex;
  gap: 0.6rem;
  width: max-content;
  will-change: transform;
}

.snake-row-1 {
  animation: snake-flow-left 60s linear infinite;
}

.snake-row-2 {
  animation: snake-flow-right 70s linear infinite;
}

.snake-track:hover .snake-track-row {
  animation-play-state: paused;
}

@keyframes snake-flow-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes snake-flow-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.snake-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: default;
  flex-shrink: 0;
}

.snake-item:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(30, 41, 59, 0.8);
  transform: scale(1.05);
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.35);
  z-index: 2;
  position: relative;
}

.snake-item b {
  display: none;
}

.snake-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.snake-item[data-tier="特价"] .snake-badge { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.snake-item[data-tier="高性价比"] .snake-badge { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.snake-item[data-tier="首选推荐"] .snake-badge { background: rgba(99, 102, 241, 0.18); color: #818cf8; }
.snake-item[data-tier="外接生图"] .snake-badge { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.snake-item[data-tier="官方生图"] .snake-badge { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.snake-item[data-tier="极速响应"] .snake-badge { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.snake-item[data-tier="企业级稳定"] .snake-badge { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.snake-item[data-tier="专业版"] .snake-badge { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.snake-item[data-tier="顶配套餐"] .snake-badge { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.snake-item[data-tier="酒馆专属"] .snake-badge { background: rgba(139, 92, 246, 0.18); color: #a78bfa; }
.snake-item[data-tier="前端之神"] .snake-badge { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.snake-item[data-tier="国产之光"] .snake-badge { background: rgba(234, 88, 12, 0.15); color: #fb923c; }
.snake-item[data-tier="上新"] .snake-badge { background: rgba(34, 197, 94, 0.18); color: #4ade80; }
.snake-item[data-tier="全能型"] .snake-badge { background: rgba(168, 85, 247, 0.18); color: #c084fc; }
.snake-item[data-tier="高速线路"] .snake-badge { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }

/* --- Old model-group styles are kept but not used; replaced by accordion --- */
.model-row-group td,
.model-group-label,
.model-group-inner,
.model-group-name {
  /* preserved for backwards compatibility, visually overridden by accordion */
}

/* --- Responsive: Partner Grid & Snake & Accordion --- */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }
  .partner-logo {
    width: 40px;
    height: 40px;
  }
  .partner-card {
    padding: 0.85rem 0.35rem 0.7rem;
    border-radius: 12px;
  }
  .partner-name {
    font-size: 0.65rem;
  }
  .model-accordion-header {
    padding: 0.85rem 1rem;
  }
  .model-accordion-inner {
    padding: 0 1rem 0.85rem;
  }
  .model-accordion-logo {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
  .model-accordion-brand {
    font-size: 0.88rem;
  }
  .model-accordion-count {
    display: none;
  }
  .model-subtable td {
    padding: 0.65rem 0.35rem;
    font-size: 0.8rem;
  }
  .model-subtable-name {
    font-size: 0.78rem;
  }
  .snake-item {
    padding: 0.4rem 0.65rem;
    font-size: 0.72rem;
    gap: 0.35rem;
  }
  .snake-badge {
    font-size: 0.58rem;
    padding: 0.08rem 0.3rem;
  }
}

@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
  }
  .partner-logo {
    width: 32px;
    height: 32px;
  }
  .partner-card {
    padding: 0.65rem 0.25rem 0.55rem;
  }
  .partner-name {
    font-size: 0.58rem;
  }
  .model-subtable td:nth-child(3) {
    display: none;
  }
}

/* ============================================
   模型价格表（model-pricing-table）
   ============================================ */
.model-pricing-table-wrap {
  overflow-x: auto;
  margin: 0 -0.5rem;
}

.model-pricing-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.model-pricing-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 0.75rem 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.model-pricing-table th:last-child {
  text-align: right;
}

.model-pricing-table td {
  padding: 0.75rem 0.75rem;
  vertical-align: middle;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.model-pricing-table td:first-child {
  border-left: 1px solid var(--border-subtle);
  border-radius: 10px 0 0 10px;
}

.model-pricing-table td:last-child {
  border-right: 1px solid var(--border-subtle);
  border-radius: 0 10px 10px 0;
  text-align: right;
}

.model-pricing-table tbody tr:hover td {
  background: rgba(99, 102, 241, 0.07);
  border-color: rgba(99, 102, 241, 0.25);
}

.model-pricing-table .model-subtable-name {
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.model-cell-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.model-cell-label {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-primary {
  color: #2dd4bf;
  font-weight: 600;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.8rem;
  white-space: nowrap;
}

.price-muted {
  color: var(--text-tertiary);
  opacity: 0.5;
  font-size: 0.78rem;
}

.price-cache {
  font-size: 0.75rem;
  color: #a5b4fc;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  line-height: 1.4;
}

.price-ctx {
  font-size: 0.75rem;
  color: #fbbf24;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  line-height: 1.4;
}

.model-price-off {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-top: 0.2rem;
  opacity: 0.6;
}

.model-price-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.model-price-main {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.model-price-values {
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

/* 分组标题中的 tier badge */
.group-tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  margin-right: 0.45rem;
  vertical-align: middle;
  line-height: 1.3;
}

.tier-特价 { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.tier-高性价比 { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.tier-首选推荐 { background: rgba(99, 102, 241, 0.18); color: #818cf8; }
.tier-外接生图 { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.tier-标准生图 { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.tier-官方生图 { background: rgba(236, 72, 153, 0.12); color: #f472b6; }
.tier-极速响应 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.tier-企业级稳定 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.tier-顶配套餐 { background: rgba(217, 119, 87, 0.18); color: #fb923c; }
.tier-高速线路 { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.tier-酒馆专属 { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.tier-前端之神 { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.tier-国产之光 { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.tier-上新 { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.tier-全能型 { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.tier-顶级能力 { background: rgba(249, 115, 22, 0.18); color: #fb923c; }
.tier-稳定版 { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }

/* 手风琴分组标题中的描述文字 */
.model-accordion-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-top: 0.15rem;
  line-height: 1.4;
}

.model-accordion-title {
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.model-accordion-brand {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* 倍率 badge */
.model-accordion-rate.rate-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.model-accordion-group.is-open .model-accordion-rate.rate-badge {
  background: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}

/* 立即调用按钮 */
.model-pricing-table .model-table-btn {
  font-size: 0.72rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-block;
}

.model-pricing-table .model-table-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #e0e7ff;
}

/* 状态徽章 */
.model-pricing-table .model-table-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.model-pricing-table .status-online::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* 类型标签 */
.model-pricing-table .model-table-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.model-pricing-table .cat-text { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.model-pricing-table .cat-image { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.model-pricing-table .cat-video { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

/* =============================================== */
/* === V2 折扣对比价格表 === */
/* =============================================== */

/* 分组标题折扣标签 */
.group-discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15));
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  white-space: nowrap;
  margin-top: 0.2rem;
  width: fit-content;
}

.group-discount-tag.group-discount-premium {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}

.group-discount-tag.group-discount-none {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.25);
}

/* 计费说明 */
.pricing-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  font-size: 0.78rem;
  color: #93c5fd;
  line-height: 1.5;
}

.pricing-note-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-note strong {
  color: #60a5fa;
  font-weight: 700;
}

/* V2 表格 */
.model-pricing-table-v2 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  min-width: 1100px;
}

.model-pricing-table-v2 thead th {
  background: rgba(30, 41, 59, 0.8);
  padding: 0.7rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
  text-align: left;
}

.model-pricing-table-v2 tbody td {
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  vertical-align: middle;
}

.model-pricing-table-v2 tbody tr:last-child td {
  border-bottom: none;
}

.model-pricing-table-v2 tbody tr:hover td {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

/* 模型名列 */
.model-pricing-table-v2 .model-subtable-name {
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 160px;
}

.model-name-main {
  font-size: 0.8rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.model-name-sub {
  margin-top: 0.3rem;
}

.cache-info .price-cache {
  font-size: 0.68rem;
  color: #a5b4fc;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  line-height: 1.35;
  opacity: 0.85;
}

/* 类型列 */
.model-pricing-table-v2 .model-table-category {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}

.model-pricing-table-v2 .cat-text {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.model-pricing-table-v2 .cat-image {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
}

.model-pricing-table-v2 .cat-video {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.model-pricing-table-v2 .cat-multimodal {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

/* 上下文列 */
.model-pricing-table-v2 .col-ctx .price-ctx {
  font-size: 0.72rem;
  color: #fbbf24;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  line-height: 1.4;
}

/* 本站价列 */
.col-myprice .my-price-inout {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.my-price-in {
  color: #34d399;
}

.my-price-out {
  color: #2dd4bf;
}

.my-price-tier {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
}

.my-price-single {
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

/* 官方价列 */
.col-offprice .off-price-inout {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  opacity: 0.6;
  line-height: 1.3;
}

.off-price-tier,
.off-price-single {
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  opacity: 0.6;
}

/* 立省列 */
.col-save .save-price-inout {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fb923c;
  line-height: 1.3;
}

.save-price-tier,
.save-price-single {
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.7rem;
  color: #fb923c;
  font-weight: 600;
}

/* 折扣列 */
.col-discount {
  text-align: center;
}

.discount-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
  line-height: 1.2;
}

.discount-badge em {
  font-style: normal;
  font-size: 0.65rem;
  color: #6ee7b7;
  font-weight: 600;
}

.discount-badge.discount-premium {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.12));
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.discount-badge.discount-premium em {
  color: #fcd34d;
}

.discount-badge.discount-none {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

/* 状态列 */
.model-pricing-table-v2 .model-table-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  white-space: nowrap;
}

.model-pricing-table-v2 .status-online::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}

/* 操作按钮 */
.model-pricing-table-v2 .model-table-btn {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.08);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.model-pricing-table-v2 .model-table-btn:hover {
  background: rgba(96, 165, 250, 0.18);
  border-color: #60a5fa;
  color: #93c5fd;
}

/* 表格横向滚动 */
.model-pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
}

.model-pricing-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.model-pricing-table-wrap::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.08);
  border-radius: 3px;
}

.model-pricing-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 3px;
}

/* 生图/视频行的合并单元格价格 */
.model-pricing-table td[colspan] .model-price-cell {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.model-pricing-table td[colspan] .model-price-main {
  min-width: auto;
  margin: 0;
}

/* 响应式：移动端表格 */
@media (max-width: 640px) {
  .model-pricing-table {
    min-width: 680px;
    font-size: 0.76rem;
  }
  .model-pricing-table th {
    font-size: 0.68rem;
    padding: 0 0.5rem 0.5rem;
  }
  .model-pricing-table td {
    padding: 0.6rem 0.5rem;
  }
}

/* 增加手风琴面板最大高度，适应更多模型 */
/* 蛇形流动中的新 tier 颜色兼容（标准生图、顶级能力、稳定版、上新等） */
.snake-item[data-tier="标准生图"] .snake-badge { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.snake-item[data-tier="官方生图"] .snake-badge { background: rgba(236, 72, 153, 0.12); color: #f472b6; }
.snake-item[data-tier="顶级能力"] .snake-badge { background: rgba(249, 115, 22, 0.18); color: #fb923c; }
.snake-item[data-tier="稳定版"] .snake-badge { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }

/* ===================================================== */
/* === V3 积分明细风格表格（仿后台 model-plaza）=== */
/* ===================================================== */

.v3-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
}

.v3-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.v3-table-wrap::-webkit-scrollbar-track {
  background: rgba(51, 65, 85, 0.4);
  border-radius: 4px;
}

.v3-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.5);
  border-radius: 4px;
}

.v3-pricing-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.78rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
}

/* 表头 */
.v3-pricing-table thead th {
  background: #273449;
  padding: 0.8rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: left;
  border-bottom: 1px solid #334155;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.v3-pricing-table thead th.v3-th-id { min-width: 200px; }
.v3-pricing-table thead th.v3-th-tier { min-width: 130px; }
.v3-pricing-table thead th.v3-th-price { min-width: 160px; }
.v3-pricing-table thead th.v3-th-other { min-width: 130px; }
.v3-pricing-table thead th.v3-th-discount { min-width: 180px; }

/* 单元格 */
.v3-pricing-table tbody td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid #2d3a4f;
  vertical-align: top;
}

.v3-pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.v3-pricing-table tbody tr:hover td {
  background: rgba(96, 165, 250, 0.04);
}

/* 模型 ID 列 */
.v3-model-id {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  background: #1a2537;
  border: 1px solid #2d3a4f;
  border-radius: 100px;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.v3-model-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px;
}

.v3-model-name {
  white-space: nowrap;
}

/* 档位列 */
.v3-tier-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 72px;
}

.v3-tier-col.v3-tier-dash {
  justify-content: center;
  color: #475569;
  font-size: 0.85rem;
  text-align: center;
}

.v3-tier-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.v3-tier-label-box {
  flex-shrink: 0;
  padding: 0.15rem 0.5rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #60a5fa;
  white-space: nowrap;
  margin-top: 2px;
}

.v3-tier-sub {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 2px;
}

/* 每个价格单元格（4行） */
.v3-price-cell {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

.v3-price-cell.v3-price-dash {
  justify-content: center;
  align-items: center;
  color: #475569;
  font-size: 0.9rem;
  min-height: 72px;
}

.v3-price-amount {
  font-size: 0.92rem;
  font-weight: 700;
  color: #60a5fa;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.v3-price-amount .cell-prefix {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  margin-right: 2px;
}

.v3-price-unit {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 400;
  font-family: inherit;
}

.v3-price-label {
  font-size: 0.65rem;
  color: #475569;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.v3-price-official {
  font-size: 0.65rem;
  color: #475569;
  font-weight: 400;
  text-decoration: none;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  opacity: 0.8;
}

/* 阶梯价格容器 */
.v3-tier-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.v3-tier-wrap .v3-tier-row {
  gap: 0.4rem;
}

.v3-tier-label {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(100, 116, 139, 0.15);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 3px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.v3-img-tiers .v3-tier-label {
  min-width: 32px;
  text-align: center;
}

/* 倍率与优惠列 */
.v3-discount-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 72px;
}

.v3-discount-top {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.v3-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
  letter-spacing: 0.02em;
}

.v3-discount-premium-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  color: #fff;
}

.v3-discount-bottom {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 170px;
}

/* 列宽优化 */
.v3-col-id { width: 18%; }
.v3-col-tier { width: 12%; }
.v3-col-price { width: 14%; }
.v3-col-other { width: 10%; }
.v3-col-discount { width: 14%; }

/* --- Model Plaza 6-col compact table --- */
.mp-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.mp-pricing-table thead th {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.4);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.mp-pricing-table thead th.mp-th-id { min-width: 220px; }
.mp-pricing-table thead th.mp-th-type { width: 14%; }
.mp-pricing-table thead th.mp-th-ctx { width: 12%; }
.mp-pricing-table thead th.mp-th-discount { width: 16%; }
.mp-pricing-table thead th.mp-th-status { width: 12%; }
.mp-pricing-table thead th.mp-th-cta { width: 14%; text-align: right; }

.mp-pricing-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.mp-pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.mp-pricing-table tbody tr:hover td {
  background: rgba(226, 140, 81, 0.04);
}

.mp-model-id {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mp-model-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 6px;
}

.mp-model-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  word-break: break-all;
}

.mp-col-type .mp-type-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-copper);
  background: rgba(226, 140, 81, 0.08);
  border: 1px solid rgba(226, 140, 81, 0.2);
  border-radius: 6px;
  white-space: nowrap;
}

.mp-col-ctx {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

.mp-discount {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
}

.mp-discount--tier1 { color: #4ade80; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.25); }
.mp-discount--tier2 { color: #34d399; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.22); }
.mp-discount--tier3 { color: #22d3ee; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.22); }
.mp-discount--tier4 { color: #fbbf24; background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.22); }
.mp-discount--tier5 { color: #f87171; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.22); }

.mp-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.mp-status--online {
  color: #4ade80;
}

.mp-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.mp-col-cta {
  text-align: right;
}

.mp-cta-btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #E28C51 0%, #C77037 100%);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(226, 140, 81, 0.3);
  white-space: nowrap;
}

.mp-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(226, 140, 81, 0.45), 0 0 12px rgba(226, 140, 81, 0.2);
  color: #fff;
}

/* Accordion header sub line (最低折扣胶囊) */
.model-accordion-sub {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-copper);
  background: rgba(226, 140, 81, 0.08);
  border: 1px solid rgba(226, 140, 81, 0.2);
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   WARM COPPER THEME UPGRADE  (inspired by openmodel.ai aesthetic)
   ============================================================ */

/* --- Copper accent tokens (additive, don't replace base palette) --- */
:root {
  --color-copper: #E28C51;
  --color-copper-rgb: 226, 140, 81;
  --color-warm-white: #F5F1EA;
  --color-copper-soft: #F0B98B;
  --color-copper-deep: #C77037;
  --copper-glow-strong: 0 0 24px rgba(226, 140, 81, 0.45);
  --copper-glow-soft: 0 0 32px rgba(226, 140, 81, 0.2);
}

/* --- Title glow (warm radial halo behind headings) --- */
.hero-title,
.section-title {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.section-header {
  position: relative;
}

.hero-title::before,
.section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(226, 140, 81, 0.13) 0%, rgba(226, 140, 81, 0.06) 30%, rgba(226, 140, 81, 0) 65%);
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
  animation: title-glow-breathe 5s ease-in-out infinite;
}

.hero-title::before {
  width: 120%;
  height: 180%;
  background: radial-gradient(circle, rgba(226, 140, 81, 0.18) 0%, rgba(226, 140, 81, 0.08) 25%, rgba(226, 140, 81, 0) 60%);
}

@keyframes title-glow-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title::before,
  .section-title::before {
    animation: none;
    opacity: 0.8;
  }
}

/* --- Copper keyword highlight in titles --- */
.gradient-text {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  animation: none;
  color: var(--color-copper);
  text-shadow: 0 0 24px rgba(226, 140, 81, 0.35),
               0 0 48px rgba(226, 140, 81, 0.15);
}

/* --- Eyebrow / section tags: warm copper --- */
.section-eyebrow,
.hero-eyebrow {
  color: var(--color-copper);
  background: rgba(226, 140, 81, 0.08);
  border-color: rgba(226, 140, 81, 0.18);
  text-shadow: 0 0 8px rgba(226, 140, 81, 0.3);
}

.eyebrow-dot {
  background: var(--color-copper);
  box-shadow: 0 0 8px rgba(226, 140, 81, 0.6);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(226, 140, 81, 0.5); }
  50% { opacity: 0.6; transform: scale(1.2); box-shadow: 0 0 14px rgba(226, 140, 81, 0.8); }
}

/* --- Warm white primary text (subtle shift) --- */
.hero-title {
  color: var(--color-warm-white);
}

/* --- Card spotlight glow --- */
.feature-card,
.flow-step,
.hud-panel,
.faq-item,
.contact-card,
.model-accordion-group,
.partner-card,
.hud-metric,
.dev-step-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.flow-step::before,
.hud-panel::before,
.faq-item::before,
.contact-card::before,
.model-accordion-group::before,
.partner-card::before,
.hud-metric::before,
.dev-step-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
              rgba(226, 140, 81, 0.14) 0%,
              rgba(226, 140, 81, 0.06) 20%,
              transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-card.is-spotlight::before,
.flow-step.is-spotlight::before,
.hud-panel.is-spotlight::before,
.faq-item.is-spotlight::before,
.contact-card.is-spotlight::before,
.model-accordion-group.is-spotlight::before,
.partner-card.is-spotlight::before,
.hud-metric.is-spotlight::before,
.dev-step-card.is-spotlight::before {
  opacity: 1;
}

/* Ensure card content stays above the glow */
.feature-card > *,
.flow-step > *,
.hud-panel > *,
.faq-item > *,
.contact-card > *,
.model-accordion-group > *,
.partner-card > *,
.hud-metric > *,
.dev-step-card > * {
  position: relative;
  z-index: 1;
}

/* --- Card hover: warm copper border + lift --- */
.feature-card:hover {
  border-color: rgba(226, 140, 81, 0.35);
  box-shadow: 0 16px 40px -12px rgba(226, 140, 81, 0.18);
  transform: translateY(-4px);
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 24px rgba(226, 140, 81, 0.3);
}

.model-accordion-group:hover {
  border-color: rgba(226, 140, 81, 0.3);
}

.model-accordion-group.is-open {
  border-color: rgba(226, 140, 81, 0.4);
  box-shadow: 0 8px 28px -12px rgba(226, 140, 81, 0.2);
}

.model-accordion-group.is-open .model-accordion-arrow {
  color: var(--color-copper);
}

.hud-panel:hover {
  border-color: rgba(226, 140, 81, 0.3);
  box-shadow: 0 12px 32px -10px rgba(226, 140, 81, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: rgba(226, 140, 81, 0.35);
  box-shadow: 0 8px 24px -8px rgba(226, 140, 81, 0.2);
  transform: translateY(-3px);
}

.faq-item:hover {
  border-color: rgba(226, 140, 81, 0.3);
}

.contact-card:hover {
  border-color: rgba(226, 140, 81, 0.35);
  box-shadow: 0 12px 32px -10px rgba(226, 140, 81, 0.2);
  transform: translateY(-3px);
}

/* --- Primary button warm copper accent --- */
.btn-primary {
  background: linear-gradient(135deg, #E28C51 0%, #C77037 100%);
  box-shadow: 0 4px 16px -4px rgba(226, 140, 81, 0.45),
              0 0 0 1px rgba(226, 140, 81, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px -4px rgba(226, 140, 81, 0.55),
              0 0 24px rgba(226, 140, 81, 0.25);
  transform: translateY(-1px);
}

.btn-primary::before {
  background: linear-gradient(135deg, #F0B98B 0%, #E28C51 100%);
}

/* --- Nav link accent (订阅套餐) --- */
.nav-link--accent {
  color: var(--color-copper);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(226, 140, 81, 0.35);
  border-radius: 999px;
  background: rgba(226, 140, 81, 0.06);
  box-shadow: 0 0 16px rgba(226, 140, 81, 0.12);
  transition: all var(--transition-normal);
}

.nav-link--accent:hover {
  color: var(--color-copper-soft);
  border-color: rgba(226, 140, 81, 0.6);
  background: rgba(226, 140, 81, 0.12);
  box-shadow: 0 0 24px rgba(226, 140, 81, 0.25);
}

/* --- Subscription Section --- */
.subscription-section {
  padding: var(--section-py) 0;
  position: relative;
}

.sub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Sub Card --- */
.sub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

.sub-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
              rgba(226, 140, 81, 0.18) 0%,
              rgba(226, 140, 81, 0.07) 25%,
              transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.sub-card.is-spotlight::before {
  opacity: 1;
}

.sub-card:hover {
  border-color: rgba(226, 140, 81, 0.4);
  box-shadow:
    0 20px 40px -12px rgba(226, 140, 81, 0.2),
    0 0 40px rgba(226, 140, 81, 0.12),
    0 0 0 1px rgba(226, 140, 81, 0.08) inset;
  transform: translateY(-6px);
}

/* Featured card (推荐) */
.sub-card--featured {
  border-color: rgba(226, 140, 81, 0.45);
  box-shadow:
    0 0 40px rgba(226, 140, 81, 0.18),
    0 20px 40px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(226, 140, 81, 0.15) inset;
  animation: sub-card-breathe 3s ease-in-out infinite;
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

@keyframes sub-card-breathe {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(226, 140, 81, 0.15),
      0 20px 40px -12px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(226, 140, 81, 0.12) inset;
  }
  50% {
    box-shadow:
      0 0 50px rgba(226, 140, 81, 0.28),
      0 20px 40px -12px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(226, 140, 81, 0.2) inset;
  }
}

.sub-card--featured:hover {
  box-shadow:
    0 24px 50px -12px rgba(226, 140, 81, 0.32),
    0 0 60px rgba(226, 140, 81, 0.2),
    0 0 0 1px rgba(226, 140, 81, 0.25) inset;
  transform: translateY(-10px) scale(1.02);
}

/* Badge */
.sub-card__badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, #E28C51 0%, #C77037 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(226, 140, 81, 0.35);
  z-index: 3;
}

.sub-card__platform-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-copper);
  background: rgba(226, 140, 81, 0.1);
  border: 1px solid rgba(226, 140, 81, 0.2);
  border-radius: 999px;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.sub-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-warm-white);
  margin: 0 0 0.25rem 0;
  position: relative;
  z-index: 1;
}

.sub-card__period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.sub-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.sub-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-card__price-orig {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  padding-bottom: 0.3rem;
}

.sub-card__discount {
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 6px;
  padding-bottom: 0.3rem;
}

.sub-card__quota-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.8rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.sub-card__quota-bar span {
  white-space: nowrap;
}

.sub-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.sub-card__features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sub-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 16px;
  height: 16px;
  background: rgba(74, 222, 128, 0.15);
  border-radius: 50%;
}

.sub-card__features li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid #4ade80;
  border-bottom: 1.5px solid #4ade80;
  transform: rotate(-45deg);
}

.sub-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.sub-card__cta:hover {
  box-shadow:
    0 8px 28px -4px rgba(226, 140, 81, 0.6),
    0 0 32px rgba(226, 140, 81, 0.35);
}

/* Hot sale ribbon (火热特价角标) */
.sub-card__hot-ribbon {
  position: absolute;
  top: 14px;
  left: -32px;
  width: 130px;
  padding: 5px 0 5px 18px;
  background: linear-gradient(135deg, #FF4D4F 0%, #FF7A45 50%, #FFB020 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  transform: rotate(-35deg);
  transform-origin: center;
  box-shadow:
    0 2px 10px rgba(255, 77, 79, 0.5),
    0 0 20px rgba(255, 122, 69, 0.3);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  animation: hot-ribbon-pulse 2.5s ease-in-out infinite;
  overflow: hidden;
}

.sub-card__hot-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: hot-ribbon-shine 3s ease-in-out infinite;
}

.sub-card__hot-ribbon svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

@keyframes hot-ribbon-pulse {
  0%, 100% {
    box-shadow:
      0 2px 10px rgba(255, 77, 79, 0.4),
      0 0 16px rgba(255, 122, 69, 0.25);
  }
  50% {
    box-shadow:
      0 2px 16px rgba(255, 77, 79, 0.65),
      0 0 28px rgba(255, 122, 69, 0.45);
  }
}

@keyframes hot-ribbon-shine {
  0% { left: -100%; }
  60%, 100% { left: 150%; }
}

/* Gift / bonus bar (赠送额度高亮条) */
.sub-card__gift-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.15) 0%, rgba(255, 122, 69, 0.12) 100%);
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: var(--radius-md);
  box-shadow:
    0 0 20px rgba(255, 176, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.sub-card__gift-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 120, 0.25), transparent);
  animation: gift-bar-shine 4s ease-in-out infinite;
  animation-delay: 0.5s;
}

.sub-card__gift-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFB020;
  filter: drop-shadow(0 0 4px rgba(255, 176, 32, 0.6));
}

.sub-card__gift-icon svg {
  width: 18px;
  height: 18px;
}

.sub-card__gift-text {
  flex: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: #F5E6C8;
  font-weight: 500;
}

.sub-card__gift-amount {
  font-size: 1.05rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD778 0%, #FFB020 50%, #FF8F1F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.01em;
  text-shadow: 0 0 20px rgba(255, 176, 32, 0.3);
}

.sub-card__gift-hint {
  font-size: 0.7rem;
  color: rgba(255, 215, 120, 0.7);
  font-weight: 500;
}

@keyframes gift-bar-shine {
  0% { left: -100%; }
  65%, 100% { left: 150%; }
}

/* --- Globe container adjustments for canvas globe --- */
.globe-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

#dotGlobe {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
  max-height: 500px;
}

.globe-rings {
  display: none;
}

/* --- Globe label dot warm color --- */
.globe-label-dot {
  background: var(--color-copper);
  box-shadow: 0 0 8px rgba(226, 140, 81, 0.6);
}

/* --- Flow step numbers warm glow --- */
.flow-step-num {
  color: var(--color-copper);
  text-shadow: 0 0 12px rgba(226, 140, 81, 0.3);
}

/* --- Feature icon warm copper tint on hover --- */
.feature-card:hover .feature-icon {
  filter: brightness(1.1) saturate(1.2);
}

/* --- Response */
@media (max-width: 768px) {
  .globe-container { min-height: 340px; }
  #dotGlobe { max-width: 340px; max-height: 340px; }
  .hero-title::before { width: 110%; height: 160%; }
  .section-title::before { width: 130%; height: 180%; }
}

/* --- Hero background orbs: warm copper tint --- */
.hero-glow-orb--1 {
  background: #E28C51;
  opacity: 0.25;
}

.hero-glow-orb--2 {
  background: #C77037;
  opacity: 0.15;
}

.hero-glow-orb--3 {
  background: #F0B98B;
  opacity: 0.12;
}

/* --- HUD warm copper tint --- */
.hud-status-dot--blue {
  background: var(--color-copper) !important;
  box-shadow: 0 0 8px rgba(226, 140, 81, 0.6);
}

.hud-metric-value--blue {
  color: var(--color-copper) !important;
  text-shadow: 0 0 16px rgba(226, 140, 81, 0.3);
}

.hud-bar-fill {
  background: linear-gradient(90deg, #E28C51, #F0B98B) !important;
}

.hud-node-dot--purple,
.hud-node-dot--blue,
.hud-node-dot--green {
  background: var(--color-copper) !important;
  box-shadow: 0 0 6px rgba(226, 140, 81, 0.5);
}

/* --- Pricing table: savings display --- */
.v3-price-save {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  padding: 1px 6px;
  background: rgba(226, 140, 81, 0.12);
  border: 1px solid rgba(226, 140, 81, 0.2);
  border-radius: 4px;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.62rem;
  font-weight: 600;
  color: #F5A97C;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
}

/* 折扣列 - 立省金额行 */
.v3-save-lines {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.3rem;
  width: 100%;
}

.v3-save-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

.v3-save-label {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  white-space: nowrap;
}

.v3-save-amount {
  font-size: 0.72rem;
  font-weight: 700;
  color: #F5A97C;
  text-shadow: 0 0 10px rgba(226, 140, 81, 0.25);
  white-space: nowrap;
}

/* 折扣徽章 - 暖铜色 */
.v3-discount-badge {
  background: linear-gradient(135deg, #E28C51 0%, #C77037 100%) !important;
  box-shadow: 0 2px 10px rgba(226, 140, 81, 0.4),
              0 0 0 1px rgba(226, 140, 81, 0.2) !important;
  color: #fff;
}

.v3-discount-col {
  gap: 0.3rem;
}

.v3-discount-top {
  font-size: 0.7rem;
  color: #F0B98B;
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
  .v3-pricing-table { min-width: 1100px; }
  .v3-price-amount { font-size: 0.82rem; }
}

/* ============================================================
   Simple Pricing Table - 简化价格表
   ============================================================ */
.model-accordion-save {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  background: linear-gradient(135deg, #E28C51 0%, #C77037 100%);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(226, 140, 81, 0.35);
  letter-spacing: 0.02em;
}

.simple-table {
  width: 100% !important;
  min-width: auto !important;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
}

.simple-table thead th {
  background: #273449;
  padding: 0.85rem 1rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: left;
  border-bottom: 1px solid #334155;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.simple-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #2d3a4f;
  vertical-align: middle;
}

.simple-table tbody tr:last-child td {
  border-bottom: none;
}

.simple-table tbody tr:hover td {
  background: rgba(226, 140, 81, 0.04);
}

.simple-td-model { min-width: 220px; }
.simple-td-type { width: 90px; min-width: 90px; }
.simple-td-tier { width: 200px; min-width: 160px; }
.simple-td-discount { width: 180px; min-width: 140px; }
.simple-td-status { width: 100px; min-width: 90px; }
.simple-td-action { width: 120px; min-width: 100px; }

.simple-model-id {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  background: #1a2537;
  border: 1px solid #2d3a4f;
  border-radius: 100px;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
}

.simple-model-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px;
}

.simple-model-name {
  white-space: nowrap;
}

.simple-type-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  border: 1px solid;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.simple-td-tier {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  font-weight: 400;
}

.simple-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, #E28C51 0%, #C77037 100%);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(226, 140, 81, 0.4),
              0 0 0 1px rgba(226, 140, 81, 0.2);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.simple-premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a0a;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.4);
  letter-spacing: 0.03em;
}

.simple-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #34d399;
  font-weight: 500;
}

.simple-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  animation: simple-status-pulse 2s ease-in-out infinite;
}

@keyframes simple-status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(52, 211, 153, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 12px rgba(52, 211, 153, 0.3); }
}

.simple-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #818cf8;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.simple-action-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.55);
  color: #a5b4fc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* 简化表格响应式 */
@media (max-width: 768px) {
  .simple-table { font-size: 0.78rem; }
  .simple-table thead th { padding: 0.7rem 0.6rem; font-size: 0.7rem; }
  .simple-table tbody td { padding: 0.7rem 0.6rem; }
  .simple-model-id { font-size: 0.72rem; padding: 0.3rem 0.65rem; gap: 0.4rem; }
  .simple-model-logo { width: 14px; height: 14px; }
  .simple-discount-badge { font-size: 0.78rem; padding: 0.35rem 0.8rem; }
  .simple-action-btn { padding: 0.4rem 0.75rem; font-size: 0.7rem; }
  .simple-td-model { min-width: 160px; }
  .simple-td-tier { min-width: 120px; font-size: 0.7rem; }
}

/* ============================================================
   AI Assistant Bot - 橙色 AI 助手机器人
   ============================================================ */
/* ================= AI Bot (3D立体Q萌白机器人) ================= */
.ai-bot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 84px;
  height: 84px;
  z-index: 9999;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  display: block;
  will-change: transform;
  perspective: 600px;
  transition: filter 0.25s ease;
}

.ai-bot:active,
.ai-bot.is-dragging {
  cursor: grabbing;
}

.ai-bot:hover {
  filter: brightness(1.05) saturate(1.08);
}

.ai-bot:hover .ai-bot__body {
  animation: bot-squash 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bot-squash {
  0% { transform: scaleY(1) scaleX(1); }
  40% { transform: scaleY(0.92) scaleX(1.08); }
  70% { transform: scaleY(1.03) scaleX(0.97); }
  100% { transform: scaleY(1) scaleX(1); }
}

.ai-bot:hover .ai-bot__glow {
  transform: scale(1.35);
  opacity: 1;
}

.ai-bot.is-bouncing {
  animation: bot-bounce 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) 2;
}

@keyframes bot-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05, 0.95); }
}

/* 外发光光晕（橙色） */
.ai-bot__glow {
  position: absolute;
  inset: -16px -14px -10px -14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center top, rgba(251, 146, 60, 0.5) 0%, rgba(251, 146, 60, 0.18) 45%, transparent 72%);
  filter: blur(8px);
  animation: bot-glow 3.2s ease-in-out infinite;
  pointer-events: none;
  transition: all 0.35s ease;
}

@keyframes bot-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}

/* 星光粒子 */
.ai-bot__spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FDBA74;
  box-shadow: 0 0 6px rgba(251, 146, 60, 0.9);
  pointer-events: none;
  z-index: 3;
  animation: spark-float 4.5s ease-in-out infinite;
}

.ai-bot__spark--1 {
  top: 0;
  left: 14px;
  animation-delay: 0s;
}
.ai-bot__spark--2 {
  top: 28px;
  right: -4px;
  width: 3px;
  height: 3px;
  animation-delay: 1.5s;
}
.ai-bot__spark--3 {
  bottom: 14px;
  left: -2px;
  width: 3.5px;
  height: 3.5px;
  animation-delay: 2.8s;
}

@keyframes spark-float {
  0%, 100% { opacity: 0.25; transform: translateY(0) scale(0.8); }
  50% { opacity: 1; transform: translateY(-7px) scale(1.25); }
}

/* 身体容器（3D 透视包裹） */
.ai-bot__body {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform-style: preserve-3d;
  transform-origin: center 75%;
  animation: bot-idle 4.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(249, 115, 22, 0.3));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bot-idle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(0.8deg); }
  50% { transform: translateY(-5px) rotate(0deg); }
  75% { transform: translateY(-2px) rotate(-0.8deg); }
}

.ai-bot__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ===== 各部件关节 transform-origin ===== */
.bot-head {
  transform-origin: 42px 48px; /* 脖子位置 */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bot-torso {
  transform-origin: 42px 52px;
  transition: transform 0.4s ease;
}

.bot-antenna {
  transform-origin: 42px 5px;
  animation: antenna-wiggle 3s ease-in-out infinite;
}
@keyframes antenna-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

/* 手臂关节 */
.bot-arm__upper {
  transform-origin: center top;
}
.bot-arm__forearm {
  transform-origin: center top;
}

.bot-arm--left .bot-arm__upper {
  transform-origin: 20px 41px;
  animation: arm-sway-l 2.8s ease-in-out infinite;
}
.bot-arm--left .bot-arm__forearm {
  transform-origin: 19.5px 50px;
  animation: forearm-sway-l 2.8s ease-in-out infinite;
}
@keyframes arm-sway-l {
  0%, 100% { transform: rotate(2deg); }
  50% { transform: rotate(-3deg); }
}
@keyframes forearm-sway-l {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-5deg); }
}

.bot-arm--right .bot-arm__upper {
  transform-origin: 64px 41px;
  animation: arm-sway-r 2.6s ease-in-out infinite;
}
.bot-arm--right .bot-arm__forearm {
  transform-origin: 64.5px 50px;
  animation: forearm-sway-r 2.6s ease-in-out infinite;
}
@keyframes arm-sway-r {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(4deg); }
}
@keyframes forearm-sway-r {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(6deg); }
}

/* 腿关节 */
.bot-leg {
  transform-origin: center top;
}
.bot-leg--left { transform-origin: 36px 60px; }
.bot-leg--right { transform-origin: 48px 60px; }

/* 耳朵呼吸发光 */
.bot-ear {
  animation: ear-pulse 2.5s ease-in-out infinite;
}
.bot-ear--right { animation-delay: 0.6s; }

@keyframes ear-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* 地面阴影 */
.bot-shadow {
  transform-origin: 42px 79px;
  animation: shadow-pulse 4.5s ease-in-out infinite;
}
@keyframes shadow-pulse {
  0%, 100% { transform: scaleX(1) scaleY(1); opacity: 1; }
  50% { transform: scaleX(0.9) scaleY(0.8); opacity: 0.7; }
}

/* ===== 走路循环状态（JS 添加 .is-walking 触发） ===== */
.ai-bot.is-walking .ai-bot__body {
  animation: walk-bob 0.5s ease-in-out infinite;
}
@keyframes walk-bob {
  0%, 100% { transform: translateY(-2px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(0.5deg); }
}

.ai-bot.is-walking .bot-leg--left {
  animation: walk-leg-l 0.5s ease-in-out infinite;
}
.ai-bot.is-walking .bot-leg--right {
  animation: walk-leg-r 0.5s ease-in-out infinite;
}
@keyframes walk-leg-l {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-3px); }
}
@keyframes walk-leg-r {
  0%, 100% { transform: rotate(12deg) translateY(-3px); }
  50% { transform: rotate(-12deg) translateY(0); }
}

.ai-bot.is-walking .bot-arm--left .bot-arm__upper {
  animation: walk-arm-l 0.5s ease-in-out infinite;
}
.ai-bot.is-walking .bot-arm--right .bot-arm__upper {
  animation: walk-arm-r 0.5s ease-in-out infinite;
}
@keyframes walk-arm-l {
  0%, 100% { transform: rotate(15deg); }
  50% { transform: rotate(-10deg); }
}
@keyframes walk-arm-r {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(15deg); }
}

.ai-bot.is-walking .bot-shadow {
  animation: walk-shadow 0.5s ease-in-out infinite;
}
@keyframes walk-shadow {
  0%, 100% { transform: scaleX(0.85) scaleY(0.7); opacity: 0.6; }
  50% { transform: scaleX(1) scaleY(0.9); opacity: 0.85; }
}

.ai-bot.is-walking .bot-antenna {
  animation: antenna-walk 0.5s ease-in-out infinite;
}
@keyframes antenna-walk {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* ===== 挥手状态（JS 添加 .is-waving 触发） ===== */
.ai-bot.is-waving .bot-arm--right .bot-arm__upper {
  animation: wave-upper 0.6s ease-in-out 3;
  transform-origin: 64px 41px;
}
.ai-bot.is-waving .bot-arm--right .bot-arm__forearm {
  animation: wave-forearm 0.6s ease-in-out 3;
  transform-origin: 64.5px 50px;
}
.ai-bot.is-waving .bot-head {
  animation: wave-head-tilt 0.6s ease-in-out 3;
}
@keyframes wave-upper {
  0%, 100% { transform: rotate(-30deg); }
  50% { transform: rotate(-55deg); }
}
@keyframes wave-forearm {
  0%, 100% { transform: rotate(-20deg); }
  50% { transform: rotate(-5deg); }
}
@keyframes wave-head-tilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-5deg) translateY(-1px); }
}

/* ===== 思考模式 ===== */
.ai-bot.is-thinking .bot-head {
  animation: think-head-tilt 2s ease-in-out infinite;
}
@keyframes think-head-tilt {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg) translateY(-1px); }
  75% { transform: rotate(-3deg) translateY(-1px); }
}
.ai-bot.is-thinking .bot-mood--thinking .bot-eye--left {
  animation: think-dot-l 1.2s ease-in-out infinite;
}
.ai-bot.is-thinking .bot-mood--thinking .bot-eye--right {
  animation: think-dot-r 1.2s ease-in-out infinite;
  animation-delay: 0.3s;
}
@keyframes think-dot-l {
  0%, 100% { cy: 27; opacity: 0.6; r: 1.5; }
  50% { cy: 24; opacity: 1; r: 2.2; }
}
@keyframes think-dot-r {
  0%, 100% { cy: 24; opacity: 1; r: 2.2; }
  50% { cy: 27; opacity: 0.6; r: 1.5; }
}

/* ===== 惊讶状态 ===== */
.ai-bot.is-surprised .bot-head {
  animation: surprise-bounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes surprise-bounce {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-4px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

/* ===== 说话/打字机状态 ===== */
.ai-bot.is-talking .bot-mood--talking .bot-eye--left,
.ai-bot.is-talking .bot-mood--talking .bot-eye--right {
  animation: talk-eye-bounce 0.35s ease-in-out infinite alternate;
}
.ai-bot.is-talking .bot-mood--talking .bot-mouth {
  animation: talk-mouth 0.2s ease-in-out infinite alternate;
}
@keyframes talk-eye-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-0.8px); }
}
@keyframes talk-mouth {
  from { transform: scaleY(0.8); d: path("M40 33 Q42 35 44 33"); }
  to { transform: scaleY(1.3); }
}

/* ===== 眨眼：所有 mood 的眼睛同时 scaleY ===== */
.ai-bot.is-blinking .bot-mood--happy .bot-eye,
.ai-bot.is-blinking .bot-mood--surprised .bot-eye,
.ai-bot.is-blinking .bot-mood--talking .bot-eye {
  transform: scaleY(0.1);
  transform-origin: center center;
}
.bot-mood .bot-eye {
  transition: transform 0.08s ease;
  transform-origin: center center;
}

/* ===== 表情切换（JS 控制 .bot-mood 显隐） ===== */
.bot-mood {
  transition: opacity 0.15s ease;
}

/* ===== 鼠标 3D 视差（由 JS 设置变量） ===== */
.ai-bot .ai-bot__body {
  transform: rotateX(var(--parallax-x, 0deg)) rotateY(var(--parallax-y, 0deg));
}

/* 支持 idle + 视差叠加：当 .has-idle 时使用带 idle 的动画 */
.ai-bot.has-idle .ai-bot__body {
  /* idle 呼吸用另一个属性做——由 JS rAF 驱动视差，CSS 动画不叠加 */
  animation: bot-idle 4.5s ease-in-out infinite;
}

/* ================= AI Bubble (外部对话气泡紧凑版) ================= */
.ai-bubble {
  position: fixed;
  z-index: 10000;
  width: 340px;
  max-height: 460px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-bubble.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-bubble.is-minimized {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.9);
}

.ai-bubble__inner {
  position: relative;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(251, 146, 60, 0.45);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(251, 146, 60, 0.08),
              0 0 30px rgba(251, 146, 60, 0.18);
  display: flex;
  flex-direction: column;
  max-height: 460px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ai-bubble__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.55) 0%, rgba(249, 115, 22, 0.18) 50%, rgba(251, 146, 60, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ai-bubble__tail {
  position: absolute;
  right: 26px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #0f172a;
  border-right: 1px solid rgba(251, 146, 60, 0.45);
  border-bottom: 1px solid rgba(251, 146, 60, 0.45);
  transform: rotate(45deg);
}

/* Header */
.ai-bubble__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.15) 0%, rgba(251, 146, 60, 0.05) 50%, transparent 100%);
  border-bottom: 1px solid rgba(251, 146, 60, 0.15);
  flex-shrink: 0;
}

.ai-bubble__head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-bubble__avatar {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ai-bubble__avatar svg {
  width: 26px;
  height: 26px;
}

.ai-bubble__online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #1e293b;
  box-shadow: 0 0 5px rgba(74, 222, 128, 0.7);
  animation: online-dot 2s ease-in-out infinite;
}

@keyframes online-dot {
  0%, 100% { box-shadow: 0 0 5px rgba(74, 222, 128, 0.7); }
  50% { box-shadow: 0 0 8px rgba(74, 222, 128, 1), 0 0 12px rgba(74, 222, 128, 0.35); }
}

.ai-bubble__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-bubble__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.ai-bubble__status {
  font-size: 0.65rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-bubble__status-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #4ade80;
}

.ai-bubble__head-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ai-bubble__icon-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #94a3b8;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.ai-bubble__icon-btn:hover {
  background: rgba(251, 146, 60, 0.12);
  color: #fdba74;
}

.ai-bubble__icon-btn svg {
  width: 13px;
  height: 13px;
}

/* Messages */
.ai-bubble__messages {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(251, 146, 60, 0.035) 0%, transparent 60%);
}

.ai-bubble__messages::-webkit-scrollbar {
  width: 4px;
}

.ai-bubble__messages::-webkit-scrollbar-track {
  background: transparent;
}

.ai-bubble__messages::-webkit-scrollbar-thumb {
  background: rgba(251, 146, 60, 0.22);
  border-radius: 4px;
}

/* Suggest chips */
.ai-bubble__suggest {
  position: relative;
  z-index: 1;
  padding: 0 12px 6px;
}

.ai-bubble-suggest__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ai-bubble-suggest__chip {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #fdba74;
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ai-bubble-suggest__chip:hover {
  background: rgba(251, 146, 60, 0.16);
  border-color: rgba(251, 146, 60, 0.45);
  color: #fed7aa;
  transform: translateY(-1px);
}

/* Quick chips (初始快捷问题) */
.ai-bubble__quick {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 0 12px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ai-bubble__quick::-webkit-scrollbar { display: none; }

.ai-bubble-quick__chip {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ai-bubble-quick__chip:hover {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.3);
  color: #fdba74;
}

/* Input row */
.ai-bubble__input-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid rgba(251, 146, 60, 0.08);
  flex-shrink: 0;
}

.ai-bubble__input {
  flex: 1;
  min-width: 0;
  padding: 7px 11px;
  font-size: 0.78rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ai-bubble__input::placeholder {
  color: #64748b;
}

.ai-bubble__input:focus {
  border-color: rgba(251, 146, 60, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.1),
              0 0 10px rgba(251, 146, 60, 0.15);
}

.ai-bubble__input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ai-bubble__send {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: none;
  background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
  padding: 0;
}

.ai-bubble__send:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.55);
}

.ai-bubble__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.ai-bubble__send svg {
  width: 14px;
  height: 14px;
  margin-left: 1px;
}

/* Quick entry bar */
.ai-bubble__quick-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 10px 8px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(251, 146, 60, 0.06);
  flex-shrink: 0;
}

.ai-bubble-quick-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  font-size: 0.65rem;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  flex: 1;
  max-width: 80px;
}

.ai-bubble-quick-bar__btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.ai-bubble-quick-bar__btn:hover {
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.25);
  color: #fdba74;
  transform: translateY(-1px);
}

/* ================= AI Chat Panel (完整面板) ================= */
.ai-chat-panel {
  position: fixed;
  z-index: 10000;
  width: 500px;
  height: 490px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-chat-panel__inner {
  position: relative;
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(251, 146, 60, 0.45);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(251, 146, 60, 0.1),
              0 0 40px rgba(251, 146, 60, 0.18);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ai-chat-panel__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.6) 0%, rgba(249, 115, 22, 0.2) 50%, rgba(251, 146, 60, 0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ai-chat-panel__tail {
  position: absolute;
  right: 28px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #0f172a;
  border-right: 1px solid rgba(251, 146, 60, 0.45);
  border-bottom: 1px solid rgba(251, 146, 60, 0.45);
  transform: rotate(45deg);
}

/* Header */
.ai-chat-panel__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.18) 0%, rgba(251, 146, 60, 0.06) 50%, transparent 100%);
  border-bottom: 1px solid rgba(251, 146, 60, 0.18);
}

.ai-chat-panel__head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-panel__avatar {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.ai-chat-panel__avatar svg {
  width: 32px;
  height: 32px;
}

.ai-chat-panel__online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #1e293b;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
  animation: online-dot 2s ease-in-out infinite;
}

.ai-chat-panel__title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ai-chat-panel__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.ai-chat-panel__status {
  font-size: 0.7rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-chat-panel__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
}

.ai-chat-panel__head-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ai-chat-panel__icon-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #94a3b8;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.ai-chat-panel__icon-btn:hover {
  background: rgba(251, 146, 60, 0.12);
  color: #fdba74;
}

.ai-chat-panel__icon-btn svg {
  width: 14px;
  height: 14px;
}

/* Messages (气泡样式两个容器共用) */
.chat-msg {
  display: flex;
  gap: 6px;
  max-width: 75%;
  animation: chatMsgIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg__avatar {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.chat-msg--user .chat-msg__avatar {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
}

.chat-msg__avatar svg {
  width: 20px;
  height: 20px;
}

.chat-msg__avatar.is-thinking {
  animation: avatar-breathe 1.8s ease-in-out infinite;
}

@keyframes avatar-breathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.08); filter: brightness(1.15); }
}

.chat-msg__bubble {
  position: relative;
  padding: 7px 11px;
  font-size: 0.78rem;
  line-height: 1.55;
  border-radius: 12px;
  word-break: break-word;
  white-space: pre-wrap;
}

.chat-msg--bot .chat-msg__bubble {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.035) 100%);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.chat-msg--user .chat-msg__bubble {
  background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

/* 气泡内排版 */
.chat-msg__bubble p { margin: 0 0 0.4em; }
.chat-msg__bubble p:last-child { margin-bottom: 0; }

.chat-msg__bubble strong,
.chat-msg__bubble b {
  color: #fdba74;
  font-weight: 600;
}
.chat-msg--user .chat-msg__bubble strong,
.chat-msg--user .chat-msg__bubble b { color: #fff; }

.chat-msg__bubble code {
  display: inline-block;
  padding: 1px 5px;
  font-size: 0.8em;
  font-family: 'SF Mono', 'Menlo', monospace;
  background: rgba(251, 146, 60, 0.15);
  color: #fdba74;
  border-radius: 4px;
  border: 1px solid rgba(251, 146, 60, 0.2);
}
.chat-msg--user .chat-msg__bubble code {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.chat-msg__bubble a {
  color: #fdba74;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chat-msg--user .chat-msg__bubble a { color: #fff; }
.chat-msg__bubble a:hover { opacity: 0.85; }

.chat-msg__bubble ul,
.chat-msg__bubble ol {
  margin: 0.3em 0;
  padding-left: 1.2em;
}
.chat-msg__bubble li {
  margin: 0.15em 0;
}

/* Typing indicator */
.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 2px;
}

.chat-typing__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  animation: chatBounce 1.2s ease-in-out infinite;
}

.chat-typing__dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing__dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* 面板消息区 */
.ai-chat-panel__messages {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(251, 146, 60, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(251, 146, 60, 0.03) 0%, transparent 60%);
}

.ai-chat-panel__messages::-webkit-scrollbar {
  width: 5px;
}

.ai-chat-panel__messages::-webkit-scrollbar-track {
  background: transparent;
}

.ai-chat-panel__messages::-webkit-scrollbar-thumb {
  background: rgba(251, 146, 60, 0.25);
  border-radius: 4px;
}

.ai-chat-panel__messages::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 146, 60, 0.4);
}

/* 面板 suggest */
.ai-chat-panel__suggest {
  position: relative;
  z-index: 1;
  padding: 0 18px 10px;
  border-bottom: 1px solid rgba(251, 146, 60, 0.08);
}

.ai-chat-suggest__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-chat-suggest__chip {
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #fdba74;
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ai-chat-suggest__chip:hover {
  background: rgba(251, 146, 60, 0.18);
  border-color: rgba(251, 146, 60, 0.5);
  color: #fed7aa;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
}

/* 面板 Input row */
.ai-chat-panel__input-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(251, 146, 60, 0.08);
  background: rgba(0, 0, 0, 0.1);
}

.ai-chat-panel__input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  font-size: 0.82rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ai-chat-panel__input::placeholder {
  color: #64748b;
}

.ai-chat-panel__input:focus {
  border-color: rgba(251, 146, 60, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12),
              0 0 12px rgba(251, 146, 60, 0.2);
}

.ai-chat-panel__input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ai-chat-panel__send {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: none;
  background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.4);
  padding: 0;
}

.ai-chat-panel__send:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 5px 16px rgba(249, 115, 22, 0.55);
}

.ai-chat-panel__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.ai-chat-panel__send svg {
  width: 16px;
  height: 16px;
  margin-left: 1px;
}

/* 面板 Quick entry bar */
.ai-chat-panel__quick-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 14px 10px;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(251, 146, 60, 0.06);
}

.ai-chat-quick-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 0.7rem;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  flex: 1;
  max-width: 90px;
}

.ai-chat-quick-bar__btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.ai-chat-quick-bar__btn:hover {
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.25);
  color: #fdba74;
  transform: translateY(-1px);
}

.ai-chat-quick-bar__btn:hover svg {
  transform: scale(1.1);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .ai-bot,
  .ai-bot__body,
  .ai-bot__glow,
  .ai-bot__spark,
  .bot-ear,
  .bot-arm,
  .bot-arm__upper,
  .bot-arm__forearm,
  .bot-antenna,
  .bot-head,
  .bot-shadow,
  .bot-leg {
    animation: none !important;
    transition: none !important;
  }
  .ai-bot.is-walking .ai-bot__body,
  .ai-bot.is-walking .bot-leg,
  .ai-bot.is-walking .bot-arm__upper,
  .ai-bot.is-walking .bot-shadow,
  .ai-bot.is-walking .bot-antenna,
  .ai-bot.is-waving .bot-arm--right .bot-arm__upper,
  .ai-bot.is-waving .bot-arm--right .bot-arm__forearm,
  .ai-bot.is-waving .bot-head,
  .ai-bot.is-thinking .bot-head,
  .ai-bot.is-thinking .bot-mood--thinking .bot-eye,
  .ai-bot.is-surprised .bot-head,
  .ai-bot.is-talking .bot-mood--talking .bot-eye,
  .ai-bot.is-talking .bot-mood--talking .bot-mouth {
    animation: none !important;
  }
  .chat-typing__dot { animation: none; opacity: 0.8; }
  .chat-msg { animation: none; }
  .ai-bot:hover .ai-bot__body { animation: none; transform: none; }
}

/* 移动端 */
@media (max-width: 768px) {
  .ai-bot {
    width: 64px;
    height: 64px;
    right: 14px;
    bottom: 14px;
  }

  .ai-bubble {
    width: calc(100vw - 24px) !important;
    max-height: 70vh !important;
    left: 12px !important;
    right: 12px !important;
  }
  .ai-bubble__inner {
    max-height: 70vh;
  }
  .ai-bubble__messages {
    max-height: none;
  }

  .ai-chat-panel {
    width: calc(100vw - 24px) !important;
    height: 70vh !important;
    left: 12px !important;
    right: 12px !important;
  }
  .ai-chat-panel__messages {
    min-height: 0;
    padding: 12px 14px 10px;
  }
}
