/* ==========================================================================
   AI Software Development Outsourcing - High Fidelity Design System
   Visual Style: Ultra-Clean Cyber Engineering (#080B10 + #00E599 + Glass Surface)
   Optimized for Top-Tier B2B AI Architecture & Engineering Deliveries
   ========================================================================== */

:root {
  /* High-Tech Cyber Color System */
  --bg-dark: #080B10;
  --bg-dark-surface: #0E131C;
  --bg-dark-elevated: #151C28;
  --bg-dark-secondary: #1E2736;
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  --bg-dark-border-hover: rgba(0, 229, 153, 0.4);

  --bg-light: #F8FAFC;
  --bg-light-surface: #FFFFFF;
  --bg-light-border: #E2E8F0;

  /* Vibrant Neon Mint Primary */
  --primary: #00E599;
  --primary-hover: #26ebb0;
  --primary-glow: rgba(0, 229, 153, 0.22);
  --primary-subtle: rgba(0, 229, 153, 0.08);

  --accent-cyan: #00D2D3;
  --accent-amber: #F59E0B;
  --accent-blue: #3B82F6;
  --accent-purple: #A855F7;

  --text-primary: #F0F3F6;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #080B10;
  --text-dark-primary: #0F172A;
  --text-dark-secondary: #475569;

  /* Typography – system fonts first for CN network reliability */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Inter", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "JetBrains Mono", monospace;

  /* Shadows, Glass & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 28px rgba(0, 229, 153, 0.18);
  --glass-top-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.08);

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

  /* Container */
  --container-max: 1200px;
  --advisor-panel-width: 520px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities & Ultra-Fast Rendering */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 2026 Core Web Vitals & GPU Render Pipeline Acceleration */
.cases-section, .faq-section, .process-section, .stats-section, .footer, .cta-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.case-card, .news-card-item, .step-card, .capability-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 280px;
  contain: layout style;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.section {
  padding: 96px 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.hero-section {
  content-visibility: visible !important;
}

.section-sm {
  padding: 64px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

/* Subpage hero — centered header (cases, about, contact, etc.) */
.page-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
}

.page-hero--tight {
  padding-bottom: 32px;
}

.page-hero--compact {
  padding-bottom: 16px;
}

.page-hero .section-desc {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-hero-title--flush {
  margin-bottom: 0;
}

/* Subpage hero — split layout (solution detail pages) */
.page-hero-split {
  padding-top: 140px;
  padding-bottom: 48px;
  background: radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.08) 0%, transparent 60%);
}

.page-hero-split-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-hero-split-content {
  max-width: 720px;
  flex: 1 1 320px;
  min-width: 0;
}

.page-hero-split-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-self: center;
}

.page-hero-split .page-hero-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.page-hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* First content block when page has no hero banner */
.page-content-start {
  padding-top: 140px;
}

/* Legal / policy pages */
.legal-page {
  padding-top: 140px;
  padding-bottom: 64px;
}

.legal-page .section-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background-color: var(--primary-subtle);
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  box-shadow: 0 0 12px rgba(0, 229, 153, 0.08);
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.highlight-green {
  color: var(--primary);
  text-shadow: 0 0 24px rgba(0, 229, 153, 0.35);
}

/* Grid & Flex Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* UI Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #00E599 0%, #05C782 100%);
  color: #04140E;
  font-weight: 700;
  border-color: #00E599;
  box-shadow: 0 2px 14px rgba(0, 229, 153, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #26ebb0 0%, #00E599 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 24px rgba(0, 229, 153, 0.5);
  color: #04140E;
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  background-color: rgba(0, 229, 153, 0.06);
  border-color: rgba(0, 229, 153, 0.4);
  color: #FFFFFF;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary);
}

.btn-ghost:hover {
  background-color: var(--primary-subtle);
  transform: translateY(-1px);
}

.btn-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15.5px;
  border-radius: var(--radius-md);
}

.btn-md {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
}

/* UI Cards with Glass Top Reflection */
.card-dark {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-top-highlight), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.card-dark:hover {
  transform: translateY(-4px);
  border-color: var(--bg-dark-border-hover);
  box-shadow: inset 0 1px 0 0 rgba(0, 229, 153, 0.4), 0 16px 36px -4px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 229, 153, 0.12);
}

