/* 海角社区 - 全站样式 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #3C485A;
  background: #FFFFFF;
  overflow-x: hidden;
}

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

a {
  color: #1677EE;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #075FC6;
}

a:focus-visible {
  outline: 2px solid #3395FF;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 颜色变量 */
:root {
  --brand-blue: #1677EE;
  --bright-blue: #3395FF;
  --deep-blue: #075FC6;
  --dark-blue: #08488D;
  --navy: #0A315E;
  --footer-bg: #071D37;
  --bg-white: #FFFFFF;
  --bg-light: #F7FAFF;
  --bg-soft: #EDF5FF;
  --bg-pale: #E5F1FF;
  --text-main: #16243A;
  --text-body: #3C485A;
  --text-secondary: #6B7787;
  --text-muted: #929BA8;
  --text-light: #DCEEFF;
  --border: rgba(22, 119, 238, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 12px 34px rgba(30, 72, 120, 0.08);
  --shadow-brand: 0 14px 40px rgba(22, 119, 238, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1320px;
  --content-width: 1100px;
  --article-width: 780px;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
}

.article-wrap {
  max-width: var(--article-width);
  margin: 0 auto;
}

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.brand:hover .brand-name {
  color: var(--brand-blue);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 8px;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--brand-blue);
  background: var(--bg-soft);
}

.desktop-nav a.active {
  color: var(--brand-blue);
  background: var(--bg-pale);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions a,
.header-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 8px;
}

.header-actions a:hover,
.header-actions button:hover {
  color: var(--brand-blue);
  background: var(--bg-soft);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  border-radius: 10px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(22, 119, 238, 0.22);
  color: #FFFFFF !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
  transition: transform 0.25s ease;
}

/* 手机顶部 */
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.mobile-header .brand img {
  height: 30px;
}

.mobile-header .brand-name {
  font-size: 16px;
}

/* ========== 超级菜单 ========== */
.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 55, 0.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mega-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(920px, 100%);
  height: 100%;
  background: #FFFFFF;
  z-index: 1200;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
}

.mega-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.mega-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-secondary);
  border-radius: 8px;
}

.mega-close:hover {
  background: var(--bg-soft);
  color: var(--text-main);
}

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

.mega-group h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.mega-group a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-body);
  border-bottom: 1px solid transparent;
}

.mega-group a:hover {
  color: var(--brand-blue);
}

/* 搜索面板 */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  z-index: 1300;
  padding: 24px;
  box-shadow: var(--shadow);
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0.3s ease;
}

.search-panel.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.search-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.search-inner input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  color: var(--text-main);
  outline: none;
}

.search-inner input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(22, 119, 238, 0.15);
}

.search-close {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text-secondary);
  font-size: 20px;
}

/* ========== 主内容区 ========== */
main {
  min-height: 60vh;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #E5F1FF 0%, #EDF5FF 40%, #F7FAFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(180deg, rgba(10, 49, 94, 0.35) 0%, rgba(7, 29, 55, 0.55) 100%);
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-content p {
  font-size: 18px;
  color: #DCEEFF;
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

/* 四格导航 */
.quad-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: -40px auto 48px;
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  padding: 0 24px;
}

.quad-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

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

.quad-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.quad-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 通用区块 */
.section {
  padding: 56px 0;
}

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

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 640px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header .more {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-blue);
}

/* 卡片网格 */
.card-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.content-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.content-card:hover {
  box-shadow: var(--shadow);
}

.content-card .card-body {
  padding: 22px;
}

.content-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.content-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

.content-card .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* 今日值得看 */
.featured-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.featured-main {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.featured-main h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.35;
}

.featured-main p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 18px;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-side .item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.featured-side .item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.featured-side .item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.short-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.short-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.short-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.short-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 城市生活志特色图文 */
.city-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.city-feature-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #E5F1FF, #F7FAFF);
  border: 1px solid var(--border);
}

.city-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.city-feature-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* 周末时间板 */
.time-boards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.time-board {
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px 20px;
}

.time-board .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--bg-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.time-board h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.time-board p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* 旅行路线 */
.route-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.route-step {
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  position: relative;
}

.route-step .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--bg-pale);
  position: absolute;
  top: 16px;
  right: 20px;
}

.route-step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.route-step p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* 兴趣标签墙 */
.interest-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.interest-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.interest-item:hover {
  border-color: rgba(22, 119, 238, 0.3);
  box-shadow: var(--shadow);
}

.interest-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.interest-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* 经验列表 */
.exp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.exp-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.exp-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.exp-item p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

/* 文化观察 */
.culture-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.culture-list article:last-child {
  border-bottom: none;
}

.culture-list h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.culture-list p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 故事 */
.story-main {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.story-main h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.story-main p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.story-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.story-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.story-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* 热议主题 */
.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.topic-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.topic-item .idx {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-pale);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
}

.topic-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

