/* ============================================================
   元寻智能官网 - 高端科技视觉设计系统
   Yuanxun AI Official Website - Design System
   设计调性：极简 / 硬核科技 / 学术标准 / 未来感 / 高端政企风
   ============================================================ */

/* ============================================================
   1. CSS 变量 / Design Tokens
   ============================================================ */
:root {
  /* --- 主色：深空科技蓝 --- */
  --color-primary-50: #f5f8ff;
  --color-primary-100: #e9f0fe;
  --color-primary-300: #94b8f5;
  --color-primary-500: #2563eb;
  --color-primary-700: #1d4ed8;
  --color-primary-900: #1e3a8a;

  /* --- 辅助色 --- */
  --color-accent: #06b6d4;
  --color-tech-line: #38bdf8;

  /* --- 中性色 --- */
  --color-bg-white: #ffffff;
  --color-bg-light: #fafbfc;
  --color-bg-dark: #0f172a;
  --color-text-main: #0f172a;
  --color-text-secondary: #475569;
  --color-text-light: #94a3b8;

  /* --- 状态色 --- */
  --color-success: #10b981;
  --color-data-rise: #3b82f6;
  --color-standard: #8b5cf6;

  /* --- 边框 --- */
  --border-light: #e2e8f0;
  --border-tech: rgba(56, 189, 248, 0.2);

  /* --- 字体 --- */
  --font-family-sans: "Inter", "PingFang SC", "Microsoft Yahei", sans-serif;
  --font-family-code: "JetBrains Mono", "Consolas", "Monaco", monospace;

  /* --- 字重 --- */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;
  --font-weight-heavy: 700;

  /* --- 字号 --- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;

  /* --- 圆角 --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* --- 阴影 --- */
  --shadow-light: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-normal: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-tech: 0 8px 30px rgba(37, 99, 235, 0.08);

  /* --- 间距 --- */
  --space-section: 80px;
  --space-block: 40px;
  --space-inner: 24px;

  /* --- 过渡 --- */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* --- 导航高度 --- */
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-sans);
  font-weight: var(--font-weight-normal);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-main);
  background: var(--color-bg-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- 自定义滚动条 --- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-text-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-secondary);
}

/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--color-text-main);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-500);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--color-primary-50);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.code-text {
  font-family: var(--font-family-code);
  font-size: var(--text-sm);
  color: var(--color-primary-700);
  background: var(--color-primary-50);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.data-highlight {
  font-family: var(--font-family-code);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-heavy);
  color: var(--color-primary-500);
  line-height: 1;
}

/* ============================================================
   4. Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: var(--space-section) 0;
}

.section-white {
  background: var(--color-bg-white);
}

.section-light {
  background: var(--color-bg-light);
}

.section-dark {
  background: var(--color-bg-dark);
  color: #ffffff;
}

.section-dark .section-label {
  background: rgba(37, 99, 235, 0.2);
  color: var(--color-tech-line);
  border-color: rgba(56, 189, 248, 0.2);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.75);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Grid layouts --- */
.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;
}

/* ============================================================
   5. Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.nav.scrolled {
  box-shadow: var(--shadow-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--font-weight-heavy);
  font-size: var(--text-xl);
  color: var(--color-text-main);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-heavy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 11px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary-500);
  background: var(--color-primary-50);
}

.nav-cta {
  padding: 10px 20px !important;
  background: var(--color-primary-500) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  font-weight: var(--font-weight-medium) !important;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--color-primary-700) !important;
  color: #ffffff !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============================================================
   6. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg-dark);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* --- 几何网格背景 --- */
.hero-grid {
  position: absolute;
  inset: 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: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

/* --- 装饰光晕 --- */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow-1 {
  top: -200px;
  right: -100px;
  background: var(--color-primary-500);
}

.hero-glow-2 {
  bottom: -200px;
  left: -100px;
  background: var(--color-accent);
}

/* --- 科技线条装饰 --- */
.hero-line {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
}

.hero-line-1 {
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-tech-line), transparent);
}

.hero-line-2 {
  top: 60%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-tech-line), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  color: var(--color-tech-line);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease both;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-heavy);
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-tech-line), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  margin-bottom: 12px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-slogan {
  font-family: var(--font-family-code);
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-bottom: 40px;
  padding: 10px 0;
  border-left: 2px solid rgba(6, 182, 212, 0.4);
  padding-left: 16px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-primary-500);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-primary-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--border-light);
}

.btn-outline-dark:hover {
  border-color: var(--color-primary-300);
  color: var(--color-primary-500);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}

/* --- Hero 数据指标 --- */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-stat-value {
  font-family: var(--font-family-code);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-heavy);
  color: #ffffff;
  line-height: 1;
}

.hero-stat-value span {
  color: var(--color-tech-line);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

/* --- Hero 右下角品牌口号 --- */
.hero-corner-slogan {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.04em;
  text-align: right;
  max-width: 320px;
  line-height: 1.6;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ============================================================
   7. Section Common Components
   ============================================================ */

/* --- Card --- */
.card {
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-tech);
  border-color: rgba(37, 99, 235, 0.15);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-300), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--color-primary-500);
}

.card h4 {
  margin-bottom: 10px;
  font-size: var(--text-lg);
}

.card p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* --- Card Dark variant --- */
.section-dark .card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.section-dark .card h4 {
  color: #ffffff;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.6);
}

.section-dark .card-icon {
  background: rgba(37, 99, 235, 0.2);
  color: var(--color-tech-line);
}

/* --- Tech Card (带科技边框) --- */
.tech-card {
  background: var(--color-bg-white);
  border: 1px solid var(--border-tech);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition-normal);
  position: relative;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-tech);
  border-color: rgba(56, 189, 248, 0.35);
}

.tech-card-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--color-primary-500);
  color: #fff;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  padding: 4px 12px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 0.05em;
}

/* --- Stat Card --- */
.stat-card {
  text-align: center;
  padding: 32px 24px;
}

.stat-value {
  font-family: var(--font-family-code);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-heavy);
  color: var(--color-primary-500);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.stat-change {
  font-family: var(--font-family-code);
  font-size: var(--text-xs);
  color: var(--color-success);
  margin-top: 8px;
}

