/* 海角社区 HAI JIAO - 全站样式 */
/* 品牌色体系 */
:root {
  --brand-blue: #1677EE;
  --light-blue: #3395FF;
  --deep-blue: #075FC6;
  --dark-blue: #08488D;
  --navy: #0A315E;
  --footer-bg: #071D37;
  --white: #FFFFFF;
  --bg-light: #F7FAFF;
  --bg-sky: #EDF5FF;
  --bg-soft: #E5F1FF;
  --title: #16243A;
  --text: #3C485A;
  --text-sec: #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-w: 1320px;
  --content-w: 1100px;
  --article-w: 820px;
}

*, *::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: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--deep-blue);
}

a:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

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

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

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

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

/* ========== 顶部导航 ========== */
.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: 74px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

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

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

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
  letter-spacing: 0.02em;
}

.brand-en {
  font-size: 11px;
  color: var(--text-sec);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-left: 2px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-main a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text);
  border-radius: 20px;
  min-height: 44px;
  white-space: nowrap;
  position: relative;
}

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

.nav-main a.active {
  background: var(--bg-soft);
  color: var(--brand-blue);
  font-weight: 600;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

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

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

.btn-menu {
  display: none;
}

.btn-search {
  font-size: 15px;
}

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

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

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

/* ========== Mega Menu / 频道抽屉 ========== */
.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;
}

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

.mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: var(--white);
  box-shadow: var(--shadow);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.mega-menu.open {
  max-height: 90vh;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
}

.mega-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.mega-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.mega-brand img {
  height: 40px;
  object-fit: contain;
}

.mega-brand-text h2 {
  font-size: 20px;
  color: var(--title);
  font-weight: 700;
}

.mega-brand-text span {
  font-size: 12px;
  color: var(--text-sec);
  letter-spacing: 0.1em;
}

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

.mega-col h3 {
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.mega-col a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  min-height: 40px;
  line-height: 1.4;
}

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

.mega-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-sec);
  border-radius: 10px;
}

.mega-close:hover {
  background: var(--bg-sky);
  color: var(--title);
}

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

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

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

.search-inner input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-light);
}

.search-inner input:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: var(--white);
}

.search-inner button {
  height: 48px;
  padding: 0 24px;
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}

.search-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-sec);
  border-radius: 10px;
}

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

.mobile-bottom-inner {
  display: flex;
  height: 56px;
  max-width: 560px;
  margin: 0 auto;
}

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

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

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

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

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  max-height: 520px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0A315E 0%, #1677EE 50%, #E5F1FF 100%);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,29,55,0.72) 0%, rgba(10,49,94,0.45) 55%, rgba(22,119,238,0.15) 100%);
  display: flex;
  align-items: center;
  padding: 40px 48px;
}

.hero-content {
  max-width: 560px;
  color: #fff;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-content p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 24px;
  opacity: 0.95;
}

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(22,119,238,0.28);
  color: #fff !important;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  color: #fff !important;
}

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

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

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

.quad-card .icon-wrap {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brand-blue);
}

.quad-card h3 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 6px;
  font-weight: 600;
}

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

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

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

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

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

.section-header .more {
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* 卡片通用 */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

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

.card h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.4;
}

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

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

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

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

.featured-main .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--brand-blue);
  background: rgba(22,119,238,0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-weight: 500;
}

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

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

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

.featured-side .card {
  flex: 1;
  padding: 18px 20px;
}

.featured-side h3 {
  font-size: 16px;
}

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

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

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

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

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

.city-feature-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #EDF5FF 0%, #E5F1FF 50%, #DCEEFF 100%);
  border: 1px solid var(--border);
}

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

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

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

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.city-tags a {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--bg-sky);
  color: var(--brand-blue);
  font-size: 13px;
  border-radius: 20px;
  min-height: 36px;
  align-items: center;
}

.city-tags a:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* 周末四段 */
.weekend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.time-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-blue);
}

.time-card .time-label {
  font-size: 13px;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.time-card h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 8px;
}

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

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

.route-step {
  text-align: center;
  padding: 18px 10px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.route-step .num {
  width: 28px;
  height: 28px;
  margin: 0 auto 10px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.route-step h4 {
  font-size: 14px;
  color: var(--title);
  margin-bottom: 4px;
}

.route-step p {
  font-size: 12px;
  color: var(--text-sec);
}

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

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

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

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

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

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

.exp-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.exp-item h3 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 600;
}

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

/* 文化观察 */
.culture-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.culture-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.culture-card .label {
  font-size: 12px;
  color: var(--brand-blue);
  font-weight: 500;
  margin-bottom: 8px;
}

.culture-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 14px;
  line-height: 1.7;
}

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

.story-main h2 {
  font-size: 22px;
  color: var(--title);
  margin-bottom: 14px;
}

.story-main p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

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

.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.story-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.story-card p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.55;
}

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

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

