/* ========== 变量与基础：黑色底+蓝紫logo色 ========== */
:root {
  --color-primary: #7c5cff;
  --color-primary-dark: #5b3ddf;
  --color-primary-light: #9d7fff;
  --color-accent: #6366f1;
  --color-bg: #0a0a0f;
  --color-bg-card: #12121a;
  --color-bg-elevated: #1a1a25;
  --color-bg-glass: rgba(26, 26, 37, 0.7);
  --color-text: #e8eaed;
  --color-text-muted: #9aa0a6;
  --color-border: #2a2a3a;
  --color-tag: #7c5cff;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航栏 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--color-border);
  padding-left: 12px;
}

.logo-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.logo-brand-en {
  font-size: 0.7rem;
  color: var(--color-primary-light);
  letter-spacing: 0.5px;
}

.logo-products {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.logo-product {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.logo-product.active {
  color: var(--color-primary-light);
  font-weight: 600;
  background: rgba(124, 92, 255, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary-light);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-light);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-nav {
  padding: 8px 18px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ========== 主视觉区 ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 92, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.08), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== 通用区块 ========== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-desc {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ========== 产品介绍 ========== */
.intro-section {
  background: var(--color-bg-card);
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.intro-tag {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--color-tag);
  border-radius: 24px;
  font-size: 0.9rem;
  color: var(--color-tag);
  transition: all 0.2s;
}

.intro-tag:hover {
  background: rgba(124, 92, 255, 0.15);
}

/* ========== 5项核心亮点 - 色块展示 ========== */
.highlights-section {
  background: var(--color-bg);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.highlight-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.highlight-card:nth-child(1) { background: linear-gradient(135deg, #f97316, #ea580c); }
.highlight-card:nth-child(2) { background: linear-gradient(135deg, #64748b, #475569); }
.highlight-card:nth-child(3) { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.highlight-card:nth-child(4) { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.highlight-card:nth-child(5) { background: linear-gradient(135deg, #eab308, #ca8a04); }

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.highlight-img {
  flex: 1;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.highlight-content {
  padding: 20px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.highlight-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.highlight-content p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
}

.highlights-cta {
  text-align: center;
}

/* ========== 产品特色 3项横排 ========== */
.features-showcase {
  background: var(--color-bg-card);
}

.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-showcase-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.feature-showcase-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.feature-showcase-img {
  height: 140px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.feature-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-showcase-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-showcase-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========== 功能模块 - 8排横向半透明 ========== */
.modules-section {
  background: var(--color-bg);
}

.modules-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.module-row-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 32px 40px;
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.module-row-full:hover {
  border-color: var(--color-primary);
  background: rgba(26, 26, 37, 0.85);
}

.module-card-left {
  flex: 1;
}

.module-row-full h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.module-row-full p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.module-card-img {
  width: 100%;
  max-width: 420px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  justify-self: end;
}

.module-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== 应用场景 - 背景图+悬浮卡片 ========== */
.scenarios-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.scenarios-section .section-title,
.scenarios-section .section-desc {
  position: relative;
  z-index: 2;
}

.scenarios-bg {
  position: absolute;
  inset: 0;
  background: url('官网图片/应用行业背景图1.png') center/cover no-repeat;
  opacity: 0.4;
}

.scenarios-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.95) 100%);
}

.scenarios-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  padding: 28px;
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.scenario-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.scenario-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
}

.scenario-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.scenario-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.scenario-tag {
  font-size: 0.8rem;
  color: var(--color-primary-light);
  margin-top: 8px;
  font-weight: 500;
}

/* ========== 核心优势 ========== */
.features-section {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.6;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========== CTA 区块 ========== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 80px 0;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #fff;
}

.cta-content > p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-form input {
  flex: 1;
  min-width: 140px;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.contact-form input::placeholder {
  color: #666;
}

.contact-form button {
  flex: 1;
  min-width: 140px;
  background: var(--color-bg);
  color: var(--color-primary-light);
}

.contact-form button:hover {
  background: var(--color-bg-card);
}

/* ========== 页脚 ========== */
.footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-brand {
    display: none;
  }

  .logo-products {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .features-showcase-grid {
    grid-template-columns: 1fr;
  }

  .module-row-full {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .module-card-img {
    justify-self: center;
    max-width: 100%;
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    flex-direction: column;
  }
}
