/* ===== 设计变量 — 专业 B2B 代理商风格 ===== */
:root {
  --color-primary: #1a73e8;
  --color-primary-dark: #1557b0;
  --color-primary-light: #e8f0fe;
  --color-accent: #34a853;
  --color-text: #202124;
  --color-text-secondary: #5f6368;
  --color-text-muted: #80868b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-hero: #f1f3f4;
  --color-border: #dadce0;
  --color-border-light: #e8eaed;
  --shadow-sm: 0 1px 3px rgba(60, 64, 67, 0.08);
  --shadow-md: 0 4px 12px rgba(60, 64, 67, 0.1);
  --shadow-lg: 0 8px 24px rgba(60, 64, 67, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --navbar-height: 64px;
  --max-width: 1140px;
}

/* ===== 全局重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Google Sans", "Segoe UI", "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text {
  color: var(--color-text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.nav-links a.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* ===== 页面布局 ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding-top: var(--navbar-height);
}

/* ===== 英雄区 ===== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-hero) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border-light);
}

.hero-content {
  max-width: 720px;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.company-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  margin-bottom: 24px;
}

.company-name {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.company-subtitle {
  font-size: 20px;
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-bottom: 24px;
}

.company-desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ===== 按钮 ===== */
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* ===== 通用区块 ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== 特性卡片 ===== */
.features-section {
  padding: 80px 24px;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  padding: 32px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  text-align: left;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

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

.feature-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===== 联系预览区 ===== */
.contact-section {
  padding: 80px 24px;
  background: var(--color-bg-alt);
  text-align: center;
  border-top: 1px solid var(--color-border-light);
}

.contact-info-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0 auto 36px;
  max-width: 640px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s ease;
}

.contact-item:hover {
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
}

/* ===== 通用卡片 ===== */
.glass-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: box-shadow 0.2s ease;
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
}

/* ===== 内页头部 ===== */
.page-header-section {
  padding: 64px 24px 48px;
  text-align: center;
  background: var(--color-bg-hero);
  border-bottom: 1px solid var(--color-border-light);
}

.page-header {
  animation: fadeInUp 0.5s ease-out;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* ===== 联系页卡片 ===== */
.contact-cards-section {
  padding: 56px 24px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-card {
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

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

.card-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.card-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}

/* ===== 详细信息表格 ===== */
.contact-details-section {
  padding: 0 24px 56px;
}

.contact-details {
  max-width: 720px;
  margin: 0 auto;
}

.contact-details h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--color-text);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table td {
  padding: 16px 0;
  text-align: left;
  font-size: 14px;
}

.info-table .label {
  color: var(--color-text-muted);
  font-weight: 500;
  width: 120px;
  font-size: 13px;
}

.info-table a {
  color: var(--color-primary);
}

/* ===== 法律内容 ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-section {
  margin-bottom: 20px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--color-text);
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-section p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== 返回链接 ===== */
.back-link {
  text-align: center;
  padding: 0 24px 48px;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-light);
  padding: 48px 24px 24px;
  margin-top: auto;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
}

.footer-section h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.footer-section p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  :root {
    --navbar-height: 56px;
  }

  .company-name {
    font-size: 30px;
  }

  .page-title {
    font-size: 28px;
  }

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

  .hero-section {
    padding: 56px 20px 48px;
  }

  .features-section,
  .contact-section {
    padding: 56px 20px;
  }

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

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .nav-links a {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 26px;
  }

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

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .info-table .label {
    width: 90px;
    font-size: 12px;
  }
}
