/* ============================================
   若谷家庭顾问 - 全局样式 v2
   OKLCH 语义化色板 | WCAG AA 对比度合规
   ============================================ */

:root {
  /* ---------- 品牌色 (OKLCH) ---------- */
  --brand-teal:       oklch(0.68 0.135 172);     /* 主品牌色：清新蓝灰 */
  --brand-teal-light: oklch(0.82 0.065 172);     /* 浅色变体 */
  --brand-teal-dark:  oklch(0.52 0.135 172);     /* 深色变体 */
  
  --brand-warm:       oklch(0.62 0.195 42);      /* 暖橙引导 */
  --brand-warm-light: oklch(0.78 0.145 42);      /* 浅色变体 */
  --brand-warm-dark:  oklch(0.48 0.195 42);      /* 深色变体 */
  
  --brand-alert:      oklch(0.50 0.205 22);      /* 警示红（降低饱和度） */
  --brand-success:    oklch(0.62 0.195 135);     /* 成功绿（从荧光改为可读绿色） */
  
  --ink-900:          oklch(0.22 0.02 264);      /* 最深墨色 */
  --ink-700:          oklch(0.35 0.025 264);     /* 正文深灰 */
  --ink-500:          oklch(0.50 0.03 264);      /* 次要文字 */
  --ink-300:          oklch(0.68 0.02 264);      /* 辅助文字 */
  --ink-100:          oklch(0.92 0.01 264);      /* 极浅灰 */

  /* ---------- 背景与表面 ---------- */
  --surface-white:    oklch(1 0 0);
  --surface-page:     oklch(0.985 0.005 100);     /* 极暖白 */
  --surface-soft:     oklch(0.965 0.015 172);     /* 品牌色淡 tint */
  --surface-card:     oklch(1 0 0);
  --surface-elevated: oklch(0.98 0.005 100);

  /* ---------- 边框 ---------- */
  --border-default:   oklch(0.88 0.015 172 / 0.5);
  --border-strong:    oklch(0.78 0.03 172 / 0.6);

  /* ---------- 语义 Token ---------- */
  --text-primary:     var(--ink-700);
  --text-secondary:   oklch(0.50 0.025 264 / 0.72);
  --text-muted:       var(--brand-teal);
  --text-on-brand:    var(--surface-white);
  
  --action-guide:         var(--brand-warm);
  --action-guide-hover:   var(--brand-warm-dark);
  --action-guide-active:  oklch(0.42 0.195 42);
  --action-success:       var(--brand-success);
  --action-danger:        var(--brand-alert);
  --state-disabled:       oklch(0.70 0.015 264);

  /* ---------- 阴影 ---------- */
  --shadow-sm:    0 1px 3px oklch(0 0 0 / 0.04), 0 1px 2px oklch(0 0 0 / 0.06);
  --shadow-md:    0 4px 12px oklch(0 0 0 / 0.05), 0 2px 6px oklch(0 0 0 / 0.08);
  --shadow-lg:    0 10px 30px oklch(0 0 0 / 0.06), 0 4px 12px oklch(0 0 0 / 0.1);
  --shadow-xl:    0 20px 40px oklch(0 0 0 / 0.08), 0 8px 20px oklch(0 0 0 / 0.12);
  --shadow-glow:  0 0 30px oklch(0.68 0.135 172 / 0.15);

  /* ---------- 圆角 ---------- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* ---------- 过渡 ---------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.75;
  background: var(--surface-page);
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* 排版系统 */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 12px;
}

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

/* ============================================
   导航栏
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo img {
  height: 38px;
  width: auto;
  transition: transform var(--duration-normal) var(--ease-out);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-alert);
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--ink-300);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  padding: 8px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-warm);
  background: oklch(0.96 0.02 42 / 0.15);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--brand-warm);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--action-guide) !important;
  color: var(--text-on-brand) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  border: none;
  min-width: auto;
  justify-content: center;
  box-shadow: 0 2px 8px oklch(0.62 0.195 42 / 0.25);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--action-guide-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px oklch(0.62 0.195 42 / 0.35);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-out);
}

.mobile-toggle:hover {
  background: var(--surface-soft);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--brand-warm);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

/* 汉堡菜单动画 */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

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

