/* 西柚 (Grapefruit) 留学生平台样式 */

/* 全局设计令 (Design Tokens) - 朝霞品牌系统 */
:root {
  /* ===== 版心与栅格 ===== */
  --container-max-width: 1200px;
  --container-padding: 24px;
  --grid-columns: 12;
  --grid-gap: 24px;
  --section-spacing: 32px;
  --component-spacing: 24px;
  
  /* ===== 朝霞色彩系统 ===== */
  /* Sky 蓝色 (单色渐变) */
  --sky-700: #1F5FFF;           /* 深邃天光 */
  --sky-500: #4C85FF;           /* 标准天光 */
  --sky-300: #9CC3FF;           /* 浅淡天光 */
  --sky-gradient: linear-gradient(135deg, var(--sky-700) 0%, var(--sky-500) 100%);
  --sky-gradient-light: linear-gradient(135deg, var(--sky-500) 0%, var(--sky-300) 100%);
  
  /* Sun 橙色 (单色渐变) */
  --sun-700: #FF6A00;           /* 深邃日晕 */
  --sun-600: #FF6B35;           /* 浓郁日晕 */
  --sun-500: #FF7E2E;           /* 标准日晕 */
  --sun-300: #FFC19A;           /* 柔和日晕 */
  --sun-gradient: linear-gradient(135deg, var(--sun-700) 0%, var(--sun-600) 50%, var(--sun-500) 100%);
  --sun-gradient-light: linear-gradient(135deg, var(--sun-600) 0%, var(--sun-300) 100%);
  
  /* Mist 中性色 (条带/过渡用) */
  --mist: #FFF2E8;              /* 过渡晨雾 */
  --mist-light: #FFF9F5;        /* 极浅晨雾 */
  
  /* Leaf 功能绿 (纯色，不渐变) */
  --leaf-500: #16A34A;          /* 时长与积分用 */
  
  /* ===== 文字阶梯 ===== */
  --font-h1: 32px;
  --font-h1-weight: 700;
  --font-h1-line: 1.25;
  
  --font-h2: 24px;
  --font-h2-weight: 700;
  --font-h2-line: 1.3;
  
  --font-h3: 18px;
  --font-h3-weight: 700;
  --font-h3-line: 1.35;
  
  --font-body: 16px;
  --font-body-weight: 400;
  --font-body-line: 1.65;
  
  --font-caption: 14px;
  --font-caption-weight: 500;
  --font-caption-line: 1.5;
  
  /* ===== 文字色彩 ===== */
  --ink-900: #111827;           /* 深灰正文 */
  --ink-600: #4B5563;           /* 次级 */
  --ink-400: #9CA3AF;           /* 说明 */
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-600);
  --text-light: var(--ink-400);
  
  /* ===== 背景色彩 (中性为主) ===== */
  --bg-white: #ffffff;
  --bg-light: #FAFAFA;              /* 极浅中性灰，避免偏暖 */
  --bg-mist-subtle: rgba(255, 242, 232, 0.03);  /* 1-3% Mist轻分隔 */
  
  /* ===== 圆角系统 ===== */
  --radius-button: 12px;        /* 按钮 */
  --radius-card: 18px;          /* 卡片/弹层 */
  --radius-chip: 10px;          /* 标签/芯片 */
  --radius-pill: 20px;          /* 胶囊形状 */
  
  /* ===== 描边系统 ===== */
  --border-width: 1px;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-light: rgba(0, 0, 0, 0.05);
  
  /* ===== 阴影系统 (柔和大半径) ===== */
  --shadow-soft-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-soft-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-soft-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-soft-xl: 0 16px 32px rgba(0, 0, 0, 0.1);
  
  /* 品牌色阴影 */
  --shadow-sun: 0 4px 16px rgba(255, 106, 53, 0.15);
  --shadow-sky: 0 4px 16px rgba(76, 133, 255, 0.15);
  
  /* ===== 动效时序 ===== */
  --timing-enter: 160ms;        /* 进入/离场 */
  --timing-hover: 120ms;        /* 悬浮 */
  --timing-press: 80ms;         /* 按下 */
  --easing-move: cubic-bezier(0.2, 0.9, 0.2, 1);
  --easing-fade: ease-out;
  
  /* ===== 向后兼容 ===== */
  --primary-color: var(--sun-600);
  --secondary-color: var(--sun-500);
  --accent-color: var(--sky-500);
  --success-color: var(--leaf-500);
  --warning-color: #F59E0B;
  --danger-color: #EF4444;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragin_ [ ]o Sans GB', 'Microsoft YaHei', '微软雅黑', Helvetica, Arial, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ===== 全局基础样式 ===== */

/* 响应式容器 */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* 文字阶梯 */
h1, .h1 {
  font-size: var(--font-h1);
  font-weight: var(--font-h1-weight);
  line-height: var(--font-h1-line);
  color: var(--text-primary);
}

h2, .h2 {
  font-size: var(--font-h2);
  font-weight: var(--font-h2-weight);
  line-height: var(--font-h2-line);
  color: var(--text-primary);
}

