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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  --gradient-2: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

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

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

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }
.nav-logo {
  font-size: 1.25rem; font-weight: 700; color: var(--dark);
  text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-img {
  width: 36px; height: 36px; border-radius: 8px;
  object-fit: contain;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-contact-btn {
  padding: 0.55rem 1.5rem; border-radius: 8px;
  background: var(--primary); color: white;
  text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s; border: none; cursor: pointer;
}
.nav-contact-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-1); position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(6,182,212,0.12) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.hero-content {
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 1.5rem;
}
.hero-text h1 .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  font-size: 1.15rem; color: rgba(255,255,255,0.7);
  line-height: 1.8; margin-bottom: 2.5rem; max-width: 520px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  padding: 0.85rem 2.2rem; border-radius: 12px;
  background: var(--gradient-2); color: white;
  text-decoration: none; font-size: 1rem; font-weight: 600;
  transition: all 0.3s; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.4); }
.btn-outline {
  padding: 0.85rem 2.2rem; border-radius: 12px;
  background: transparent; color: white;
  text-decoration: none; font-size: 1rem; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.25); cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-graphic {
  width: 100%; max-width: 480px; aspect-ratio: 1;
  position: relative;
}
.orbit-ring {
  position: absolute; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%; animation: spin linear infinite;
}
.orbit-ring:nth-child(1) { inset: 10%; animation-duration: 25s; }
.orbit-ring:nth-child(2) { inset: 25%; animation-duration: 20s; animation-direction: reverse; }
.orbit-ring:nth-child(3) { inset: 40%; animation-duration: 15s; }
.orbit-ring::after {
  content: ''; position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 15px var(--accent);
}
.orbit-center {
  position: absolute; inset: 42%; border-radius: 50%;
  background: var(--gradient-2); display: flex;
  align-items: center; justify-content: center;
  font-size: 2rem; color: white;
  box-shadow: 0 0 60px rgba(37,99,235,0.3);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
}
.stat-item { text-align: left; }
.stat-number { font-size: 2rem; font-weight: 800; color: white; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }

/* ===== PAGE HERO (二级页面头部) ===== */
.page-hero {
  background: var(--gradient-1); position: relative; overflow: hidden;
  padding: 10rem 2rem 5rem; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 500px at 30% 40%, rgba(37,99,235,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 75% 60%, rgba(6,182,212,0.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.page-hero .breadcrumb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1.2rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: white; line-height: 1.2; margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  line-height: 1.8; max-width: 620px; margin: 0 auto;
}

/* ===== SECTIONS COMMON ===== */
.section { padding: 6rem 2rem; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-tag {
  display: inline-block; padding: 0.35rem 1rem; border-radius: 20px;
  background: rgba(37,99,235,0.08); color: var(--primary);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800;
  color: var(--dark); line-height: 1.3; margin-bottom: 1rem;
}
.section-desc { font-size: 1.05rem; color: var(--gray-500); line-height: 1.8; }
.container { max-width: 1200px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: var(--gray-50); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: 16px;
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-2);
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
}
.service-card h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--dark);
  margin-bottom: 0.8rem;
}
.service-card p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.7; }
.service-card .service-detail {
  margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px dashed var(--gray-200);
  list-style: none;
}
.service-card .service-detail li {
  font-size: 0.88rem; color: var(--gray-600); padding-left: 1.3rem;
  position: relative; margin-bottom: 0.5rem;
}
.service-card .service-detail li::before {
  content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}

