/* ============================================
   理想智学教育科技有限公司 - 企业官网
   理想树AI自主学习中心
   视觉风格：简约大气 · 绿+蓝双主色
   品牌色：活力绿 #95d600 + 科技蓝 #0055b8
   ============================================ */

/* ===== CSS Variables / Design Tokens ===== */
:root {
  /* Brand Colors - 双主色 */
  --color-primary: #95d600;          /* 活力绿 - 主色 */
  --color-primary-dark: #6ba800;     /* 深绿（hover态） */
  --color-primary-light: #e8f7c8;    /* 浅绿（背景） */
  --color-primary-lighter: #f5fbe5;  /* 更浅绿（卡片背景） */
  --color-secondary: #0055b8;        /* 科技蓝 - 辅色 */
  --color-secondary-dark: #003d85;   /* 深蓝（hover态） */
  --color-secondary-light: #e0ecf9;  /* 浅蓝（背景） */
  --color-secondary-lighter: #f0f6fc;/* 更浅蓝（卡片背景） */
  --color-accent: #0055b8;           /* 强调色沿用蓝色 */
  --color-accent-dark: #003d85;
  --color-accent-light: #e0ecf9;

  /* Brand Gradient */
  --gradient-brand: linear-gradient(135deg, #95d600 0%, #0055b8 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(149,214,0,0.1) 0%, rgba(0,85,184,0.1) 100%);

  /* Neutral Colors */
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fc;
  --color-bg-dark: #0d1b2a;
  --color-text: #1a2332;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-border: #e2e8f0;
  --color-border-light: #edf0f4;

  /* Typography */
  --font-heading: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;

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

  /* Layout */
  --container-width: 1200px;
  --container-narrow: 800px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --shadow-brand: 0 8px 30px rgba(149,214,0,0.25);
  --shadow-blue: 0 8px 30px rgba(0,85,184,0.20);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ===== Layout Utilities ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

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

.section-bg-primary {
  background: var(--gradient-brand);
  color: #fff;
}

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

.section-bg-gradient {
  background: linear-gradient(135deg, #003d85 0%, #0055b8 50%, #6ba800 100%);
  color: #fff;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin: 0 auto;
}

.text-primary { color: var(--color-primary); }
.text-secondary-color { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: #fff; }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }

/* ===== Header / Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

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

.logo-text .logo-main {
  font-size: 1.125rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text .logo-sub {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
}

.nav-link.active {
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  font-weight: 600;
}

.nav-cta {
  margin-left: var(--space-xs);
}

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

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

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 14px 20px;
  font-size: 1.0625rem;
  border-radius: var(--radius-sm);
}

.mobile-nav .btn {
  margin-top: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: #1a2332;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-gradient {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(149,214,0,0.30);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: #1a2332;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-secondary);
  border-color: #fff;
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #003d85 0%, #0055b8 40%, #6ba800 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(149,214,0,0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 35%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s infinite;
}

.hero-title-text {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.hero-title-text .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero-title-text .highlight-blue {
  color: var(--color-primary);
  position: relative;
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-md);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Hero illustration card */
.hero-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.hero-card-tag {
  font-size: 0.6875rem;
  padding: 3px 10px;
  background: var(--color-primary);
  color: #1a2332;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition-base);
}

.hero-card-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(149,214,0,0.2);
  flex-shrink: 0;
}

.hero-card-text {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-card-sub {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  z-index: 2;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .arrow::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header.text-left {
  text-align: left;
  margin-bottom: var(--space-md);
}

.section-header .section-subtitle {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ===== Cards / Grid ===== */
.grid {
  display: grid;
  gap: var(--space-sm);
}

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  background: var(--gradient-brand);
  transform: scale(1.05);
}

.card:hover .card-icon svg {
  filter: brightness(10);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-icon.accent {
  background: var(--color-secondary-light);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

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

.card-list {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ===== Stats Section ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.stat-item {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-num .unit {
  font-size: 0.5em;
  font-weight: 600;
  margin-left: 4px;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

/* On dark background */
.section-bg-dark .stat-num,
.section-bg-gradient .stat-num {
  color: var(--color-primary);
}

.section-bg-dark .stat-label,
.section-bg-gradient .stat-label {
  color: rgba(255,255,255,0.75);
}

/* ===== Feature List / Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-sm);
}

.process-step {
  position: relative;
  padding: var(--space-md);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.process-step:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.process-num {
  position: absolute;
  top: -16px;
  left: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}

.process-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}

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

/* ===== 五步学习法 - 环状高端布局 ===== */
.loop-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.loop-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 26%; height: 26%;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,85,184,0.25), 0 0 0 8px rgba(149,214,0,0.12);
  z-index: 3;
}

.loop-center-icon { font-size: 1.5rem; line-height: 1; margin-bottom: 4px; }
.loop-center-title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 1px; }

.loop-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.loop-node {
  position: absolute;
  width: 30%;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  z-index: 2;
}

.loop-node:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(149,214,0,0.18);
  transform: scale(1.06);
}

.loop-node-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.loop-node-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.loop-node-title { font-size: 0.9375rem; font-weight: 700; color: var(--color-text); }
.loop-node-desc { font-size: 0.75rem; color: var(--color-text-secondary); line-height: 1.6; margin: 0; }

/* 五边形分布 */
.loop-node:nth-child(2) { top: 0%; left: 35%; }
.loop-node:nth-child(3) { top: 28%; right: -2%; }
.loop-node:nth-child(4) { bottom: 2%; right: 12%; }
.loop-node:nth-child(5) { bottom: 2%; left: 12%; }
.loop-node:nth-child(6) { top: 28%; left: -2%; }

/* 节点配色 */
.loop-node:nth-child(2) .loop-node-badge { background: #95d600; }
.loop-node:nth-child(3) .loop-node-badge { background: #4cc000; }
.loop-node:nth-child(4) .loop-node-badge { background: #0055b8; }
.loop-node:nth-child(5) .loop-node-badge { background: #0073e6; }
.loop-node:nth-child(6) .loop-node-badge { background: #0098db; }

@media (max-width: 768px) {
  .loop-wrap { max-width: 100%; aspect-ratio: auto; height: auto; }
  .loop-ring { display: none; }
  .loop-center {
    position: relative; top: auto; left: auto;
    transform: none;
    width: 120px; height: 120px;
    margin: 0 auto var(--space-md);
  }
  .loop-node {
    position: relative !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    width: 100% !important;
    margin-bottom: var(--space-sm);
  }
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-brand);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-md);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-primary);
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(149,214,0,0.15);
}

.timeline-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 4px;
}

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

/* ===== Values / Culture ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.value-card {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-primary-lighter);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

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

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-brand);
}

.value-card:hover .value-icon {
  transform: scale(1.08) rotate(-5deg);
}

.value-icon svg {
  width: 32px;
  height: 32px;
  filter: brightness(10);
}

.value-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

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

/* ===== CTA Section ===== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: var(--gradient-brand);
  color: #fff;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-xs);
}

.cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-md);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 2fr) 3fr;
  gap: var(--space-lg);
  align-items: start;
  scroll-margin-top: 96px;
}

/* 左侧栏：福利 + 联系方式，桌面端随滚动吸顶 */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: 96px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  transition: all var(--transition-base);
}

.contact-info-item:hover {
  background: var(--color-primary-lighter);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-brand);
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(10);
}

.contact-info-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

/* 微信二维码行（带图） */
.contact-info-item.with-qr {
  align-items: center;
  justify-content: space-between;
}

.contact-info-item.with-qr .contact-info-text {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
}

.contact-info-qr {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.contact-info-item.with-qr:hover .contact-info-qr {
  transform: scale(1.06);
}

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

/* ===== 微信二维码专享展示卡片 ===== */
.qr-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
  max-width: 360px;
  margin: 0 auto;
}

.qr-card-img {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.qr-card-text h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.qr-card-text p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.qr-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .qr-card { flex-direction: column; text-align: center; padding: var(--space-sm); }
  .qr-card-img { width: 110px; height: 110px; }
}

.contact-form {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* 品牌渐变顶条 */
.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

/* 表单卡片头部 */
.form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-sm);
}

.form-head-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-brand);
}

.form-head-badge svg {
  width: 24px;
  height: 24px;
  filter: brightness(10);
}

.form-head-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}

.form-head-sub {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin: 4px 0 0;
  line-height: 1.5;
}

/* 福利标签行 */
.form-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.form-benefit-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(149, 214, 0, 0.14);
  border: 1px solid rgba(149, 214, 0, 0.35);
  color: #3d6b00;
  font-size: 0.8125rem;
  font-weight: 600;
}