/* ============================================================
   8. Value Proposition Section
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-visual {
  position: relative;
  padding: 40px;
}

.value-block {
  background: var(--color-bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}

.value-block:hover {
  border-color: var(--color-primary-300);
  box-shadow: var(--shadow-light);
}

.value-block + .value-block {
  margin-top: 20px;
}

.value-block h4 {
  font-size: var(--text-base);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-block p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.value-block-icon {
  color: var(--color-primary-500);
  font-size: 18px;
}

/* --- SEO vs GEO comparison --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.compare-table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--border-light);
}

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--color-text-secondary);
}

.compare-table tr:hover td {
  background: var(--color-primary-50);
}

.compare-table .geo-col {
  color: var(--color-primary-500);
  font-weight: var(--font-weight-medium);
}

/* ============================================================
   9. Technology Architecture Visual
   ============================================================ */
.arch-stack {
  max-width: 680px;
  margin: 0 auto;
}

.arch-layer {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 16px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.arch-layer:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.arch-layer-top {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}

.arch-layer-mid {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(56, 189, 248, 0.15);
}

.arch-layer-base {
  background: rgba(37, 99, 235, 0.02);
  border-color: rgba(56, 189, 248, 0.1);
}

.arch-layer-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-tech-line);
  margin-bottom: 8px;
}

.arch-layer h4 {
  color: #fff;
  font-size: var(--text-xl);
  margin-bottom: 8px;
}

.arch-layer p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
  max-width: 500px;
  margin: 0 auto;
}

.arch-connector {
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.3), transparent);
  margin: 0 auto;
}

/* ============================================================
   10. Standard System Cards
   ============================================================ */
.standard-card {
  padding: 36px 32px;
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
}

.standard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-tech);
  border-color: var(--color-standard);
}

.standard-card-code {
  font-family: var(--font-family-code);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-standard);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.standard-card h4 {
  font-size: var(--text-xl);
  margin-bottom: 12px;
}

.standard-card .full-name {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.standard-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   11. Product Studio Cards
   ============================================================ */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.studio-card {
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.studio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-tech);
  border-color: rgba(37, 99, 235, 0.2);
}

.studio-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.studio-card:hover::after {
  opacity: 1;
}

.studio-num {
  font-family: var(--font-family-code);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.studio-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.studio-card h4 {
  font-size: var(--text-lg);
  margin-bottom: 8px;
}

.studio-cn {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-light);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.studio-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   12. Pricing Tables
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-normal);
}

.pricing-card.featured {
  border-color: var(--color-primary-300);
  box-shadow: var(--shadow-tech);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary-500);
  color: #fff;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: 4px;
  text-align: center;
}

.pricing-desc {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 24px;
}

.pricing-price {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-amount {
  font-family: var(--font-family-code);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-heavy);
  color: var(--color-text-main);
  line-height: 1;
}

.pricing-period {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-xs);
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   13. Case Study Cards
   ============================================================ */
.case-card {
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-normal);
}

.case-body {
  padding: 28px;
}

.case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.case-tag.geo {
  background: var(--color-primary-50);
  color: var(--color-primary-500);
}

.case-tag.agent {
  background: #f0fdf4;
  color: var(--color-success);
}

.case-card h4 {
  margin-bottom: 8px;
  font-size: var(--text-lg);
}

.case-card .case-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.case-metrics {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.case-metric-value {
  font-family: var(--font-family-code);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-heavy);
  color: var(--color-data-rise);
  line-height: 1;
}

.case-metric-label {
  font-size: 11px;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ============================================================
   14. Solution Cards
   ============================================================ */
.solution-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  background: var(--color-bg-white);
}

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

.solution-card .icon-block {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.solution-card h4 {
  margin-bottom: 8px;
}

.solution-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ============================================================
   15. Contact Section
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.contact-info-icon {
  color: var(--color-primary-500);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: 6px;
  color: var(--color-text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-family-sans);
  font-size: var(--text-sm);
  color: var(--color-text-main);
  background: var(--color-bg-white);
  transition: all var(--transition-fast);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary-300);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Service flow --- */
.flow-steps {
  display: flex;
  gap: 16px;
  counter-reset: step;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 28px 16px;
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  counter-increment: step;
}

.flow-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-500);
  color: #fff;
  font-family: var(--font-family-code);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  margin: 0 auto 12px;
}

.flow-step h5 {
  font-size: var(--text-sm);
  margin-bottom: 4px;
}

.flow-step p {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ============================================================
   16. Footer
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 32px;
  font-size: var(--text-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: #fff;
  font-size: var(--text-xl);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: var(--font-weight-medium);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
  font-size: var(--text-sm);
}

.footer-col a:hover {
  color: var(--color-tech-line);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   17. Research / Article Cards
   ============================================================ */
.article-card {
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-normal);
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: var(--text-xs);
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.article-card h4 {
  font-size: var(--text-base);
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.article-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: 12px;
}

.article-tag.news { background: var(--color-primary-50); color: var(--color-primary-500); }
.article-tag.insight { background: #fef3c7; color: #d97706; }
.article-tag.report { background: #f0fdf4; color: var(--color-success); }

/* ============================================================
   18. Ecosystem / Cert Badges
   ============================================================ */
.cert-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-normal);
  border-color: var(--color-standard);
}

.cert-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.cert-card h4 {
  font-size: var(--text-lg);
  margin-bottom: 6px;
}

.cert-card .cert-code {
  font-family: var(--font-family-code);
  font-size: var(--text-xs);
  color: var(--color-standard);
  margin-bottom: 10px;
}

.cert-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ============================================================
   19. ISO-Style Table
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.data-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-weight: var(--font-weight-medium);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  border-bottom: 2px solid var(--border-light);
  background: var(--color-bg-light);
}

.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--color-text-secondary);
}

.data-table tbody tr:hover td {
  background: var(--color-primary-50);
}

.data-table .val-highlight {
  font-family: var(--font-family-code);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-500);
}

/* ============================================================
   20. Technology Nine-Layer Architecture
   ============================================================ */
.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 700px;
  margin: 0 auto;
}

.layer-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.layer-row:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

.layer-index {
  font-family: var(--font-family-code);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-tech-line);
  width: 28px;
  flex-shrink: 0;
}

.layer-name {
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  color: #ffffff;
  width: 80px;
  flex-shrink: 0;
}

.layer-desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  flex: 1;
}

/* ============================================================
   21. Principles Cards
   ============================================================ */
