/* ===== Variables ===== */
:root {
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --success: #22c55e;
  --gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #a5b4fc 0%, #67e8f9 50%, #c4b5fd 100%);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

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

/* ===== Background ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.bg-glow--1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: rgba(99, 102, 241, 0.12);
}
.bg-glow--2 {
  width: 500px; height: 500px;
  bottom: 20%; left: -150px;
  background: rgba(6, 182, 212, 0.08);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.125rem;
}
.logo-icon svg,
.logo-icon img { width: 40px; height: 40px; display: block; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}
.btn-ghost {
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 60px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--mono);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Chat Window */
.hero-visual {
  position: relative;
}
.chat-window {
  background: rgba(17, 17, 24, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
  backdrop-filter: blur(20px);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.chat-dots { display: flex; gap: 6px; }
.chat-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.chat-dots span:nth-child(1) { background: #ef4444; }
.chat-dots span:nth-child(2) { background: #eab308; }
.chat-dots span:nth-child(3) { background: #22c55e; }
.chat-title { font-size: 0.875rem; font-weight: 500; flex: 1; }
.chat-status {
  font-size: 0.75rem;
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.message {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.message--out { flex-direction: row-reverse; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar--1 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.avatar--2 { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.avatar--3 { background: linear-gradient(135deg, #a855f7, #c084fc); }
.bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.message--out .bubble {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.25);
}
.bubble--ai {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
}
.sender {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.bubble p { font-size: 0.875rem; line-height: 1.5; }
.time {
  display: block;
  font-size: 0.625rem;
  color: var(--text-dim);
  margin-top: 4px;
  text-align: right;
}
.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.875rem;
}
.send-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(17, 17, 24, 0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8125rem;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.floating-card--1 { top: 10%; left: -10%; animation-delay: 0s; }
.floating-card--2 { bottom: 15%; right: -8%; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Logos ===== */
.logos {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.logos-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.logos-track span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.logos-track span:hover { opacity: 1; }

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
.section--alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.product-card--featured {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.05);
}
.product-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--gradient);
  color: white;
  border-radius: 100px;
}
.product-icon { margin-bottom: 20px; }
.product-icon svg { width: 48px; height: 48px; }
.product-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-card > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.product-features {
  margin-bottom: 24px;
}
.product-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.product-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary-light);
  transition: color var(--transition);
}
.product-link:hover { color: var(--accent-light); }

/* ===== Product Single ===== */
.product-single {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  text-align: center;
}
.product-single-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  margin-bottom: 32px;
}
.product-single-header .product-icon { margin-bottom: 0; flex-shrink: 0; }
.product-single-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-single-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.product-single-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  text-align: left;
}
.product-single-group h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-light);
}
.product-single-group ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.product-single-group ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ===== Plan Single ===== */
.plan-single {
  max-width: 820px;
  margin: 0 auto;
}
.plan-single-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}
.plan-single-intro {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.plan-single-intro h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.plan-single-intro p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}
.plan-single-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.plan-single-group h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary-light);
}
.plan-single-group ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}
.plan-single-group ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
.feature-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Solutions ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.solution-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.solution-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.solution-card > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.solution-card ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.solution-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.pricing-card:hover { border-color: var(--border-hover); }
.pricing-card--featured {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.06);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  background: var(--gradient);
  color: white;
  border-radius: 100px;
}
.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.pricing-price {
  margin-bottom: 28px;
}
.currency {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: top;
}
.amount {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--mono);
  line-height: 1;
}
.amount--text { font-size: 2rem; }
.period {
  font-size: 0.875rem;
  color: var(--text-dim);
}
.pricing-features { margin-bottom: 28px; }
.pricing-features li {
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }

/* ===== About ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.about-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.about-stat-row:last-child { margin-bottom: 0; }
.about-stat-row strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--mono);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-stat-row span {
  font-size: 0.875rem;
  color: var(--text-dim);
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}
.about-values {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.value-item strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}
.value-item span {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ===== Contact ===== */
.section--contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.contact-static {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.contact-static-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-card svg {
  color: var(--primary-light);
  margin-bottom: 16px;
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-brand {
  text-align: center;
  margin-bottom: 32px;
}
.footer-brand .logo {
  justify-content: center;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.footer-contact,
.footer-address {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.8;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.beian-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.beian-link:hover {
  color: var(--primary-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; }
  .floating-card--1 { left: 0; }
  .floating-card--2 { right: 0; }
  .products-grid,
  .features-grid,
  .solutions-grid,
  .product-single-grid,
  .plan-single-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .product-single,
  .plan-single-card {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
    gap: 12px;
  }
  .header { height: auto; min-height: var(--header-h); }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
  }
  .nav-actions { margin-left: auto; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .about-values { flex-direction: column; gap: 16px; }
  .product-single-header { flex-direction: column; align-items: center; text-align: center; }
}
