/* ===== Enterprise Hero ===== */
.ent-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: var(--home-hero-bg);
}

.ent-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  margin-bottom: 28px;
  gap: 4px;
}

.ent-hero .hero-title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--home-text);
}

.ent-hero .hero-desc {
  font-size: 17px;
  color: var(--home-text-3);
  line-height: 1.8;
  margin-bottom: 36px;
}

.ent-hero .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.ent-hero .hero-note {
  font-size: 13px;
  color: var(--home-text-3);
  letter-spacing: 0.3px;
}

/* ===== Section overrides ===== */
.ent-section {
  padding: 100px 0;
}

.ent-section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--home-text);
}

.ent-section-desc {
  text-align: center;
  font-size: 15px;
  color: var(--home-text-3);
  margin-bottom: 56px;
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--home-text);
}

.step-card p {
  font-size: 13px;
  color: var(--home-text-3);
  line-height: 1.6;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  margin-bottom: 16px;
}

/* ===== Code Block ===== */
.code-block {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--home-border);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--home-bg-alt);
  border-bottom: 1px solid var(--home-border);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot.red { background: #ed6a5e; }
.code-dot.yellow { background: #f5bf4f; }
.code-dot.green { background: #62c554; }

.code-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--home-text-3);
}

.code-body {
  padding: 20px 24px;
  background: #1e1e2e;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
}

.code-body code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  color: #cdd6f4;
}

.code-comment { color: #6c7086; }
.code-prompt { color: #89b4fa; }
.code-success { color: #a6e3a1; }
.code-info { color: #f9e2af; }

/* ===== Capabilities ===== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capability-card {
  padding: 28px;
  border-radius: 14px;
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
  transition: all 0.3s;
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.capability-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--home-text);
}

.capability-card p {
  font-size: 13.5px;
  color: var(--home-text-3);
  line-height: 1.7;
}

.capability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.capability-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
}

.capability-tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}

/* ===== Compare Table ===== */
.compare-table-wrapper {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--home-border);
}

.compare-table th {
  font-weight: 600;
  background: var(--home-bg-alt);
  color: var(--home-text);
  font-size: 13px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--home-text-2);
}

.compare-table .highlight-col {
  background: rgba(22, 93, 255, 0.04);
  color: var(--home-text);
  font-weight: 500;
}

.compare-table th.highlight-col {
  color: var(--primary);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.check-icon {
  color: var(--primary);
  font-size: 18px;
}

.check-icon.muted {
  color: var(--home-text-3);
}

.cross-icon {
  color: var(--home-border);
  font-size: 18px;
}

/* ===== Customers ===== */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.customer-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 14px;
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
  transition: all 0.3s;
}

.customer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.customer-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--home-text);
}

.customer-card p {
  font-size: 13px;
  color: var(--home-text-3);
  line-height: 1.6;
}

.customer-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 16px;
}

/* ===== Specs ===== */
.specs-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  overflow: hidden;
}

.spec-item {
  display: flex;
  border-bottom: 1px solid var(--home-border);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  width: 160px;
  flex-shrink: 0;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--home-text);
  background: var(--home-bg-alt);
}

.spec-value {
  flex: 1;
  padding: 14px 24px;
  font-size: 14px;
  color: var(--home-text-2);
}

/* ===== 技术架构 ===== */
.ent-arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ent-arch-card {
  padding: 24px;
  border-radius: 12px;
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
}

.ent-arch-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--home-text);
}

.ent-arch-card p {
  font-size: 14px;
  color: var(--home-text-2);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.ent-faq {
  max-width: 720px;
  margin: 0 auto;
}

.ent-faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--home-card-bg);
}

.ent-faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--home-text);
  cursor: pointer;
  list-style: none;
}

.ent-faq-item summary::-webkit-details-marker {
  display: none;
}

.ent-faq-item summary::before {
  content: '+';
  display: inline-block;
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.ent-faq-item[open] summary::before {
  content: '−';
}

.ent-faq-item p {
  padding: 0 20px 16px 46px;
  font-size: 14px;
  color: var(--home-text-2);
  line-height: 1.7;
  margin: 0;
}

.ent-faq-item a {
  color: var(--primary);
}

/* ===== 联系我们 ===== */
.ent-contact {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.ent-contact-desc {
  font-size: 15px;
  color: var(--home-text-2);
  margin-bottom: 24px;
  line-height: 1.7;
}

.ent-contact-ways {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  margin-bottom: 16px;
}

.ent-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--home-text-2);
}

.ent-contact-item a {
  color: var(--primary);
}

.ent-contact-note {
  font-size: 13px;
  color: var(--home-text-3);
}

/* ===== CTA ===== */
.ent-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.06) 0%, rgba(114, 46, 209, 0.06) 100%);
}

.ent-cta .cta-inner {
  text-align: center;
}

.ent-cta .cta-inner h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--home-text);
}

.ent-cta .cta-inner p {
  font-size: 16px;
  color: var(--home-text-3);
  margin-bottom: 28px;
}

.ent-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .ent-hero {
    padding: 120px 0 60px;
  }

  .ent-hero .hero-title {
    font-size: 32px;
  }

  .ent-hero .hero-title br {
    display: none;
  }

  .ent-hero .hero-desc br {
    display: none;
  }

  .ent-section {
    padding: 64px 0;
  }

  .ent-section-title {
    font-size: 26px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .ent-arch-grid {
    grid-template-columns: 1fr;
  }

  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-label {
    width: 120px;
    padding: 12px 16px;
  }

  .spec-value {
    padding: 12px 16px;
  }

  .ent-cta {
    padding: 64px 0;
  }

  .ent-cta .cta-inner h2 {
    font-size: 28px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