/* ============================================
   Hero 区域
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 40%, oklch(0.965 0.015 172 / 0.6), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, oklch(0.96 0.02 42 / 0.25), transparent),
    linear-gradient(180deg, var(--surface-soft) 0%, var(--surface-page) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

/* 装饰性背景元素 */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, oklch(0.68 0.135 172 / 0.08), transparent 65%);
  border-radius: 50%;
  animation: heroFloat 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, oklch(0.62 0.195 42 / 0.06), transparent 65%);
  border-radius: 50%;
  animation: heroFloat 25s ease-in-out infinite reverse;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-left .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  color: var(--brand-teal-dark);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid oklch(0.92 0.02 172);
}

.hero-left .hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand-warm);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-left h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--ink-900);
  letter-spacing: -0.03em;
}

.hero-left h1 .highlight {
  color: var(--brand-warm);
  position: relative;
}

.hero-left h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: oklch(0.62 0.195 42 / 0.15);
  border-radius: 3px;
  z-index: -1;
}

.hero-left .subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  min-height: 48px;
}

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

.btn-primary {
  background: var(--action-guide);
  color: var(--text-on-brand);
  box-shadow: 0 4px 16px oklch(0.62 0.195 42 / 0.3);
}

.btn-primary:hover {
  background: var(--action-guide-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px oklch(0.62 0.195 42 / 0.4);
}

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

.btn-outline:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal-dark);
  background: var(--surface-soft);
}

.hero-stats {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.hero-logo-wrap {
  width: clamp(200px, 25vw, 320px);
  height: clamp(200px, 25vw, 320px);
  background: var(--surface-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid oklch(0.92 0.02 172);
  position: relative;
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero-logo-wrap:hover {
  transform: scale(1.03);
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed oklch(0.88 0.02 172 / 0.4);
  animation: spin 60s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-logo-wrap img {
  width: 60%;
  height: auto;
}

/* ============================================
   通用 Section
   ============================================ */
.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

/* ============================================
   关于我们 - 双栏布局
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface-soft);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.about-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   产品卡片
   ============================================ */
.product-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.product-card-header {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--text-on-brand);
}

.product-card-header.orange { background: var(--brand-warm); }
.product-card-header.red { background: var(--brand-alert); }
.product-card-header.blue { background: var(--brand-teal); }

.product-card-header h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.product-card-header p {
  font-size: 0.82rem;
  opacity: 0.85;
}

.product-card-body {
  padding: 20px 24px;
}

.product-card-body ul {
  list-style: none;
}

.product-card-body li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid oklch(0.94 0.01 100 / 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card-body li:last-child {
  border-bottom: none;
}

.product-card-body li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ============================================
   服务卡片
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--text-on-brand);
}

.service-icon.orange  { background: var(--brand-warm); }
.service-icon.blue    { background: var(--brand-teal); }
.service-icon.green   { background: var(--brand-success); }

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   文化卡片
   ============================================ */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.culture-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.culture-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.culture-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-on-brand);
}

.culture-icon.orange  { background: var(--brand-warm); }
.culture-icon.blue    { background: var(--brand-teal); }
.culture-icon.green   { background: var(--brand-success); }

.culture-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   评估卡片
   ============================================ */
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.assessment-card {
  display: flex;
  gap: 18px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.assessment-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.assessment-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assessment-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-on-brand);
}

.assessment-icon.orange  { background: var(--brand-warm); }
.assessment-icon.blue    { background: var(--brand-teal); }
.assessment-icon.green   { background: var(--brand-success); }

.assessment-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.assessment-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 维度标签 */
.assessment-dimensions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.dimension-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--surface-soft);
  color: var(--brand-teal-dark);
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid oklch(0.92 0.02 172);
}

/* ============================================
   流程步骤
   ============================================ */