.form-benefit-chip + .form-benefit-chip {
  background: rgba(0, 85, 184, 0.08);
  border-color: rgba(0, 85, 184, 0.25);
  color: var(--color-primary-dark, #0055b8);
}

.form-benefit-chip + .form-benefit-chip + .form-benefit-chip {
  background: rgba(149, 214, 0, 0.14);
  border-color: rgba(149, 214, 0, 0.35);
  color: #3d6b00;
}

/* 保密说明 / 兜底链接 */
.form-privacy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-privacy svg {
  flex-shrink: 0;
}

.form-fallback {
  font-size: 0.8125rem;
  text-align: center;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

.form-fallback a {
  color: var(--color-primary-dark, #0055b8);
  font-weight: 600;
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(149,214,0,0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-submit {
  width: 100%;
  margin-top: var(--space-xs);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-md);
}

.form-success.active {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  background: #fff;
  transition: all var(--transition-fast);
}

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

.faq-item.active .faq-question {
  color: var(--color-primary-dark);
  background: var(--color-primary-lighter);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ===== Certifications ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: all var(--transition-base);
}

.cert-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cert-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-xs);
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon svg {
  width: 24px;
  height: 24px;
}

.cert-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-sm);
}

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

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

.footer-col h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ===== Page Banner (for sub-pages) ===== */
.page-banner {
  position: relative;
  padding: 140px 0 var(--space-xl);
  background: linear-gradient(160deg, #003d85 0%, #0055b8 60%, #6ba800 100%);
  color: #fff;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(149,214,0,0.15) 0%, transparent 50%);
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.page-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-sm);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ===== Split Content (Image + Text) ===== */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.split-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.split-text p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.split-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.split-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.split-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.split-feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.split-feature-content p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.split-visual {
  position: relative;
}

/* Illustration container */
.illustration {
  border-radius: var(--radius-lg);
  background: var(--gradient-brand-soft);
  border: 1px solid var(--color-border-light);
  padding: var(--space-md);
  overflow: hidden;
  position: relative;
}

/* ===== Product Showcase ===== */
.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.product-visual {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-lighter) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card:nth-child(even) .product-visual {
  background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-secondary-lighter) 100%);
}

