/* ==========================================================================
   Cloud Explore — Corporate Website Stylesheet
   Design Direction: Structured Confidence (deep ink navy + warm gold)
   ==========================================================================

   Table of Contents
   1.  Design Tokens
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Buttons
   6.  Header & Navigation
   7.  Hero
   8.  About
   9.  Products
   10. Advantages
   11. Partners
   12. Contact
   13. Footer
   14. Scroll Reveal Animations
   15. Responsive

   ========================================================================== */

/* ============ 1. Design Tokens ============ */

:root {
  /* Ink Navy — primary dark palette */
  --ink-950: #07111F;
  --ink-900: #0A1626;
  --ink-800: #0F1E33;
  --ink-700: #162940;
  --ink-600: #1E3450;
  --ink-500: #2A4060;
  --ink-400: #3A5275;

  /* Gold — accent palette */
  --gold-500: #C4965A;
  --gold-400: #D4AB6E;
  --gold-600: #A87B43;
  --gold-300: #E0C49A;
  --gold-200: #EAD9BC;

  /* Warm Neutrals */
  --cream: #FAF9F6;
  --cream-alt: #F2F0EB;
  --cream-dark: #EAE7E0;

  /* Text */
  --text-primary: #141414;
  --text-secondary: #4A4A4A;
  --text-tertiary: #7A7A7A;
  --text-light: rgba(255, 255, 255, 0.92);
  --text-light-secondary: rgba(255, 255, 255, 0.65);
  --text-light-tertiary: rgba(255, 255, 255, 0.42);

  /* Borders */
  --border: #E0DCD3;
  --border-light: #ECE9E3;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-latin: 'DM Sans', 'Noto Sans SC', sans-serif;

  /* Sizing */
  --container-max: 1400px;
  --section-padding: clamp(80px, 10vw, 140px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 38, 0.06);
  --shadow-md: 0 4px 24px rgba(10, 22, 38, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 22, 38, 0.12);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);
}

/* ============ 2. Reset & Base ============ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

::selection {
  background: var(--gold-500);
  color: var(--ink-950);
}

/* ============ 3. Typography ============ */

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gold { color: var(--gold-500); }

/* ============ 4. Layout Utilities ============ */

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

.section {
  padding: var(--section-padding) 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-header-light .section-label,
.section-header-light .section-title,
.section-header-light .section-subtitle {
  color: var(--text-light);
}

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--gold-500);
  margin-right: 12px;
  vertical-align: middle;
}

.section-label-light { color: var(--gold-400); }
.section-label-light::before { background: var(--gold-400); }

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-title-light { color: var(--text-light); }

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-subtitle-light { color: var(--text-light-secondary); }

/* ============ 5. Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-gold {
  background: var(--gold-500);
  color: var(--ink-950);
}

.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 150, 90, 0.35);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
}

.btn-outline-light:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ============ 6. Header & Navigation ============ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 22, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  transition: color var(--transition);
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--gold-500);
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  gap: 26px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light-secondary);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-500);
  border-radius: 1px;
}

.header-cta {
  color: var(--ink-950);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 1px;
  transition: all var(--transition);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ 7. Hero ============ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--ink-950) 0%, var(--ink-900) 50%, var(--ink-800) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 150, 90, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(196, 150, 90, 0.6);
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--text-light-secondary);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stat-num {
  font-family: var(--font-latin);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: -0.01em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-light-tertiary);
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light-tertiary);
  letter-spacing: 0.06em;
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Hero Visual: Dashboard Mockup ---- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dashboard {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 30, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  position: relative;
}

.hero-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-header-left {
  display: flex;
  gap: 6px;
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dot-red { background: #E0584C; }
.dash-dot-yellow { background: #E8B33D; }
.dash-dot-green { background: #3CB963; }

.dash-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light-secondary);
  letter-spacing: 0.02em;
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #3CB963;
}

.dash-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3CB963;
  box-shadow: 0 0 8px rgba(60, 185, 99, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.dash-body {
  padding: 20px 18px;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.dash-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px;
}

.dash-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-light-tertiary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.dash-stat-value {
  display: block;
  font-family: var(--font-latin);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.dash-stat-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light-secondary);
  margin-left: 2px;
}

.dash-stat-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.dash-stat-bar-fill {
  height: 100%;
  background: var(--gold-500);
  border-radius: 2px;
}

.dash-section-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.dash-room-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.dash-room {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  transition: transform 0.2s var(--ease);
}

.dash-room:hover {
  transform: scale(1.1);
}

.dash-room-occupied {
  background: rgba(196, 150, 90, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(196, 150, 90, 0.25);
}

.dash-room-empty {
  background: rgba(60, 185, 99, 0.1);
  color: #5DBE7A;
  border: 1px solid rgba(60, 185, 99, 0.2);
}

.dash-room-reserved {
  background: rgba(96, 165, 250, 0.1);
  color: #7DB4F7;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.dash-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dash-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light-tertiary);
}

.dash-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Floating Cards */

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 30, 51, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card-1 {
  top: 12%;
  left: -8%;
  animation-delay: 0s;
}

