/* 海角社区 - 全站样式 */
*,
*::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 #1677EE;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-mid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 颜色变量 ========== */
:root {
  --brand-blue: #1677EE;
  --bright-blue: #3395FF;
  --deep-blue: #075FC6;
  --dark-blue: #08488D;
  --navy: #0A315E;
  --footer-bg: #071D37;
  --main-title: #16243A;
  --body-text: #3C485A;
  --secondary-text: #6B7787;
  --hint-text: #929BA8;
  --white: #FFFFFF;
  --light-blue-text: #DCEEFF;
  --bg-main: #FFFFFF;
  --bg-light: #F7FAFF;
  --bg-soft: #EDF5FF;
  --bg-pale: #E5F1FF;
  --border-light: rgba(22, 119, 238, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-normal: 0 12px 34px rgba(30, 72, 120, 0.08);
  --shadow-brand: 0 14px 40px rgba(22, 119, 238, 0.14);
  --btn-gradient: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
}

/* ========== 顶部导航 ========== */
.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-light);
}

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

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

.brand-area a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--main-title);
  font-weight: 600;
  font-size: 18px;
}

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

.brand-logo-fallback {
  width: 36px;
  height: 36px;
  background: var(--btn-gradient);
  border-radius: 8px;
  display: none;
}

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

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

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

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

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

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

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

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

.header-actions .btn-app {
  background: var(--btn-gradient);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.header-actions .btn-app:hover {
  color: var(--white);
  opacity: 0.92;
}

.menu-toggle,
.search-toggle {
  display: none;
}

.mobile-brand {
  display: none;
}

/* ========== 手机顶部 ========== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .header-actions .nav-desktop {
    display: none;
  }
  .menu-toggle,
  .search-toggle {
    display: flex;
  }
  .mobile-brand {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-inner {
    height: 62px;
    position: relative;
  }
  .brand-area {
    display: none;
  }
  .brand-logo {
    height: 30px;
  }
}

/* ========== 超级菜单 ========== */
.mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.mega-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 55, 0.45);
}

.mega-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 920px;
  height: 100%;
  background: var(--white);
  overflow-y: auto;
  padding: 32px 40px 48px;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mega-menu.open .mega-panel {
  transform: translateX(0);
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mega-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.mega-brand span {
  font-size: 18px;
  font-weight: 600;
  color: var(--main-title);
}

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

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

.mega-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

.mega-group h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--hint-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.mega-group a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--body-text);
  min-height: 44px;
  line-height: 1.4;
}

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

@media (max-width: 768px) {
  .mega-panel {
    max-width: 100%;
    padding: 24px 20px 40px;
  }
  .mega-groups {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.search-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 55, 0.5);
}

.search-box {
  position: relative;
  max-width: 640px;
  margin: 120px auto 0;
  padding: 0 24px;
}

.search-box form {
  display: flex;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-brand);
}

.search-box input {
  flex: 1;
  padding: 18px 24px;
  font-size: 16px;
  border: none;
  outline: none;
  color: var(--main-title);
}

.search-box button {
  padding: 18px 28px;
  background: var(--btn-gradient);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}

.search-close {
  position: absolute;
  top: -60px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
}

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

.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(--secondary-text);
  gap: 2px;
  min-height: 44px;
}

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

.mobile-bottom-nav .nav-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--brand-blue);
}

.mobile-bottom-nav a.active .nav-icon {
  background: var(--bg-pale);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 58px;
  }
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  min-height: 44px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  color: var(--white);
  opacity: 0.92;
}

.btn-outline {
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bg-soft);
  color: var(--deep-blue);
}

.btn-light {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

/* ========== 首页主视觉 ========== */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #0A315E 0%, #1677EE 50%, #3395FF 100%);
}

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

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(7, 29, 55, 0.78) 0%, rgba(10, 49, 94, 0.55) 45%, transparent 75%);
}

