/* ============================================================
   Dream·X 圆梦行动 — 海洋主题设计系统 (v2.0)
   Ant Design 灵感 + 大海元素 + 全响应式
   ============================================================ */

/* ── 设计令牌 (Design Tokens) ── */
:root {
  /* ── 主色调 / 品牌色 ── */
  --blue-50:  #e8f4fd;
  --blue-100: #cbe7f9;
  --blue-200: #9dd0f4;
  --blue-300: #6eb6e9;
  --blue-400: #3f9cdb;
  --blue-500: #0f6da8;
  --blue-600: #0c5a8c;
  --blue-700: #094770;
  --blue-800: #083c64;
  --blue-900: #052845;
  --blue-950: #031b30;

  --gold-50:  #fef7e7;
  --gold-100: #fcecc7;
  --gold-200: #f9d88e;
  --gold-300: #f4b63f;
  --gold-400: #e0a325;
  --gold-500: #c48a1a;
  --gold-600: #a07014;
  --gold-700: #7c5610;

  --aqua-50:  #e6fafc;
  --aqua-100: #c5f2f7;
  --aqua-200: #8de6f0;
  --aqua-300: #45bfd3;
  --aqua-400: #2da8bd;
  --aqua-500: #1e8a9e;
  --aqua-600: #166d7f;

  /* ── 语义色 ── */
  --primary:        var(--blue-500);
  --primary-hover:  var(--blue-600);
  --primary-active: var(--blue-700);
  --primary-light:  var(--blue-50);
  --primary-border: var(--blue-200);

  --accent:         var(--gold-300);
  --accent-hover:   var(--gold-400);
  --accent-active:  var(--gold-500);

  --secondary:      var(--aqua-300);
  --secondary-hover:var(--aqua-400);

  --success:        #13795b;
  --success-bg:     #e6f7ee;
  --warning:        #d46b08;
  --warning-bg:     #fff7e6;
  --danger:         #b42318;
  --danger-bg:      #fff2f0;

  /* ── 中性色 ── */
  --gray-50:  #f8fafc;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* ── 语义中性色 ── */
  --text-primary:    var(--gray-800);
  --text-secondary:  var(--gray-500);
  --text-muted:      var(--gray-400);
  --text-inverse:    #ffffff;
  --text-link:       var(--primary);

  --bg-body:         var(--gray-50);
  --bg-surface:      #ffffff;
  --bg-elevated:     #ffffff;
  --bg-muted:        var(--gray-100);

  --border:          var(--gray-200);
  --border-light:    var(--gray-100);
  --border-focus:    var(--primary);

  /* ── 海洋主题色(保留原品牌感) ── */
  --ocean-deep:      #052845;
  --ocean-mid:       #094770;
  --ocean-surface:   #0f6da8;
  --ocean-shall:     #45bfd3;
  --ocean-foam:      #c5f2f7;
  --sand:            #f4b63f;
  --coral:           #e8734a;

  /* ── 阴影层级 (Ant Design 风格) ── */
  --shadow-xs:  0 1px 2px 0 rgba(0,0,0,0.03), 0 1px 2px -1px rgba(0,0,0,0.02);
  --shadow-sm:  0 1px 3px 0 rgba(0,0,0,0.04), 0 1px 2px -1px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 15px -3px rgba(8,60,100,0.08), 0 4px 6px -4px rgba(8,60,100,0.05);
  --shadow-xl:  0 20px 45px -12px rgba(8,60,100,0.15);
  --shadow-2xl: 0 25px 50px -12px rgba(8,60,100,0.2);
  --shadow-ocean: 0 8px 32px rgba(8,60,100,0.12), 0 2px 8px rgba(69,191,211,0.08);
  --shadow-card-hover: 0 16px 40px rgba(8,60,100,0.15), 0 2px 8px rgba(69,191,211,0.1);

  /* ── 圆角层级 ── */
  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ── 间距系统 (4px 基准) ── */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ── 排版 ── */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Consolas", monospace;

  --text-2xs: 0.625rem;   /* 10px */
  --text-xs:  0.75rem;    /* 12px */
  --text-sm:  0.875rem;   /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:  1.125rem;   /* 18px */
  --text-xl:  1.25rem;    /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */

  --font-light:    300;
  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;
  --font-bold:     700;
  --font-extrabold:800;

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.02em;

  /* ── 动画 ── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --duration-fast:    150ms;
  --duration-normal:  300ms;
  --duration-slow:    500ms;
  --duration-glacial: 800ms;

  /* ── 容器 ── */
  --container-padding: clamp(16px, 4vw, 54px);
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;

  /* ── Z-index ── */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

/* ── 全局重置 & 基础 ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-body);
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

/* ── 排版层级 ── */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: var(--font-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-tight);
}