/* 指南摘要 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.guide-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* 影集媒体槽 */
.media-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.media-slot {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #E5F1FF 0%, #F7FAFF 60%, #FFFFFF 100%);
  border: 1px solid var(--border);
  position: relative;
}

.media-slot.wide {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
  min-height: 320px;
}

.media-slot.mid {
  aspect-ratio: 4 / 3;
}

.media-slot.small {
  aspect-ratio: 1 / 1;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-slot .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(7, 29, 55, 0.72));
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
}

/* 脉搏信息条 */
.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pulse-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.pulse-item .tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--bg-pale);
  padding: 4px 10px;
  border-radius: 4px;
}

.pulse-item p {
  font-size: 15px;
  color: var(--text-body);
}

/* APP 预览区 */
.app-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.app-preview-image {
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #EDF5FF, #F7FAFF);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}

.app-preview-image img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
}

.app-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.app-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.app-features li {
  font-size: 14px;
  color: var(--text-body);
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: 8px;
}

/* 安全中心深蓝 */
.security-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 36px;
  margin-bottom: 36px;
}

.security-banner h1,
.security-banner h2 {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.security-banner p {
  color: #DCEEFF;
  font-size: 16px;
  line-height: 1.7;
}

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

.security-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.security-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.security-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

/* 隐私卡片 */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.privacy-card {
  background: #FFFFFF;
  border: 1px solid rgba(22, 119, 238, 0.18);
  border-radius: var(--radius);
  padding: 24px;
}

.privacy-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.privacy-card p {
  font-size: 15px;
  color: #3C485A;
  line-height: 1.65;
}

/* 页面头 */
.page-hero {
  padding: 48px 0 36px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-hero .lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.65;
}

/* 正文通用 */
.prose {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
}

.prose p {
  margin-bottom: 16px;
}

.prose h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin: 32px 0 14px;
}

.prose h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  margin: 24px 0 10px;
}

.prose ul, .prose ol {
  margin: 12px 0 16px 20px;
}

.prose li {
  margin-bottom: 8px;
  list-style: disc;
}

/* FAQ */
.faq-list details {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 0;
}

.faq-list summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 20px;
  color: var(--brand-blue);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .answer {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--footer-bg);
  color: #DCEEFF;
  padding: 56px 0 32px;
  margin-top: 60px;
}

.footer-top {
  border-top: 1px solid rgba(220, 238, 255, 0.12);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-brand .name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-brand .en {
  font-size: 13px;
  color: #A8C4E0;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: #A8C4E0;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #A8C4E0;
  padding: 6px 0;
  min-height: 36px;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(220, 238, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #7A9BB8;
}

/* 移动底部导航 */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  z-index: 900;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav ul {
  display: flex;
  height: 100%;
}

.mobile-bottom-nav li {
  flex: 1;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 11px;
  color: var(--text-secondary);
  gap: 2px;
  min-height: 44px;
}

.mobile-bottom-nav a.active {
  color: var(--brand-blue);
}

.mobile-bottom-nav .icon {
  font-size: 18px;
  line-height: 1;
}

/* 响应式 */
@media (max-width: 1280px) {
  .container {
    padding: 0 20px;
  }
  .quad-nav {
    gap: 16px;
  }
  .interest-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-header {
    display: flex;
  }
  .site-header .header-inner {
    display: none;
  }
  .mega-body {
    grid-template-columns: repeat(2, 1fr);
  }
  .quad-nav {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -28px;
  }
  .featured-layout {
    grid-template-columns: 1fr;
  }
  .city-feature {
    grid-template-columns: 1fr;
  }
  .city-feature-image {
    order: -1;
  }
  .time-boards {
    grid-template-columns: repeat(2, 1fr);
  }
  .route-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .interest-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .exp-list {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .topic-list {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .media-slot.wide {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .app-section {
    grid-template-columns: 1fr;
  }
  .app-preview-image {
    max-width: 320px;
    margin: 0 auto;
  }
  .app-preview-image img {
    max-height: 400px;
  }
  .security-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .section-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
  .mega-menu {
    width: 100%;
  }
  .mega-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .quad-nav {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .short-list {
    grid-template-columns: 1fr;
  }
  .time-boards {
    grid-template-columns: 1fr;
  }
  .route-steps {
    grid-template-columns: 1fr;
  }
  .interest-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner {
    aspect-ratio: 16 / 10;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .page-hero {
    padding: 36px 0 28px;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .app-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .quad-nav {
    margin: -20px auto 32px;
  }
  .quad-card {
    padding: 20px 16px;
  }
  .quad-card h3 {
    font-size: 16px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .interest-wall {
    grid-template-columns: 1fr 1fr;
  }
  .media-gallery {
    grid-template-columns: 1fr;
  }
  .story-main {
    padding: 24px 20px;
  }
  .security-banner {
    padding: 28px 22px;
  }
}

/* 工具类 */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