.product-visual svg {
  width: 80px;
  height: 80px;
  z-index: 1;
}

.product-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.product-card:nth-child(even) .product-tag {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-sm);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.product-feature-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
}

/* ===== Team / Teacher Cards ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-sm);
}

.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
}

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

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

/* 真人照片头像 */
.team-photo {
  width: 100%;
  height: 220px;
  background: var(--gradient-brand);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.5s ease;
}

/* 文字头像（无照片时） */
.team-avatar {
  width: 100%;
  height: 180px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

/* 科目徽章（卡片右上角） */
.team-subject {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

.team-info {
  padding: var(--space-md);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.875rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

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

@media (max-width: 480px) {
  .team-photo { height: 200px; }
  .team-photo img { object-position: center 18%; }
}

/* ===== Course System / 课程体系 ===== */
.course-stage {
  margin-bottom: var(--space-lg);
}
.course-stage:last-child { margin-bottom: 0; }

.course-stage-head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-xs);
}

.course-stage-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 2px 6px rgba(0, 85, 184, 0.18);
}

.course-stage-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
}

.course-stage-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-left: auto;
}

.course-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  background: #fff;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 720px;
}

.course-table thead th {
  background: var(--gradient-brand);
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  font-size: 0.9375rem;
}

.course-table thead th:first-child {
  background: linear-gradient(135deg, #4cc000 0%, #95d600 100%);
  border-top-left-radius: var(--radius-lg);
}

.course-table thead th:last-child {
  border-top-right-radius: var(--radius-lg);
}

.course-table tbody td {
  padding: 11px 14px;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text);
}