h3 {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-extrabold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Section 装饰标题下划线 */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-8);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean-shall), var(--primary));
  border-radius: var(--radius-full);
}

/* ── 布局容器 ── */
.section {
  padding: clamp(56px, 8vw, 100px) var(--container-padding);
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.48fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

/* ── 顶部导航 (毛玻璃 + 微交互) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 12px var(--container-padding);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15,109,168,0.08);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.94);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  font-weight: var(--font-extrabold);
  font-size: var(--text-lg);
  background: linear-gradient(135deg, var(--blue-400), var(--aqua-300));
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(15,109,168,0.3);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand strong {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--blue-800);
  line-height: 1.2;
}

.brand small {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--font-normal);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-1) var(--space-4);
  font-size: var(--text-sm);
}

.nav a {
  position: relative;
  padding: var(--space-2) var(--space-1);
  color: var(--gray-600);
  font-weight: var(--font-medium);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out);
}

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

.nav a:hover::after {
  width: 100%;
}

/* ── Hero 主视觉区 ── */
.hero {
  position: relative;
  min-height: max(580px, calc(100vh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
  padding: var(--container-padding);
  color: white;
  overflow: hidden;
  isolation: isolate;
}

/* 海洋深度渐变背景 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(244,182,63,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(69,191,211,0.3) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 0%, rgba(15,109,168,0.4) 0%, transparent 50%),
    linear-gradient(175deg,
      var(--ocean-deep) 0%,
      #063456 25%,
      var(--ocean-mid) 50%,
      var(--ocean-surface) 78%,
      var(--ocean-shall) 100%
    );
}

/* 光柱效果 (模拟深海阳光) */
.hero-light-rays {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background:
    linear-gradient(8deg, transparent 40%, rgba(255,255,255,0.06) 42%, transparent 44%),
    linear-gradient(-12deg, transparent 55%, rgba(255,255,255,0.04) 57%, transparent 59%),
    linear-gradient(15deg, transparent 62%, rgba(255,255,255,0.05) 64%, transparent 66%);
  animation: lightRays 12s ease-in-out infinite alternate;
}

/* 气泡装饰 */
.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
  animation: floatUp var(--duration, 8s) var(--ease-in-out) infinite;
  animation-delay: var(--delay, 0s);
}

/* Hero 内容 */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-4);
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeSlideUp 0.8s var(--ease-out) both;
}

.hero .lead {
  max-width: 600px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.15s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.3s both;
}

/* Hero 信息面板 */
.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  padding: var(--space-6);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  color: var(--text-primary);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.45s both;
}

.hero-panel div {
  padding: var(--space-4);
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out);
}

.hero-panel div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-panel span {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.hero-panel strong {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

/* ── 按钮系统 (Ant Design 风格) ── */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 10px 22px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* 点击涟漪 */
.btn::after,
.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10%);
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity var(--duration-fast) ease, background-size var(--duration-slow) ease;
}

.btn:active::after,
.button:active::after {
  opacity: 1;
  background-size: 300%;
  transition: background-size 0s;
}