.principle-card {
  padding: 28px;
  background: var(--color-bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--color-primary-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: all var(--transition-normal);
}

.principle-card:hover {
  box-shadow: var(--shadow-light);
}

.principle-card h4 {
  font-family: var(--font-family-code);
  font-size: var(--text-sm);
  color: var(--color-primary-500);
  margin-bottom: 6px;
}

.principle-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ============================================================
   22. Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================================
   23. Page Hero (Inner Pages)
   ============================================================ */
.page-hero {
  background: var(--color-bg-dark);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-grid {
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero-content h1 {
  color: #fff;
  font-size: var(--text-4xl);
  margin-bottom: 16px;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-lg);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   24. Maturity Model
   ============================================================ */
.maturity-scale {
  display: flex;
  gap: 6px;
}

.maturity-level {
  flex: 1;
  padding: 20px 12px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-light);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.maturity-level:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-tech);
  border-color: var(--color-primary-300);
}

.maturity-level.highlight {
  background: var(--color-primary-500);
  border-color: var(--color-primary-500);
  color: #fff;
}

.maturity-level .ml-code {
  font-family: var(--font-family-code);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  margin-bottom: 6px;
}

.maturity-level .ml-name {
  font-size: 11px;
  font-weight: var(--font-weight-medium);
}

.maturity-level.highlight .ml-code,
.maturity-level.highlight .ml-name {
  color: #fff;
}

/* ============================================================
   25. Mobile Menu
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-white);
    flex-direction: column;
    padding: 100px 24px 40px;
    gap: 8px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: var(--text-base);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ============================================================
   26. FAQ Accordion
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  background: var(--color-bg-white);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  font-family: var(--font-family-sans);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-main);
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: all var(--transition-fast);
  line-height: 1.5;
}

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

/* --- +/- icon --- */
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary-500);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.faq-icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-question {
  color: var(--color-primary-500);
}

/* --- Answer panel --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #334155;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol,
.faq-answer li {
  padding: 0 28px 0;
  font-size: var(--text-sm);
  color: #475569;
  line-height: 1.8;
}
.faq-answer ul,
.faq-answer ol {
  padding: 0 28px 12px 52px;
}
.faq-answer li {
  padding: 0;
  margin-bottom: 6px;
}
.faq-answer > *:last-child {
  padding-bottom: 24px;
}

.faq-answer p strong,
.faq-answer li strong {
  color: #0F172A;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================================
   27. Responsive
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --space-section: 56px;
    --space-block: 28px;
    --space-inner: 20px;
    --text-4xl: 2.25rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .studio-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-corner-slogan {
    position: static;
    text-align: left;
    max-width: 100%;
    padding: 16px 24px;
    margin-top: 32px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

  .flow-steps {
    flex-direction: column;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .maturity-scale {
    flex-direction: column;
  }

  .layer-row {
    flex-wrap: wrap;
  }

  .layer-name {
    width: auto;
  }

  .case-metrics {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   Yuanxun Enterprise 2.0
   Enterprise design system: dark command surface, glass panels,
   modular grids, strong data hierarchy.
   ============================================================ */
:root {
  --yx-ink: #070d1a;
  --yx-ink-2: #0b1526;
  --yx-surface: #ffffff;
  --yx-surface-2: #f4f7fb;
  --yx-line: #dfe7f2;
  --yx-primary: #0b63e5;
  --yx-primary-deep: #0847a8;
  --yx-cyan: #19c8e8;
  --yx-amber: #f4a63a;
  --yx-success: #10b981;
  --yx-text: #101828;
  --yx-muted: #5b6b80;
  --yx-radius: 8px;
  --yx-shadow: 0 10px 30px rgba(8, 20, 42, 0.08);
}

html {
  scroll-padding-top: calc(var(--nav-height) + 8px);
}

body {
  background: var(--yx-surface-2);
  color: var(--yx-text);
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0 !important;
}

.section {
  padding: 88px 0;
}

.section-white {
  background: var(--yx-surface);
}

.section-light {
  background: var(--yx-surface-2);
}

.section-dark {
  background: var(--yx-ink-2);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.58);
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  background: rgba(11, 99, 229, 0.08);
  color: var(--yx-primary);
  border: 1px solid rgba(11, 99, 229, 0.16);
  border-radius: 999px;
  padding: 5px 14px;
  text-transform: none;
  letter-spacing: 0.04em;
}

.section-dark .section-label {
  background: rgba(25, 200, 232, 0.1);
  color: var(--yx-cyan);
  border-color: rgba(25, 200, 232, 0.22);
}

.section-header h2 {
  font-size: 2.1rem;
  letter-spacing: 0;
}