h3, .h3 {
  font-size: var(--font-h3);
  font-weight: var(--font-h3-weight);
  line-height: var(--font-h3-line);
  color: var(--text-primary);
}

body, p, .body {
  font-size: var(--font-body);
  font-weight: var(--font-body-weight);
  line-height: var(--font-body-line);
  color: var(--text-primary);
}

.caption, small {
  font-size: var(--font-caption);
  font-weight: var(--font-caption-weight);
  line-height: var(--font-caption-line);
  color: var(--text-secondary);
}

/* 区块间距 */
.content-section {
  padding: 4rem 0;
}

.content-section + .content-section {
  margin-top: var(--section-spacing);
}

/* ===== 导航栏规范 ===== */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-width) solid var(--border-color-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;                     /* 高度68px */
  transition: all var(--timing-hover) var(--easing-move);
}

.header.scrolled {
  height: 60px;                     /* 滚动收缩至60px */
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 导航菜单 - 完全隐藏，使用汉堡菜单替代 */
.nav-links {
  display: none !important;
  list-style: none;
  gap: 28px;                        /* 菜单项间距 24-28px */
}

/* 在所有屏幕尺寸下都隐藏传统导航，使用汉堡菜单 */
@media (min-width: 768px) {
  .nav-links {
    display: none !important;
  }
}

.nav-link {
  display: flex;
  align-items: center; /* 确保链接文字在点击区域内垂直居中 */
  height: 100%; /* 撑满父容器高度 */
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 15px; /* 微调字号，更显精致 */
  position: relative; /* 启用相对定位，为微调做准备 */
  top: 15px; /* 向下微调15px */
}

/* 悬浮/当前页：文字加深 + 2px底线 */
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);        /* 文字加深 */
  border-bottom-color: var(--sun-600); /* 2px底线 */
}

/* Logo左内边距16-20px */
.logo {
  padding-left: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== 语言切换微控件 ===== */
.language-switcher {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill); /* 胶囊形状 */
  overflow: hidden;
}

.language-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.language-btn.active {
  background: var(--sun-300); /* 极浅柔和橙 */
  color: var(--primary-dark);
  font-weight: 600;
}

.language-btn:not(.active):hover {
  background: rgba(0,0,0,0.03);
}

/* 操作按钮 - 形态统一 */
.nav-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 14px;
  border-radius: var(--radius-pill); /* 胶囊形状 */
}

/* 菜单项激活状态 */
.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* 右侧CTA降级为次级样式 */
.nav-cta .btn {
  font-size: 14px;
  height: 40px;
  padding: 0 16px;
}

/* 主要内容区域 */
.main {
  margin-top: 0; /* 移除margin让Hero和导航无缝衔接 */
  min-height: calc(100vh - 80px);
}

/* 导航栏背景优化 */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 为非首页添加margin */
.main:not(.homepage) {
  margin-top: 80px;
}

/* ===== Hero区 (Sun橙大背景) ===== */
.hero {
  background: linear-gradient(75deg, var(--sun-700) 0%, var(--sun-600) 50%, var(--sun-500) 100%);
  color: white;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 移除白色背景蒙版 */
.hero-content::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* H1规格: 32/700/1.25 */
.hero-title {
  font-size: var(--font-h1);
  font-weight: var(--font-h1-weight);
  line-height: var(--font-h1-line);
  margin-bottom: 12px;              /* 二者间距 8-12 */
}

/* 副文规格: 16/400 */
.hero-subtitle {
  font-size: var(--font-body);
  font-weight: var(--font-body-weight);
  line-height: var(--font-body-line);
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 按钮区：主按钮(Sun)、次按钮(轮廓)并排，间距12 */
.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 按钮系统 (Button Family) ===== */

/* 按钮基础样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;                  /* 标准高度 44-48 */
  padding: 0 20px;              /* 左右内边距 16-20 */
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: var(--font-body);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: all var(--timing-hover) var(--easing-move);
}

/* 按钮尺寸变体 */
.btn-lg {
  height: 52px;
  padding: 0 24px;
  font-size: 18px;
}

.btn-sm {
  height: 44px;
  padding: 0 16px;
  font-size: var(--font-caption);
}

/* 主按钮 (Sun) - 渐变：FF6A00 → FF6B35 → FF7E2E */
.btn-primary {
  background: var(--sun-gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-sun);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 光波扫过效果 (可选) */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -25%;
  width: 25%;
  height: 100%;
  background: linear-gradient(70deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: shimmer 1.2s ease-in-out infinite;
  transform: skewX(-20deg);
}

@keyframes shimmer {
  0% { left: -25%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 106, 53, 0.25);
  transition: all var(--timing-hover) var(--easing-move);
}

.btn-primary:active {
  transform: scale(0.99);
  transition: all var(--timing-press) var(--easing-move);
}

/* 次要按钮 */
.btn-secondary {
  background: var(--text-secondary);
  color: white;
  border-color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

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

/* 轮廓按钮 (Outline) */
.btn-outline {
  background: transparent;
  color: var(--sun-600);
  border: var(--border-width) solid var(--sun-600);
}

.btn-outline:hover {
  background: rgba(255, 106, 53, 0.08);  /* 浅橙底 5-8% */
  color: var(--sun-600);
  border-color: var(--sun-600);
  transition: all 200ms var(--easing-fade);
}

.btn-outline:active {
  background: rgba(255, 106, 53, 0.12);
  color: var(--sun-700);                  /* 文字加深 */
  box-shadow: var(--shadow-soft-sm);      /* 轻压阴影 */
}

/* 在英雄区的轮廓按钮（白色版本） */
.hero .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

/* 幽灵按钮 */
.btn-ghost {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-color);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 107, 53, 0.15);
  transform: translateY(-1px);
}

/* 链接按钮 */
.btn-link {
  background: transparent;
  color: var(--primary-color);
  border-color: transparent;
  padding: 0.5rem 0;
  min-height: auto;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.btn-link:hover {
  color: var(--secondary-color);
  text-decoration-thickness: 2px;
  transform: none;
}

/* ===== 按钮状态统一 ===== */

/* 焦点状态 - 所有可点元素 */
.btn:focus-visible,
.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 106, 53, 0.15);
}