/* Primary */
.btn-primary,
.button.primary {
  color: var(--blue-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
  border-color: var(--gold-300);
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(244,182,63,0);
  transition: all var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.btn-primary:hover,
.button.primary:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(244,182,63,0.15);
}

.btn-primary:active,
.button.primary:active {
  transform: translateY(0) scale(0.98);
}

/* Secondary */
.btn-secondary,
.button.secondary {
  color: white;
  background: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary:active,
.button.secondary:active {
  transform: translateY(0) scale(0.98);
  background: var(--primary-active);
}

/* Ghost / Outline */
.btn-ghost,
.button.ghost {
  color: var(--primary);
  background: transparent;
  border-color: var(--primary-border);
}

.btn-ghost:hover,
.button.ghost:hover {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Hero 环境下的 Ghost */
.hero .button.ghost {
  color: white;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}

.hero .button.ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

/* 按钮尺寸 */
.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

/* ── 信任条 ── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding: var(--space-6) var(--container-padding);
  background: white;
  border-bottom: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: white;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-ocean);
}

.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  border-radius: var(--radius-md);
}

.trust-icon.safe     { background: #e6f7ee; color: var(--success); }
.trust-icon.value    { background: #e8f4fd; color: var(--primary); }
.trust-icon.prof     { background: #fef7e7; color: var(--gold-600); }
.trust-icon.support  { background: #e6fafc; color: var(--aqua-500); }

.trust-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-text span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Tab 切换 ── */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  user-select: none;
}

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

.tab.active {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ── 卡片系统 ── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.card-body { padding: var(--space-5); }

/* ── 信息网格 ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.info-grid .info-item {
  padding: var(--space-5);
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.info-grid .info-item:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-ocean);
}

.info-grid span {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.info-grid strong {
  display: block;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

/* ── 时间线 (增强版) ── */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--aqua-300), var(--primary), var(--blue-800));
}

.timeline article {
  position: relative;
  padding: var(--space-5) var(--space-5) var(--space-5) 68px;
  margin-bottom: var(--space-4);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.timeline article::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 26px;
  width: 18px;
  height: 18px;
  background: white;
  border: 3px solid var(--aqua-300);
  border-radius: 50%;
  z-index: 1;
  transition: all var(--duration-fast) var(--ease-out);
}

.timeline article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-ocean);
}

.timeline article:hover::before {
  background: var(--aqua-300);
  box-shadow: 0 0 0 6px rgba(69,191,211,0.15);
}

.timeline time {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-extrabold);
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.timeline h3 {
  margin-bottom: var(--space-1);
}

.timeline p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin: 0;
}

.timeline-body {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.timeline-text {
  flex: 1;
  min-width: 0;
}

.timeline-img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out);
}

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

/* ── 价格卡片网格 ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.price-card {
  padding: var(--space-6);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,109,168,0.03), transparent);
  pointer-events: none;
}

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

.price-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.price-card .price {
  font-size: 2rem;
  font-weight: var(--font-extrabold);
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.price-card .price small {
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  color: var(--text-muted);
}

.price-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

.price-card.featured {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(244,182,63,0.1);
  transform: scale(1.02);
}

.price-card.featured::after {
  content: '推荐';
  position: absolute;
  top: 12px;
  right: -28px;
  padding: 4px 32px;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: white;
  background: var(--gold-300);
  transform: rotate(45deg);
}

/* ── 历史卡片 ── */
.history {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
}

.history article {
  padding: var(--space-5);
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.history article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-ocean);
  border-color: var(--primary-border);
}