.hero-float-card-2 {
  bottom: 8%;
  right: -6%;
  animation-delay: 2.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-float-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(196, 150, 90, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
}

.hero-float-icon svg {
  width: 20px;
  height: 20px;
}

.hero-float-icon-gold {
  background: var(--gold-500);
  color: var(--ink-950);
}

.hero-float-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-float-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-float-text span {
  font-size: 11px;
  color: var(--text-light-tertiary);
  white-space: nowrap;
}

/* ============ 8. About ============ */

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.about-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-desc:last-of-type {
  margin-bottom: 0;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-badge {
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.about-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.about-badge-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--gold-500);
}

.about-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-badge-text strong {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
}

.about-badge-text span {
  font-size: 14px;
  color: var(--text-light-secondary);
}

.about-certificate {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.about-cert-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.about-cert-num {
  font-family: var(--font-latin);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-800);
}

.about-cert-label {
  font-size: 13px;
  color: var(--text-tertiary);
}

.about-cert-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============ 9. Products ============ */

.products {
  background: var(--cream-alt);
}

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

.product-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--ink-900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background var(--transition);
}

.product-card:hover .product-icon-wrap {
  background: var(--gold-500);
}

.product-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-500);
  transition: color var(--transition);
}

.product-card:hover .product-icon {
  color: var(--ink-950);
}

.product-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.product-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-features li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--cream-alt);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all var(--transition);
}

.product-card:hover .product-features li {
  background: var(--gold-200);
}

/* ============ 9b. News / 最新成果 ============ */

.news {
  background: var(--cream);
}

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

.news-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--cream-alt);
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

.news-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.news-card-date {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.news-card-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-600);
  background: var(--gold-200);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-summary {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}

/* ============ 10. Advantages ============ */

.advantages {
  background: linear-gradient(170deg, var(--ink-950), var(--ink-800));
  position: relative;
  overflow: hidden;
}

.advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.advantages .container {
  position: relative;
  z-index: 1;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
}

.advantage-item {
  padding: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  transition: border-color var(--transition);
}

.advantage-item:hover {
  border-top-color: var(--gold-500);
}

.advantage-num {
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-500);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 24px;
}

.advantage-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 14px;
}

.advantage-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light-secondary);
}

/* ============ 11. Partners ============ */

.partners {
  background: var(--cream);
}

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

.partner-item {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.partner-item:hover {
  border-color: var(--gold-300);
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}

.partners-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ============ 11b. Cases / 客户案例 ============ */

.cases {
  background: var(--cream);
}

.case-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.case-highlight {
  background: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.case-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-500);
}

.case-highlight-num {
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.case-highlight-label {
  display: block;
  font-size: 14px;
  color: var(--text-light-secondary);
}

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

.case-card {
  background: white;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
}

.case-card:hover {
  border-color: var(--gold-300);
  border-left-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.cases-persona {
  margin: 44px auto 0;
  max-width: 900px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 32px;
}

/* ============ 11c. History / 发展历程 ============ */

.history {
  background: var(--cream-alt);
}

.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 160px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold-300), var(--border));
}

.timeline-item {
  position: relative;
  padding: 0 0 44px 196px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 0;
  width: 140px;
  text-align: right;
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.02em;
}

