:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #0d9488;
  --secondary-light: #ccfbf1;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --container-max: 1200px;
}

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

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

/* 锚点跳转时预留固定导航栏高度，避免标题被遮挡 */
[id] {
  scroll-margin-top: 84px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

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

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

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.bg-light {
  background: var(--gray-100);
}

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

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

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--gray-700);
  font-size: 1.0625rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(13, 148, 136, 0.1));
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--dark);
}

.navbar-brand .logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.navbar-nav {
  display: flex;
  gap: 36px;
  list-style: none;
}

.navbar-nav a {
  color: var(--gray-700);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-nav a:hover {
  color: var(--primary);
}

.navbar-nav a.active {
  color: var(--primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  padding: 8px 16px;
}

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

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

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

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, rgba(248,250,252,0.92) 0%, rgba(255,255,255,0.95) 100%), url('../images/bg-hero.png') center/cover no-repeat;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.6) 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content .lead {
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
}

.hero-card-badge {
  padding: 4px 12px;
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-card-scroll {
  height: 264px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-card-scroll-track {
  animation: scroll-up 24s linear infinite;
}

.hero-card-scroll:hover .hero-card-scroll-track {
  animation-play-state: paused;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.hero-card-row:last-child {
  border-bottom: none;
}

.hero-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-card-info {
  flex: 1;
}

.hero-card-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
}

.hero-card-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.hero-card-tag {
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.tag-green {
  background: #dcfce7;
  color: #16a34a;
}

.tag-amber {
  background: var(--accent-light);
  color: #b45309;
}

.tag-blue {
  background: var(--primary-light);
  color: var(--primary);
}

.hero-floating {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

.hero-floating-1 {
  top: -16px;
  right: -12px;
}

.hero-floating-2 {
  bottom: -16px;
  left: -12px;
}

.hero-floating .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(203, 213, 225, 0.5);
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s;
}

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

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}

.feature-icon-1 {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
}

.feature-icon-2 {
  background: linear-gradient(135deg, var(--secondary), #14b8a6);
}

.feature-icon-3 {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

.module-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.module-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

.module-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h2 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.cta-section {
  background: url('../images/bg-cta.png') center/cover no-repeat, linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 64px 0 32px;
}

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

.footer-brand {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-brand .brand-logo {
  background: white;
  padding: 4px 8px;
  border-radius: 6px;
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.footer-col a {
  color: var(--gray-300);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.page-hero {
  padding: 120px 0 60px;
  background: var(--gray-50);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero .lead {
  max-width: 640px;
  margin: 0 auto;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.product-showcase.reverse {
  direction: rtl;
}

.product-showcase.reverse > * {
  direction: ltr;
}

.product-showcase-content {
  width: 100%;
}

.product-showcase-content h3 {
  margin-bottom: 16px;
}

.product-showcase-content .eyebrow {
  margin-bottom: 16px;
}

.product-showcase-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-showcase-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.product-showcase-content li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.product-showcase-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background: var(--secondary-light);
  border-radius: 50%;
}

.product-showcase-content li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: rotate(-45deg);
}

.product-visual {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.product-mockup {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 24px;
  width: 100%;
}

.product-mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.product-mockup-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}

.product-mockup-bar span:nth-child(1) { background: #ef4444; }
.product-mockup-bar span:nth-child(2) { background: #f59e0b; }
.product-mockup-bar span:nth-child(3) { background: #22c55e; }

.product-mockup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mockup-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--gray-200);
}

.mockup-box-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.mockup-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}

.mockup-bar {
  flex: 1;
  background: var(--primary-light);
  border-radius: 3px 3px 0 0;
  transition: background 0.3s;
}

.mockup-bar.active {
  background: var(--primary);
}

.mockup-line {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  margin-bottom: 8px;
}

.mockup-line.short {
  width: 60%;
}

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

.course-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

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

.course-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.course-card-body {
  padding: 28px;
}

.course-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.course-card p {
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.course-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.service-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
}

.service-box:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-box:hover .service-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}

.service-box h4 {
  margin-bottom: 12px;
}

.service-box p {
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--secondary-light);
  border-radius: 50%;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story h2 {
  margin-bottom: 24px;
}

.about-story p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* About page brand card */
.about-brand-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.about-brand-header {
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* 东唐咨询卡（备用主色：琥珀→橙，区别于小课栈的蓝→青） */
.about-brand-card--alt .about-brand-header {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.about-brand-body {
  padding: 36px 32px 32px;
  text-align: center;
}

/* 无 logo 文件时，用渐变方块 + SVG 图标代替 */
.about-brand-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.5);
}

.about-brand-mark svg {
  width: 36px;
  height: 36px;
}

.about-brand-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.about-brand-body h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.about-brand-body > p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.about-brand-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 24px 0;
}

.about-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-brand-item {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-brand-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.about-brand-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

.about-brand-item span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.about-brand-item small {
  font-size: 0.75rem;
  color: var(--gray-500);
}

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

.value-card {
  text-align: center;
  padding: 36px 24px;
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 40px;
  align-items: center;
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.timeline-content p {
  font-size: 0.9375rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
  margin: 0 auto;
  grid-column: 2;
  position: relative;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
}

.timeline-item:nth-child(odd) > div:last-child {
  display: none;
}

.timeline-item:nth-child(even) > div:first-child {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

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

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s;
}

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-700);
}

@media (max-width: 968px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 32px;
  }

  .features-grid,
  .modules-grid,
  .courses-grid,
  .values-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .stat-item {
    min-width: 140px;
  }

  .module-card {
    max-width: 100% !important;
    grid-column: auto !important;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

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

  .about-brand-body {
    padding: 28px 24px 24px;
  }

  .about-brand-item {
    padding: 14px 8px;
  }

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

  .navbar-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 12px;
    position: relative;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    flex: 1;
    text-align: left;
  }

  .timeline-item:nth-child(odd) > div:last-child,
  .timeline-item:nth-child(even) > div:first-child {
    display: none;
  }

  .timeline-dot {
    order: -1;
    flex-shrink: 0;
    position: relative;
    margin: 0;
  }

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

  .cta-section {
    padding: 40px 24px;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-col h4 {
    margin-bottom: 12px;
  }
  .footer-col li {
    margin-bottom: 8px;
  }
  .footer-col a {
    font-size: 0.875rem;
  }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { flex-wrap: wrap; }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn-lg {
    padding: 10px 14px;
    font-size: 0.875rem;
  }
}

/* ============ 案例中心 / 公司动态 / 文章详情 ============ */

/* 页面头部 */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a8a 60%, var(--primary) 100%);
  color: #fff;
  padding: 112px 0 72px;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: 2.5rem;
  margin: 12px 0 12px;
}
.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}
.page-header .breadcrumb {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-header .breadcrumb span { margin: 0 6px; }

/* 通用面包屑 */
.breadcrumb { font-size: 0.875rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .bc-sep { margin: 0 8px; color: var(--gray-300); }
.breadcrumb .bc-current { color: var(--gray-700); }

/* 筛选按钮 */
.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 22px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  background: #fff;
  color: var(--gray-700);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* 案例卡片 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.case-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px 0;
}
.case-card-cover {
  font-size: 2.25rem;
  line-height: 1;
}
.case-card-tag {
  background: var(--secondary-light);
  color: var(--secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
}
.case-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case-card h3 {
  font-size: 1.1875rem;
  line-height: 1.45;
  margin-bottom: 10px;
}
.case-card h3 a { color: var(--dark); }
.case-card h3 a:hover { color: var(--primary); }
.case-card-summary {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.case-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  margin-bottom: 16px;
}
.case-metric { text-align: center; }
.case-metric-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.case-metric-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}
.case-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
}
.case-read-more {
  color: var(--primary);
  font-weight: 600;
}
.case-read-more:hover { color: var(--primary-dark); }

/* 公司动态列表 */
.news-list {
  max-width: 860px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.news-item-date {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.news-item-day { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.news-item-month { font-size: 0.75rem; }
.news-item-body { flex: 1; }
.news-item-body h4 {
  font-size: 1.125rem;
  color: var(--dark);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.news-item:hover .news-item-body h4 { color: var(--primary); }
.news-item-body p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-arrow {
  flex-shrink: 0;
  color: var(--gray-300);
  font-size: 1.25rem;
  transition: color 0.2s, transform 0.2s;
}
.news-item:hover .news-item-arrow { color: var(--primary); transform: translateX(4px); }

/* 文章详情 */
.article-wrap { padding: 56px 0 80px; background: var(--gray-50); min-height: 70vh; }
.article-container {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 48px 56px;
}
.article-title {
  font-size: 2rem;
  line-height: 1.35;
  margin: 16px 0 16px;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--gray-500);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 32px;
}
.article-body { font-size: 1.0625rem; line-height: 1.9; color: var(--gray-700); }
.article-body h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}
.article-body p { margin-bottom: 20px; }
.article-body ul { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 10px; }
.article-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}
.article-related h3 { font-size: 1.25rem; margin-bottom: 20px; }
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.related-industry {
  font-size: 0.75rem;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 2px 10px;
  border-radius: 100px;
  align-self: flex-start;
}
.related-title { font-size: 0.9375rem; font-weight: 600; color: var(--dark); line-height: 1.5; }
.related-arrow { color: var(--gray-400); font-size: 0.875rem; }
.article-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  color: #fff;
}
.article-cta h3 { color: #fff; font-size: 1.375rem; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }

/* 首页案例/动态区块 */
.home-section { padding: 80px 0; }
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 20px;
}
.home-section-head .section-title { margin-bottom: 4px; }
.home-link {
  font-weight: 600;
  white-space: nowrap;
}

/* 响应式 */
@media (max-width: 992px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-header { padding: 84px 0 56px; }
  .page-header h1 { font-size: 1.75rem; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card-metrics { grid-template-columns: repeat(3, 1fr); }
  .news-item { padding: 20px; gap: 16px; }
  .article-container { padding: 32px 24px; }
  .article-title { font-size: 1.5rem; }
  .related-list { grid-template-columns: 1fr; }
  .home-section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ICP备案链接 */
.beian-link {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s ease;
}
.beian-link:hover {
  color: var(--white);
}