.history strong {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.history span {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.history-icon {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-3);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.history article:hover .history-icon {
  transform: scale(1.08);
  border-color: var(--aqua-300);
}

/* ── 表单系统 (Ant Design 风格) ── */
.form-section {
  background: linear-gradient(180deg, var(--bg-body) 0%, white 100%);
}

.form {
  padding: var(--space-8);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field.full {
  grid-column: 1 / -1;
}

.field.half {
  grid-column: span 2;
}

label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

label .required {
  color: var(--danger);
  margin-left: 2px;
}

label .hint {
  font-weight: var(--font-normal);
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin-left: var(--space-1);
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--primary-border);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,109,168,0.12);
}

input.error,
select.error,
textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180,35,24,0.1);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox label {
  font-weight: var(--font-normal);
  color: var(--text-secondary);
  cursor: pointer;
}

.form-message {
  min-height: 24px;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

.form-actions {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-light);
}

/* ── FAQ 手风琴 ── */
.faq {
  display: grid;
  gap: var(--space-3);
}

details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out);
}

details:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

details[open] {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

summary {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: color var(--duration-fast) var(--ease-out);
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  color: var(--primary);
}

summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: var(--font-light);
  color: var(--text-muted);
  transition: transform var(--duration-fast) var(--ease-out);
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

details .answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── 通知/提示条 ── */
.notice {
  padding: var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.notice ul {
  margin: var(--space-3) 0 0;
  padding-left: var(--space-5);
}

.notice li {
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
}

/* ── 后台管理 ── */
.admin-login {
  max-width: 480px;
  padding: var(--space-8);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin: var(--space-10) auto;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
}

.admin-toolbar select {
  width: auto;
  min-width: 160px;
}

/* 统计卡片 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.stat-card {
  padding: var(--space-5);
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--duration-fast) var(--ease-out);
}

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

.stat-card strong {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-extrabold);
  color: var(--primary);
  line-height: 1;
}

.stat-card span {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* 表格 */
.table-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: auto;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th, td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
  font-size: var(--text-sm);
}

th {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  background: var(--primary-light);
  white-space: nowrap;
  position: sticky;
  top: 0;
}

tr:hover td {
  background: var(--gray-50);
}

td select {
  min-width: 110px;
}

/* ── Footer ── */
.footer {
  padding: var(--space-8) var(--container-padding);
  background: linear-gradient(180deg, var(--ocean-deep), #031b30);
  color: rgba(255,255,255,0.6);
}

.footer p {
  max-width: 960px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin: 0 auto;
  text-align: center;
}

/* ── 滚动入场动画 ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

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

/* ── 波浪漫滩装饰 ── */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

.wave-divider.top svg {
  top: 0;
  bottom: auto;
  transform: rotate(180deg);
}

/* ── 通用辅助 ── */
.hidden {
  display: none !important;
}

.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

/* ── 背景变体 ── */
.bg-white   { background: white; }
.bg-muted   { background: var(--bg-muted); }
.bg-ocean   { background: linear-gradient(180deg, var(--primary-light) 0%, white 100%); }

/* ── 报名联系人卡片 ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.contact-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
}

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

/* 星儿卡片金色高亮 */
.contact-card:nth-child(2) .contact-card__badge {
  background: var(--gold-50);
  color: var(--gold-600);
  border-color: var(--gold-200);
}

.contact-card__header {
  padding: var(--space-5) var(--space-6) 0;
}

.contact-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.contact-card__body {
  flex: 1;
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.contact-card__row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.contact-card__label {
  flex-shrink: 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  min-width: 42px;
}

.contact-card__value {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.contact-card__value strong {
  font-weight: var(--font-bold);
}

.contact-card__qr {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--gray-50);
  margin-bottom: var(--space-3);
}

.contact-card__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-card__qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-4);
}

.contact-card__qr-placeholder span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--font-semibold);
}

.contact-card__qr-placeholder small {
  font-size: 0.6rem;
  color: var(--text-muted);
  word-break: break-all;
  text-align: center;
}

.contact-card__hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0 0 var(--space-2);
}

.contact-card__desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
  line-height: var(--leading-relaxed);
}

.contact-card__actions {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background: var(--gray-50);
}

.contact-card__actions .btn {
  width: 100%;
  justify-content: center;
}