.hero-text {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 640px;
}

.hero-text p {
  font-size: 17px;
  color: var(--light-blue-text);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .hero-banner {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-text p {
    font-size: 15px;
  }
  .hero-content {
    background: linear-gradient(180deg, transparent 20%, rgba(7, 29, 55, 0.82) 70%);
    align-items: flex-end;
    padding-bottom: 32px;
  }
}

/* ========== 四格导航 ========== */
.quick-nav {
  background: var(--bg-light);
  padding: 40px 0;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-nav-item {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-normal);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border-light);
}

.quick-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand);
}

.quick-nav-item .icon-box {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--bg-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brand-blue);
}

.quick-nav-item h3 {
  font-size: 17px;
  color: var(--main-title);
  margin-bottom: 6px;
}

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

@media (max-width: 768px) {
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .quick-nav-item {
    padding: 20px 16px;
  }
}

@media (max-width: 560px) {
  .quick-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.section-header {
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--main-title);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 15px;
  color: var(--secondary-text);
  max-width: 560px;
}

.section-header .more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 500;
}

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

.today-featured {
  grid-row: span 2;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-normal);
  display: flex;
  flex-direction: column;
}

.today-featured .media-slot {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #EDF5FF 0%, #F7FAFF 100%);
}

.today-featured .content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.today-featured h3 {
  font-size: 22px;
  color: var(--main-title);
  margin-bottom: 12px;
  line-height: 1.35;
}

.today-featured p {
  font-size: 15px;
  color: var(--body-text);
  flex: 1;
  margin-bottom: 16px;
}

.today-card {
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-normal);
}

.today-card h3 {
  font-size: 17px;
  color: var(--main-title);
  margin-bottom: 8px;
  line-height: 1.4;
}

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

.today-short {
  background: var(--bg-pale);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border-light);
}

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

.today-short p {
  font-size: 13px;
  color: var(--secondary-text);
}

@media (max-width: 1024px) {
  .today-grid {
    grid-template-columns: 1fr 1fr;
  }
  .today-featured {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .today-grid {
    grid-template-columns: 1fr;
  }
  .today-featured {
    grid-column: auto;
  }
}

/* ========== 城市生活志图文 ========== */
.city-feature {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

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

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

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

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

@media (max-width: 768px) {
  .city-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .city-feature-image {
    order: -1;
  }
}

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

.time-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-normal);
}

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

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

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

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

@media (max-width: 560px) {
  .weekend-timeline {
    grid-template-columns: 1fr;
  }
}

/* ========== 旅行路线 ========== */
.travel-route {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.route-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid var(--border-light);
}

.route-num {
  width: 36px;
  height: 36px;
  background: var(--btn-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.route-step h3 {
  font-size: 16px;
  color: var(--main-title);
  margin-bottom: 6px;
}

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

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

.interest-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 16px;
  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-normal);
}

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

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

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

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

/* ========== 经验卡片 ========== */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.exp-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-normal);
}

.exp-card h3 {
  font-size: 17px;
  color: var(--main-title);
  margin-bottom: 10px;
  line-height: 1.4;
}

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

@media (max-width: 768px) {
  .exp-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 文化专题 ========== */
.culture-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.culture-item {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-normal);
}

.culture-item h3 {
  font-size: 20px;
  color: var(--main-title);
  margin-bottom: 12px;
}

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

/* ========== 故事 ========== */
.story-main {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-normal);
  margin-bottom: 28px;
}

.story-main h3 {
  font-size: 24px;
  color: var(--main-title);
  margin-bottom: 16px;
  line-height: 1.35;
}

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

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

.story-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid var(--border-light);
}

.story-card h4 {
  font-size: 16px;
  color: var(--main-title);
  margin-bottom: 8px;
}

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

