/* ==============================================
   ZERO零度滑雪官网 - 专用样式
   作用域：仅影响 body.ws-page 下的元素
   类名前缀：ws-（避免与现有系统冲突）

   设计规范：
   - 移动端断点：768px（与 mobile-adaptation.css 一致）
   - 安全区域适配：env(safe-area-inset-*)（与现有系统一致）
   - 卡片规范：圆角16px + 轻阴影 + 浅边框（与现有系统一致）
   - 触摸优化：-webkit-tap-highlight-color: transparent（与现有系统一致）
   - 超小屏适配：360px（与现有系统一致）
   - 平板适配：768px-1080px（与现有系统一致）
   - 品牌色彩：复用 glacier/energy/frost/deepspace 色系
   - 品牌字体：Space Grotesk(英文标题) / ZCOOL QingKe HuangTi(中文品牌) / Plus Jakarta Sans(正文) / Orbitron(数据/价格)
   ============================================== */

:root {
  --ws-section-padding: 80px 0;
  --ws-section-padding-mobile: 40px 0;
  --ws-max-width: 1200px;
  --ws-hero-height: 100vh;
  --ws-hero-height-mobile: 100svh;
}

* { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: auto;
}

body.ws-page {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ==================== Hero区域 ==================== */
.ws-hero {
  position: relative;
  min-height: var(--ws-hero-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 40%, #0ea5e9 100%);
  padding: 0 24px;
}

.ws-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}

.ws-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(12,74,110,0.3));
  pointer-events: none;
}

.ws-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ws-hero-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 4px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
}

.ws-hero-title {
  font-family: 'ZCOOL QingKe HuangTi', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: white;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ws-hero-line1 {
  font-size: 2.2rem;
  letter-spacing: 0.15em;
  line-height: 1.3;
  color: rgba(255,255,255,0.85);
  display: block;
}

.ws-hero-dot {
  display: none;
}

.ws-hero-line2 {
  font-size: 4rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 40%, #7dd3fc 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  display: block;
}

.ws-hero-tagline {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin: 20px 0 8px;
  position: relative;
  padding: 0 20px;
}

.ws-hero-tagline::before,
.ws-hero-tagline::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

.ws-hero-tagline::before {
  left: -12px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

.ws-hero-tagline::after {
  right: -12px;
  background: linear-gradient(270deg, transparent, rgba(255,255,255,0.3));
}

.ws-hero-subtitle {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  margin: 8px 0 32px;
  position: relative;
  z-index: 1;
}

.ws-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}

.ws-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.4);
}

.ws-hero-cta:active {
  transform: translateY(0);
}

.ws-hero-advantages {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.ws-advantage-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ws-advantage-icon {
  font-size: 1.5rem;
}

/* ==================== 通用Section ==================== */
.ws-section {
  padding: var(--ws-section-padding);
  position: relative;
}

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

.ws-section-label {
  font-family: 'Space Grotesk', 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #0ea5e9;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
}

.ws-section-title {
  font-family: 'ZCOOL QingKe HuangTi', cursive;
  font-size: 2rem;
  font-weight: 400;
  color: #0f172a;
  text-align: center;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.ws-section-desc {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #64748b;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0 0 40px;
}

/* ==================== 视频组件 ==================== */
.ws-video-hero {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0c4a6e, #0369a1);
  aspect-ratio: 16/9;
  position: relative;
  cursor: pointer;
  margin-bottom: 24px;
}

.ws-video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ws-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.ws-video-play-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%) scale(1.1);
}

.ws-video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}

.ws-video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}

/* ==================== 教练卡片 ==================== */
.ws-coach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ws-coach-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ws-coach-card:hover {
  box-shadow: 0 8px 24px rgba(14,165,233,0.12);
  transform: translateY(-2px);
}