.course-table tbody tr:nth-child(even) {
  background: #f8fbf3;
}

.course-table tbody tr:hover {
  background: var(--color-primary-lighter);
}

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

.course-table .row-label {
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  text-align: left;
  width: 110px;
  white-space: nowrap;
}

.course-table .cell-target {
  color: #e34c1b;
  font-weight: 800;
  font-size: 0.9375rem;
}

.course-table .cell-rate {
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* ===== 软硬件结合 / 6项能力 ===== */
.abilities-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: center;
}

.abilities-visual {
  position: relative;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.abilities-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18) 0%, transparent 60%);
}

.abilities-device {
  position: relative;
  z-index: 1;
}

.abilities-device-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-sm);
  border-radius: 20px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.abilities-device-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.abilities-device-sub {
  font-size: 0.875rem;
  opacity: 0.9;
}

.abilities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.ability-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.ability-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.ability-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5fbe5 0%, #e0f1ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
}

.ability-text h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--color-text);
}

.ability-text p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .abilities-wrap { grid-template-columns: 1fr; }
  .abilities-visual { min-height: 240px; }
}

@media (max-width: 480px) {
  .abilities-list { grid-template-columns: 1fr; }
  .course-stage-desc { display: none; }
  .course-stage-head { flex-wrap: wrap; }
}


.course-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

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

.course-level {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.course-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.course-target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.course-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xs);
}

.course-rate {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.course-rate strong {
  color: var(--color-primary-dark);
  font-weight: 800;
}

/* ===== Profit Model Table ===== */
.profit-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.profit-table thead {
  background: var(--gradient-brand);
  color: #fff;
}

.profit-table th {
  padding: 16px 20px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
}

.profit-table td {
  padding: 14px 20px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border-light);
}

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

.profit-table tbody tr:hover {
  background: var(--color-primary-lighter);
}

.profit-table .highlight {
  font-weight: 800;
  color: var(--color-primary-dark);
}

.profit-table .row-label {
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.profit-table .total-row td {
  font-weight: 800;
  color: var(--color-primary-dark);
  background: var(--color-primary-lighter);
  font-size: 1rem;
}

/* ===== Case Cards ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-sm);
}

.case-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.case-header {
  padding: var(--space-md);
  background: var(--gradient-brand-soft);
  border-bottom: 1px solid var(--color-border-light);
}

.case-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.case-subtitle {
  font-size: 0.8125rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.case-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.case-meta strong {
  color: var(--color-text);
  font-weight: 600;
}

.case-highlights {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.case-highlights li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.case-highlights li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 800;
}

/* ===== Workflow Steps ===== */
.workflow {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.workflow-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-base);
}

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

.workflow-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-brand);
}

.workflow-title {
  font-size: 1rem;
  font-weight: 700;
  margin-top: var(--space-xs);
  margin-bottom: 4px;
}