.section-header p {
  color: var(--yx-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
}

/* Navigation: dark glass command bar */
.nav {
  background: rgba(7, 13, 26, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav.scrolled {
  box-shadow: 0 10px 30px rgba(3, 8, 18, 0.28);
}

.nav-logo {
  color: #ffffff;
  gap: 10px;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--yx-primary), var(--yx-cyan));
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  padding: 8px 11px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta,
.nav-cta:hover {
  background: linear-gradient(135deg, var(--yx-primary), #0e8fc7) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(11, 99, 229, 0.34);
}

.nav-toggle span {
  background: #ffffff;
}

/* Hero: layered grid without decorative orbs */
.hero {
  background:
    linear-gradient(180deg, #060c1a 0%, #0a1830 55%, #0b2133 100%);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 68% at 50% 46%, black 24%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 75% 68% at 50% 46%, black 24%, transparent 74%);
}

.hero-glow,
.hero-glow-1,
.hero-glow-2 {
  opacity: 0 !important;
}

.hero-line {
  opacity: 0.16;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(860px, 92%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 200, 232, 0.55), transparent);
}

.hero h1 {
  font-size: 2.9rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.hero h1 .highlight {
  background: linear-gradient(120deg, var(--yx-cyan), #8ab8ff 60%, var(--yx-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  border-radius: 999px;
  background: rgba(25, 200, 232, 0.08);
  border-color: rgba(25, 200, 232, 0.24);
  padding: 7px 16px;
}

.hero-slogan {
  border-left-color: rgba(25, 200, 232, 0.55);
}

.hero-stats {
  margin-top: 56px;
  padding-top: 36px;
}

.hero-stat-value {
  font-size: 1.9rem;
}

.hero-stat-value span {
  color: var(--yx-cyan);
}

.btn {
  border-radius: 6px;
  padding: 13px 26px;
  letter-spacing: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yx-primary), #0e8fc7);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0952c4, #0b7fae);
  box-shadow: 0 10px 26px rgba(11, 99, 229, 0.32);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-dark {
  color: var(--yx-text);
  border-color: var(--yx-line);
}

.btn-outline-dark:hover {
  border-color: var(--yx-primary);
  color: var(--yx-primary);
  background: rgba(11, 99, 229, 0.04);
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(180deg, #060c1a 0%, #0a1830 68%, #0b2133 100%);
  padding: 150px 0 92px;
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(760px, 92%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 200, 232, 0.55), transparent);
}

.page-hero-content h1 {
  font-size: 2.6rem;
  letter-spacing: 0;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
}

/* Cards: glass panels on a modular grid */
.card,
.tech-card,
.studio-card,
.standard-card,
.pricing-card,
.case-card,
.solution-card,
.article-card,
.cert-card,
.value-block,
.principle-card,
.flow-step,
.faq-item {
  border-radius: var(--yx-radius);
  border-color: var(--yx-line);
  background: var(--yx-surface);
}

.card:hover,
.tech-card:hover,
.studio-card:hover,
.standard-card:hover,
.pricing-card:hover,
.case-card:hover,
.solution-card:hover,
.article-card:hover,
.cert-card:hover,
.value-block:hover,
.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 99, 229, 0.3);
  box-shadow: var(--yx-shadow);
}

.card::before,
.studio-card::after {
  background: linear-gradient(90deg, var(--yx-primary), var(--yx-cyan));
}

.card-icon,
.studio-icon,
.value-block-icon {
  background: linear-gradient(135deg, rgba(11, 99, 229, 0.09), rgba(25, 200, 232, 0.11));
  color: var(--yx-primary);
  border-radius: 7px;
}

.card h4,
.studio-card h4,
.standard-card h4,
.pricing-name,
.case-card h4,
.solution-card h4,
.article-card h4,
.cert-card h4,
.value-block h4 {
  letter-spacing: 0;
}

.card p,
.tech-card p,
.studio-card p,
.standard-card p,
.pricing-desc,
.case-card .case-desc,
.solution-card p,
.article-card p,
.cert-card p,
.value-block p {
  color: var(--yx-muted);
}

.tech-card-badge {
  background: var(--yx-primary);
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.03em;
}

.standard-card-code {
  color: var(--yx-primary);
}

.full-name {
  color: var(--yx-muted) !important;
}

.data-highlight,
.stat-value,
.case-metric-value,
.pricing-amount {
  color: var(--yx-primary);
}

/* Studio product cards */
.studio-num {
  color: rgba(11, 99, 229, 0.65);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.studio-icon {
  width: 46px;
  height: 46px;
  font-size: 21px;
  margin-bottom: 18px;
}

.studio-card h4 {
  font-size: 1.05rem;
}

.studio-cn {
  color: var(--yx-muted);
}

/* Pricing */
.pricing-card.featured {
  border-color: rgba(11, 99, 229, 0.35);
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 60%);
  transform: none;
}

.pricing-card.featured:hover {
  transform: translateY(-4px);
}

.pricing-badge {
  background: linear-gradient(135deg, var(--yx-primary), var(--yx-cyan));
  border-radius: 999px;
}

.pricing-amount {
  font-size: 2rem;
}

.pricing-features li {
  color: var(--yx-muted);
  border-bottom-color: var(--yx-line);
}

.pricing-features li::before {
  color: var(--yx-success);
}

/* Solution cards */
.icon-block {
  border-radius: 7px !important;
}

.solution-card h4 {
  font-size: 1.05rem;
}

/* Case cards */
.case-tag.geo {
  background: rgba(11, 99, 229, 0.08);
  color: var(--yx-primary);
}

.case-tag.agent {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.case-metrics {
  border-top-color: var(--yx-line);
}

.case-metric-value {
  font-size: 1.25rem;
}

/* Article / research cards */
.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card-link:hover .article-card {
  transform: translateY(-3px);
  border-color: rgba(11, 99, 229, 0.3);
  box-shadow: var(--yx-shadow);
}

.article-tag {
  border-radius: 6px;
}

.article-tag.insight {
  background: rgba(244, 166, 58, 0.12);
  color: #b45309;
}

.article-tag.report {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

/* Technology */
.arch-layer,
.layer-row {
  border-radius: var(--yx-radius);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
}

.layer-row:hover {
  background: rgba(25, 200, 232, 0.09);
  border-color: rgba(25, 200, 232, 0.28);
}

.layer-index {
  color: var(--yx-cyan);
}

.arch-connector {
  background: linear-gradient(180deg, rgba(25, 200, 232, 0.4), transparent);
}

.maturity-level {
  border-radius: 7px;
  border-color: var(--yx-line);
}

.maturity-level.highlight {
  background: var(--yx-primary);
  border-color: var(--yx-primary);
}

.ml-code {
  color: var(--yx-primary);
}

.maturity-level.highlight .ml-code,
.maturity-level.highlight .ml-name {
  color: #ffffff;
}

/* Cert / ecosystem */
.cert-card {
  border-radius: var(--yx-radius);
}

.cert-code {
  color: var(--yx-primary);
}

/* Contact */
.contact-grid {
  gap: 56px;
}

.contact-info h3,
.contact-grid h3 {
  font-size: 1.35rem;
}

.contact-info-item {
  color: var(--yx-muted);
}

.contact-info-icon {
  color: var(--yx-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-color: var(--yx-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--yx-text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yx-primary);
  box-shadow: 0 0 0 3px rgba(11, 99, 229, 0.1);
}

.flow-step {
  border-radius: var(--yx-radius);
}

.flow-step::before {
  background: linear-gradient(135deg, var(--yx-primary), var(--yx-cyan));
}

.flow-step h5 {
  font-size: 0.9rem;
}

.flow-step p {
  color: var(--yx-muted);
}

/* Tables */
.compare-table th,
.data-table thead th {
  color: var(--yx-muted);
  border-bottom-color: var(--yx-line);
}

.compare-table td,
.data-table tbody td {
  color: var(--yx-muted);
  border-bottom-color: var(--yx-line);
}

.compare-table tr:hover td,
.data-table tbody tr:hover td {
  background: rgba(11, 99, 229, 0.04);
}

.compare-table .geo-col,
.data-table .val-highlight {
  color: var(--yx-primary);
}

/* Footer */
.footer {
  background: var(--yx-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.footer-brand h3 {
  font-size: 1.3rem;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.52);
}

.footer-col a:hover {
  color: var(--yx-cyan);
}

/* Homepage hub */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.hub-card {
  position: relative;
  display: block;
  padding: 26px 24px;
  background: var(--yx-surface);
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-radius);
  color: var(--yx-text);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 168px;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 99, 229, 0.45);
  box-shadow: var(--yx-shadow);
}

.hub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 99, 229, 0.1), rgba(25, 200, 232, 0.12));
  font-size: 20px;
  margin-bottom: 16px;
}

.hub-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.hub-card p {
  font-size: 0.85rem;
  color: var(--yx-muted);
  line-height: 1.6;
}

.hub-arrow {
  position: absolute;
  top: 22px;
  right: 18px;
  color: var(--yx-primary);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hub-card:hover .hub-arrow {
  opacity: 1;
  transform: translateX(0);
}

.hub-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.insight-band {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.insight-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--yx-radius);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.insight-grid a:hover {
  background: rgba(25, 200, 232, 0.07);
  border-color: rgba(25, 200, 232, 0.3);
  transform: translateY(-2px);
}

.insight-grid strong {
  font-family: var(--font-family-code);
  font-size: 1.55rem;
  color: var(--yx-cyan);
  line-height: 1;
}

.insight-grid span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* Docs */
.doc-card {
  border-radius: var(--yx-radius);
  border-color: var(--yx-line);
  background: var(--yx-surface);
}

.doc-card:hover {
  border-color: var(--yx-primary);
  box-shadow: var(--yx-shadow);
  transform: translateY(-2px);
}

.doc-card-icon {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 99, 229, 0.09), rgba(25, 200, 232, 0.1));
}

.doc-card-body h3 {
  letter-spacing: 0;
}

.doc-card-body p {
  color: var(--yx-muted);
}

/* FAQ */
.faq-item {
  border-radius: var(--yx-radius);
}

.faq-question {
  border-radius: var(--yx-radius);
  letter-spacing: 0;
}

.faq-question:hover {
  color: var(--yx-primary);
  background: rgba(11, 99, 229, 0.04);
}

.faq-icon::before,
.faq-icon::after {
  background: var(--yx-primary);
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol,
.faq-answer li {
  color: var(--yx-muted);
}

.faq-answer p strong,
.faq-answer li strong {
  color: var(--yx-text);
}

/* Code chips */
.code-text {
  color: var(--yx-primary);
  background: rgba(11, 99, 229, 0.07);
  border-radius: 6px;
  letter-spacing: 0;
}

/* Mobile nav */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .page-hero {
    padding: 128px 0 72px;
  }

  .page-hero-content h1 {
    font-size: 2.1rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .nav-links {
    background: rgba(7, 13, 26, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    width: min(320px, 88vw);
    padding: 96px 20px 40px;
    gap: 4px;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.76);
    padding: 11px 14px;
    border-radius: 6px;
  }

  .nav-links a.active,
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  .nav-links .nav-cta {
    margin-top: 10px;
  }

  .nav-overlay {
    background: rgba(4, 8, 18, 0.72);
  }

  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .studio-grid,
  .pricing-grid,
  .value-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .value-grid {
    gap: 32px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .maturity-scale {
    flex-wrap: wrap;
  }

  .maturity-level {
    min-width: 76px;
  }

  .flow-steps {
    flex-wrap: wrap;
  }

  .flow-step {
    min-width: 130px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 92vh;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-content {
    padding: 64px 20px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .page-hero-content h1 {
    font-size: 1.8rem;
  }

  .page-hero-content p {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.92rem;
  }

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

  .hub-card {
    min-height: 0;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Yuanxun 2.0 refinements */
.section-dark {
  position: relative;
}

.section-dark .hero-grid {
  opacity: 0.45;
}

.faq-item.active .faq-answer {
  max-height: 2400px;
}

.page-main {
  display: block;
}

/* ============================================================
   Yuanxun Claymorphism 3.0
   Soft clay surfaces, puffy cards, playful colors.
   ============================================================ */
:root {
  --font-family-sans: "Montserrat", "PingFang SC", "Microsoft Yahei", sans-serif;
  --font-family-display: "Poppins", "Montserrat", "PingFang SC", sans-serif;
  --font-family-code: "JetBrains Mono", "Consolas", monospace;
  --clay-cream: #FBF6EC;
  --clay-cream-2: #F3EBDD;
  --clay-white: #FFFFFF;
  --clay-ink: #1C398E;
  --clay-ink-soft: #3E4E7A;
  --clay-muted: #6B7194;
  --clay-blue: #4D7CFE;
  --clay-blue-deep: #3456C9;
  --clay-coral: #FF7A6B;
  --clay-teal: #2EC4B6;
  --clay-amber: #FFB84D;
  --clay-green: #35C98F;
  --clay-line: rgba(29, 45, 95, 0.08);
  --clay-shadow: 0 20px 38px -18px rgba(32, 48, 96, 0.3), 0 4px 12px rgba(32, 48, 96, 0.05), inset 0 -7px 14px rgba(62, 78, 122, 0.05);
  --clay-shadow-pressed: 0 7px 16px -10px rgba(32, 48, 96, 0.24), inset 0 5px 12px rgba(62, 78, 122, 0.14);
}

html {
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  background: var(--clay-cream);
  color: var(--clay-ink);
  font-family: var(--font-family-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  color: var(--clay-ink);
  letter-spacing: 0 !important;
}

.section {
  padding: 88px 0;
}

.section-white {
  background: var(--clay-cream);
}

.section-light {
  background: var(--clay-cream-2);
}

.section-dark {
  background: linear-gradient(135deg, #4D7CFE 0%, #3B63E8 58%, #2EC4B6 135%);
  position: relative;
}

.section-dark .hero-grid {
  opacity: 0.35;
}

.section-dark .section-header h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark .section-header p,
.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.88);
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  background: rgba(77, 124, 254, 0.1);
  color: var(--clay-blue-deep);
  border: 1px solid rgba(77, 124, 254, 0.16);
  border-bottom: 3px solid rgba(77, 124, 254, 0.2);
  border-radius: 999px;
  padding: 6px 15px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.section-dark .section-label {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  border-bottom-color: rgba(255, 255, 255, 0.34);
}

.section-header h2 {
  font-size: 2.15rem;
  letter-spacing: 0;
}

.section-header p {
  color: var(--clay-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* Navigation: soft clay bar */
.nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--clay-line);
  box-shadow: 0 10px 24px -18px rgba(29, 45, 95, 0.35);
}

.nav-logo {
  color: var(--clay-ink);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--clay-blue), var(--clay-coral));
  border-radius: 14px;
  box-shadow: 0 5px 0 rgba(52, 86, 201, 0.28), inset 0 -3px 6px rgba(20, 35, 105, 0.2);
  font-size: 1rem;
}

.nav-links a {
  color: var(--clay-ink-soft);
  border-radius: 999px;
  padding: 8px 13px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clay-blue-deep);
  background: rgba(77, 124, 254, 0.1);
}

.nav-cta,
.nav-cta:hover {
  background: var(--clay-blue) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-bottom: 4px solid rgba(20, 45, 140, 0.3) !important;
  box-shadow: 0 7px 14px -7px rgba(52, 86, 201, 0.45);
}

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

.nav-cta:active {
  transform: translateY(1px);
  border-bottom-width: 2px !important;
}

.nav-toggle span {
  background: var(--clay-ink);
}

/* Hero: warm clay canvas with a 3D dashboard */
.hero {
  background: var(--clay-cream);
  min-height: 92vh;
  padding-top: calc(var(--nav-height) + 30px);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(29, 45, 95, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 45, 95, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.75;
  mask-image: none;
  -webkit-mask-image: none;
}

.hero-glow,
.hero-glow-1,
.hero-glow-2 {
  opacity: 0 !important;
}

.hero-line {
  opacity: 0.14;
  background: linear-gradient(90deg, transparent, var(--clay-blue), transparent);
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 92px;
}

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

.hero-badge {
  color: var(--clay-blue-deep);
  border: 1px solid rgba(77, 124, 254, 0.18);
  border-bottom: 3px solid rgba(77, 124, 254, 0.22);
  background: rgba(77, 124, 254, 0.1);
  border-radius: 999px;
  padding: 7px 17px;
}

.hero-badge-dot {
  background: var(--clay-coral);
  box-shadow: 0 0 0 4px rgba(255, 122, 107, 0.14);
}

.hero h1 {
  color: var(--clay-ink);
  font-size: clamp(2.6rem, 4.2vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 .highlight {
  background: linear-gradient(120deg, var(--clay-blue), var(--clay-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--clay-muted);
}

.hero-slogan {
  color: var(--clay-blue-deep);
  font-size: var(--text-sm);
  background: rgba(255, 255, 255, 0.72);
  border-left: 4px solid var(--clay-coral);
  border-radius: 0 16px 16px 0;
  padding: 13px 18px;
  box-shadow: 0 6px 14px -10px rgba(29, 45, 95, 0.2);
}

.hero-stats {
  border-top-color: rgba(29, 45, 95, 0.1);
}

.hero-stat-value {
  color: var(--clay-ink);
  font-size: 1.9rem;
}

.hero-stat-value span {
  color: var(--clay-blue);
}

.hero-stat-label {
  color: var(--clay-muted);
}

.btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 5px solid rgba(20, 45, 140, 0.24);
  box-shadow: 0 10px 18px -12px rgba(32, 48, 96, 0.4);
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn:active {
  transform: translateY(1px);
  border-bottom-width: 2px;
  box-shadow: var(--clay-shadow-pressed);
}

.btn-primary {
  background: linear-gradient(135deg, var(--clay-blue), var(--clay-blue-deep));
  border-bottom-color: rgba(20, 45, 140, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5f89ff, #3b5fd8);
  box-shadow: 0 16px 26px -14px rgba(52, 86, 201, 0.5);
}

.btn-outline {
  color: var(--clay-ink);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(29, 45, 95, 0.1);
  border-bottom-color: rgba(29, 45, 95, 0.14);
}

.btn-outline:hover {
  color: var(--clay-blue-deep);
  border-color: rgba(77, 124, 254, 0.3);
  background: #ffffff;
}

.btn-outline-dark {
  color: var(--clay-ink);
  background: #ffffff;
  border-color: rgba(29, 45, 95, 0.1);
  border-bottom-color: rgba(29, 45, 95, 0.14);
}

.btn-outline-dark:hover {
  color: var(--clay-blue-deep);
  border-color: rgba(77, 124, 254, 0.32);
  background: #ffffff;
}

/* Clay dashboard */
.hero-clay {
  position: relative;
  min-width: 0;
}

.clay-dashboard {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(29, 45, 95, 0.07);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--clay-shadow);
  transform: rotate(1.2deg);
}

.clay-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.clay-dash-title {
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--clay-ink);
}

.clay-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family-code);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--clay-green);
  background: rgba(53, 201, 143, 0.12);
  padding: 5px 10px;
  border-radius: 999px;
}

.clay-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay-green);
  animation: clayPulse 1.8s ease-in-out infinite;
}

@keyframes clayPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.clay-gauge {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--clay-cream);
  border: 1px solid rgba(29, 45, 95, 0.05);
  border-radius: 22px;
  margin-bottom: 16px;
}

.clay-gauge-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--clay-blue) 0 78%, #E4E1F5 78% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -6px 10px rgba(52, 86, 201, 0.12);
}