.topic-item .num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--bg-soft);
  color: var(--brand-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.topic-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.topic-item p {
  font-size: 13px;
  color: var(--text-sec);
}

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

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.guide-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 14px;
  line-height: 1.65;
}

/* 影集 media-slot */
.album-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

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

.media-slot.wide {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}

.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: 12px 14px;
  background: linear-gradient(transparent, rgba(7,29,55,0.75));
  color: #fff;
  font-size: 13px;
}

/* 脉搏 */
.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pulse-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.pulse-item .dot {
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* APP 区域 */
.app-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-light);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
}

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

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

.app-text h2 {
  font-size: 28px;
  color: var(--title);
  margin-bottom: 14px;
}

.app-text p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.app-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.app-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

/* 安全深蓝块 */
.security-block {
  background: var(--navy);
  border-radius: 16px;
  padding: 36px 40px;
  color: #fff;
}

.security-block h2 {
  font-size: 26px;
  margin-bottom: 12px;
  color: #fff;
}

.security-block p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

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

.security-list li {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 14px;
  color: var(--text-light);
}

/* 隐私块 */
.privacy-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.privacy-block h2 {
  font-size: 24px;
  color: var(--title);
  margin-bottom: 12px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.privacy-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border);
}

.privacy-item h4 {
  font-size: 15px;
  color: var(--title);
  margin-bottom: 6px;
}

.privacy-item p {
  font-size: 13px;
  color: var(--text-sec);
}

/* 页内通用标题区 */
.page-hero {
  background: linear-gradient(135deg, #0A315E 0%, #075FC6 60%, #1677EE 100%);
  padding: 56px 0 48px;
  color: #fff;
  margin-bottom: 40px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.6;
}

.page-hero.light {
  background: var(--bg-sky);
  color: var(--title);
}

.page-hero.light p {
  color: var(--text-sec);
}

/* 内容页文章 */
.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 24px;
  color: var(--title);
  margin-bottom: 14px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-soft);
}

.content-block h3 {
  font-size: 18px;
  color: var(--title);
  margin: 20px 0 10px;
  font-weight: 600;
}

.content-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}

.content-block ul, .content-block ol {
  margin: 12px 0 16px 20px;
}

.content-block li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 6px;
  list-style: disc;
}

.content-block ol li {
  list-style: decimal;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--title);
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  background: var(--bg-light);
}

.faq-item summary:hover {
  background: var(--bg-sky);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item .answer {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

/* 页脚 */
.site-footer {
  background: var(--footer-bg);
  color: var(--text-light);
  padding: 48px 0 28px;
  margin-top: 60px;
  border-top: 1px solid rgba(220,238,255,0.12);
}

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

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

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

.footer-brand .en {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(220,238,255,0.75);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(220,238,255,0.7);
  padding: 5px 0;
  min-height: 32px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(220,238,255,0.55);
}

/* 响应式 */
@media (max-width: 1280px) {
  .container, .header-inner, .mega-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-content h1 {
    font-size: 42px;
  }
  .section-title {
    font-size: 28px;
  }
  .interest-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-main {
    display: none;
  }
  .btn-menu {
    display: inline-flex;
  }
  .mega-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quad-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .city-feature {
    grid-template-columns: 1fr;
  }
  .city-feature-image {
    order: -1;
  }
  .weekend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .route-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .interest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .exp-list, .culture-list, .topic-list {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .album-grid {
    grid-template-columns: 1fr 1fr;
  }
  .media-slot.wide {
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
  .app-section {
    grid-template-columns: 1fr;
  }
  .app-preview-image {
    order: -1;
    max-height: 360px;
  }
  .app-preview-image img {
    max-height: 320px;
    max-width: 280px;
  }
  .security-list, .privacy-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .site-header {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
  .mobile-bottom {
    display: block;
  }
  main {
    padding-bottom: 80px;
  }
  .hero-banner {
    aspect-ratio: 16 / 10;
    max-height: 360px;
    border-radius: 0;
  }
  .hero-overlay {
    padding: 28px 20px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .quad-nav {
    margin-top: -24px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .quad-card {
    padding: 18px 14px;
  }
  .section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .short-list {
    grid-template-columns: 1fr;
  }
  .weekend-grid, .route-steps, .interest-grid {
    grid-template-columns: 1fr 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .album-grid {
    grid-template-columns: 1fr;
  }
  .security-list, .privacy-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mega-menu {
    top: 0;
    bottom: 0;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }
  .mega-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .page-hero {
    padding: 40px 0 32px;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .app-section {
    padding: 24px 18px;
  }
  .security-block {
    padding: 28px 20px;
  }
}

@media (max-width: 560px) {
  .container, .header-inner, .mega-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .quad-nav {
    grid-template-columns: 1fr;
  }
  .weekend-grid, .route-steps, .interest-grid {
    grid-template-columns: 1fr;
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-actions {
    flex-direction: column;
  }
}

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