.timeline-node {
  position: absolute;
  left: 155px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px var(--cream-alt), 0 0 0 5px var(--gold-300);
}

.timeline-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 660px;
}

/* ============ 11d. Service / 服务承诺 ============ */

.service {
  background: var(--cream);
}

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

.service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.service-card:hover .service-card-icon-wrap {
  background: var(--gold-500);
}

.service-card-icon {
  width: 26px;
  height: 26px;
  color: var(--gold-600);
}

.service-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============ 11e. FAQ / 常见问答 ============ */

.faq {
  background: var(--cream-alt);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--gold-300);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.faq-question::after {
  content: '+';
  font-family: var(--font-latin);
  font-size: 24px;
  font-weight: 500;
  color: var(--gold-600);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ============ 11f. Models / 自助机型 ============ */

.models {
  background: var(--cream);
}

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

.model-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.model-card-image-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--cream-alt);
}

.model-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.model-card:hover .model-card-image {
  transform: scale(1.04);
}

.model-card-body {
  padding: 22px 24px 26px;
}

.model-card-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-600);
  background: var(--gold-200);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.model-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.model-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============ 11g. Certificates / 资质证书 ============ */

.certs {
  background: var(--cream-alt);
}

/* 资质证书：轮播。每屏几张由下面的 flex-basis 决定，
   script.js 会读真实宽度反推页数，改这里不用同步改 JS */
.certs-carousel {
  --cert-gap: 24px;
}

.certs-stage {
  position: relative;
}

.certs-viewport {
  overflow: hidden;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.certs-viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--gold-400);
  border-radius: var(--radius-sm);
}

.certs-track {
  display: flex;
  gap: var(--cert-gap);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.certs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-700);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), color var(--transition);
}

.certs-nav svg {
  width: 20px;
  height: 20px;
}

.certs-nav:hover {
  background: var(--ink-700);
  color: #fff;
}

.certs-prev {
  left: -14px;
}

.certs-next {
  right: -14px;
}

.certs-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.certs-dots {
  display: flex;
  gap: 8px;
}

.certs-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: var(--cream-dark);
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}

.certs-dot:hover {
  background: var(--gold-300);
}

.certs-dot.active {
  width: 22px;
  background: var(--gold-500);
}

/* 证书少到一屏放得下时，收起箭头和圆点，退回普通卡片排布 */
.certs-carousel.single .certs-nav,
.certs-carousel.single .certs-foot {
  display: none;
}

.cert-card {
  flex: 0 0 calc((100% - var(--cert-gap) * 3) / 4);
  min-width: 0;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 18px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.cert-card-image-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.cert-card-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cert-card-note {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============ 12. Contact ============ */

.contact {
  background: var(--cream-alt);
}

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

.contact-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 460px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-600);
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.contact-item-label {
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.contact-item-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.contact-cta-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-cta-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.contact-cta-card .btn {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 32px;
}

.contact-cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ============ 13. Footer ============ */

.site-footer {
  background: var(--ink-950);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}

.logo-footer {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light-secondary);
  max-width: 320px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-light-secondary);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-contact li {
  font-size: 14px;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light-tertiary);
}

/* ============ 14. Scroll Reveal Animations ============ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ 14b. Page Loader & Error ============ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink-950);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.page-loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(196, 150, 90, 0.2);
  border-top-color: var(--gold-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.load-error {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
}

.load-error p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ 15. Responsive ============ */