.btn-sky:focus-visible,
.btn-sky:focus,
.btn-outline-sky:focus-visible,
.btn-outline-sky:focus {
  outline: 2px solid var(--sky-500);
  box-shadow: 0 0 0 4px rgba(76, 133, 255, 0.15);
}

/* 禁用状态 */
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.52;                /* 降低不透明度至 48-56% */
  cursor: default;              /* 光标保持默认 */
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
  pointer-events: none;
}

.btn[data-loading="true"] {
  cursor: wait;
  pointer-events: none;
}

.btn[data-loading="true"] .btn-text {
  opacity: 0.7;
}

/* 按钮图标 */
.btn .icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.btn-sm .icon {
  width: 1em;
  height: 1em;
}

.btn-lg .icon {
  width: 1.4em;
  height: 1.4em;
}

/* 加载旋转动画 */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn .icon-spinner {
  animation: spin 1s linear infinite;
}

/* 图标位置 */
.btn-icon-left .icon {
  margin-right: 0.25rem;
}

.btn-icon-right .icon {
  margin-left: 0.25rem;
}

/* ====================================== */
/* Liquid Glass 设计系统组件 */
/* ====================================== */

/* ===== 卡片系统标准化 ===== */

/* 通用卡片 (所有模块基底) */
.card,
.liquid-glass-card {
  background: var(--bg-white);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft-md);
  padding: 20px;                    /* 内边距 18-20 */
  min-height: 136px;                /* 最小高 136-148 */
  transition: all var(--timing-hover) var(--easing-move);
  position: relative;
}

.card:hover,
.liquid-glass-card:hover {
  transform: translateY(-2px);      /* 仅轻微上浮 1-2px */
  border-color: var(--border-color);
  box-shadow: var(--shadow-soft-lg); /* 阴影加深 */
}

/* 卡片标题 */
.card-title {
  font-size: var(--font-h3);
  font-weight: var(--font-h3-weight);
  line-height: var(--font-h3-line);
  color: var(--text-primary);
  margin-bottom: 8px;               /* 与标题间距 8-10 */
}

/* 卡片图标 */
.card-icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.5px;             /* 线性描边 1.5-2px */
  margin-bottom: 10px;
}

/* 卡片正文 */
.card-body {
  font-size: var(--font-body);
  font-weight: var(--font-body-weight);
  line-height: var(--font-body-line);
  color: var(--text-secondary);
}

/* 特殊卡片变体 */
.card--highlight {
  border-color: var(--sun-300);
  box-shadow: var(--shadow-sun);
}

.card--sky {
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sky);
}

.card--leaf {
  border-color: rgba(22, 163, 74, 0.2);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.1);
}

/* 朝霞装饰元素 */
.chaoxia-decoration {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.6;
}

.chaoxia-decoration--sky {
  background: radial-gradient(circle, var(--sky-300) 0%, transparent 70%);
  animation: float-slow 8s ease-in-out infinite;
}

.chaoxia-decoration--sun {
  background: radial-gradient(circle, var(--sun-300) 0%, transparent 70%);
  animation: float-slow 6s ease-in-out infinite reverse;
}

/* Sky 按钮 (仅用于蓝系功能点) */
.btn-sky {
  background: var(--sky-gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-sky);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-sky:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(76, 133, 255, 0.25);
  transition: all var(--timing-hover) var(--easing-move);
}

.btn-sky:active {
  transform: scale(0.99);
  transition: all var(--timing-press) var(--easing-move);
}

/* Sky 轮廓按钮 */
.btn-outline-sky {
  background: transparent;
  color: var(--sky-500);
  border: var(--border-width) solid var(--sky-500);
}