.ws-coach-video {
  aspect-ratio: 9/12;
  background: linear-gradient(135deg, #0369a1, #0284c7);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.ws-coach-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-coach-info {
  padding: 12px;
}

.ws-coach-name {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.02em;
  margin: 0 0 2px;
}

.ws-coach-tag {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.04em;
}

/* ==================== 设施条 ==================== */
.ws-facility-bar {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #e2e8f0;
}

.ws-facility-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ws-facility-info {
  flex: 1;
  min-width: 0;
}

.ws-facility-name {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.ws-facility-desc {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.ws-facility-cta {
  padding: 6px 14px;
  background: #f0f9ff;
  color: #0ea5e9;
  border-radius: 8px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid #bae6fd;
  cursor: pointer;
  max-width: 120px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ws-facility-cta:hover {
  background: #e0f2fe;
}

/* ==================== 课程卡片 ==================== */
.ws-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ws-course-card {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ws-course-card:hover {
  box-shadow: 0 8px 24px rgba(14,165,233,0.12);
  transform: translateY(-2px);
}

.ws-course-card.featured {
  border: 2px solid #0ea5e9;
}

.ws-course-badge {
  display: inline-block;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.ws-course-badge.beginner { background: #ecfdf5; color: #10b981; }
.ws-course-badge.intermediate { background: #f0f9ff; color: #0ea5e9; }
.ws-course-badge.advanced { background: #fff7ed; color: #d97706; }

.ws-course-hot {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #0ea5e9;
  color: white;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 10px;
}

.ws-course-name {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}

.ws-course-desc {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #64748b;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.ws-course-price {
  font-family: 'Orbitron', 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0ea5e9;
  letter-spacing: 0.02em;
  margin: 0;
}

.ws-course-price-unit {
  font-size: 0.65rem;
  font-weight: 400;
  color: #94a3b8;
}

/* ==================== 活动照片 ==================== */
.ws-activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ws-activity-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.ws-activity-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ws-activity-item:hover img {
  transform: scale(1.05);
}

.ws-activity-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: white;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ==================== CTA Footer ==================== */
.ws-cta-footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 60px 24px;
  text-align: center;
}

.ws-cta-title {
  font-family: 'ZCOOL QingKe HuangTi', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.ws-cta-desc {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
}

.ws-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ws-cta-primary {
  padding: 12px 28px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
}

.ws-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249,115,22,0.4);
}

.ws-cta-secondary {
  padding: 12px 28px;
  background: rgba(255,255,255,0.08);
  color: #7dd3fc;
  border: 1px solid rgba(125,211,252,0.3);
  border-radius: 10px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ws-cta-secondary:hover {
  background: rgba(255,255,255,0.12);
}

.ws-cta-contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: #64748b;
}

/* ==================== 模态框 ==================== */
.ws-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ws-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ws-modal {
  background: white;
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  position: relative;
  will-change: transform;
}

.ws-modal-overlay.active .ws-modal {
  transform: translateY(0) scale(1);
}

.ws-modal-title {
  font-family: 'ZCOOL QingKe HuangTi', cursive;
  font-size: 1.25rem;
  font-weight: 400;
  color: #0f172a;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  text-align: center;
}

.ws-form-group {
  margin-bottom: 16px;
}

.ws-form-label {
  display: block;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.ws-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
  background: #f8fafc;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-appearance: none;
}

.ws-form-input:focus {
  border-color: #0ea5e9;
  background: white;
}

.ws-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  background: #f8fafc;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  touch-action: manipulation;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.ws-form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 8px;
}

.ws-form-submit:hover {
  box-shadow: 0 6px 20px rgba(14,165,233,0.3);
}

.ws-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ws-qr-container {
  text-align: center;
  padding: 20px 0;
}

.ws-qr-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin: 0 auto 16px;
  display: block;
  object-fit: contain;
}

.ws-qr-hint {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.04em;
}

.ws-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.ws-close-btn:hover {
  background: #e2e8f0;
}

/* ==================== 导航栏 ==================== */
.ws-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
  background: transparent;
}

.ws-nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ws-nav-logo {
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ws-nav-logo-en {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: white;
  transition: color 0.3s ease;
}

.ws-nav-logo-cn {
  font-family: 'ZCOOL QingKe HuangTi', cursive;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.ws-nav.scrolled .ws-nav-logo-en {
  color: #0f172a;
}

.ws-nav.scrolled .ws-nav-logo-cn {
  color: #64748b;
}

.ws-hamburger {
  display: none;
}

.ws-nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.ws-nav-link {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.ws-nav.scrolled .ws-nav-link {
  color: #475569;
}

.ws-nav-link:hover {
  color: #0ea5e9;
}

.ws-nav-back {
  color: rgba(255,255,255,0.8);
}

.ws-nav.scrolled .ws-nav-back {
  color: #475569;
}

.ws-nav-back:hover {
  color: #0ea5e9;
}

/* ==================== 动画 ==================== */
.ws-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.ws-snowflake {
  position: absolute;
  color: rgba(255,255,255,0.15);
  pointer-events: none;
  will-change: transform;
  animation: ws-snowfall linear 3;
}

@keyframes ws-snowfall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ==================== 移动端适配 @media (max-width: 768px) ==================== */
@media (max-width: 768px) {
  :root {
    --ws-section-padding: 40px 0;
  }

  .ws-hero {
    min-height: var(--ws-hero-height-mobile);
    padding: 0 20px;
  }

  .ws-hero-badge {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    margin-bottom: 16px;
  }

  .ws-hero-line1 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .ws-hero-line2 {
    font-size: 2.5rem;
  }

  .ws-hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin: 14px 0 6px;
  }

  .ws-hero-tagline::before,
  .ws-hero-tagline::after {
    width: 16px;
  }

  .ws-hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
  }

  .ws-hero-cta {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .ws-hero-advantages {
    gap: 20px;
    margin-top: 36px;
  }

  .ws-advantage-tag {
    font-size: 0.75rem;
  }

  .ws-section-title {
    font-size: 1.5rem;
  }

  .ws-section-desc {
    margin-bottom: 24px;
  }

  .ws-video-hero {
    aspect-ratio: 9/16;
    border-radius: 12px;
  }

  .ws-coach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ws-coach-video {
    aspect-ratio: 9/12;
  }

  .ws-coach-info {
    padding: 8px;
  }

  .ws-coach-name {
    font-size: 0.8rem;
  }

  .ws-coach-tag {
    font-size: 0.6rem;
  }

  .ws-facility-bar {
    padding: 12px;
    gap: 10px;
  }

  .ws-facility-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .ws-facility-name {
    font-size: 0.8rem;
  }

  .ws-facility-desc {
    font-size: 0.65rem;
  }

  .ws-course-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ws-course-card {
    padding: 20px 16px;
  }

  .ws-activity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ws-cta-footer {
    padding: 40px 20px;
  }

  .ws-cta-title {
    font-size: 1.2rem;
  }

  .ws-cta-desc {
    font-size: 0.8rem;
  }

  .ws-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ws-cta-primary,
  .ws-cta-secondary {
    width: 100%;
    max-width: 240px;
    text-align: center;
  }

  .ws-nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 240px;
    height: 100vh;
    height: 100dvh;
    background: rgba(255,255,255,0.98);
    padding: 80px 32px 32px;
    flex-direction: column;
    gap: 8px;
    z-index: 200;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .ws-nav-links.mobile-open {
    display: flex;
    transform: translateX(0);
  }

  .ws-hamburger {
    display: none !important;
  }

  .ws-modal {
    padding: 24px;
    border-radius: 16px;
    margin: 16px;
  }

  @supports (padding-top: env(safe-area-inset-top)) {
    .ws-hero {
      padding-top: calc(20px + env(safe-area-inset-top));
      padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    .ws-cta-footer {
      padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
    .ws-nav {
      padding-top: calc(12px + env(safe-area-inset-top));
      padding-left: calc(24px + env(safe-area-inset-left));
      padding-right: calc(24px + env(safe-area-inset-right));
    }
    .ws-modal-overlay {
      padding: calc(20px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));
    }
    .ws-guest-bar {
      top: calc(8px + env(safe-area-inset-top)) !important;
      bottom: auto !important;
      right: calc(12px + env(safe-area-inset-right)) !important;
      left: auto !important;
      gap: 2px !important;
      padding: 3px 6px !important;
    }
    .ws-nav-links {
      padding-bottom: calc(32px + env(safe-area-inset-bottom));
    }
  }
}

/* ==================== 超小屏适配 @media (max-width: 360px) ==================== */
@media (max-width: 360px) {
  .ws-hero-title {
    font-size: 1.8rem;
  }
  .ws-hero-line1 {
    font-size: 1.3rem;
  }
  .ws-hero-line2 {
    font-size: 1.5rem;
  }
  .ws-hero-tagline {
    font-size: 0.7rem;
  }
  .ws-hero-advantages {
    gap: 12px;
  }
}

/* ==================== 平板适配 @media (768px-1080px) ==================== */
@media (min-width: 768px) and (max-width: 1080px) {
  .ws-video-hero {
    aspect-ratio: 16/9;
  }

  .ws-coach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ws-course-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .ws-activity-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

/* ==================== PC端专业实力布局 @media (min-width: 769px) ==================== */
@media (min-width: 769px) {
  .ws-team-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }

  .ws-team-layout .ws-video-hero {
    margin-bottom: 0;
  }

  .ws-team-layout .ws-coach-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ws-team-layout .ws-coach-video {
    aspect-ratio: 4/3;
  }
}

/* ==================== 无障碍：焦点可见 + 减少动画 ==================== */

/* 全局 focus-visible ring — 键盘用户看到当前聚焦元素 */
:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* 尊重用户「减少动画」系统设置 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==============================================
   MT-WEB 就地修复 (2026-06-19)
   ============================================== */

/* 修复：MT-WEB-MOB-002 - 表单输入框font-size<16px导致iOS自动缩放 */
@media (max-width: 768px) {
  .ws-form-input,
  .ws-form-select {
    font-size: 16px;
  }
  .ws-guest-code-input {
    font-size: 16px;
  }
}

/* 修复：MT-WEB-MOB-001 - 手机端悬浮操作条按钮触摸目标不足44px */
@media (max-width: 768px) {
  .ws-guest-bar-btn {
    padding: 5px 10px;
    min-height: 32px;
    display: flex;
    align-items: center;
    font-size: 0.75rem !important;
    gap: 2px !important;
  }
  .ws-guest-bar-icon {
    font-size: 0.8rem !important;
  }
}

/* 修复：MT-WEB-MOB-003 - 手机端悬浮操作条移至右上角 + 汉堡菜单可见性 */
/* 注：具体样式已移至 website.html 内联样式中统一管理，此处仅保留汉堡菜单链接颜色修复 */
@media (max-width: 768px) {
  /* 汉堡菜单内链接颜色强制深色（菜单背景为白色） */
  .ws-nav-links .ws-nav-link {
    color: #334155 !important;
  }
  .ws-nav-links .ws-nav-link:hover {
    color: #0ea5e9 !important;
  }
  .ws-nav-links .ws-nav-back {
    color: #64748b !important;
  }
  .ws-nav-links .ws-nav-back:hover {
    color: #0ea5e9 !important;
  }
}

/* 修复：MT-WEB-VIS-001 - 桌面端大屏教练网格应显示更多列 */
@media (min-width: 1200px) {
  .ws-team-layout .ws-coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1400px) {
  .ws-team-layout {
    grid-template-columns: 1fr 1.2fr;
  }
  .ws-team-layout .ws-coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