.workflow-desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== Animations ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes scrollDown {
  0% { top: 8px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero-visual { display: none; }

  .split-content {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .contact-side {
    position: static;
  }

  /* 移动端表单置顶，缩短转化路径 */
  .contact-form {
    order: -1;
  }

  .form-head {
    gap: 10px;
  }

  .form-head-badge {
    width: 40px;
    height: 40px;
  }

  .form-head-title {
    font-size: 1.1875rem;
  }

  .form-head-sub {
    font-size: 0.875rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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

  .cta-banner {
    padding: var(--space-md);
  }

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

  .scroll-indicator { display: none; }

  .profit-table {
    font-size: 0.8125rem;
  }
  .profit-table th,
  .profit-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .profit-table {
    display: block;
    overflow-x: auto;
  }
}

/* ===== Utility ===== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-3 { gap: var(--space-md); }
.flex-wrap { flex-wrap: wrap; }
.rounded-full { border-radius: var(--radius-full); }

/* ============================================
   招商引流转化组件（全站增强）
   ============================================ */

/* ===== 浮动咨询侧边栏（桌面端） ===== */
.float-widget {
  position: fixed;
  right: 20px;
  bottom: 120px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-widget-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: 0 6px 24px rgba(13, 27, 42, 0.16);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.float-widget-item:hover {
  transform: translateX(-6px);
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.22);
  color: var(--color-text);
}

.float-widget-item .fw-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.float-widget-item.fw-phone .fw-icon { background: var(--gradient-brand); }
.float-widget-item.fw-top .fw-icon { background: var(--color-bg-alt); }
.float-widget-item.fw-top .fw-icon svg { stroke: var(--color-secondary); }

.fw-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.fw-label small {
  font-weight: 400;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

/* 脉冲动画 */
@keyframes fwPulse {
  0% { box-shadow: 0 0 0 0 rgba(149, 214, 0, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(149, 214, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(149, 214, 0, 0); }
}

.float-widget-item.fw-phone .fw-icon {
  animation: fwPulse 2.2s infinite;
}

/* ===== 移动端底部 Sticky CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(13, 27, 42, 0.14);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
}

.sticky-cta-inner {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.sticky-cta .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
}

.sticky-cta .btn-ghost {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 768px) {
  .float-widget { display: none; }
  .sticky-cta { display: block; }
  body { padding-bottom: 68px; }
}

/* ===== 招商核心数据带 ===== */
.invest-bar {
  background: #fff;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-md) 0;
}

.invest-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.invest-bar-item {
  text-align: center;
  position: relative;
}

.invest-bar-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(-1 * var(--space-sm) / 2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56%;
  background: var(--color-border);
}

.invest-bar-num {
  font-size: 1.875rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.invest-bar-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .invest-bar-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-xs); }
  .invest-bar-item:nth-child(2)::after { display: none; }
  .invest-bar-num { font-size: 1.5rem; }
}

/* ===== 招商优势卡片（带编号） ===== */
.advantage-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.advantage-card .adv-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--gradient-brand-soft);
  color: var(--color-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.advantage-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.advantage-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== 留资激励卡片 ===== */
.lead-magnet {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.lead-magnet::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.lead-magnet h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  position: relative;
}

.lead-magnet ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-sm);
  position: relative;
}

.lead-magnet li {
  font-size: 0.875rem;
  line-height: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-magnet .privacy-note {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: var(--space-xs);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== 对比表格 ===== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
}

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

.compare-table th {
  background: var(--color-bg-alt);
  font-weight: 700;
  color: var(--color-text);
}

.compare-table th.col-featured {
  background: var(--gradient-brand);
  color: #fff;
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}

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

.compare-table .yes {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.compare-table .no {
  color: var(--color-text-muted);
}

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

.compare-table td.featured {
  background: #f5fbe5;
  font-weight: 600;
}

/* ===== 案例徽章 ===== */
.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.case-badge.badge-blue {
  background: var(--color-secondary-light);
  color: var(--color-secondary);
}

/* ===== 紧凑案例卡片 ===== */
.case-mini {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.case-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.case-mini-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.case-mini-track {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  background: var(--color-secondary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.case-mini-metrics {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: 10px;
}

.case-mini-metric {
  flex: 1;
  background: var(--color-bg-alt);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.case-mini-metric b {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.case-mini-metric span {
  font-size: 0.7188rem;
  color: var(--color-text-muted);
}

.case-mini p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== 横向滚动跑马灯（信任背书） ===== */
.marquee-band {
  background: var(--gradient-brand);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  animation: marqueeScroll 30s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

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

/* ===== 咨询热线突出条 ===== */
.hotline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  flex-wrap: wrap;
}

.hotline-bar .hotline-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hotline-bar .hotline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.hotline-bar .hotline-number {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: 0.5px;
}

.hotline-bar .hotline-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ===== 响应式补充 ===== */
@media (max-width: 768px) {
  .compare-table { display: block; overflow-x: auto; }
  .hotline-bar { flex-direction: column; text-align: center; }
  .hotline-bar .hotline-text { flex-direction: column; }
  .case-mini-metrics { flex-direction: column; gap: 8px; }
}

/* ===== 腾讯问卷嵌入 ===== */
.survey-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #f8fafc;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.survey-embed::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  pointer-events: none;
  border: 1px solid rgba(149, 214, 0, 0.25);
}

.survey-embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
  background: #fff;
}

.survey-embed-tip {
  margin-top: 10px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(149, 214, 0, 0.08), rgba(0, 85, 184, 0.08));
  border-left: 3px solid var(--color-primary);
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.survey-embed-tip strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* ===== 浮动问卷调查入口（全站） ===== */
.survey-float {
  position: fixed;
  left: 0;
  bottom: 18%;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 112px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  background: linear-gradient(180deg, #0055b8, #003a80);
  box-shadow: 0 4px 16px rgba(0, 85, 184, 0.35);
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.survey-float:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 22px rgba(0, 85, 184, 0.45);
}

.survey-float a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 768px) {
  .survey-embed iframe { height: 700px; }
  .survey-float { bottom: 22%; width: 30px; height: 100px; font-size: 13px; letter-spacing: 3px; }
  .contact-info-item.with-qr { flex-direction: column; align-items: flex-start; }
  .contact-info-qr { align-self: flex-end; width: 76px; height: 76px; }
}

/* ============================================
   Teacher Rail / 讲师横向滚动 Carousel
   ============================================ */
.teacher-rail {
  position: relative;
  margin: 0;
}

.rail-cover {
  width: 100%;
  max-width: 920px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 85, 184, 0.12);
}

.rail-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.rail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin: var(--space-lg) 0 var(--space-md);
  flex-wrap: wrap;
}

.rail-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rail-header h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.rail-header p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  margin: 4px 0 0;
}

.rail-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 85, 184, 0.12);
}

.rail-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 85, 184, 0.28);
}

.rail-btn:active:not(:disabled) {
  transform: translateY(0);
}

.rail-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: var(--color-border);
  color: var(--color-text-tertiary);
  box-shadow: none;
}

.rail-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.rail-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.rail-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  background: var(--color-white);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.rail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.20);
}

.rail-card img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.rail-card.teacher {
  width: 380px;
}

.rail-card.team {
  width: 480px;
}

.rail-hint {
  text-align: center;
  color: var(--color-text-tertiary);
  font-size: 0.85rem;
  margin-top: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.rail-hint::before,
.rail-hint::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-border);
}

@media (max-width: 768px) {
  .rail-card.teacher { width: 80vw; max-width: 320px; }
  .rail-card.team { width: 86vw; max-width: 460px; }
  .rail-header h3 { font-size: 1.15rem; }
  .rail-header p { font-size: 0.85rem; }
  .rail-btn { width: 38px; height: 38px; font-size: 1.1rem; }
  .rail-track { gap: 14px; padding-bottom: 20px; }
  .rail-cover { border-radius: var(--radius-lg); }
}

