@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* 浅色主题 - 蔚蓝精英风格 */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --color-primary: #0f172a;       /* Slate 900 */
  --color-primary-rgb: 15, 23, 42;
  --color-secondary: #334155;     /* Slate 700 */
  --color-accent: #0284c7;        /* Sky 600 - 蔚蓝主色 */
  --color-accent-rgb: 2, 132, 199;
  --color-accent-hover: #0369a1;  /* Sky 700 */
  --color-success: #10b981;       /* Emerald 500 */
  --color-warning: #f59e0b;       /* Amber 500 */
  
  --color-background: #f8fafc;    /* Slate 50 */
  --color-bg-card: #ffffff;
  --color-bg-nav: rgba(255, 255, 255, 0.85);
  
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;    /* Slate 500 */
  --color-text-light: #94a3b8;    /* Slate 400 */
  
  --color-border: #e2e8f0;        /* Slate 200 */
  --color-border-hover: #cbd5e1;  /* Slate 300 */
  
  /* 阴影效果 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-accent: 0 10px 15px -3px rgba(2, 132, 199, 0.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* 深色主题 - OLED级极客幻影 */
  --color-primary: #f8fafc;       /* Slate 50 */
  --color-primary-rgb: 248, 250, 252;
  --color-secondary: #cbd5e1;     /* Slate 300 */
  --color-accent: #38bdf8;        /* Sky 400 */
  --color-accent-rgb: 56, 189, 248;
  --color-accent-hover: #7dd3fc;  /* Sky 300 */
  --color-success: #34d399;
  --color-warning: #fbbf24;
  
  --color-background: #030712;    /* Slate 950 */
  --color-bg-card: #0b0f19;       /* Slate 900 */
  --color-bg-nav: rgba(3, 7, 18, 0.85);
  
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;    /* Slate 400 */
  --color-text-light: #64748b;    /* Slate 500 */
  
  --color-border: #1e293b;        /* Slate 800 */
  --color-border-hover: #334155;  /* Slate 700 */
  
  /* 阴影效果 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 10px 15px -3px rgba(56, 189, 248, 0.15);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

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

.grid {
  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); }

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

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section-padding { padding: 3.5rem 0; }
}

.flex {
  display: flex;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-column {
  display: flex;
  flex-direction: column;
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}
.section-subtitle {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(var(--color-accent-rgb), 0.1);
  border-radius: var(--radius-full);
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .section-title { font-size: 1.75rem; }
}
.section-desc {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

/* Glassmorphism Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
}
.navbar-scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}
.nav-container {
  height: 4.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
}
.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #0369a1 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(var(--color-accent-rgb), 0.3);
}
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  transition: var(--transition-normal);
}
.theme-toggle:hover {
  background-color: var(--color-border);
  border-color: var(--color-text-muted);
}
.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-main);
}
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background-color: var(--color-bg-card);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  outline: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0369a1 100%);
  color: white;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(var(--color-accent-rgb), 0.35);
  opacity: 0.95;
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text-main);
}
.btn-secondary:hover {
  background-color: var(--color-border);
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}
.btn-secondary:active {
  transform: translateY(0);
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Premium Cards */
.card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--color-accent-rgb), 0.3);
}
.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}
.card:hover .card-icon {
  background-color: var(--color-accent);
  color: white;
  transform: scale(1.05);
}
.card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}
.card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.9rem;
}
.card-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}
.card-link:hover svg {
  transform: translateX(3px);
}

/* Premium Form Elements */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-card);
  color: var(--color-text-main);
  transition: var(--transition-fast);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.15);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Badge tags */
.badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.badge-accent {
  background-color: rgba(var(--color-accent-rgb), 0.15);
  color: var(--color-accent);
}
.badge-success {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
}