.clay-gauge-ring::before {
  content: '';
  position: absolute;
  inset: 13px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: inset 0 4px 10px rgba(29, 45, 95, 0.06);
}

.clay-gauge-ring span,
.clay-gauge-ring small {
  position: relative;
  z-index: 1;
}

.clay-gauge-ring span {
  font-family: var(--font-family-code);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clay-ink);
  line-height: 1;
}

.clay-gauge-ring small {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clay-muted);
  margin-top: 4px;
}

.clay-gauge-side {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.clay-gauge-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 0.68rem;
  color: var(--clay-muted);
}

.clay-gauge-row b {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #EAE7F8;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(29, 45, 95, 0.08);
}

.clay-gauge-row i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clay-blue), var(--clay-coral));
}

.clay-engines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.clay-engines span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--clay-ink-soft);
  background: var(--clay-cream);
  border: 1px solid rgba(29, 45, 95, 0.05);
  border-bottom: 3px solid rgba(29, 45, 95, 0.08);
  border-radius: 999px;
  padding: 6px 11px;
}

.clay-dash-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.clay-dash-foot span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0E9E6E;
  background: rgba(53, 201, 143, 0.12);
  border-radius: 999px;
  padding: 7px 12px;
}

.clay-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(29, 45, 95, 0.06);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clay-ink);
  box-shadow: var(--clay-shadow);
}