.btn-outline-sky:hover {
  background: rgba(76, 133, 255, 0.08);  /* 浅蓝底 5-8% */
  color: var(--sky-500);
  border-color: var(--sky-500);
  transition: all 200ms var(--easing-fade);
}

.btn-outline-sky:active {
  background: rgba(76, 133, 255, 0.12);
  color: var(--sky-700);                  /* 文字加深 */
  box-shadow: var(--shadow-soft-sm);
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

/* ===== 全站动效一致性 ===== */

/* 所有悬浮效果：仅轻微上浮1-2px + 细描边加深 */
.card:hover,
.school-item:hover,
.management-item:hover {
  transform: translateY(-2px);
  transition: all var(--timing-hover) var(--easing-move);
}

/* 焦点状态统一 */
.card:focus-visible,
.school-item:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--sun-600);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 106, 53, 0.15);
}

/* 进入动画 */
.fade-in {
  animation: fadeInUp var(--timing-enter) var(--easing-fade);
}

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

/* ===== 价格矩阵卡片 ===== */
.pricing-card {
  background: var(--bg-white);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft-md);
  padding: 24px;                    /* 内边距 20-24 */
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--timing-hover) var(--easing-move);
}

/* 三卡等高 */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--component-spacing);
  align-items: stretch;             /* 确保等高 */
}

/* 免费版突出（居中） */
.pricing-card--featured {
  border: 2px solid var(--sun-300);
  box-shadow: var(--shadow-sun);
  transform: scale(1.02);
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-soft-lg);
}

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

/* 价格文字 */
.pricing-price {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin: 16px 0 24px;
}

/* "免费"字体不要小于"¥365/年" */
.pricing-card--featured .pricing-price {
  font-size: 36px;
  color: var(--sun-600);
}

/* 朝霞分割线 */
.chaoxia-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sun-300), transparent);
  margin: 2rem 0;
  opacity: 0.3;
}

/* 朝霞渐变文字 */
.text-chaoxia {
  background: var(--sun-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* ===== 徽标墙 (灰度默认、悬停上色) ===== */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--component-spacing);
}

.school-item {
  background: var(--bg-white);
  border: var(--border-width) solid var(--border-color);
  border-radius: 16px;              /* 圆角16 */
  padding: 20px;                    /* 内距18-20 */
  text-align: center;
  min-height: 220px;                /* 瓷砖240×220（最小） */
  width: 240px;
  max-width: 100%;
  box-shadow: var(--shadow-soft-sm);
  transition: all var(--timing-hover) var(--easing-move);
  cursor: pointer;
}

.school-item img {
  width: 80px;                      /* 校徽直径76-84 */
  height: 80px;
  margin-bottom: 14px;              /* 校徽距中文名14 */
  filter: grayscale(100%);          /* 默认灰度 */
  transition: all var(--timing-hover) var(--easing-move);
}

/* 悬停上色 */
.school-item:hover {
  transform: translateY(-2px);      /* 上浮2px */
  box-shadow: var(--shadow-soft-md);
}

.school-item:hover img {
  filter: grayscale(0%);            /* 悬停上色 */
}

.school-item h4 {
  font-size: var(--font-h3);        /* 中文名18/700 */
  font-weight: var(--font-h3-weight);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.school-item p {
  font-size: var(--font-caption);   /* 英文名14/500 */
  font-weight: var(--font-caption-weight);
  color: var(--text-secondary);
}

/* 固定CTA按钮（滚动时显示） */
.fixed-cta {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--timing-enter) var(--easing-fade);
  box-shadow: var(--shadow-soft-xl);
}

.fixed-cta.visible {
  opacity: 1;
  visibility: visible;
}

/* ===== FAQ手风琴样式 ===== */
.faq-item {
  background: var(--bg-white);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-button);    /* 圆角12 */
  margin-bottom: 8px;
  overflow: hidden;
  transition: all var(--timing-hover) var(--easing-move);
}

.faq-question {
  height: 56px;                     /* 行高48-56px */
  padding: 0 20px;                  /* 内距16-20 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: var(--bg-white);
  border: none;
  width: 100%;
  text-align: left;
  transition: all var(--timing-hover) var(--easing-move);
}

.faq-question:hover {
  background: var(--mist);
}

.faq-toggle {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform var(--timing-hover) var(--easing-move);
}

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

.faq-answer {
  padding: 0 20px 20px;
  font-size: var(--font-body);
  font-weight: var(--font-body-weight);
  line-height: var(--font-body-line);
  color: var(--text-secondary);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn var(--timing-enter) var(--easing-fade);
}

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

/* FAQ展开时阴影轻加 */
.faq-item.active {
  box-shadow: var(--shadow-soft-md);
}

/* 复选框样式 */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
  margin: 0;
}

.checkbox-label input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background: transparent;
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  color: white;
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkmark {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.checkmark .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark .icon {
  opacity: 1;
}

/* 联系表单图标 */
.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

/* 响应式按钮调整 */
@media (max-width: 767px) {
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
  }
  
  .btn {
    min-width: 120px;
  }
  
  .hero .btn {
    width: 100%;
    justify-content: center;
  }
  
  .fixed-cta {
    top: auto;
    bottom: 1rem;
    right: 1rem;
  }
}

