/* CSS Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a56a8;
  --primary-light: #3b82f6;
  --primary-dark: #0d3b7a;
  --secondary: #f0f6ff;
  --accent: #e74c3c;
  --text-dark: #1a1a2e;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0d3b7a;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 168, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 168, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 160px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-dark);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.dropdown-menu a:hover {
  color: var(--primary);
  background: rgba(26, 86, 168, 0.06);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: #f0f4f8;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg.active {
  opacity: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 65%;
  background: linear-gradient(90deg, #0d3b7a 0%, #1a56a8 40%, rgba(45, 127, 212, 0.8) 65%, rgba(45, 127, 212, 0.4) 82%, transparent 100%);
  z-index: 1;
}

.hero-pattern::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 24px;
  text-align: left;
  margin-left: 100px;
  margin-right: auto;
  width: 100%;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.95;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon img {
  display: block;
}

.hero-cta {
  font-size: 16px;
  padding: 14px 36px;
}

.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 0 auto;
}

/* Advantages Section */
.advantages {
  padding: 100px 0;
  background: var(--bg-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.advantage-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  color: var(--primary);
}

.advantage-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--primary-light);
}

/* Products Section */
.products {
  padding: 100px 0;
  background: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  flex: 0 0 48%;
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-info p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Stats Bar */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  color: #fff;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
}

/* Cases Section */
.cases {
  padding: 100px 0;
  background: var(--bg-light);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.case-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.case-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--border);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.08);
}

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

.cases-more .btn-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.cases-more .btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 2.8fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand {
  padding-right: 30px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-slogan {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
  pointer-events: none;
}

.footer-column a:hover {
  color: #fff;
  transform: none;
}

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

.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

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

.qr-code {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  width: 136px;
  height: 136px;
}

.qr-code img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.footer-qr p {
  font-size: 14px;
  color: #fff;
}

.footer-contact-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.contact-info-item .footer-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  font-size: 13px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  position: relative;
}

.footer-info-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.3);
}

.footer-icon {
  width: 14px;
  height: 14px;
  color: #fff;
  flex-shrink: 0;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Float Toolbar */
.float-toolbar {
  position: fixed;
  right: 20px;
  bottom: 50%;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  color: var(--primary);
}

.float-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.float-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.float-btn:disabled:hover {
  background: #fff;
  color: var(--primary);
  transform: none;
}

/* Popups */
.wechat-popup,
.phone-popup {
  position: fixed;
  top: 50%;
  right: 80px;
  transform: translateY(-50%) scale(0);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  transition: transform 0.3s ease;
  width: 280px;
}

.wechat-popup.show,
.phone-popup.show {
  transform: translateY(-50%) scale(1);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--text-gray);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--border);
}

.popup-qr {
  text-align: center;
  margin-bottom: 16px;
}

.popup-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 8px;
}

.popup-desc {
  font-size: 14px;
  color: var(--text-gray);
  text-align: center;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-item {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.phone-label {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.phone-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 2fr;
  }
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 12px 16px;
    width: 100%;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    flex-direction: column;
  }
  .product-image {
    flex: none;
    width: 100%;
    height: 200px;
  }
  .product-info {
    padding: 20px;
  }
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    flex-wrap: wrap;
    gap: 24px;
  }
  .stat-item {
    flex: 0 0 calc(50% - 12px);
  }
  .stat-divider {
    display: none;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-info {
    flex-direction: column;
    gap: 12px;
  }
  .float-toolbar {
    right: 10px;
  }
  .wechat-popup,
  .phone-popup {
    right: 70px;
    width: 240px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .stat-number {
    font-size: 32px;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}