/* Hero Section Base */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem 0;
  background: radial-gradient(circle at top right, rgba(var(--color-accent-rgb), 0.07), transparent 45%);
}
@media (max-width: 768px) {
  .hero { padding: 5rem 0 3.5rem 0; }
}
.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-content {
  flex: 1;
}
.hero-image-container {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-tagline {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 850;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}
.hero-title span {
  background: linear-gradient(to right, var(--color-accent), #0369a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
}
@media (max-width: 768px) {
  .hero-wrapper { flex-direction: column; text-align: center; gap: 2.5rem; }
  .hero-title { font-size: 2.25rem; }
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
}
@media (max-width: 768px) {
  .hero-buttons { justify-content: center; }
}
.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

/* Glass Floating cards on Hero */
.floating-glass-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
}
[data-theme="dark"] .floating-glass-card {
  background: rgba(11, 15, 25, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Footer styling */
footer {
  background-color: var(--color-primary);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid var(--color-border);
}
[data-theme="dark"] footer {
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-logo {
  color: white;
  margin-bottom: 1.25rem;
}
.footer-logo-icon {
  background: white;
  color: var(--color-primary);
}
.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: 1.5rem;
}
.footer-title {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-link {
  font-size: 0.9rem;
  color: #94a3b8;
}
.footer-link:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.footer-contact-item svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Stat Counters styling */
.stats-grid {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.stat-label {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Feature/Service list layout */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.feature-item svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: var(--color-success);
  stroke-width: 2.5;
}

/* Timeline Style for Policy & About pages */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  width: 2px;
  background-color: var(--color-border);
}
.timeline-item {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 3rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-bg-card);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  z-index: 2;
}
.timeline-badge svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.timeline-content {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.timeline-date {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.timeline-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Admin Dashboard SVG Chart styling */
.chart-container {
  position: relative;
  width: 100%;
  height: 240px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
}
.chart-svg {
  width: 100%;
  height: 100%;
}
.chart-path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2s forwards ease-in-out;
}
.chart-grid-line {
  stroke: var(--color-border);
  stroke-width: 1;
  stroke-dasharray: 4, 4;
}
.chart-fill-path {
  fill: url(#chart-gradient);
  opacity: 0.15;
}
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* 滚动飘现动效 */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 手风琴折叠面板 */
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-card);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item:hover {
  border-color: rgba(var(--color-accent-rgb), 0.25);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text-main);
  user-select: none;
}

.accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 2.5;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  stroke: var(--color-accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(var(--color-accent-rgb), 0.01);
}

.accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 多步骤评估向导表单 */
.wizard-progress-container {
  margin-bottom: 3rem;
  position: relative;
}

.wizard-progress-bar-bg {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-border);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-success));
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.4s ease;
}

.wizard-steps-indicators {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}

.wizard-indicator {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-bg-card);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-light);
  transition: var(--transition-normal);
}

.wizard-indicator.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(var(--color-accent-rgb), 0.15);
  background-color: var(--color-bg-card);
}

.wizard-indicator.completed {
  border-color: var(--color-success);
  background-color: var(--color-success);
  color: white;
}

.wizard-indicator-label {
  position: absolute;
  top: 3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-light);
  white-space: nowrap;
  transform: translateX(-35%);
  transition: var(--transition-normal);
}

.wizard-indicator.active .wizard-indicator-label,
.wizard-indicator.completed .wizard-indicator-label {
  color: var(--color-text-main);
}

.wizard-step {
  display: none;
  animation: stepFadeIn 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}

/* SVG 发光环形图表 */
.circular-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.circular-chart {
  width: 140px;
  height: 140px;
  position: relative;
}

.circular-bg {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2.8;
}

.circular-ring {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-in-out;
  filter: drop-shadow(0 0 6px rgba(var(--color-accent-rgb), 0.2));
}

.circular-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

/* 对比表格优化 */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  background-color: var(--color-primary);
  color: white;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.comparison-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-card);
  font-size: 0.925rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
  background-color: rgba(var(--color-accent-rgb), 0.01);
}

/* Hero 极光渐变与网格背景 */
.aurora-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.15) 0%, rgba(3, 105, 161, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(var(--color-accent-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--color-accent-rgb), 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, white 50%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, white 50%, transparent);
  pointer-events: none;
  z-index: 2;
}

/* 品牌无缝轮播跑马灯 */
.ticker-container {
  overflow: hidden;
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
  display: flex;
  position: relative;
  z-index: 5;
}

.ticker-wrap {
  display: flex;
  width: 100%;
}

.ticker-slide {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: ticker 25s linear infinite;
  gap: 3rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-light);
  opacity: 0.6;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.ticker-item:hover {
  opacity: 1;
  color: var(--color-accent);
}

.ticker-icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 视差滚动横幅 */
.parallax-banner {
  height: 340px;
  background-image: url('../images/hongkong_skyline.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 在不支持 background-attachment: fixed 的设备上回退 */
@media (max-width: 1024px) {
  .parallax-banner {
    background-attachment: scroll;
  }
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(3, 105, 161, 0.75) 100%);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 1.5rem;
}

/* 3D 倾斜硬件加速 */
.tilt-card-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.tilt-card {
  transition: transform 0.1s ease-out;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
}

.tilt-child {
  transform: translateZ(25px);
}

/* 服务流程步骤卡片 */
.process-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  position: relative;
}