@media (max-width: 1100px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 38, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
  }

  .main-nav.open ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav.open .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.open .nav-link.active::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

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

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

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

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

  .cert-card {
    flex-basis: calc((100% - var(--cert-gap) * 2) / 3);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 38, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
  }

  .main-nav.open ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav.open .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.open .nav-link.active::after {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-float-card-1,
  .hero-float-card-2 {
    display: none;
  }

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

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

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

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

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

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

  .certs-carousel {
    --cert-gap: 16px;
  }

  .cert-card {
    flex-basis: calc((100% - var(--cert-gap)) / 2);
  }

  .certs-nav {
    width: 38px;
    height: 38px;
  }

  .certs-prev {
    left: 4px;
  }

  .certs-next {
    right: 4px;
  }

  .cert-card-image-wrap {
    height: 140px;
  }

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

  .timeline-item {
    padding: 0 0 40px 32px;
  }

  .timeline-year {
    position: static;
    width: auto;
    text-align: left;
    display: block;
    margin-bottom: 6px;
  }

  .timeline-node {
    left: 0;
    top: 8px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .about-certificate {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .about-cert-divider {
    display: none;
  }

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

  .product-card {
    padding: 32px 28px;
  }

  .contact-cta-card {
    padding: 32px 24px;
  }

  .contact-cta-card .btn {
    font-size: 17px;
    padding: 13px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

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

  .hero-stat-num {
    font-size: 24px;
  }

  .about-badge {
    padding: 24px;
  }

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

  /* 证书轮播：手机上一次一张 */
  .cert-card {
    flex-basis: 100%;
  }
}

/* ============ Reduced Motion ============ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============ 14. 成果文章详情页（article.html） ============ */

body.article-page {
  background: var(--cream);
}

.article-main {
  padding-top: 72px;
  min-height: 70vh;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 0 96px;
}

.article-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.article-crumb a {
  color: var(--text-tertiary);
  transition: color var(--transition);
}

.article-crumb a:hover {
  color: var(--gold-600);
}

.article-head {
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.article-date {
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.article-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-200);
  color: var(--gold-600);
}

.article-read {
  font-size: 13px;
  color: var(--text-tertiary);
}

.article-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.article-lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 18px;
  border-left: 3px solid var(--gold-400);
}

.article-cover {
  margin: 36px 0 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-alt);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}

/* --- 正文排版 --- */

.article-body {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-primary);
}

.article-p {
  margin: 0 0 22px;
}

.article-h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.article-h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-700);
  margin: 34px 0 14px;
}

.article-body strong {
  font-weight: 700;
  color: var(--ink-800);
}

.article-list {
  margin: 0 0 24px;
  padding-left: 26px;
}

.article-list li {
  margin-bottom: 10px;
  line-height: 1.85;
}

.article-list li::marker {
  color: var(--gold-500);
  font-weight: 700;
}

.article-quote {
  margin: 32px 0;
  padding: 22px 26px;
  background: var(--cream-alt);
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-700);
}

.article-figure {
  margin: 36px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.article-figcap {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-tertiary);
  text-align: center;
}

/* --- 上一篇 / 下一篇 --- */

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-pager:empty {
  display: none;
  margin: 0;
  padding: 0;
  border-top: none;
}

.article-pager-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.article-pager-link:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-pager-link.next {
  text-align: right;
}

.article-pager-dir {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-600);
}

.article-pager-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
}

/* --- 文末转化卡 --- */

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.article-cta-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-light);
}

.article-cta-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light-secondary);
}

.article-cta .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* --- 文章不存在 --- */

.article-missing {
  max-width: 560px;
  margin: 0 auto;
  padding: 96px 0 128px;
  text-align: center;
}

.article-missing-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}

.article-missing-desc {
  margin: 16px 0 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- 详情页顶栏右侧动作区 --- */

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

.article-header-back {
  font-size: 15px;
  color: var(--text-light-secondary);
  transition: color var(--transition);
}

.article-header-back:hover {
  color: var(--gold-400);
}

/* --- 精简页脚 --- */

.article-footer {
  padding: 40px 0;
}

.article-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-light-tertiary);
}

.article-footer-brand {
  color: var(--text-light-secondary);
}

.article-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.article-footer-links a {
  color: var(--text-light-tertiary);
  transition: color var(--transition);
}

.article-footer-links a:hover {
  color: var(--gold-400);
}

.article-footer-copy {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- 首页卡片上的「阅读全文」入口 --- */

.news-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-600);
  transition: all var(--transition);
}

.news-card-more:hover {
  color: var(--ink-800);
  gap: 10px;
}

.news-card--article .news-card-title {
  cursor: default;
}

@media (max-width: 768px) {
  .article-shell {
    padding: 32px 0 72px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.85;
  }

  .article-h2 {
    font-size: 21px;
    margin-top: 38px;
  }

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

  .article-pager-link.next {
    text-align: left;
  }

  .article-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
    gap: 20px;
  }

  .article-header-back {
    display: none;
  }

  .article-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