/* 功能卡片 */
.features {
  padding: 4rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* ====================================== */
/* Liquid Glass 用户分群卡片 */
/* ====================================== */

.liquid-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.liquid-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.liquid-glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.liquid-glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.liquid-glass-card .role-badge {
  transition: transform 0.2s ease;
}

.liquid-glass-card:hover .role-badge {
  transform: scale(1.03);
}

/* 用户分群网格布局 */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 1199px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .liquid-glass-card {
    padding: 16px;
    min-height: auto !important;
  }
  
  .liquid-glass-card .role-badge {
    width: 48px !important;
    height: 48px !important;
    font-size: 14px !important;
  }
}

/* 清单项悬停效果 */
.liquid-glass-card li:hover {
  background: rgba(255, 107, 53, 0.05);
  border-radius: 6px;
  padding: 4px 8px;
  margin: 0 -8px 8px;
  transition: all 0.2s ease;
}

/* 按钮焦点样式 */
.liquid-glass-card .btn:focus-visible {
  outline: 2px solid #FF6B35;
  outline-offset: 2px;
}

/* ====================================== */
/* 安心计划section优化 */
/* ====================================== */

.safety-section {
  padding: 64px 0 80px; /* 控制顶部空白 */
  background: linear-gradient(135deg, rgba(255,107,53,0.02), rgba(255,142,83,0.01));
}

.usp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.12);
}

.price-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(255,107,53,0.2);
}

/* 价格切换按钮 */
.period-btn:hover:not(.active) {
  background: rgba(255,107,53,0.1);
  color: var(--primary-color);
}

.currency-btn:hover:not(.active) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* 响应式适配 */
@media (max-width: 768px) {
  .safety-section {
    padding: 48px 0 64px;
  }
  
  .usp-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .usp-card {
    min-height: 100px !important;
    padding: 16px !important;
  }
  
  .price-card {
    padding: 24px !important;
    max-width: 100% !important;
  }
  
  .price-main {
    font-size: 36px !important;
  }
}

/* ====================================== */
/* 移动端粘性CTA */
/* ====================================== */

.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(100%);
}

.mobile-sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 769px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 内容部分 */
.content-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* 文本内容样式 */
.text-content {
  max-width: 1200px; /* 扩大阅读宽度 */
  margin: 0 auto;
  padding: 2rem 0;
}

/* 核心功能区域特殊宽度 */
#features .text-content {
  max-width: 1600px; /* 功能介绍需要更大宽度 */
}

.text-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.text-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary);
}

.text-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-content ul, .text-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.text-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.text-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* 联系信息 */
.contact-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
  width: 24px;
  text-align: center;
}

/* 页脚 */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* 导航CTA样式 */
.nav-cta {
  margin-left: 1rem;
}

.nav-cta .btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

@media (max-width: 767px) {
  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
  }
  
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 移动端优化 */
@media (max-width: 767px) {
  .hero {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .features {
    padding: 3rem 0;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .text-content {
    padding: 1rem;
  }
}

/* 辅助功能样式 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 焦点样式 */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* 打印样式 */
@media print {
  .header,
  .footer {
    display: none;
  }
  
  .main {
    margin-top: 0;
  }
  
  body {
    font-size: 12pt;
    color: black;
  }
}

/* ================================= */
/* 西柚落地页专用样式 */
/* ================================= */

/* Logo样式增强 */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  border-radius: 8px;
}

/* 移动端导航汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex !important;
  }
  
  /* 仅在移动端隐藏桌面导航元素 */
  .nav-center,
  .nav-cta {
    display: none !important;
  }
  
  /* 调整导航布局为左右对齐 */
  .nav {
    justify-content: space-between !important;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border-top: 1px solid rgba(255,107,53,0.1);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    margin: 0;
    width: 100%;
  }
  
  .nav-links li a {
    display: block !important;
    padding: 1rem !important;
    font-size: 1.1rem !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    text-align: center !important;
  }
  
  .nav-links li:last-child a {
    border-bottom: none !important;
  }
  
  .nav-links li {
    margin: 0.5rem 0;
  }
  
  /* 强制隐藏移动端不需要的导航元素 */
  .nav-center,
  .nav-cta {
    display: none !important;
  }
  
  /* 移动端语言切换器调整 */
  .language-switcher {
    transform: scale(0.85) !important;
  }
  
  .language-switcher button {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }
  
  /* 移动端菜单CTA按钮 */
  .nav-links::after {
    content: '';
    display: block;
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 1rem;
  }
  
  /* 添加移动端专用CTA容器 */
  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 1rem;
  }
  
  .mobile-nav-cta .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px !important;
    font-size: 15px !important;
  }
}

/* Hero区域增强 */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ====================================== */
/* 新设计系统 - 无图标，有设计感的文字模块 */
/* ====================================== */

