/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background-color: #0A1628;
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* === Utilities === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.gradient-text {
  background: linear-gradient(135deg, #00D4AA, #0088FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Header === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo-text { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.nav-desktop { display: none; align-items: center; gap: 32px; }
.nav-desktop a {
  font-size: 14px; color: #94a3b8; transition: color 0.2s;
}
.nav-desktop a:hover { color: #fff; }
.header-right { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  border-radius: 999px; padding: 6px 12px;
  font-size: 12px; color: #94a3b8; transition: all 0.2s;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; }
.hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  color: #94a3b8; transition: all 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-mobile {
  display: none; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  padding: 8px 16px 16px;
}
.nav-mobile.active { display: flex; }
.nav-mobile a {
  display: block; padding: 12px 16px; border-radius: 8px;
  font-size: 14px; color: #94a3b8; transition: all 0.2s;
}
.nav-mobile a:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* === Hero === */
.hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 100dvh; padding-top: 56px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
}
.orb-1 {
  width: 400px; height: 400px; top: 20%; left: 15%;
  background: rgba(0,212,170,0.1);
}
.orb-2 {
  width: 350px; height: 350px; bottom: 20%; right: 15%;
  background: rgba(0,136,255,0.1);
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 900px; margin: 0 auto; padding: 0 16px; text-align: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(0,212,170,0.2);
  background: rgba(0,212,170,0.05);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #00D4AA; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.badge span:last-child { font-size: 13px; color: #00D4AA; }
.hero h1 {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 16px;
}
.hero-subtitle {
  max-width: 700px; margin: 0 auto 32px;
  font-size: 16px; line-height: 1.7; color: #94a3b8; padding: 0 8px;
}
.hero-ctas { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; padding: 14px 32px;
  font-size: 14px; font-weight: 600; transition: all 0.3s;
}
.btn-primary {
  background: linear-gradient(135deg, #00D4AA, #0088FF);
  color: #fff; box-shadow: 0 8px 24px rgba(0,212,170,0.2);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(0,212,170,0.3); transform: translateY(-1px); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff; backdrop-filter: blur(8px);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); }
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, #0A1628, transparent);
}

/* === Sections === */
.section { position: relative; padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.section-header p { font-size: 16px; color: #94a3b8; max-width: 600px; margin: 0 auto; }

/* === Products === */
.products-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.product-card {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  border-radius: 12px; padding: 24px;
  transition: all 0.3s;
}
.product-card:hover { transform: translateY(-2px); }
.card-cdm:hover { border-color: rgba(0,212,170,0.3); box-shadow: 0 8px 32px rgba(0,212,170,0.08); }
.card-rdb:hover { border-color: rgba(0,136,255,0.3); box-shadow: 0 8px 32px rgba(0,136,255,0.08); }
.card-cdb:hover { border-color: rgba(139,92,246,0.3); box-shadow: 0 8px 32px rgba(139,92,246,0.08); }
.product-icon {
  display: inline-flex; border-radius: 12px; padding: 12px; margin-bottom: 20px;
}
.icon-cdm { background: linear-gradient(135deg, #00D4AA, #00B894); }
.icon-rdb { background: linear-gradient(135deg, #0088FF, #0066CC); }
.icon-cdb { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.product-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.product-desc { font-size: 14px; font-weight: 500; color: #cbd5e1; margin-bottom: 12px; }
.product-detail { font-size: 14px; line-height: 1.7; color: #94a3b8; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  border-radius: 999px; padding: 4px 12px;
  font-size: 12px; color: #94a3b8;
}

/* === Features === */
.features-bg-orb {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(0,136,255,0.05); filter: blur(150px);
  pointer-events: none;
}
.features-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature-card {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  border-radius: 12px; padding: 24px;
  transition: all 0.3s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.feature-icon {
  display: inline-flex; border-radius: 8px; padding: 10px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0,212,170,0.1), rgba(0,136,255,0.1));
  color: #00D4AA;
}
.feature-card h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; line-height: 1.7; color: #94a3b8; }

/* === Data Sources === */
.datasources-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.datasource-card {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  border-radius: 12px; padding: 20px;
}
.datasource-card h3 {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: #cbd5e1; margin-bottom: 14px;
}
.source-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.source-tags span {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  border-radius: 8px; padding: 6px 12px;
  font-size: 14px; color: #94a3b8; transition: all 0.2s;
}
.source-tags span:hover { border-color: rgba(0,212,170,0.2); color: #cbd5e1; }

/* === Footer === */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #060E1A;
  padding: 40px 0;
}
.footer-top {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-company { font-size: 14px; color: #64748b; }
.footer-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #94a3b8; transition: color 0.2s;
}
.footer-phone:hover { color: #00D4AA; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: #475569; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0A1628; }
::-webkit-scrollbar-thumb { background: #1E3A5F; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2a4a6f; }

/* === Tablet (sm) === */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .hero h1 { font-size: 40px; }
  .hero-subtitle { font-size: 18px; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .datasources-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-brand { align-items: flex-start; }
}

/* === Desktop (md) === */
@media (min-width: 768px) {
  .header-inner { height: 64px; }
  .logo img { width: 36px; height: 36px; }
  .logo-text { font-size: 20px; }
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .hero { min-height: 100vh; padding-top: 64px; }
  .hero h1 { font-size: 64px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 20px; margin-bottom: 40px; }
  .badge { margin-bottom: 32px; padding: 8px 16px; }
  .badge span:last-child { font-size: 14px; }
  .section { padding: 120px 0; }
  .section-header { margin-bottom: 64px; }
  .section-header h2 { font-size: 36px; }
  .section-header p { font-size: 18px; }
  .product-card { padding: 32px; border-radius: 16px; }
  .feature-card { padding: 32px; border-radius: 16px; }
  .datasource-card { padding: 24px; border-radius: 16px; }
  .footer { padding: 64px 0; }
}

/* === Large Desktop (lg) === */
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .orb-1 { width: 500px; height: 500px; }
  .orb-2 { width: 400px; height: 400px; }
}