.process-step-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(var(--color-accent-rgb), 0.1);
  color: var(--color-accent);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.process-step-card:hover .process-step-num {
  background-color: var(--color-accent);
  color: white;
}

.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.process-step-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .process-flow-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  .process-flow-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* 评价轮播卡片 */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--color-accent-rgb), 0.2);
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(var(--color-accent-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

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

/* ==========================================================================
   全球服务网络模块 (Global Service Footprint)
   ========================================================================== */
.global-network-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at bottom left, rgba(var(--color-accent-rgb), 0.05), transparent 45%);
}

.map-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: radial-gradient(var(--color-border) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  border: 1px dashed var(--color-border);
  overflow: hidden;
  background-color: rgba(var(--color-accent-rgb), 0.005);
}

/* 虚线极简世界地图轮廓底图 */
.map-bg-svg, .map-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
  transform: scale(0.95);
  object-fit: cover;
  transition: var(--transition-normal);
}
[data-theme="dark"] .map-bg-svg, [data-theme="dark"] .map-bg-img {
  opacity: 0.15;
}

/* 呼吸灯定位标 */
.map-beacon {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.beacon-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 0 10px var(--color-accent);
}

.beacon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  opacity: 0;
  transform: scale(0.3);
  animation: beaconPulse 2.4s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.beacon-pulse-delay {
  animation-delay: 0.8s;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.3);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.0);
    opacity: 0;
  }
}

/* 互动式悬浮信息窗 Tooltip */
.network-tooltip {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translate(-50%, 10px) scale(0.95);
  width: 260px;
  background: rgba(var(--color-bg-card), 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 100;
  text-align: left;
}

.network-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--color-border) transparent transparent transparent;
}

.map-beacon:hover .network-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.35rem;
}

.tooltip-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.tooltip-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.tooltip-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* 底部服务承诺 */
.network-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}

.network-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.network-stat-icon {
  width: 2.75rem;
  height: 2.75rem;
  background-color: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(var(--color-accent-rgb), 0.1);
}

.network-stat-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.network-stat-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-text-main);
}

.network-stat-desc {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* 移动端响应式排版 */
@media (max-width: 768px) {
  .map-wrapper {
    padding: 1.75rem;
  }
  .map-container {
    display: none; /* 移动端隐藏大地图 */
  }
  .network-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    border-top: none;
    padding-top: 0;
  }
  /* 移动端将网点变更为网点卡片列表 */
  .mobile-locations-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .mobile-location-card {
    background-color: rgba(var(--color-accent-rgb), 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: var(--transition-normal);
  }
  .mobile-location-card:hover {
    border-color: var(--color-accent);
    background-color: rgba(var(--color-accent-rgb), 0.04);
  }
  .mobile-loc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  .mobile-loc-title {
    font-weight: 700;
    color: var(--color-text-main);
    font-size: 1rem;
  }
  .mobile-loc-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
  }
}

@media (min-width: 769px) {
  .mobile-locations-list {
    display: none;
  }
}

/* ==========================================================================
   香港留学与子女升学页面专属样式 (Education Page Custom Styles)
   ========================================================================== */
.edu-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.edu-highlight-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: center;
}

.edu-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--color-accent-rgb), 0.35);
}

.edu-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  background-color: rgba(var(--color-accent-rgb), 0.08);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  transition: var(--transition-normal);
}

.edu-highlight-card:hover .edu-badge-num {
  background-color: var(--color-accent);
  color: white;
  transform: scale(1.05);
}

.edu-highlight-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.edu-highlight-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* DSE优势与内地高考对比 */
.dse-comparison-section {
  background-color: rgba(var(--color-accent-rgb), 0.015);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.dse-vs-gaokao-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

.dse-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.dse-stat-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
  position: relative;
  transition: var(--transition-normal);
}

.dse-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dse-stat-card.success-border {
  border-left-color: var(--color-success);
}

.dse-stat-title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dse-stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.dse-stat-card.success-border .dse-stat-number {
  color: var(--color-success);
}

.dse-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* 优势对比列表卡片 */
.comparison-list-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.comp-list-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.comp-list-item:last-child {
  border-bottom: none;
}

.comp-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.comp-sub-item svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: var(--color-success);
  stroke-width: 2.5;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.comp-sub-item.gaokao-side svg {
  stroke: var(--color-text-light);
}

.comp-sub-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.comp-sub-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .edu-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dse-vs-gaokao-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .edu-highlight-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .dse-stat-grid {
    grid-template-columns: 1fr;
  }
  .comp-list-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .comp-list-item div:nth-child(2) {
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-border);
  }
  .comparison-list-card {
    padding: 1.5rem;
  }
}