@media (max-width: 768px) {
  .story-main {
    padding: 24px 20px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
}

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

.topic-item {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid var(--border-light);
  transition: border-color 0.2s;
}

.topic-item:hover {
  border-color: rgba(22, 119, 238, 0.35);
}

.topic-item h3 {
  font-size: 16px;
  color: var(--main-title);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

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

.guide-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-normal);
}

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

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

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 影集 ========== */
.album-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

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

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

.media-slot.wide {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 3 / 4;
  min-height: 360px;
}

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

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

@media (max-width: 768px) {
  .album-layout {
    grid-template-columns: 1fr 1fr;
  }
  .media-slot.wide {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }
}

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

.pulse-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: 10px;
  padding: 18px 22px;
  border: 1px solid var(--border-light);
}

.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: 6px;
}

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

/* ========== APP 区域 ========== */
.app-section {
  background: linear-gradient(135deg, #0A315E 0%, #075FC6 100%);
  padding: 64px 0;
  color: var(--white);
}

.app-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.app-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--white);
}

.app-text p {
  font-size: 15px;
  color: var(--light-blue-text);
  margin-bottom: 14px;
  line-height: 1.7;
}

.app-preview-image {
  max-height: 520px;
  display: flex;
  justify-content: center;
}

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

.app-preview-image .fallback {
  width: 240px;
  height: 480px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .app-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-preview-image img {
    max-width: 280px;
    max-height: 420px;
  }
  .app-text h2 {
    font-size: 26px;
  }
}

/* ========== 安全中心深蓝 ========== */
.security-hero {
  background: var(--navy);
  padding: 64px 0;
  color: var(--white);
}

.security-hero h1 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 16px;
}

.security-hero p {
  font-size: 16px;
  color: var(--light-blue-text);
  max-width: 640px;
  line-height: 1.7;
}

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

.security-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 24px;
}

.security-item h3 {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 10px;
}

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

@media (max-width: 768px) {
  .security-list {
    grid-template-columns: 1fr;
  }
  .security-hero h1 {
    font-size: 28px;
  }
}

/* ========== 隐私白底 ========== */
.privacy-box {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.privacy-box h3 {
  font-size: 18px;
  color: var(--main-title);
  margin-bottom: 12px;
}

.privacy-box p {
  font-size: 15px;
  color: #26364D;
  line-height: 1.75;
}

/* ========== 页面通用标题区 ========== */
.page-hero {
  background: var(--bg-light);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border-light);
}

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

.page-hero .lead {
  font-size: 16px;
  color: var(--secondary-text);
  max-width: 640px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 30px;
  }
  .section-header h2 {
    font-size: 24px;
  }
}

/* ========== 内容区 ========== */
.content-block {
  padding: 40px 0 56px;
}

.content-block h2 {
  font-size: 24px;
  color: var(--main-title);
  margin: 32px 0 16px;
}

.content-block h3 {
  font-size: 18px;
  color: var(--main-title);
  margin: 24px 0 12px;
}

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

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

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

/* ========== 页脚 ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--light-blue-text);
  padding: 56px 0 32px;
  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: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-logo img {
  height: 32px;
  object-fit: contain;
}

.footer-brand-logo span {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.footer-brand .en {
  font-size: 12px;
  color: rgba(220, 238, 255, 0.6);
  letter-spacing: 0.08em;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

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

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(220, 238, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(220, 238, 255, 0.5);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

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

.faq-list summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--main-title);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
}

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

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

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

.faq-list details p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.75;
}

/* ========== 通用卡片列表 ========== */
.card-list {
  display: grid;
  gap: 20px;
}

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

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

@media (max-width: 768px) {
  .card-list.cols-2,
  .card-list.cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ========== 工具类 ========== */
.text-center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-24 {
  margin-bottom: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== 内页内容宽度 ========== */
.article-body {
  max-width: 820px;
  margin: 0 auto;
}

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

/* ========== 响应式微调 ========== */
@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 40px 0;
  }
  .page-hero {
    padding: 36px 0 28px;
  }
}