/* 功能卡片编号样式 */
.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-gradient);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.feature-number::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(255,142,83,0.2));
  z-index: -1;
}

/* 角色卡片几何装饰 */
.role-card {
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20px;
  width: 80px;
  height: 200px;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,142,83,0.05));
  transform: rotate(15deg);
  z-index: 0;
}

.role-card .role-content {
  position: relative;
  z-index: 1;
}

/* 功能详解样式 */
.feature-detail {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(254,247,240,0.9));
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  margin: 1.5rem 0;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.feature-detail::before {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.feature-detail h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-detail p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-detail .feature-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.feature-detail .feature-benefits li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  color: var(--text-secondary);
}

.feature-detail .feature-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  width: 1.5rem;
  text-align: center;
}

/* 安心计划样式已统一，移除特殊样式 */

/* 模块装饰元素 */
.section-decorator {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.section-decorator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 4px;
  background: var(--bg-gradient);
  border-radius: 2px;
}

/* 几何背景图案 */
.geometric-bg {
  position: relative;
  overflow: hidden;
}

.geometric-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,107,53,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,142,83,0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(247,147,30,0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.geometric-bg .container {
  position: relative;
  z-index: 1;
}

/* ====================================== */
/* 学校展示网格 */
/* ====================================== */

/* ====================================== */
/* 服务覆盖院校 - 高级轻量设计 */
/* ====================================== */

.schools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 24px 0 32px;
}

.school-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  min-height: 230px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.school-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-color: rgba(255,107,53,0.1);
}

.school-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 14px;
  transition: all 0.3s ease;
  filter: none !important; /* 强制移除任何滤镜 */
  opacity: 1 !important;
  -webkit-filter: none !important;
  image-rendering: -webkit-optimize-contrast;
}

.school-item:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* 响应式布局 */
@media (max-width: 1439px) {
  .schools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1023px) {
  .schools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .schools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .school-item {
    min-height: 200px;
    padding: 16px;
  }
  
  .school-item img {
    width: 60px;
    height: 60px;
  }
}

.user-count {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,142,83,0.1));
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ====================================== */
/* 功能模块图文布局 */
/* ====================================== */

.feature-detail-with-image {
  display: grid;
  grid-template-columns: 1fr 500px; /* 文字区域更窄，图片更大 */
  gap: 4rem;
  align-items: center;
  margin: 4rem auto;
  max-width: 1500px; /* 扩大整体宽度 */
}

.feature-detail-with-image:nth-child(even) {
  grid-template-columns: 500px 1fr;
}

.feature-detail-with-image:nth-child(even) .feature-image {
  order: -1;
}

.feature-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-image img {
  width: 100%;
  height: 350px; /* 放大图片高度 */
  object-fit: cover;
  transition: var(--transition);
}

.feature-image:hover img {
  transform: scale(1.02);
}

.feature-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,142,83,0.05));
  pointer-events: none;
}

/* Hero区域优化 */
.hero {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 50%, #F7931E 100%);
  color: white;
  padding: 8rem 0 4rem; /* 增加顶部padding避免导航覆盖 */
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0; /* 移除负margin */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.05) 0%, transparent 50%),
    linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%);
  background-size: 600px 600px, 400px 400px, 20px 20px, 20px 20px;
  opacity: 0.8;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero区背景图片版本 */
.hero.with-background {
  min-height: 80vh; /* 增加高度，让内容下移 */
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  text-align: center;
  padding: 6rem 0; /* 增加垂直内边距 */
  background-image: 
    linear-gradient(135deg, rgba(247, 138, 100, 0.85) 0%, rgba(249, 168, 137, 0.75) 50%, rgba(251, 202, 184, 0.8) 100%),
    url('../images/hero/campus-hero.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.hero-title {
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 2rem; /* 增大与按钮的间距 */
}

@media (max-width: 768px) {
  .hero.with-background {
    background-attachment: scroll;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
}

/* 响应式图片适配 */
@media (max-width: 1024px) {
  .feature-detail-with-image,
  .feature-detail-with-image:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-detail-with-image:nth-child(even) .feature-image {
    order: 0;
  }
  
  .feature-image img {
    height: 280px;
  }
  
  .schools-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .school-item {
    padding: 1.5rem;
  }
  
  .school-item img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 767px) {
  .hero {
    background-attachment: scroll;
  }
  
  .feature-image img {
    height: 200px;
  }
  
  .schools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .school-item {
    padding: 1rem;
  }
  
  .school-item img {
    width: 50px;
    height: 50px;
  }
  
  .school-info h4 {
    font-size: 1rem;
  }
  
  .school-info p {
    font-size: 0.8rem;
  }
}

/* ====================================== */
/* 语言切换器样式 */
/* ====================================== */

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 2rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.lang-btn.active {
  color: var(--primary-color);
  font-weight: 600;
}

.lang-btn:hover {
  color: var(--primary-color);
  background: rgba(255, 107, 53, 0.1);
}

.lang-divider {
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .language-switcher {
    margin: 0;
    order: -1;
    position: absolute;
    top: 1rem;
    right: 4rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: var(--border-radius);
  }
}

/* ====================================== */
/* 模态框样式 */
/* ====================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9);
  opacity: 0;
  transition: var(--spring-transition);
}

.modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--bg-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.modal-body {
  padding: 1rem 2rem 2rem;
}

.modal-body h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.modal-body li {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.modal-body p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1rem 0;
}

/* ====================================== */
/* 社团管理模块样式 */
/* ====================================== */

.management-grid .management-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

.management-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

/* 联系我们和社团管理响应式 */
@media (max-width: 768px) {
  #contact .container > div > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .management-item {
    margin-bottom: 1rem;
  }
}

/* 社团管理4列响应式 */
@media (max-width: 1024px) {
  .management-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .management-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 功能列表样式 */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.feature-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-list li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 高亮卡片 */
.feature-card.highlight {
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.feature-card.highlight::before {
  content: "推荐";
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
}

/* 免责声明样式 */
.disclaimer {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* 痛点卡片样式 */
.painpoints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.painpoint-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--spring-transition);
}

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

.painpoint-card .arrow {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 1rem 0;
  font-weight: bold;
}

/* 使用路径样式 */
.path-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.path-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-color);
}