.clay-chip b {
  font-family: var(--font-family-code);
  color: var(--clay-coral);
}

.clay-chip-1 {
  top: -16px;
  left: -18px;
  transform: rotate(-4deg);
}

.clay-chip-2 {
  bottom: -18px;
  right: -12px;
  transform: rotate(3deg);
}

/* Page hero */
.page-hero {
  background: var(--clay-cream);
  padding: 150px 0 88px;
}

.page-hero .hero-grid {
  opacity: 0.5;
  mask-image: none;
  -webkit-mask-image: none;
}

.page-hero::after {
  display: none;
}

.page-hero-content h1 {
  color: var(--clay-ink);
  font-size: 2.6rem;
  letter-spacing: 0;
}

.page-hero-content p {
  color: var(--clay-muted);
  font-size: 1.05rem;
}

/* Cards: puffy clay */
.card,
.tech-card,
.studio-card,
.standard-card,
.pricing-card,
.case-card,
.solution-card,
.article-card,
.cert-card,
.value-block,
.principle-card,
.flow-step,
.faq-item,
.hub-card,
.doc-card {
  border-radius: 24px !important;
  border: 1px solid rgba(29, 45, 95, 0.07) !important;
  background: #ffffff !important;
  box-shadow: var(--clay-shadow);
}

