/* ==================== CSS Reset & Base ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333; line-height: 1.6; overflow-x: hidden;
  background: #F0F4FA;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==================== Colors & Variables ==================== */
:root {
  --primary: #0A5C9C;
  --primary-light: #1A8FE3;
  --bg-light: #F0F4FA;
  --bg-dark: #071E3A;
  --accent: #FF6B35;
  --white: #FFFFFF;
  --gray-100: #F7F9FC;
  --gray-200: #E8EDF5;
  --gray-600: #6B7B8D;
  --gray-800: #2D3748;
  --nav-height: 72px;
  --section-padding: 100px 0;
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.5; }
}

.animate-on-scroll {
  /* opacity: 0; transform: translateY(40px); */
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1; transform: translateY(0);
}
.animate-on-scroll.visible.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.visible.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.visible.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.visible.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.visible.delay-5 { transition-delay: 0.5s; }

/* ==================== Navigation (Unified Style) ==================== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(7,30,58,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 16px;
  text-decoration: none;
  color: var(--gray-800);
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg-light); color: var(--primary-light); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--gray-800); cursor: pointer; }

/* ==================== Banner Section ==================== */
.page-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 60px 24px 70px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,143,227,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.4; }
.banner-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 2px;
  animation: fadeInUp 0.8s ease;
}
.banner-subtitle {
  font-size: clamp(15px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  line-height: 1.7;
  animation: fadeInUp 1s ease;
}

/* ==================== Section Common ==================== */
.section { padding: var(--section-padding); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-light { background: var(--bg-light); color: var(--gray-800); }
.section-white { background: var(--white); color: var(--gray-800); }
.section-gradient { background: linear-gradient(180deg, #F0F4FA 0%, #fff 100%); }
.section-title {
  text-align: center; margin-bottom: 60px;
}
.section-title h2 {
  font-size: 36px; font-weight: 700; margin-bottom: 12px; color: var(--gray-800);
}
.section-dark .section-title h2 { color: #fff; }
.section-title p {
  font-size: 16px; color: var(--gray-600); max-width: 600px; margin: 0 auto;
}
.section-dark .section-title p { color: rgba(255,255,255,0.6); }
.section-title .title-line {
  width: 50px; height: 3px; background: var(--primary-light);
  margin: 16px auto 0; border-radius: 2px;
}

/* ==================== CTA Section ==================== */
.cta-section {
  background: linear-gradient(135deg, #071E3A 0%, #0A5C9C 100%);
  padding: 80px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231A8FE3' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
  font-size: 32px; font-weight: 700; margin-bottom: 32px;
}
.cta-buttons {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary-light); color: #fff; border: none; padding: 14px 36px;
  border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #1578c4; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,143,227,0.4); }
.btn-accent {
  background: var(--accent); color: #fff; border: none; padding: 14px 36px;
  border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.btn-accent:hover { background: #e85a28; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,107,53,0.4); }

/* ==================== Footer ==================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-cn { color: var(--white); }
.footer-brand .nav-logo-en { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; max-width: 360px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none; transition: all 0.2s;
}
.footer-social a:hover { background: var(--primary-light); color: var(--white); }
.footer-col h4 {
  font-size: 16px; font-weight: 700; color: var(--white);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-padding: 70px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: 0 8px 24px rgba(7,30,58,0.1); }
  .banner-title { font-size: 32px; }
  .banner-subtitle { font-size: 16px; }
  .section-title h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-section h2 { font-size: 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .banner-title { font-size: 26px; }
}