.path-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.path-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.step {
  background: var(--bg-light);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.path-steps .arrow {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  text-shadow: 0 1px 2px rgba(255, 107, 53, 0.3);
}

/* 安心计划样式 */
.safety-hero {
  text-align: center;
}

.safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.safety-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--spring-transition);
}

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

.safety-card h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.safety-pricing {
  margin: 3rem 0;
  text-align: center;
}

.price-highlight {
  display: inline-block;
  background: var(--bg-gradient);
  color: white;
  padding: 2rem 3rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.price-highlight .price {
  font-size: 3rem;
  font-weight: 700;
}

.price-highlight .period {
  font-size: 1.5rem;
  opacity: 0.9;
}

/* 手风琴样式 */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: var(--bg-white);
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 200px;
}

.accordion-content p {
  padding: 1.5rem;
  margin: 0;
  background: var(--bg-light);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====================================== */
/* 安全与隐私 Liquid Glass 卡片 */
/* ====================================== */

.liquid-glass-privacy {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 20px;
  min-height: 170px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.liquid-glass-privacy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 40px;
  background: linear-gradient(180deg, var(--primary-color), rgba(255,107,53,0.3));
  border-radius: 0 3px 3px 0;
}

.liquid-glass-privacy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.liquid-glass-privacy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.12);
  border-left-width: 4px;
}

/* 响应式适配 */
@media (max-width: 1023px) {
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .privacy-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .liquid-glass-privacy {
    padding: 16px !important;
    min-height: 140px !important;
  }
  
  #privacy .container {
    padding: 0 16px !important;
  }
  
  /* 移动端承诺条调整 */
  #privacy .container > div:last-child {
    flex-direction: column !important;
    height: auto !important;
    padding: 16px !important;
    gap: 12px !important;
    text-align: center !important;
  }
}

/* ====================================== */
/* 价格方案section响应式 */
/* ====================================== */

@media (max-width: 768px) {
  #pricing .container > div:nth-child(3) {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  #pricing .pricing-card {
    min-height: auto !important;
  }
  
  /* FAQ问题列表移动端单列 */
  #pricing .container > div:last-child > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* 价格卡片 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.pricing-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  transition: var(--spring-transition);
}

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

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.pricing-price {
  margin: 1.5rem 0;
}

.pricing-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* FAQ样式 */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  padding: 2rem 0;
}

.faq-question {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 300;
  transition: var(--transition);
}

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

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

/* 联系表单 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin: 2rem 0;
}

.contact-info h3,
.contact-form h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.contact-item strong {
  color: var(--text-primary);
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* 表单样式 */
.form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* 页脚免责声明 */
.footer-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 可访问性增强 */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.focus\\:not-sr-only:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background: var(--primary-color) !important;
  color: white !important;
  border-radius: var(--border-radius) !important;
  text-decoration: none !important;
  z-index: 9999 !important;
}

/* 响应式优化 */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .path-steps {
    flex-direction: column;
    align-items: stretch;
  }
  
  .path-steps .arrow {
    transform: rotate(90deg);
    align-self: center;
    font-size: 1rem;
    min-width: 1.5rem;
  }
  
  .painpoints-grid {
    grid-template-columns: 1fr;
  }
  
  .safety-features {
    grid-template-columns: 1fr;
  }
}