.card:hover,
.tech-card:hover,
.studio-card:hover,
.standard-card:hover,
.pricing-card:hover,
.case-card:hover,
.solution-card:hover,
.article-card:hover,
.cert-card:hover,
.value-block:hover,
.faq-item:hover,
.hub-card:hover,
.doc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 124, 254, 0.28) !important;
  box-shadow: 0 26px 44px -20px rgba(32, 48, 96, 0.34), 0 6px 14px rgba(32, 48, 96, 0.06), inset 0 -7px 14px rgba(62, 78, 122, 0.05);
}

.card::before,
.studio-card::after {
  background: linear-gradient(90deg, var(--clay-blue), var(--clay-coral));
}

.card-icon,
.studio-icon,
.value-block-icon {
  background: linear-gradient(135deg, rgba(77, 124, 254, 0.14), rgba(255, 122, 107, 0.14));
  color: var(--clay-blue-deep);
  border-radius: 16px !important;
  box-shadow: inset 0 -3px 6px rgba(52, 86, 201, 0.08);
}

.card h4,
.tech-card h4,
.studio-card h4,
.standard-card h4,
.pricing-name,
.case-card h4,
.solution-card h4,
.article-card h4,
.cert-card h4,
.value-block h4 {
  letter-spacing: 0;
  color: var(--clay-ink);
}

.card p,
.tech-card p,
.studio-card p,
.standard-card p,
.pricing-desc,
.case-card .case-desc,
.solution-card p,
.article-card p,
.cert-card p,
.value-block p {
  color: var(--clay-muted);
}

.tech-card-badge {
  background: var(--clay-coral);
  border-radius: 0 0 999px 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 0 rgba(190, 74, 63, 0.25);
}

.standard-card-code {
  color: var(--clay-blue-deep);
}

.full-name {
  color: var(--clay-muted) !important;
}

/* Studio */
.studio-num {
  color: rgba(52, 86, 201, 0.65);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.studio-icon {
  width: 48px;
  height: 48px;
  font-size: 22px;
}

.studio-cn {
  color: var(--clay-muted);
}

/* Pricing */
.pricing-card.featured {
  background: linear-gradient(180deg, #F0F5FF 0%, #ffffff 70%) !important;
  border-color: rgba(77, 124, 254, 0.3) !important;
  transform: none;
}

.pricing-card.featured:hover {
  transform: translateY(-6px);
}

.pricing-badge {
  background: linear-gradient(135deg, var(--clay-coral), var(--clay-amber));
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(190, 74, 63, 0.22);
}

.pricing-amount {
  color: var(--clay-ink);
  font-size: 2rem;
}

.pricing-features li {
  color: var(--clay-muted);
  border-bottom-color: rgba(29, 45, 95, 0.07);
}

.pricing-features li::before {
  color: var(--clay-green);
}

/* Solutions */
.icon-block {
  border-radius: 16px !important;
  box-shadow: inset 0 -3px 6px rgba(29, 45, 95, 0.06);
}

.solution-card h4 {
  font-size: 1.05rem;
}

/* Cases */
.case-tag.geo {
  background: rgba(77, 124, 254, 0.12);
  color: var(--clay-blue-deep);
  border-radius: 999px;
}

.case-tag.agent {
  background: rgba(53, 201, 143, 0.14);
  color: #0E9E6E;
  border-radius: 999px;
}

.case-metrics {
  border-top-color: rgba(29, 45, 95, 0.08);
}

.case-metric-value {
  color: var(--clay-blue);
}

/* Research */
.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card-link:hover .article-card {
  transform: translateY(-6px);
  border-color: rgba(77, 124, 254, 0.28);
  box-shadow: 0 26px 44px -20px rgba(32, 48, 96, 0.34);
}

.article-tag {
  border-radius: 999px;
}

.article-tag.insight {
  background: rgba(255, 184, 77, 0.2);
  color: #A8640C;
}

.article-tag.report {
  background: rgba(53, 201, 143, 0.14);
  color: #0E9E6E;
}

/* Technology bands */
.arch-layer,
.layer-row {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 -5px 10px rgba(20, 45, 140, 0.08);
}

.arch-layer:hover,
.layer-row:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.arch-layer-label,
.layer-index {
  color: #FFD36B;
}

.layer-name {
  color: #ffffff;
}

.layer-desc,
.arch-layer p {
  color: rgba(255, 255, 255, 0.9);
}

.arch-connector {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
}

.maturity-level {
  border-radius: 18px;
  border-color: rgba(29, 45, 95, 0.08);
  background: var(--clay-cream);
  box-shadow: inset 0 -4px 8px rgba(29, 45, 95, 0.05);
}

.maturity-level.highlight {
  background: var(--clay-blue);
  border-color: var(--clay-blue-deep);
  box-shadow: 0 10px 0 rgba(52, 86, 201, 0.18), inset 0 -5px 8px rgba(20, 45, 140, 0.18);
}

.ml-code {
  color: var(--clay-blue-deep);
}

.maturity-level.highlight .ml-code,
.maturity-level.highlight .ml-name {
  color: #ffffff;
}

/* Cert */
.cert-icon {
  font-size: 42px;
}

.cert-code {
  color: var(--clay-blue-deep);
}

/* Contact */
.contact-grid h3,
.contact-info h3 {
  font-size: 1.35rem;
}

.contact-info-item {
  color: var(--clay-muted);
}

.contact-info-icon {
  color: var(--clay-blue-deep);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid rgba(29, 45, 95, 0.1);
  border-radius: 16px;
  color: var(--clay-ink);
  box-shadow: inset 0 3px 7px rgba(29, 45, 95, 0.05);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--clay-blue);
  box-shadow: 0 0 0 4px rgba(77, 124, 254, 0.14);
}

.flow-step::before {
  background: linear-gradient(135deg, var(--clay-blue), var(--clay-coral));
  box-shadow: 0 4px 0 rgba(52, 86, 201, 0.24);
}

.flow-step h5 {
  font-size: 0.9rem;
}

.flow-step p {
  color: var(--clay-muted);
}

/* Tables */
.compare-table th,
.data-table thead th {
  color: var(--clay-muted);
  border-bottom-color: rgba(29, 45, 95, 0.12);
}

.compare-table td,
.data-table tbody td {
  color: var(--clay-muted);
  border-bottom-color: rgba(29, 45, 95, 0.07);
}

.compare-table tr:hover td,
.data-table tbody tr:hover td {
  background: rgba(77, 124, 254, 0.06);
}

.compare-table .geo-col,
.data-table .val-highlight {
  color: var(--clay-blue-deep);
}

/* Principle cards */
.principle-card {
  border-left: none !important;
  border-bottom: 5px solid var(--clay-blue);
  border-radius: 20px !important;
}

.principle-card h4 {
  color: var(--clay-blue-deep);
}

/* FAQ */
.faq-item.active {
  border-color: rgba(77, 124, 254, 0.25);
}

.faq-question {
  border-radius: 24px;
}

.faq-question:hover {
  color: var(--clay-blue-deep);
  background: rgba(77, 124, 254, 0.06);
}

.faq-icon::before,
.faq-icon::after {
  background: var(--clay-blue);
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol,
.faq-answer li {
  color: var(--clay-muted);
}

.faq-answer p strong,
.faq-answer li strong {
  color: var(--clay-ink);
}

/* Docs */
.doc-card {
  border-radius: 24px !important;
  border-color: rgba(29, 45, 95, 0.07) !important;
  background: #ffffff !important;
  box-shadow: var(--clay-shadow);
}

.doc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 124, 254, 0.3) !important;
  box-shadow: 0 24px 40px -20px rgba(32, 48, 96, 0.34);
}