.contact-card__action-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* 紧凑模式(表单内使用) */
.contact-card--compact {
  max-width: 480px;
  margin: 0 auto var(--space-6);
}

.contact-card--compact .contact-card__body {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-6);
}

.contact-card--compact .contact-card__qr {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.contact-card--compact .contact-card__info {
  margin-bottom: 0;
}

.contact-card--compact .contact-card__desc,
.contact-card--compact .contact-card__hint {
  display: none;
}

/* 报名表顶部联系人提示 */
.form-contact-tip {
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--blue-800);
  line-height: var(--leading-relaxed);
}

.form-contact-tip svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.form-contact-tip a {
  color: var(--primary);
  font-weight: var(--font-semibold);
  text-decoration: underline;
  white-space: nowrap;
}

/* 报名成功联系人区域 */
.success-contact {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 2px solid var(--success);
}

.success-contact__title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--success);
  margin-bottom: var(--space-2);
}

.success-contact__subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-4);
}

.success-contact .contact-cards {
  margin-top: var(--space-4);
}

/* 还有疑问联系区域 */
.contact-inquiry {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-inquiry__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.contact-inquiry__subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

/* ═══════════ Dream·X 进度条 ═══════════ */
.progress-section {
  background: linear-gradient(180deg, var(--primary-light) 0%, white 100%);
}

.progress-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-8);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.progress-info {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.progress-label {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.progress-count {
  font-size: 3rem;
  font-weight: var(--font-extrabold);
  color: var(--primary);
  line-height: 1;
  transition: all 0.3s var(--ease-spring);
}

.progress-target {
  font-size: var(--text-xl);
  color: var(--text-muted);
  font-weight: var(--font-medium);
}

.progress-track {
  width: 100%;
  height: 20px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-4);
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aqua-300), var(--primary), var(--blue-700));
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out);
  position: relative;
  min-width: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--space-2);
}

.progress-fill-text {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.progress-status {
  text-align: center;
  margin-bottom: var(--space-3);
}

.progress-status span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.progress-status .status-pending {
  color: var(--warning);
  background: var(--warning-bg);
  border: 1px solid rgba(212,107,8,0.2);
}

.progress-status .status-activated {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(19,121,91,0.2);
}

.progress-note {
  max-width: 480px;
  margin: 0 auto;
  font-size: var(--text-sm);
}

/* 进度条光泽动画 */
.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ═══════════ 往期活动详情弹窗 ═══════════ */
.event-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(5,40,69,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  padding: var(--space-4);
}

.event-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.event-modal {
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-out);
}

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

.event-modal__header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border-light);
  background: var(--primary-light);
  flex-shrink: 0;
}

.event-modal__back-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--primary);
}

.event-modal__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-secondary);
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.event-modal__close:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.event-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-8);
  -webkit-overflow-scrolling: touch;
}

/* 活动详情内容样式 */
.event-detail__header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.event-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.event-detail__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  font-size: var(--text-xs);
  font-weight: var(--font-extrabold);
  color: white;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.event-detail__city {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--gold-700);
  background: var(--gold-50);
  border-radius: var(--radius-full);
}

.event-detail__transport {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--aqua-500);
  background: var(--aqua-50);
  border-radius: var(--radius-full);
}

.event-detail__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.event-detail__period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.event-detail__organizer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}

.event-detail__summary {
  padding: var(--space-5);
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-8);
}

.event-detail__summary p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--blue-800);
  line-height: var(--leading-relaxed);
}

.event-detail__days {
  display: grid;
  gap: var(--space-6);
}

.event-day {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.event-day__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--gray-50);
  border-bottom: 1px solid var(--border-light);
}

.event-day__dot {
  width: 10px;
  height: 10px;
  background: var(--aqua-300);
  border-radius: 50%;
  flex-shrink: 0;
}

