:root {
  --aliyun-blue: #1890ff;
  --aliyun-blue-dark: #096dd9;
  --aliyun-blue-light: #40a9ff;
  --aliyun-gradient-start: #001529;
  --aliyun-gradient-end: #1890ff;
  --aliyun-accent: #69c0ff;
  --aliyun-success: #52c41a;
  --aliyun-warning: #faad14;
  --aliyun-danger: #f5222d;
  --aliyun-dark: #001529;
  --aliyun-gray: #595959;
  --aliyun-light: #f0f2f5;
  --aliyun-white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--aliyun-dark);
  background-color: var(--aliyun-light);
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.logo img {
  height: 24px;
  margin-right: 12px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  color: #333333;
  text-decoration: none;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #1890ff;
  background: rgba(24, 144, 255, 0.08);
}

.nav-link.active {
  color: #1890ff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--aliyun-blue-light), var(--aliyun-blue));
  border-radius: 2px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--aliyun-white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.dropdown-item {
  padding: 12px 16px;
  color: var(--aliyun-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--aliyun-light);
  color: var(--aliyun-blue);
}

.cta-btn {
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  color: var(--aliyun-white);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(24, 144, 255, 0.4);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 144, 255, 0.5);
}

.hero {
  padding: 180px 24px 120px;
  background: radial-gradient(ellipse at 30% 10%, rgba(173, 216, 230, 0.8) 0%, rgba(204, 229, 255, 0.5) 30%, rgba(248, 245, 255, 0.6) 60%, rgba(255, 255, 255, 1) 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-slider {
  position: relative;
  min-height: 120px;
}

.slider-item {
  display: none;
  animation: fadeIn 0.6s ease-in-out;
}

.slider-item.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-indicators {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  width: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 500px;
  height: 350px;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 20px;
  color: #4a5568;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  color: var(--aliyun-white);
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(24, 144, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 144, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #1890ff;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #1890ff;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #1890ff;
  color: var(--aliyun-white);
}

.features-highlight {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  padding: 80px 24px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.highlight-item {
  background: var(--aliyun-white);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.highlight-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(24, 144, 255, 0.3);
}

.highlight-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.1) 0%, rgba(114, 46, 209, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #1890ff;
  transition: all 0.3s ease;
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.2) 0%, rgba(114, 46, 209, 0.2) 100%);
}

.highlight-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.highlight-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.services {
  padding: 100px 24px;
  background: var(--aliyun-light);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.section-description {
  font-size: 16px;
  color: var(--aliyun-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--aliyun-white);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(24, 144, 255, 0.3);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: var(--aliyun-white);
}

.service-icon.erp {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.service-icon.waf {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.service-icon.ssl {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.service-icon.os {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.service-icon.db {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.service-icon.middleware {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--aliyun-dark);
  margin-bottom: 12px;
}

.service-description {
  font-size: 14px;
  color: var(--aliyun-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--aliyun-gray);
}

.service-features li i {
  color: var(--aliyun-success);
  font-size: 12px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aliyun-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 12px;
}

.products {
  padding: 100px 24px;
  background: var(--aliyun-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--aliyun-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
  }

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

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--aliyun-blue);
  color: var(--aliyun-white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 24px;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--aliyun-dark);
  margin-bottom: 12px;
}

.product-description {
  font-size: 14px;
  color: var(--aliyun-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-tag {
  background: var(--aliyun-light);
  color: var(--aliyun-blue);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 12px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--aliyun-blue);
  color: var(--aliyun-blue);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.btn-outline:hover {
  background: var(--aliyun-blue);
  color: var(--aliyun-white);
}

.btn-solid {
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  color: var(--aliyun-white);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  box-shadow: 0 4px 15px rgba(24, 144, 255, 0.4);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.5);
}

.features {
  padding: 100px 24px;
  background: radial-gradient(ellipse at 30% 10%, rgba(173, 216, 230, 0.6) 0%, rgba(204, 229, 255, 0.3) 30%, rgba(248, 245, 255, 0.4) 60%, rgba(255, 255, 255, 0.9) 100%);
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-item {
  background: var(--aliyun-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--aliyun-white);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-item i {
  font-size: 28px;
  color: #1890ff;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--aliyun-dark);
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 14px;
  color: var(--aliyun-gray);
  line-height: 1.6;
}

.contact {
  padding: 100px 24px;
  background: var(--aliyun-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--aliyun-dark);
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list li i {
  font-size: 20px;
  color: var(--aliyun-blue);
  margin-top: 2px;
}

.contact-list li div {
  font-size: 14px;
}

.contact-list li div strong {
  display: block;
  color: var(--aliyun-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-list li div span {
  color: var(--aliyun-gray);
}

.contact-form {
  background: var(--aliyun-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--aliyun-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--aliyun-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: var(--aliyun-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aliyun-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-btn {
  width: 100%;
  background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
  color: var(--aliyun-white);
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(24, 144, 255, 0.4);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.5);
}

footer {
  background: #fafafa;
  padding: 60px 24px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-logo p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  padding: 6px 0;
}

.footer-section ul li a {
  color: #666666;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #1890ff;
}

.footer-bottom {
  border-top: 1px solid #e8e8e8;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: #999999;
}

.footer-bottom a {
  color: #999999;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #1890ff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--aliyun-white);
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .stats-grid {
    gap: 32px;
  }
  
  .stat-value {
    font-size: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 140px 24px 80px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-value {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .product-card {
    padding: 20px;
  }
  
  .product-image {
    height: 180px;
  }
}
