:root {
  --primary: #1a56db;
  --primary-dark: #0f3b8a;
  --primary-light: #3b82f6;
  --accent: #0ea5e9;
  --bg-dark: #0a1628;
  --bg-card: #0f1f3a;
  --bg-light: #f0f9ff;
  --bg-white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-white: #e2e8f0;
  --gradient: linear-gradient(135deg, #1a56db 0%, #0ea5e9 100%);
  --glow: 0 0 30px rgba(14,165,233,0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,64,175,0.08);
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.nav-logo svg {
  width: 38px;
  height: 38px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.3s; }

/* Hero - Dark tech style */
.hero {
  padding: 160px 5% 100px;
  background: var(--bg-dark);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(14,165,233,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}
/* Gradient orbs */
.hero .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}
.hero .orb-1 {
  width: 500px; height: 500px;
  background: rgba(26,86,219,0.2);
  top: -15%;
  right: -10%;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero .orb-2 {
  width: 400px; height: 400px;
  background: rgba(14,165,233,0.15);
  bottom: -10%;
  left: -10%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

/* AI badge */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.25);
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.ai-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 span { display: block; font-size: clamp(16px, 2vw, 22px); font-weight: 400; opacity: 0.7; margin-top: 10px; }
.hero p {
  font-size: 17px;
  opacity: 0.75;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(14,165,233,0.4); }
.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.25);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* Stats Bar - dark */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 5%;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* Sections */
.section {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-title .line {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* Section dark */
.section-dark {
  background: var(--bg-dark);
}
.section-dark .section-title h2 { color: white; }
.section-dark .section-title p { color: rgba(255,255,255,0.6); }
.section-dark .section-title .line { background: var(--gradient); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 { font-size: 26px; color: var(--primary-dark); margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 12px; line-height: 1.9; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.about-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
}
.about-highlight svg { width: 20px; height: 20px; flex-shrink: 0; }
.about-image {
  position: relative;
}
.about-image-inner {
  background: var(--gradient);
  border-radius: 20px;
  padding: 40px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-image-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.about-image-inner svg { width: 100px; height: 100px; position: relative; z-index: 1; margin-bottom: 20px; }
.about-image-inner h4 { font-size: 22px; position: relative; z-index: 1; margin-bottom: 8px; }
.about-image-inner p { position: relative; z-index: 1; opacity: 0.85; font-size: 14px; }
.about-float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  text-align: left;
  z-index: 2;
}
.about-float-card .card-title { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.about-float-card .card-value { font-size: 24px; font-weight: 800; color: var(--primary); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(26,86,219,0.12);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--primary-dark); }
.service-card p { color: var(--text-light); font-size: 14px; line-height: 1.8; }
.service-card .tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 600;
}

/* AI Features - dark cards */
.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ai-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 30px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.ai-card:hover { border-color: rgba(14,165,233,0.25); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(14,165,233,0.08); }
.ai-card .ai-icon {
  width: 48px; height: 48px;
  margin-bottom: 16px;
  background: rgba(14,165,233,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-card .ai-icon svg { width: 24px; height: 24px; }
.ai-card h4 { font-size: 18px; color: white; margin-bottom: 10px; }
.ai-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}
.adv-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(14,165,233,0.1); }
.adv-card .num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 18px;
}
.adv-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--primary-dark); }
.adv-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s;
}
.case-card:hover { border-color: var(--accent); box-shadow: 0 12px 30px rgba(14,165,233,0.08); }
.case-card .case-icon { font-size: 32px; margin-bottom: 12px; }
.case-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--primary-dark); }
.case-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.case-card .badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-light);
  color: var(--primary);
}

/* Partners Section - Dark */
.partners {
  background: var(--bg-dark);
  padding: 80px 5%;
}
.partners .section-title h2 { color: white; }
.partners .section-title p { color: rgba(255,255,255,0.5); }
.partner-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-card {
  width: 140px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s;
}
.partner-card:hover { border-color: rgba(14,165,233,0.2); }
.partner-card .logo-placeholder {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px 0;
}
.partner-card .name { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* Contact */
.contact-wrapper {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
.contact-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.contact-wrapper .section { padding-top: 100px; padding-bottom: 100px; position: relative; z-index: 1; }
.contact-wrapper .section-title h2 { color: white; }
.contact-wrapper .section-title p { color: rgba(255,255,255,0.8); }
.contact-wrapper .section-title .line { background: white; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  color: white;
}
.contact-info h3 { font-size: 22px; margin-bottom: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
  opacity: 0.9;
}
.contact-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: white; opacity: 0.85; }
.contact-item a:hover { opacity: 1; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  background: rgba(255,255,255,0.12);
  color: white;
  outline: none;
  transition: background 0.3s;
  font-family: inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form input:focus, .contact-form textarea:focus { background: rgba(255,255,255,0.2); }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: white;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* Footer */
footer {
  background: #060e1a;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 30px 5%;
  font-size: 13px;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .ai-features { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 30px; }
  .hero { padding: 130px 5% 60px; }
  .about-highlights { grid-template-columns: 1fr; }
  .about-float-card { position: static; margin-top: 16px; }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