.event-day__header h3 {
  margin: 0;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.event-day__body {
  padding: var(--space-5);
}

.event-day__body p {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.event-day__body p:last-child {
  margin-bottom: 0;
}

.event-day__photo-count {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-left: auto;
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-3);
  padding: 0 var(--space-5) var(--space-5);
}

.event-gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  transition: transform 0.3s var(--ease-out);
  cursor: pointer;
}

.event-gallery__item:hover {
  transform: scale(1.03);
}

.event-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-gallery__count {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 2px 8px;
  font-size: 0.65rem;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.event-empty {
  text-align: center;
  padding: var(--space-12);
  color: var(--text-muted);
}

/* ═══════════ 往期卡片可点击 ═══════════ */
.history article[data-event-id] {
  cursor: pointer;
}

.history article[data-event-id]:hover strong {
  color: var(--aqua-400);
}

/* ═══════════ 缘起组件 ═══════════ */
.origin-section {
  background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
  color: white;
}

.origin-card {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  text-align: center;
}

.origin-card__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 16px;
  font-size: var(--text-xs);
  font-weight: var(--font-extrabold);
  letter-spacing: 0.1em;
  color: var(--gold-300);
  background: rgba(244,182,63,0.1);
  border: 1px solid rgba(244,182,63,0.25);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.origin-card h2 {
  color: white;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.origin-card__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-5);
  line-height: var(--leading-relaxed);
}

.origin-card__excerpt {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.origin-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 28px;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.origin-card__btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* 缘起详情 */
.origin-detail__header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.origin-detail__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.origin-detail__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.origin-detail__summary {
  padding: var(--space-4) var(--space-5);
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

.origin-detail__summary p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--blue-800);
  line-height: var(--leading-relaxed);
}

.origin-detail__parts {
  display: grid;
  gap: var(--space-6);
}

.origin-part {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-light);
}

.origin-part:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.origin-part__title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.origin-part__subtitle {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
}

.origin-part__body p {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.origin-part__body p:last-child {
  margin-bottom: 0;
}

.origin-part__figure {
  margin: var(--space-4) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.origin-part__figure img {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.origin-part__figure--portrait {
  max-width: 360px;
}

.origin-part__figure--portrait img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
}

.origin-part__figure figcaption {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   响应式布局
   ============================================================ */

/* 平板 (≤ 1024px) */
@media (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--space-16);
    padding-bottom: var(--space-12);
  }

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

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

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

  .history {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

/* 小平板 (≤ 768px) */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3) var(--space-4);
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav a {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
  }

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

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

  .field.half,
  .field.full {
    grid-column: span 2;
  }

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

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

/* 手机 (≤ 640px) */
@media (max-width: 640px) {
  .brand { min-width: 0; }

  .contact-card__qr {
    width: 240px;
    height: 240px;
  }

  .contact-card__body {
    padding: var(--space-4);
  }

  .contact-card__header {
    padding: var(--space-4) var(--space-4) 0;
  }

  .contact-card__actions {
    padding: var(--space-4);
  }

  .contact-card--compact .contact-card__body {
    flex-direction: column;
    align-items: center;
  }

  .contact-card--compact .contact-card__qr {
    width: 200px;
    height: 200px;
  }

  .section {
    padding: 48px var(--space-4);
  }

  .hero {
    padding-top: var(--space-10);
    padding-bottom: var(--space-8);
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .actions .button,
  .tabs .tab {
    width: 100%;
  }

  .trust-strip,
  .price-grid,
  .form-grid,
  .info-grid,
  .history,
  .stats {
    grid-template-columns: 1fr;
  }

  .field.half,
  .field.full {
    grid-column: span 1;
  }

  .form {
    padding: var(--space-5);
  }

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

  .timeline article {
    padding: var(--space-4) var(--space-4) var(--space-4) 48px;
  }

  .timeline article::before {
    left: 6px;
    width: 16px;
    height: 16px;
  }

  .price-card.featured {
    transform: none;
  }

  .timeline-body {
    flex-direction: column;
  }

  .timeline-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
