/* 
  Global Leader (世达企业) - Modern Corporate Homepage Styles
  Design System: Professional, Stable, International
  Version: V1.1.24 
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;500;700&display=swap');

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --primary-color: #008fd7;
  /* Bright Corporate Blue - From Logo Original Color */
  --primary-hover: #0077b3;
  --secondary-color: #bfa15d;
  /* Champagne Gold - Premium Accent (Preserved) */
  --secondary-hover: #a68a4d;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #7a7a7a;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --accent-blue: #1e3a8a;
  --border-color: #e2e8f0;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 10px 15px -3px rgba(0, 143, 215, 0.3);
  --max-width: 1200px;
  --header-height: 80px;
  --header-overlay: rgba(0, 80, 130, 0.88);
  /* 全站子页面头部背景遮罩 Token */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

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

.icon-sm {
  width: 16px;
}

/* ============================================================
   Responsive Grid Utilities
   ============================================================ */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 2rem;
}

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

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

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

.grid-1,
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 2rem;
}

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

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

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

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

@media (max-width: 1024px) {

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

/* Utility for hiding elements on different screens */
.desktop-only {
  display: flex !important;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .services-grid,
  .services-grid.grid-2,
  .services-grid.grid-3,
  .services-grid.grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(0, 143, 215, 0.05);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.btn-accent:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Utility for responsive flex */
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.flex-column-mobile {
  display: flex;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

@media (max-width: 768px) {
  .flex-column-mobile {
    flex-direction: column;
  }

  .mobile-text-center {
    text-align: center;
  }

  .mobile-gap-1 {
    gap: 1rem;
  }

  .mobile-gap-2 {
    gap: 2rem;
  }
}

/* ============================================================
   Header & Navigation
   ============================================================ */
header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

/* 用 CSS Mask 技术重塑 Logo 颜色，并加入对角线高光 */
.logo-symbol {
  width: 48px;
  height: 48px;
  /* 直接使用 Logo 图像，不再使用 Mask 染色 */
  background: url('../images/logo.png') no-repeat center / contain;
  transition: var(--transition);
  flex-shrink: 0;
}

/* 专项优化：页脚 Logo - 展示 Logo 原生美感 */
footer .logo-symbol {
  background: url('../images/logo.png') no-repeat center / contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.logo:hover .logo-symbol {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  font-weight: 500;
  color: var(--text-medium);
  font-size: 0.95rem;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active {
  font-weight: 700;
}

.nav-menu-actions {
  display: none;
}

/* ============================================================
   Page Header & Breadcrumbs
   ============================================================ */
.page-header {
  background: linear-gradient(var(--header-overlay), var(--header-overlay)), url('/assets/images/hero-image.png');
  background-size: cover;
  background-position: center;
  padding: 6rem 0 4rem;
  color: white;
  text-align: left;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
}

.breadcrumbs {
  padding: 1.2rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-medium);
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumbs span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--primary-color);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 0.5rem;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.has-dropdown>a {
  display: flex;
  align-items: center;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  flex-direction: column;
  gap: 0;
}

.has-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #005a87 0%, #008fd7 100%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  color: white;
  /* 默认正文改为白色 */
}

/* Mesh Gradient Background Animation - Adjusted for Dark Mode */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(191, 161, 93, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.25) 0%, transparent 40%);
  animation: meshRotate 10s linear infinite;
  z-index: 0;
}

@keyframes meshRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #ffffff;
  /* 标题亮白 */
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  /* 提升段落亮度 */
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* 专项优化 Hero 区域的按钮 */
.hero .btn-primary {
  background-color: var(--secondary-color);
  /* 换成更有冲击力的金色 */
  border-color: var(--secondary-color);
  color: white;
}

.hero .btn-primary:hover {
  background-color: var(--secondary-hover);
  box-shadow: 0 8px 25px rgba(191, 161, 93, 0.4);
}

.hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.trust-tags {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.trust-tag i {
  color: var(--secondary-color);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  /* 混合模式：过滤黑色背景，让金色线条直接融入亮蓝背景 */
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 20px rgba(20, 77, 116, 0.2)) brightness(1.1);
  transition: var(--transition);
  opacity: 0.7;
  box-shadow: 0 20px 50px rgba(15, 51, 99, 0.5);
  /* 强化深色背景下的投影 */
  border: 1px solid rgba(255, 255, 255, 0.13);
}

/* ============================================================
   Credentials Bar (Professional Qualifications)
   ============================================================ */
.credentials-bar {
  background: #007bb9;
  padding: 1.2rem 0;
  overflow: hidden;
}

.credentials-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.credential-item i {
  color: #d4af37;
  /* 采用更明亮的纯金色 */
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
  transition: var(--transition);
}

.credential-item:hover i {
  color: #ffffff;
  /* 悬停时变为亮白色，增加金属光效切换感 */
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
  transform: scale(1.1);
}

.credential-item span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  /* 加粗文字，增强权威感 */
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ============================================================
   Services Section
   ============================================================ */
.services {
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Specific overrides when grid classes are present */
.services-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.service-card.mobile-highlight {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 50, 100, 0.15);
  /* 稍微加深卡片底色以衬托白色文字 */
  backdrop-filter: blur(5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(12, 35, 64, 0.05);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  /* 还原为蓝色，确保在白色背景下可见 */
  font-size: 1.4rem;
}

.service-card p {
  color: var(--text-medium);
  /* 还原段落颜色 */
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-link:hover {
  gap: 10px;
}

/* ============================================================
   About Section
   ============================================================ */
.about {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.about-btns {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

/* ============================================================
   Advantages Section
   ============================================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.advantage-card {
  padding: 2rem;
  background: var(--bg-white);
  border-bottom: 4px solid transparent;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: var(--transition);
}

.advantage-card:hover,
.advantage-card.mobile-highlight {
  background: var(--bg-light);
  border-bottom-color: var(--secondary-color);
  transform: translateY(-4px);
}

.advantage-icon {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.advantage-card h3 {
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.advantage-card p {
  color: var(--text-medium);
}

/* ============================================================
   Coverage Section
   ============================================================ */
.coverage {
  background: var(--primary-color);
  color: white;
}

.coverage .section-header h2,
.coverage .section-header p {
  color: white;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.country-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.country-card:hover,
.country-card.mobile-highlight {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  border-color: var(--secondary-color);
}

.country-card h3 {
  margin-bottom: 0.5rem;
  color: #ffffff;
  /* 提升在蓝色背景下的识别度，原金色太浅 */
  font-weight: 700;
}

.country-card p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.coverage-cta {
  text-align: center;
  margin-top: 4rem;
}

/* ============================================================
   Process Section
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line between steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right,
      var(--border-color) 0%,
      var(--primary-color) 20%,
      var(--primary-color) 80%,
      var(--border-color) 100%);
  z-index: -1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-white);
  transition: var(--transition);
}

.process-step:hover .step-number,
.process-step.mobile-highlight .step-number {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.process-step h3 {
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.process-step p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(rgba(35, 95, 165, 0.95), rgba(15, 63, 126, 0.95)), url('/assets/images/hero-image.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 0;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-outline {
  color: white;
  border-color: white;
}

.cta-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-contact-info {
  margin-top: 3rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #0d3856;
  /* 调正为深藏青色，与主色调蓝色谱系一致 */
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Footer Geometry Watermarks - V1.0.2 Added */

.footer-watermark-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
  background-size: 40px 40px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ============================================================
   Back to Top Button
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* ============================================================
   About Page Specific
   ============================================================ */
.positioning-box {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-left: 5px solid var(--secondary-color);
}

.positioning-box blockquote {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1.5rem;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.credential-tag {
  background: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  font-weight: 600;
  color: var(--primary-color);
}

.credential-tag i {
  color: var(--secondary-color);
}

/* Page Sub-Navigation */
.page-nav {
  position: sticky;
  top: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 99;
  display: flex;
  justify-content: center;
  padding: 0.8rem 0;
}

.page-nav a {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-medium);
  border-radius: 20px;
}

.page-nav a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* Stat Cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--secondary-color);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2.5rem;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
}

.value-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* VS Comparison Section */
.vs-section {
  padding: 6rem 0;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.vs-card {
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.vs-card-standard {
  background: #f1f5f9;
  color: var(--text-medium);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.vs-card-premium {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-lg), var(--shadow-primary);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  transform: scale(1.05);
}

.vs-divider {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  z-index: 3;
  box-shadow: var(--shadow-md);
  margin: 0 -30px;
}

.vs-list {
  margin-top: 2rem;
  list-style: none;
}

.vs-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.vs-card-premium .vs-list li {
  color: rgba(255, 255, 255, 0.9);
}

.vs-card-premium h3 {
  color: var(--secondary-color);
}

@media (max-width: 992px) {
  .vs-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vs-card {
    border-radius: var(--radius-lg) !important;
    transform: none !important;
    min-height: auto;
    padding: 2.5rem;
  }

  .vs-divider {
    margin: -1rem auto;
  }
}

/* ============================================================
   Graphic Watermark System (图形化背景肌理)
   ============================================================ */
.section-watermark {
  position: relative;
  overflow: hidden;
}

/* 点阵背景 - 增加页面的纸张质感 */
.watermark-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
  background-size: 40px 40px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* 超大图标水印 - 增加品牌感 */
.watermark-icon {
  position: absolute;
  right: -10%;
  bottom: -15%;
  width: 40vw;
  height: 40vw;
  color: var(--secondary-color);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-15deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.watermark-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1px;
}

.watermark-icon-left {
  left: -5%;
  top: -10%;
  transform: rotate(15deg);
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* Floating Action Button (WhatsApp) */
.fab-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.fab-item {
  width: 50px;
  height: 50px;
  background: #25D366;
  /* WhatsApp Green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.fab-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.fab-item.email {
  background: var(--primary-color);
  box-shadow: 0 4px 15px rgba(12, 35, 64, 0.4);
}

.fab-label {
  position: absolute;
  left: 60px;
  background: white;
  color: var(--text-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.fab-item:hover .fab-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ============================================================
   Responsive - Tablet (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p,
  .section-header {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns,
  .cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-btns .btn,
  .cta-btns .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .trust-tags {
    justify-content: center;
  }

  .about-btns {
    justify-content: center;
  }

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

  .process-grid::before {
    display: none;
  }

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

  .credentials-list {
    gap: 1.5rem;
  }
}

/* ============================================================
   Responsive - Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 2rem;
  }

  nav ul li a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    display: flex;
    /* Changed to flex but with 0 height */
    flex-direction: column;
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
    padding: 0;
    margin: 0;
  }

  .has-dropdown.dropdown-open .dropdown-menu {
    max-height: 500px;
    /* Safe large value */
    opacity: 1;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-bottom: 0.5rem;
  }

  .has-dropdown:hover .dropdown-menu {
    display: none;
  }

  .has-dropdown.dropdown-open:hover .dropdown-menu {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  footer {
    padding: 3.5rem 0 1.5rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1rem;
  }

  .footer-column:first-child,
  .footer-column:last-child {
    grid-column: span 2;
  }

  .footer-column:first-child {
    margin-bottom: 0.5rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    justify-content: center;
  }


  .cta-content h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .credentials-list {
    gap: 1rem;
    justify-content: flex-start;
  }

  .credential-item {
    font-size: 0.8rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }
}

/* ============================================================
   Toast Notifications
   ============================================================ */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast {
  background: white;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  min-width: 320px;
  max-width: 450px;
  transform: translateX(130%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: auto;
  border-left: 5px solid var(--primary-color);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: #10b981;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-info {
  border-left-color: var(--secondary-color);
}

.toast-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-success .toast-icon {
  background: #ecfdf5;
  color: #10b981;
}

.toast-error .toast-icon {
  background: #fef2f2;
  color: #ef4444;
}

.toast-info .toast-icon {
  background: #fffbeb;
  color: var(--secondary-color);
}

.toast-content {
  flex-grow: 1;
}

.toast-content h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--primary-color);
}

.toast-content p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.toast-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.toast-close:hover {
  color: var(--text-dark);
}

@media (max-width: 576px) {
  .toast-container {
    top: auto;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
  }

  .toast {
    min-width: auto;
    width: 100%;
    transform: translateY(150%);
  }

  .toast.show {
    transform: translateY(0);
  }
}