/* ===== ABOUT ===== */
.about-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-visual {
  position: relative; padding: 2rem;
}
.about-card-main {
  background: var(--gradient-1); border-radius: 20px;
  padding: 3rem; color: white; position: relative; overflow: hidden;
}
.about-card-main::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6,182,212,0.2), transparent 60%);
}
.about-card-main h3 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; position: relative;
}
.about-card-main p {
  font-size: 1rem; line-height: 1.8; opacity: 0.8; position: relative;
}
.about-floating {
  position: absolute; right: -10px; bottom: -10px;
  background: white; border-radius: 16px; padding: 1.2rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 0.8rem;
}
.about-floating-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-2); display: flex;
  align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
}
.about-floating-text strong { display: block; font-size: 1.3rem; color: var(--dark); }
.about-floating-text span { font-size: 0.8rem; color: var(--gray-500); }
.about-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 800;
  color: var(--dark); line-height: 1.3; margin-bottom: 1.5rem;
}
.about-info > p {
  font-size: 1.05rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 2rem;
}
.about-features { display: flex; flex-direction: column; gap: 1rem; }
.about-feature {
  display: flex; align-items: flex-start; gap: 1rem;
}
.about-feature-check {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(37,99,235,0.1); display: flex;
  align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0; font-size: 0.9rem; font-weight: 700;
}
.about-feature-text h4 { font-size: 1rem; font-weight: 600; color: var(--dark); }
.about-feature-text p { font-size: 0.9rem; color: var(--gray-500); margin-top: 0.2rem; }

/* ===== 正文富文本区块 ===== */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--dark);
  margin: 2.5rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--dark);
  margin: 1.8rem 0 0.8rem;
}
.prose p {
  font-size: 1.02rem; color: var(--gray-600); line-height: 1.9;
  margin-bottom: 1.2rem;
}
.prose ul { margin: 0 0 1.5rem 0; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.8rem;
  color: var(--gray-600); line-height: 1.8;
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gradient-2);
}

/* ===== VALUE CARDS ===== */
.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.value-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 2rem; transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.value-card .value-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  display: flex; align-items: center; justify-content: center;
}
.value-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.value-card p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }

/* ===== STRENGTHS ===== */
.strengths { background: var(--dark); color: white; position: relative; overflow: hidden; }
.strengths::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 800px at 30% 0%, rgba(37,99,235,0.1), transparent),
    radial-gradient(ellipse 600px 600px at 80% 100%, rgba(6,182,212,0.08), transparent);
}
.strengths .section-title { color: white; }
.strengths .section-desc { color: rgba(255,255,255,0.6); }
.strengths .section-tag { background: rgba(37,99,235,0.2); }
.strengths-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  position: relative;
}
.strength-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2rem; text-align: center;
  transition: all 0.3s;
}
.strength-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.strength-number {
  font-size: 2.5rem; font-weight: 900;
  background: var(--gradient-2); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.5rem;
}
.strength-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.strength-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ===== PROCESS ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 40px; left: 12.5%;
  width: 75%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.2;
}
.process-step { text-align: center; position: relative; }
.step-number {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gradient-2); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; margin: 0 auto 1.5rem;
  box-shadow: 0 8px 30px rgba(37,99,235,0.2);
}
.process-step h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 2.5rem 2rem; text-align: center;
  transition: all 0.3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.contact-card .contact-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 1.3rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  display: flex; align-items: center; justify-content: center;
}
.contact-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.contact-card p { font-size: 0.98rem; color: var(--gray-600); line-height: 1.7; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.map-wrap {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-200);
  height: 380px; background: var(--gray-100);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== CTA ===== */
.cta {
  background: var(--gradient-2); padding: 5rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1), transparent 60%);
}
.cta-content { position: relative; max-width: 700px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800;
  color: white; margin-bottom: 1rem;
}
.cta p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; }
.btn-white {
  padding: 0.9rem 2.5rem; border-radius: 12px;
  background: white; color: var(--primary);
  text-decoration: none; font-size: 1rem; font-weight: 700;
  transition: all 0.3s; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}
.footer-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand h3 { font-size: 1.3rem; font-weight: 700; color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 320px; }
.footer-col h4 {
  font-size: 1rem; font-weight: 600; color: white; margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }
.icp-info { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.icp-info a { color: rgba(255,255,255,0.5); text-decoration: none; }
.icp-info a:hover { color: var(--accent); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-contact-btn { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: white; padding: 1.5rem 2rem; gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