/* ====================================== */
/* ===== 全局CSS变量 - 淡彩朝霞设计系统 ===== */
/* ========================================================================== */
:root {
  /* 主色调 - 柔和珊瑚粉 */
  --primary-color: #F9A889;
  --primary-light: #FBCAB8;
  --primary-dark: #F78A64;

  /* 辅助色板 */
  --soft-dawn-sky:   #89B1FF; /* 宁静天空蓝 */
  --soft-dawn-mint:  #48CFAE; /* 安心薄荷绿 */
  --soft-dawn-gold:  #FFC979; /* 成就柔金 */
  
  /* 功能色系 - 柔和化 */
  --success-color: #48CFAE;
  --warning-color: #FFC979;
  --danger-color: #FF6B6B;
  
  /* 文字色系 - 柔和灰度 */
  --text-primary: #2D3748;
  --text-secondary: #718096;
  --text-tertiary: #A0AEC0;
  
  /* 背景色系 - 冷白基调 */
  --bg-white: #FFFFFF;
  --bg-gray: #F1F3F8;
  --bg-canvas: #F5F7FB;
  --bg-light: var(--bg-canvas);
  
  /* 边框色系 - 半透明 */
  --border-color: rgba(226, 232, 240, 0.8);

  /* 渐变体系 - 225° 柔和化 */
  --gradient-dawn-warm: linear-gradient(225deg, rgba(251, 202, 184, 0.9) 0%, rgba(249, 168, 137, 0.85) 50%, rgba(247, 138, 100, 0.8) 100%);
  
  /* 阴影 - 更轻柔 */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* 卡片质感增强 */
  --rim-highlight-strong: inset 0 1px 1px rgba(255, 255, 255, 0.4);
  --card-bg-gradient: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 100%);
}

/* ====================================== */
/* ===== 基础样式与布局 ===== */
/* ========================================================================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragin_ [ ]o Sans GB', 'Microsoft YaHei', '微软雅黑', Helvetica, Arial, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
}

.content-section {
  padding: 4rem 0;
}

/* ====================================== */
/* ===== 导航栏 Navbar - 质感与布局优化 ===== */
/* ========================================================================== */
.navbar {
  display: flex; /* 启用Flexbox布局 */
  align-items: center; /* 垂直居中所有子元素 */
  height: 80px; /* 增加导航栏高度 */
  padding: 0 2rem; /* 增加左右内边距 */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.40);
  box-shadow: var(--shadow-sm);
  position: fixed; /* 固定在顶部 */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Logo与文字间距 */
}

.nav-menu {
  display: flex;
  align-items: center; /* 确保菜单项整体垂直居中 */
  gap: 1.5rem; /* 恢复到1.5rem提供更充足的间距 */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem; /* 语言切换与按钮间距 */
}

/* ====================================== */
/* ===== 导航栏菜单 - 英文版适配 ===== */
/* ========================================================================== */

/* 优化菜单项链接的样式 */
.nav-link {
  font-size: 14px; /* 保持14px字体大小 */
  white-space: nowrap; /* 阻止换行，保持单行显示 */
  text-align: center; /* 文字居中对齐 */
  line-height: 1.2; /* 优化行高 */
  padding: 8px 4px; /* 增加水平内边距提供缓冲空间 */
}

/* 调整激活状态的边框位置 */
.nav-link.active {
  margin-bottom: 0; /* 移除之前的偏移 */
  padding-bottom: 4px; /* 用内边距撑开空间 */
  border-bottom-width: 2px;
}

/* ====================================== */
/* ===== 英文版汉堡菜单系统 ===== */
/* ========================================================================== */

/* 汉堡菜单按钮 */
.hamburger-menu {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
  visibility: visible !important;
  opacity: 1 !important;
  border-radius: 6px;
}

.hamburger-menu:hover {
  background: rgba(255, 107, 53, 0.1);
  border-radius: 8px;
  transform: scale(1.05);
}

/* 汉堡菜单线条 */
.hamburger-line {
  display: block !important;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  margin: 2px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  visibility: visible !important;
  opacity: 1 !important;
  border-radius: 1px;
}

/* 汉堡菜单激活状态 - X形变换 */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端导航覆盖层 */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 移动端导航菜单 */
.mobile-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  max-width: 85vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 80px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav-overlay.active .mobile-nav {
  transform: translateX(0);
}

/* 移动端导航链接列表 */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-links li:last-child {
  border-bottom: none;
}

/* 移动端导航链接样式 */
.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 12px;
  margin: 0 -8px;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
}

.mobile-nav-link:active {
  transform: translateX(4px) scale(0.98);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 现代化的左侧指示器 */
.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 24px;
  background: var(--primary-color);
  border-radius: 0 12px 12px 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:focus::before {
  width: 4px;
  opacity: 1;
}

/* 添加微妙的文字动画 */
.mobile-nav-link:hover {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 移动端CTA按钮区域 */
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

/* 确保汉堡菜单在所有屏幕尺寸下都显示 */
@media (min-width: 768px) {
  .hamburger-menu {
    display: flex !important;
  }
  
  .mobile-nav-overlay {
    display: block !important;
  }
}

.mobile-cta-btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 为主要CTA按钮添加脉冲效果 */
.mobile-cta-btn.btn-primary {
  position: relative;
  overflow: hidden;
}

.mobile-cta-btn.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.mobile-cta-btn.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

