:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --accent: #ff6b35;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --text: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --border: #e8e8e8;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --max-w: 1200px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.section-title p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary { background: var(--primary); color: var(--text-white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--text-white); }
.btn-accent { background: var(--accent); color: var(--text-white); }
.btn-accent:hover { background: #e55a2b; color: var(--text-white); }
.btn-outline { background: transparent; color: var(--text-white); border: 2px solid var(--text-white); }
.btn-outline:hover { background: var(--text-white); color: var(--primary); }

/* Header */
.header {
  position: fixed;
  top: 0;left: 0;right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header-logo img { height: 36px; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { color: var(--text); font-size: 15px; font-weight: 500; }
.header-nav a:hover { color: var(--primary); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: -16px;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow-hover); padding: 8px 0;
  min-width: 200px; display: none; z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 20px; font-size: 14px; }
.nav-dropdown-menu a:hover { background: var(--bg-light); }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: var(--text-white);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26,115,232,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 560px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats */
.stats {
  background: var(--primary);
  color: var(--text-white);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 { font-size: 42px; font-weight: 800; margin-bottom: 4px; }
.stat-item p { font-size: 14px; opacity: 0.85; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: var(--transition);
  text-align: center;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.service-card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), #4dabf7);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--text-white);
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 32px 20px;
}
.feature-item img { width: 80px; height: 80px; margin: 0 auto 20px; object-fit: contain; }
.feature-item h3 { font-size: 18px; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Clients */
.clients-section { background: var(--bg-light); }
.clients-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.clients-tabs button {
  padding: 8px 24px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--bg); font-size: 14px; cursor: pointer; transition: var(--transition);
}
.clients-tabs button.active, .clients-tabs button:hover {
  background: var(--primary); color: var(--text-white); border-color: var(--primary);
}
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.client-card {
  background: var(--bg); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.client-card img { width: 100%; height: 200px; object-fit: cover; }
.client-card .info { padding: 20px; }
.client-card .info h4 { font-size: 18px; margin-bottom: 8px; }
.client-card .info p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Partners */
.partners-grid {
  display: flex; justify-content: center; align-items: center;
  gap: 48px; flex-wrap: wrap; padding: 24px 0;
}
.partners-grid img { height: 32px; opacity: 0.6; transition: var(--transition); filter: grayscale(80%); }
.partners-grid img:hover { opacity: 1; filter: grayscale(0); }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card .info { padding: 24px; }
.news-card .date { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.news-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Cloud Architecture */
.cloud-section { background: var(--bg-light); }
.cloud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cloud-content h3 { font-size: 24px; margin-bottom: 16px; }
.cloud-content p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.cloud-img img { border-radius: 12px; }

/* Footer */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
.footer h4 { color: var(--text-white); font-size: 16px; margin-bottom: 16px; }
.footer p, .footer a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--text-white); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center; font-size: 13px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: var(--text-white);
  padding: 120px 0 60px;
  text-align: center;
}
.page-header h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.page-header p { font-size: 16px; opacity: 0.8; }

/* Product Detail */
.product-grid-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 60px 0;
}
.product-grid-detail.reverse { direction: rtl; }
.product-grid-detail.reverse > * { direction: ltr; }
.product-grid-detail h3 { font-size: 24px; margin-bottom: 16px; }
.product-grid-detail p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }

/* Timeline */
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item {
  display: flex; align-items: center; margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item .content {
  width: 45%; padding: 24px;
  background: var(--bg); border-radius: 12px;
  box-shadow: var(--shadow);
}
.timeline-item .year {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--text-white);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; z-index: 2;
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card {
  text-align: center; background: var(--bg);
  border-radius: 12px; padding: 32px 24px;
  box-shadow: var(--shadow); transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-card img {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 16px;
}
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .title { font-size: 13px; color: var(--primary); margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .features-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-grid { grid-template-columns: 1fr; }
  .product-grid-detail { grid-template-columns: 1fr; gap: 32px; }
  .product-grid-detail.reverse { direction: ltr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item h3 { font-size: 28px; }
  .services-grid, .features-grid, .news-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 24px; }
  .header-nav { display: none; }
  .header-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); padding: 20px;
    box-shadow: var(--shadow);
  }
  .mobile-toggle { display: block; }
  .nav-dropdown-menu {
    position: static; box-shadow: none; display: block;
    padding: 0 0 0 16px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
  .partners-grid { gap: 24px; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 60px; }
  .timeline-item .content { width: 100%; }
  .timeline-item .year { left: 20px; transform: none; width: 40px; height: 40px; font-size: 11px; }
  .team-grid { grid-template-columns: 1fr; }
}