.doc-card-icon {
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(77, 124, 254, 0.14), rgba(255, 122, 107, 0.14)) !important;
}

.doc-card-body h3 {
  letter-spacing: 0;
}

.doc-card-body p {
  color: var(--clay-muted);
}

/* Code chips */
.code-text {
  color: var(--clay-blue-deep);
  background: rgba(77, 124, 254, 0.09);
  border-radius: 999px;
  padding: 3px 11px;
}

.data-highlight,
.stat-value {
  color: var(--clay-blue);
}

/* Homepage hub */
.hub-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.hub-card {
  min-height: 172px;
  padding: 26px 24px;
}

.hub-card:nth-child(3n + 1) .hub-icon {
  background: linear-gradient(135deg, rgba(77, 124, 254, 0.16), rgba(255, 184, 77, 0.16));
}

.hub-card:nth-child(3n + 2) .hub-icon {
  background: linear-gradient(135deg, rgba(255, 122, 107, 0.16), rgba(255, 184, 77, 0.18));
}

.hub-card:nth-child(3n + 3) .hub-icon {
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.16), rgba(77, 124, 254, 0.16));
}

.hub-arrow {
  color: var(--clay-blue);
}

.hub-cta {
  margin-top: 48px;
}

/* Insight band */
.insight-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.insight-grid a {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  box-shadow: inset 0 -6px 10px rgba(20, 45, 140, 0.08);
}

.insight-grid a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.insight-grid strong {
  color: #FFD36B;
}

.insight-grid span {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background: var(--clay-ink);
  color: rgba(255, 255, 255, 0.78);
  border-top: 8px solid var(--clay-coral);
  padding-top: 64px;
}

.footer-brand h3,
.footer-col h4 {
  color: #ffffff;
}

.footer-col h4 {
  letter-spacing: 0.08em;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.66);
}

.footer-col a:hover {
  color: #FFD36B;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 24px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 44px 24px 76px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .page-hero {
    padding: 128px 0 72px;
  }

  .page-hero-content h1 {
    font-size: 2.1rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .studio-grid,
  .pricing-grid,
  .value-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .value-grid {
    gap: 32px;
  }

  .maturity-scale {
    flex-wrap: wrap;
  }

  .maturity-level {
    min-width: 76px;
  }

  .flow-steps {
    flex-wrap: wrap;
  }

  .flow-step {
    min-width: 130px;
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(29, 45, 95, 0.08);
    width: min(320px, 88vw);
    padding: 96px 20px 40px;
  }

  .nav-links a {
    color: var(--clay-ink-soft);
    border-radius: 999px;
    padding: 11px 14px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(77, 124, 254, 0.1);
    color: var(--clay-blue-deep);
  }

  .nav-overlay {
    background: rgba(28, 57, 142, 0.35);
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 36px 20px 64px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-clay {
    margin: 0 10px;
  }

  .clay-dashboard {
    transform: none;
    padding: 20px;
  }

  .clay-gauge {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .clay-gauge-side {
    width: 100%;
  }

  .clay-chip {
    display: none;
  }

  .page-hero-content h1 {
    font-size: 1.75rem;
  }

  .page-hero-content p {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.92rem;
  }

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

  .hub-card {
    min-height: 0;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}


/* Flat inline icons */
.icon-inline {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.18em;
  flex-shrink: 0;
}

.icon-inline + .icon-inline {
  margin-left: 2px;
}

.studio-icon svg,
.card-icon svg,
.value-block-icon svg,
.hub-icon svg,
.icon-block svg,
.contact-info-icon svg,
.doc-card-icon svg,
.cert-icon svg {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}


/* Icon container sizing for flat inline icons */
.value-block-icon,
.contact-info-icon,
.cert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-block-icon {
  width: 20px;
  height: 20px;
}

.contact-info-icon {
  width: 20px;
  height: 20px;
  margin-top: 0;
}

.cert-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}