/* Tech Code Blocks / Badges */
.code-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  background-color: rgba(0, 210, 211, 0.08);
  border: 1px solid rgba(0, 210, 211, 0.25);
  border-radius: 4px;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

/* Header & Navigation with Frosted Glass */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header.scrolled {
  background: rgba(8, 11, 16, 0.96);
  border-bottom-color: rgba(0, 229, 153, 0.2);
  box-shadow: var(--shadow-md);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: clamp(20px, 3vw, 48px);
}

.header-container .logo,
.header-container .nav-actions {
  flex-shrink: 0;
}

.header-container .nav-links {
  flex: 1;
  justify-content: center;
  min-width: 0;
  gap: clamp(12px, 1.5vw, 28px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.04);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.logo-ai-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--primary);
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1;
}

.logo-brand-en {
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after, .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 75% 25%, rgba(0, 229, 153, 0.1) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(0, 210, 211, 0.08) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hero-left {
  min-width: 0;
}

.hero-left h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.stat-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Interactive AI Demo Console */
.hero-demo-box {
  background: #0E131C;
  border: 1px solid rgba(0, 229, 153, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 32px rgba(0, 229, 153, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  width: min(100%, var(--advisor-panel-width));
  max-width: 100%;
  min-height: 460px;
  max-height: 460px;
  display: flex;
  flex-direction: column;
}

.demo-box-header {
  padding: 12px 18px;
  background: #141A24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-dots {
  display: flex;
  gap: 6px;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mac-dot.red { background: #FF5F56; }
.mac-dot.yellow { background: #FFBD2E; }
.mac-dot.green { background: #00E599; }

.demo-title {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.demo-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.demo-prompt-area {
  position: relative;
  margin-bottom: 16px;
}

.demo-input-wrapper {
  display: flex;
  align-items: center;
  background: #07090E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  transition: all var(--transition-fast);
}

.demo-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(0, 229, 153, 0.25);
}

.demo-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 13.5px;
  padding: 6px 8px;
}

.demo-submit-btn {
  background: linear-gradient(135deg, #00E599 0%, #05C782 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: #04140E;
  font-weight: 700;
  padding: 6px 15px;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-submit-btn:hover {
  background: linear-gradient(135deg, #26ebb0 0%, #00E599 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 229, 153, 0.4);
}

.demo-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.demo-preset-tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.demo-preset-tags::-webkit-scrollbar {
  height: 0;
}

.demo-preset-tags:hover {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 229, 153, 0.35) transparent;
}

.demo-preset-tags:hover::-webkit-scrollbar {
  height: 4px;
}

.demo-preset-tags:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 153, 0.35);
  border-radius: 999px;
}

.tag-label {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-muted);
  align-self: center;
}

.demo-preset-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 11.5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-preset-btn:hover, .demo-preset-btn.active {
  background: rgba(0, 229, 153, 0.12);
  border-color: rgba(0, 229, 153, 0.45);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.12);
}

.demo-results-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.demo-solution-card {
  background: #080B10;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 16px;
  animation: fadeIn 0.3s ease;
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.demo-solution-card:hover {
  border-color: rgba(0, 229, 153, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(0, 229, 153, 0.2);
}

.demo-solution-card:hover {
  border-color: var(--primary);
}

.demo-solution-card-enter {
  animation: demoCardRise 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-solution-card:focus-visible {
  outline: 2px solid rgba(0, 229, 153, 0.7);
  outline-offset: 2px;
}

.demo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.demo-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-card-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
}

.demo-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.demo-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.demo-card-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-card-status {
  font-size: 11.5px;
  color: var(--text-muted);
}

.demo-card-link {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.demo-loading-shell {
  background: #080B10;
  border: 1px solid rgba(0, 229, 153, 0.16);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.demo-loading-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.demo-loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(0, 229, 153, 0.55);
  animation: demoPulse 0.9s ease-in-out infinite;
}

.demo-loading-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-loading-step {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

.demo-loading-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.demo-loading-step.is-active::before {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.35);
}

@keyframes demoPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes demoCardRise {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-mini-tag {
  font-size: 11px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  color: var(--text-muted);
}

/* Trust Wall (Infinite Horizontal Marquee Slider) */
.trust-wall {
  border-top: 1px solid var(--bg-dark-border);
  border-bottom: 1px solid var(--bg-dark-border);
  background: #0B0F15;
  padding: 36px 0 40px;
  overflow: hidden;
  position: relative;
}

.trust-title {
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.trust-title span {
  color: var(--primary);
  font-weight: 700;
}

/* Marquee Container with Gradient Edge Fade Mask */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marqueeScroll 36s linear infinite;
  will-change: transform;
}

.marquee-track.reverse {
  animation: marqueeScrollReverse 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}

.client-trust-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 27, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 18px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.client-trust-chip:hover {
  background: rgba(0, 229, 153, 0.08);
  border-color: rgba(0, 229, 153, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 229, 153, 0.15);
}

.chip-icon {
  font-size: 17px;
}

.chip-content {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.chip-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--primary);
  line-height: 1.3;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Pain Points & Value Section */
.pain-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: all var(--transition-normal);
}

.pain-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.pain-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pain-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(231, 76, 60, 0.12);
  color: #E74C3C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.pain-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.pain-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--bg-dark-border);
}

.solution-box {
  background: rgba(46, 204, 113, 0.05);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.solution-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.solution-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.pain-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.result-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

/* Service Cards Section */
.service-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.service-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.service-link:hover {
  text-decoration: underline;
}

/* Featured Case Studies */
.case-card-featured {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all var(--transition-normal);
}

.case-card-featured:hover {
  border-color: var(--bg-dark-border-hover);
  box-shadow: var(--shadow-lg);
}

.case-img-wrap {
  position: relative;
  background: #0E1217;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--bg-dark-border);
  padding: 32px;
}

.mockup-window {
  width: 100%;
  background: #181E27;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-dark-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.mockup-header {
  height: 24px;
  background: #202734;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mockup-content {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
}

.case-info-wrap {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-industry-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.case-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-dark-border);
}

.metric-num {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--primary);
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Core Advantages Section */
.advantage-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.advantage-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.03);
}

.advantage-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Horizontal Process Flow (Index page) */
.process-steps-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  position: relative;
}

.step-node {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.step-node:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.step-index {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.step-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Conversion CTA Section */
.cta-section {
  background: linear-gradient(180deg, #151A22 0%, #0E1217 100%);
  border-top: 1px solid var(--bg-dark-border);
  border-bottom: 1px solid var(--bg-dark-border);
  padding: 80px 0;
}

.cta-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cta-form {
  margin-top: 40px;
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-secondary);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-label .required {
  color: #E74C3C;
}

.form-control {
  background: #0F131A;
  border: 1px solid var(--bg-dark-secondary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  outline: none;
  font-size: 14px;
  transition: all var(--transition-fast);
  width: 100%;
  min-width: 0;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.form-footer-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* Modals */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.custom-modal-overlay.active {
  display: flex;
}

.custom-modal-content {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-secondary);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 36px;
  animation: slideUp 0.25s ease;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #FFFFFF;
}

.nda-preview-box {
  background: #0E1217;
  border: 1px solid var(--bg-dark-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-height: 380px;
  overflow-y: auto;
  margin: 20px 0;
  font-family: var(--font-mono);
}

/* Footer */
.footer {
  background: #0B0E13;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-beian-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-beian-link:hover {
  color: var(--primary);
}

.footer-beian-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
}

/* Floating AI Consultant Widget */
.floating-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99990;
  pointer-events: auto;
}

.floating-btn {
  background: var(--primary);
  color: #0E1612;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(46, 204, 113, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
}

.floating-btn:hover {
  background: #38e480;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(46, 204, 113, 0.6);
}

.floating-modal {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: min(var(--advisor-panel-width), calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  height: min(720px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  background: #10151E;
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 229, 153, 0.12);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 99999;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-modal.active {
  display: flex !important;
}

.chat-modal-header {
  background: #121720;
  padding: 16px;
  border-bottom: 1px solid var(--bg-dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-bot-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: var(--primary);
  color: #0E1612;
  font-weight: 800;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: -0.2px;
}

.chat-body {
  height: auto;
  max-height: none;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  background: #0A0D12;
  scroll-behavior: smooth;
  /* Ensure vertical scroll gestures always reach the chat scroll container */
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}

.chat-msg {
  max-width: 100%;
  min-width: 0;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.65;
  border-radius: 10px;
  animation: fadeIn 0.25s ease;
  box-sizing: border-box;
}

.chat-msg.bot {
  align-self: stretch;
  width: 100%;
  background: #141A22;
  border: 1px solid var(--bg-dark-border);
  color: var(--text-primary);
  overflow: visible;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--primary);
  color: #0E1612;
  font-weight: 600;
}

/* AI Typing Pulse Indicator */
.ai-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  padding: 8px 12px;
  background: rgba(0, 210, 211, 0.08);
  border: 1px solid rgba(0, 210, 211, 0.2);
  border-radius: 6px;
}

.typing-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulseDot 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulseDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Chat Diagnostic Card Box */
.chat-diagnostic-card {
  background: #0E131A;
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: 6px;
  padding: 14px;
  margin-top: 8px;
}

.chat-diagnostic-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-diagnostic-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.chat-diagnostic-card li {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 4px;
}

.chat-diagnostic-card li strong {
  color: #FFFFFF;
}

.wizard-chip-scroll-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 10px;
  margin-bottom: 6px;
}

.wizard-chip-container {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 4px 2px 10px 2px;
  margin-top: 10px;
  margin-bottom: 6px;
  /* Make sure vertical scroll gestures still reach .chat-body */
  touch-action: pan-y;
}

.chip-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 100%;
  animation: chip-marquee var(--chip-marquee-duration, 20s) linear infinite;
  will-change: transform;
}

.chip-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.demo-preset-tags .chip-marquee-group {
  gap: 7px;
  padding-right: 7px;
}

.wizard-chip-container:hover .chip-marquee-track,
.wizard-chip-container:focus-within .chip-marquee-track,
.demo-preset-tags:hover .chip-marquee-track,
.demo-preset-tags:focus-within .chip-marquee-track {
  animation-play-state: paused;
}

@keyframes chip-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.wizard-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  background: #141B24;
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.wizard-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #04140E;
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 229, 153, 0.35);
}

.wizard-chip:active {
  transform: translateY(0);
}

.chat-footer {
  padding: 12px;
  background: #121720;
  border-top: 1px solid var(--bg-dark-border);
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.chat-footer .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.chat-footer .btn {
  flex: 0 0 auto;
  min-width: 88px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1E2530;
  border-left: 4px solid var(--primary);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

/* Architecture Diagram (Solution Detail Page) */
.arch-diagram-wrap {
  background: #0E1218;
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 40px 0;
}

.arch-layer {
  border: 1px solid var(--bg-dark-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.arch-layer:last-child {
  margin-bottom: 0;
}

.arch-layer:hover, .arch-layer.selected {
  border-color: var(--primary);
  background: rgba(46, 204, 113, 0.04);
}

.arch-layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.arch-layer-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.arch-module-chip {
  background: #181F2A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
}

/* Filter Bar & Case Grid (Cases Page) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0E1612;
  font-weight: 600;
}

.case-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.case-card-thumb {
  height: 180px;
  background: #0E1217;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--bg-dark-border);
}

.case-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Vertical Timeline (Process Page) */
.vertical-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: var(--bg-dark-secondary);
}

.timeline-step-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 40px;
}

.timeline-step-dot {
  position: absolute;
  left: 20px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: bold;
}

.timeline-content-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.timeline-content-card:hover {
  border-color: var(--primary);
}

.deliverable-box {
  background: rgba(0, 0, 0, 0.25);
  border-left: 2px solid var(--accent-cyan);
  padding: 8px 12px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Accordion (FAQ) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.accordion-item:hover {
  border-color: rgba(46, 204, 113, 0.35);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.12);
}

.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  user-select: none;
  transition: color var(--transition-fast);
}

.accordion-header:hover, .accordion-item.active .accordion-header {
  color: var(--primary);
}

.accordion-icon {
  font-size: 14px;
  transition: transform var(--transition-normal), color var(--transition-fast);
  color: var(--text-muted);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  opacity: 0;
}

.accordion-item.active .accordion-body {
  max-height: 600px;
  padding: 4px 24px 24px 24px;
  opacity: 1;
}

/* Tech Matrix & Experts (Technology Page) */
.tech-category-box {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.tech-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.tech-chip {
  background: #0E1217;
  border: 1px solid var(--bg-dark-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tech-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.expert-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-normal);
}

.expert-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: #202734;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}

/* Contact Page Split Layout */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-split-grid .card-dark {
  min-width: 0;
}

.contact-split-grid .btn,
.contact-split-grid .copy-action-btn {
  max-width: 100%;
}

.contact-info-panel {
  background: var(--bg-dark-surface);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-text h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

.qr-card {
  margin-top: 32px;
  background: #080B10;
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.qr-box {
  width: 96px;
  height: 96px;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.simulated-map {
  width: 100%;
  height: 220px;
  background: #181F2A;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-dark-border);
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Breakpoints */
@media (max-width: 1280px) {
  html[lang="en"] .nav-link {
    font-size: 13px;
  }

  html[lang="en"] .header-actions-desktop {
    padding: 8px 14px;
    font-size: 13px;
  }

  html[lang="en"] .logo-brand-en {
    display: none;
  }
}

@media (max-width: 1024px) {
  html[lang="en"] .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-dark-surface);
    border-bottom: 1px solid var(--bg-dark-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    display: none;
    flex: none;
    justify-content: flex-start;
    z-index: 999;
  }

  html[lang="en"] .nav-links.mobile-active {
    display: flex;
  }

  html[lang="en"] .mobile-toggle {
    display: block;
  }

  html[lang="en"] .header-actions-desktop {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --advisor-panel-width: 460px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 28px;
    align-items: start;
  }
  .hero-left h1 {
    font-size: 42px;
  }
  .hero-left p {
    font-size: 16px;
  }
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  html[lang="en"] .hero-grid {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
    gap: 24px;
  }
  html[lang="en"] .hero-left h1 {
    font-size: 40px;
    line-height: 1.18;
  }
  html[lang="en"] .hero-left p {
    font-size: 15px;
    max-width: 560px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-card-featured {
    grid-template-columns: 1fr;
  }
  .contact-split-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-right {
    justify-content: flex-start;
  }
  .hero-demo-box {
    width: 100%;
  }
}

@media (max-width: 900px) {
  :root {
    --advisor-panel-width: 100%;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  html[lang="en"] .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    justify-content: stretch;
  }

  .hero-demo-box {
    width: 100%;
    min-height: auto;
    max-height: none;
  }

  .floating-modal {
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    bottom: 88px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section.page-hero {
    padding-top: 96px;
    padding-bottom: 48px;
  }
  .section.page-hero--tight {
    padding-bottom: 40px;
  }
  .section.page-hero--compact {
    padding-bottom: 28px;
  }
  .section.page-hero-split {
    padding-top: 96px;
    padding-bottom: 56px;
  }
  .page-content-start {
    padding-top: 96px;
  }
  .section-sm {
    padding: 48px 0;
  }
  .section-sm.page-content-start {
    padding-top: 96px;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  #main-content {
    padding-bottom: 84px;
  }
  .section.legal-page {
    padding-top: 96px;
    padding-bottom: 48px;
  }
  .legal-page .section-title {
    font-size: 26px;
  }
  .page-hero-title {
    font-size: 28px;
    line-height: 1.28;
  }
  .page-hero-split .page-hero-title {
    font-size: 30px;
    line-height: 1.25;
  }
  .page-hero-desc {
    font-size: 15px;
  }
  .page-hero-split-grid {
    flex-direction: column;
    gap: 28px;
  }
  .page-hero-split-content {
    text-align: center;
  }
  .page-hero-split-actions {
    width: 100%;
    flex-direction: column;
    align-self: stretch;
  }
  .page-hero-split-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .nav-actions {
    gap: 10px;
  }
  .nav-actions .btn-sm {
    padding-left: 10px;
    padding-right: 10px;
  }
  .logo-brand-title {
    font-size: 16px;
  }
  html[lang="en"] .logo-brand-title {
    font-size: 15px;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-header .section-title {
    line-height: 1.35;
  }
  .hero-section {
    padding-top: 96px;
    padding-bottom: 88px;
  }
  html[lang="en"] .hero-left h1 {
    font-size: 30px;
    line-height: 1.22;
  }
  html[lang="en"] .section-tag {
    font-size: 11.5px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }
  html[lang="en"] .hero-left p {
    font-size: 15px;
  }
  .section-title {
    font-size: 28px;
  }
  .hero-left h1 {
    font-size: 32px;
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    align-items: start;
  }
  .stat-item {
    min-width: 0;
  }
  .stat-item h4 {
    font-size: 20px;
  }
  .stat-item span {
    font-size: 12px;
    line-height: 1.45;
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-dark-surface);
    border-bottom: 1px solid var(--bg-dark-border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
  }
  .nav-links.mobile-active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions-desktop {
    display: none;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .process-steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-widget {
    right: 16px;
    bottom: 20px;
  }
  html[lang="en"] .hero-right {
    margin-bottom: 72px;
  }
  .arch-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-modal-content {
    padding: 24px;
  }
  .hero-demo-box {
    min-height: auto;
    max-height: none;
  }
  .demo-body {
    padding: 18px;
  }
  .demo-box-header {
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
  }
  .demo-title {
    min-width: 0;
    flex: 1 1 180px;
    overflow-wrap: anywhere;
  }
  .demo-input-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .demo-input {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .demo-submit-btn {
    width: 100%;
  }
  .demo-solution-card,
  .demo-loading-shell {
    min-width: 0;
  }
  .demo-card-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 10px;
  }
  .demo-card-title {
    min-width: 0;
    flex-wrap: wrap;
  }
  .demo-card-desc,
  .demo-card-spec,
  .demo-card-status,
  .demo-card-link {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-split-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .contact-split-grid .card-dark {
    padding: 22px !important;
  }

  .contact-split-grid .qr-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-split-grid .qr-box {
    width: 112px;
    height: 112px;
  }

  .contact-split-grid .copy-action-btn {
    margin-left: 0;
  }

  .contact-split-grid [style*="display: flex; gap: 10px;"] {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-split-grid [style*="justify-content: space-between"] {
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-split-grid [style*="justify-content: space-between"] > * {
    min-width: 0;
  }

  .contact-split-grid [style*="font-family: var(--font-mono)"] {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-split-grid .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .floating-modal {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    height: min(720px, calc(100vh - 28px));
    max-height: calc(100vh - 28px);
    bottom: 84px;
  }
}

.copy-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 229, 153, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.copy-action-btn:hover {
  background: var(--primary);
  color: #04140E;
  box-shadow: 0 2px 8px rgba(0, 229, 153, 0.4);
  transform: translateY(-1px);
}

.copy-action-btn:active {
  transform: scale(0.95);
}

/* File Upload Component */
.file-upload-wrapper {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  background: rgba(14, 19, 28, 0.6);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.file-upload-wrapper:hover, .file-upload-wrapper.dragover {
  border-color: var(--primary);
  background: rgba(0, 229, 153, 0.05);
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 153, 0.15);
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  color: #FFFFFF;
  margin-top: 8px;
}

.file-remove-btn {
  background: none;
  border: none;
  color: #FF5F56;
  cursor: pointer;
  font-weight: bold;
}

/* Sizing Matrix / Hardware Table */
.hardware-table-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0B0E14;
  margin-top: 24px;
  box-shadow: var(--glass-top-highlight);
}

.hardware-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.hardware-table th {
  background: #121822;
  color: #FFFFFF;
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.hardware-table td {
  padding: 14px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.5;
}

.hardware-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

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

.hardware-table tr:hover td {
  background: rgba(0, 229, 153, 0.05);
  color: #FFFFFF;
}

.hardware-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.badge-green { background: rgba(0, 229, 153, 0.12); border: 1px solid rgba(0, 229, 153, 0.3); color: var(--primary); }
.badge-cyan { background: rgba(0, 210, 211, 0.12); border: 1px solid rgba(0, 210, 211, 0.3); color: var(--accent-cyan); }
.badge-amber { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.3); color: var(--accent-amber); }
.badge-purple { background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.3); color: var(--accent-purple); }

/* Live Beacon Dot */
.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #04140E;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(4, 20, 14, 0.3);
  animation: beaconPulse 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}


/* Full-Screen News Reader & Social Share Styles */
.news-fullscreen-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #090D13;
  z-index: 100000;
  display: none;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.news-fullscreen-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.news-reader-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(13, 18, 25, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.news-reader-stage {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
  position: relative;
}

.news-side-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  max-width: 168px;
  min-width: 120px;
  max-height: none;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(14, 19, 28, 0.92);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 100005;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.news-side-nav-prev {
  left: max(12px, calc((100vw - 880px) / 2 - 190px));
}

.news-side-nav-next {
  right: max(12px, calc((100vw - 880px) / 2 - 190px));
}

.news-side-nav:hover {
  border-color: rgba(0, 229, 153, 0.5);
  color: #FFFFFF;
  background: rgba(0, 229, 153, 0.1);
  transform: translateY(calc(-50% - 2px));
}

.news-side-nav-arrow {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  color: var(--primary);
  font-weight: 700;
}

.news-side-nav-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.news-side-nav-prev .news-side-nav-text {
  text-align: left;
}

.news-side-nav-next .news-side-nav-text {
  text-align: right;
}

.news-side-nav-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  white-space: nowrap;
}

.news-side-nav-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-muted);
}

.news-reader-body-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 80px;
  scroll-behavior: smooth;
  min-width: 0;
}

.news-reader-container {
  max-width: 880px;
  margin: 40px auto 24px;
  padding: 0 24px;
}

.news-fullscreen-modal .footer {
  content-visibility: visible;
}

.news-side-nav.is-over-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.news-share-btn-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.share-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141B22;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-icon-btn:hover {
  border-color: var(--primary);
  color: #FFFFFF;
  background: rgba(0, 229, 153, 0.08);
  transform: translateY(-1px);
}

.share-icon-btn.btn-wechat:hover { border-color: #07C160; color: #07C160; background: rgba(7, 193, 96, 0.08); }
.share-icon-btn.btn-weibo:hover { border-color: #E6162D; color: #E6162D; background: rgba(230, 22, 45, 0.08); }
.share-icon-btn.btn-qq:hover { border-color: #12B7F5; color: #12B7F5; background: rgba(18, 183, 245, 0.08); }

.news-reader-bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(13, 18, 25, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  bottom: 0;
  z-index: 20;
}

@media (max-width: 768px) {
  .news-side-nav {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    padding: 14px 8px;
    border-radius: 10px;
    top: auto;
    bottom: 88px;
    transform: none;
    gap: 0;
  }

  .news-side-nav-prev {
    left: 8px;
  }

  .news-side-nav-next {
    right: 8px;
  }

  .news-side-nav:hover {
    transform: translateY(-2px);
  }

  .news-side-nav-text,
  .news-side-nav-label,
  .news-side-nav-title {
    display: none;
  }

  .news-side-nav-arrow {
    font-size: 22px;
  }

  .news-reader-body-wrap {
    padding: 0 0 100px;
  }

  .news-reader-container {
    padding: 24px 16px 40px;
  }

  .news-reader-topbar,
  .news-reader-bottombar {
    padding: 12px 14px;
  }

  .news-reader-bottombar {
    justify-content: center;
  }
}

/* WeChat QR Code Popup Box */
.wechat-qr-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100010;
  display: none;
  align-items: center;
  justify-content: center;
}

.wechat-qr-popup.active {
  display: flex;
}

.wechat-qr-card {
  background: #141B22;
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ============================
   Quiz (Feasibility) UI
   ============================ */
.quiz-radio-label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--bg-dark-border);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  user-select: none;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.quiz-radio-label input{
  accent-color: var(--primary);
}
.quiz-radio-label:hover{
  border-color: rgba(0,229,153,0.45);
  background: rgba(0,229,153,0.06);
  transform: translateY(-1px);
}
.quiz-radio-label:has(input:checked){
  border-color: rgba(0,229,153,0.65);
  background: rgba(0,229,153,0.10);
  color: #FFFFFF;
}

/* GEO citation pages: FAQ */
.geo-updated {
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 10px;
}
.entity-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 20px;
}
.entity-fact-item dt {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.entity-fact-item dd {
  font-size: 14.5px;
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1.5;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 880px;
  margin: 0 auto 20px;
}
.faq-toolbar-meta {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.faq-refresh-btn {
  flex-shrink: 0;
}
.faq-item {
  background: #0E131C;
  border: 1px solid var(--bg-dark-border);
  border-radius: 12px;
  padding: 0 20px;
}
.faq-item[open] {
  border-color: rgba(0, 229, 153, 0.28);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item .faq-answer {
  padding: 0 0 18px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bg-dark-border);
  border-radius: 12px;
  background: #0E131C;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}
.spec-table th,
.spec-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--bg-dark-border);
  vertical-align: top;
}
.spec-table th {
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255,255,255,0.02);
}
.spec-table td {
  color: var(--text-secondary);
}
.spec-table td:first-child,
.spec-table th:first-child {
  color: #FFFFFF;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .entity-fact-grid {
    grid-template-columns: 1fr;
  }
}