.process-steps {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16px + 24px);
  right: calc(16px + 24px);
  height: 2px;
  background: linear-gradient(90deg, 
    var(--brand-warm), 
    var(--brand-teal), 
    var(--brand-success), 
    var(--brand-warm), 
    var(--brand-teal));
  border-radius: 1px;
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--surface-card);
  border: 2px solid var(--brand-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-warm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.step:hover .step-num {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ============================================
   理论体系块
   ============================================ */
.theory-content {
  max-width: 820px;
  margin: 0 auto;
}

.theory-block {
  padding: 24px 0;
  border-bottom: 1px solid oklch(0.92 0.01 100 / 0.6);
}

.theory-block:last-child {
  border-bottom: none;
}

.theory-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theory-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--surface-soft);
  color: var(--brand-teal-dark);
  border: 1px solid oklch(0.92 0.02 172);
  white-space: nowrap;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--brand-warm), var(--brand-warm-dark));
  padding: clamp(48px, 7vw, 80px) 0;
  text-align: center;
  color: var(--text-on-brand);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, oklch(1 0 0 / 0.08), transparent 60%);
  transform: rotate(15deg);
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
}

.cta-section .btn-primary {
  background: var(--text-on-brand);
  color: var(--brand-warm-dark);
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.15);
  position: relative;
}

.cta-section .btn-primary:hover {
  background: var(--surface-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px oklch(0 0 0 / 0.2);
}

/* ============================================
   子页面 Header
   ============================================ */
.page-header {
  padding: clamp(120px, 15vw, 160px) 0 clamp(48px, 8vw, 80px);
  background: 
    radial-gradient(ellipse 60% 50% at 80% 20%, oklch(0.965 0.015 172 / 0.5), transparent),
    linear-gradient(180deg, var(--surface-soft), var(--surface-page));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, oklch(0.68 0.135 172 / 0.06), transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 10px;
  position: relative;
  letter-spacing: -0.03em;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  position: relative;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink-900);
  color: oklch(0.75 0.01 264 / 0.7);
  padding: clamp(40px, 6vw, 64px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 36px;
}

.footer-brand h3 {
  color: var(--text-on-brand);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--brand-warm-light);
  font-size: 0.85rem;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--brand-warm-light);
}

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ============================================
   滚动动画
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 交错动画延迟 */
.fade-in:nth-child(2) { transition-delay: 80ms; }
.fade-in:nth-child(3) { transition-delay: 160ms; }
.fade-in:nth-child(4) { transition-delay: 240ms; }
.fade-in:nth-child(5) { transition-delay: 320ms; }

/* ============================================
   表单样式
   ============================================ */
form input,
form select,
form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  background: var(--surface-soft);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px oklch(0.68 0.135 172 / 0.12);
  background: var(--surface-white);
}

form input::placeholder,
form textarea::placeholder {
  color: var(--ink-300);
  opacity: 0.7;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .services-grid,
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface-white);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-default);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-left .subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-logo-wrap {
    width: 200px;
    height: 200px;
  }
  .hero-logo-wrap img {
    width: 65%;
  }
  .about-grid,
  .theory-content {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .products-grid,
  .culture-grid,
  .assessment-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    flex-direction: column;
    gap: 24px;
  }
  .process-steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .assessment-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   表单容器
   ============================================ */
.form-container {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 36px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-default);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-actions {
  margin-top: 8px;
}

.form-actions .btn {
  width: 100%;
}

/* ============================================
   Skip Link (Accessibility)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink-900);
  color: var(--surface-white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 10000;
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--brand-warm);
  outline-offset: 2px;
}

/* ============================================
   Focus Visible (Accessibility)
   ============================================ */
*:focus-visible {
  outline: 3px solid var(--brand-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
  padding: clamp(56px, 8vw, 100px) 0;
  background: var(--surface-page);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote-icon {
  width: 36px;
  height: 36px;
  color: oklch(0.88 0.02 172 / 0.4);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============================================
   Image container utilities
   ============================================ */
.img-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-soft);
}
