/* =========================================================
   site.css — 敢于叙事 · 全局组件样式
   (补充 style.css，不替换)
   ========================================================= */

/* ── Site Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(4, 9, 20, 0.97);
}

.site-header .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Site Logo */
.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-brand {
  font-family: 'Outfit', "PingFang SC", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Site Nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav ul li a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-normal);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.site-nav ul li a:hover,
.site-nav ul li a.active {
  color: var(--text-light);
  background: rgba(255,255,255,0.06);
}

.site-nav ul li a.nav-cta {
  background: var(--gold);
  color: #0e1d33;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  transition: opacity 0.2s, transform 0.15s;
}

.site-nav ul li a.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  background: var(--gold);
  color: #0e1d33;
}

.site-nav ul li a.nav-cta.active {
  background: var(--gold-glow);
  color: #0e1d33;
}

/* ── Hamburger Menu ──────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Page Hero (list pages) ──────────────────────────────── */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--navy-deep) 100%);
  border-bottom: 1px solid var(--glass-border);
}

.page-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin: 12px 0 16px;
  color: var(--text-light);
}

.page-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Content List Section ────────────────────────────────── */
.content-list-section {
  padding: 48px 0 80px;
  min-height: 60vh;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--navy-bright);
  color: var(--text-light);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0e1d33;
  font-weight: 600;
}

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Article Card */
.article-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  border-color: var(--navy-bright);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.article-card.pinned {
  border-color: rgba(201, 162, 39, 0.4);
}

.article-card.pinned::before {
  content: '📌 置顶';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 2px 8px;
  border-radius: 10px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.card-date {
  font-variant-numeric: tabular-nums;
}

.card-score {
  margin-left: auto;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-bright));
  color: var(--gold);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.card-title {
  font-family: 'Outfit', "PingFang SC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}

.card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(50, 88, 142, 0.3);
  color: var(--text-muted);
  border: 1px solid rgba(50, 88, 142, 0.4);
}

.card-read-more {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

/* Loading & empty states */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.page-btn:hover { border-color: var(--navy-bright); color: var(--text-light); }
.page-btn.active { background: var(--navy-mid); border-color: var(--navy-bright); color: var(--text-light); }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Home Page ───────────────────────────────────────────── */
.page-home body { }

.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(50, 88, 142, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 88, 142, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, var(--bg-darker) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow-wrap {
  margin-bottom: 20px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.08);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.home-hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-light);
}

.home-hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-normal);
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--navy-bright);
  color: var(--text-light);
}

.hero-deco-ring {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-deco-ring::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(50, 88, 142, 0.15);
}

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

/* Pillars */
.home-pillars {
  padding: 80px 0;
  background: var(--navy-deep);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

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

.pillar-card {
  background: rgba(14,29,51,0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.pillar-card:hover {
  border-color: var(--navy-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.pillar-card--gold {
  border-color: rgba(201,162,39,0.3);
}

.pillar-card--gold:hover {
  border-color: var(--gold);
}

.pillar-icon {
  font-size: 32px;
}

.pillar-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.pillar-link {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

/* Latest Section */
.home-latest {
  padding: 80px 0;
}

.latest-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.latest-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.latest-col-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
}

.see-all {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.latest-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-card {
  display: block;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}

.mini-card:hover {
  border-color: var(--navy-bright);
  transform: translateX(3px);
}

.mini-card-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.mini-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 8px;
}

.mini-card-tags {
  display: flex;
  gap: 6px;
}

.card-skeleton {
  height: 88px;
  background: linear-gradient(90deg, var(--navy-deep) 25%, var(--navy-mid) 50%, var(--navy-deep) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Service Teaser */
.home-service-teaser {
  padding: 80px 0;
  background: var(--navy-deep);
  border-top: 1px solid var(--glass-border);
}

.service-teaser-card {
  background: linear-gradient(135deg, var(--navy-mid) 0%, rgba(50,88,142,0.3) 100%);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.service-teaser-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 12px;
}

.service-teaser-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.teaser-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.t-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.t-stat span {
  font-size: 12px;
  color: var(--text-muted);
}

.service-teaser-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge-item {
  background: rgba(14,29,51,0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

/* ── Contact Page ────────────────────────────────────────── */
.contact-hero {
  padding: 120px 0 48px;
}

.contact-main {
  padding: 60px 0 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-intro h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-role {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.qr-block {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.qr-image-wrap {
  width: 96px;
  height: 96px;
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.qr-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.qr-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.qr-cta {
  color: var(--gold) !important;
  font-weight: 600;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-method-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.contact-method-detail h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-method-detail p {
  font-size: 14px;
  color: var(--text-muted);
}

.phone-masked {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-hidden { color: var(--text-muted); }

.reveal-btn {
  background: transparent;
  border: 1px solid var(--navy-bright);
  color: var(--gold);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.reveal-btn:hover {
  background: var(--navy-mid);
}

.contact-promise {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(201,162,39,0.06);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-md);
}

.promise-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-promise h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-promise p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form-col {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-col h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-form .form-control {
  width: 100%;
  padding: 10px 14px;
  background: rgba(14,29,51,0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--navy-bright);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-block {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.privacy-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.form-feedback {
  margin-top: 14px;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
}

.form-feedback.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
}

/* ── Service Page Extra ──────────────────────────────────── */
.service-hero {
  padding-top: 80px;
}

.service-contact-cta {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy-mid) 0%, rgba(50,88,142,0.2) 100%);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner-text h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 6px;
}

.cta-banner-text p {
  color: var(--text-muted);
  font-size: 15px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  white-space: nowrap;
}

/* ── Site Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand .logo-brand {
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text-light);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

/* ── Buttons (global extras) ─────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-primary {
  background: var(--gold);
  color: #0e1d33;
}

.btn-secondary {
  background: var(--navy-mid);
  color: var(--text-light);
  border: 1px solid var(--navy-bright);
}

/* ── Article Reader Page ─────────────────────────────────── */
.article-page {
  padding: 100px 0 80px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.article-back:hover { color: var(--text-light); }

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 32px;
}

.article-header h1 {
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-score-badge {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-bright));
  color: var(--gold);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 13px;
}

.article-body-frame {
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  min-height: 600px;
  background: white;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .latest-cols { grid-template-columns: 1fr; }
  .service-teaser-card { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  
  .site-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    padding: 24px;
    z-index: 999;
    overflow-y: auto;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-nav ul li a {
    font-size: 18px;
    padding: 12px 16px;
    display: block;
    width: 100%;
  }

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

  .service-teaser-card { padding: 24px; }
  .contact-form-col { padding: 24px; }
  .cta-banner { padding: 24px; }
}
