/* ================================================
   南京风雷益发技术有限公司官网
   基于 Ardot 设计稿还原 (TDesign 设计规范)
   ================================================ */

:root {
  /* TDesign 色彩令牌 */
  --brand: #0052D9;            /* 品牌蓝 */
  --brand-light: #F2F3FF;      /* 品牌浅底 */
  --text-primary: #18191C;     /* 主文本 */
  --text-secondary: #5E5E5E;   /* 次要文本 */
  --text-footer: #8C8C8C;      /* 页脚文本 */
  --bg-page: #EEEEEE;
  --bg-container: #FFFFFF;
  --bg-gray: #F6F7FA;
  --bg-dark: #001A57;          /* 客户信赖深蓝 */
  --bg-footer: #18191C;        /* 页脚深灰 */
  --border: #DEDEDE;
  --success: #2BA471;
  --success-light: #E3F9EA;
  --warning: #E37318;
  --warning-light: #FFF1E9;

  /* 字体 */
  --font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= Header ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--bg-container);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand);
  flex-shrink: 0;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-name-light {
  color: #FFFFFF;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--brand);
}

.nav-link.active {
  font-weight: 500;
  color: var(--brand);
}

/* ================= 按钮 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-family: var(--font-family);
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-header {
  height: 36px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
}

.btn-lg {
  height: 44px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 500;
}

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-outline {
  background: var(--bg-container);
  border: 1px solid var(--border);
  color: var(--brand);
}

.btn-outline:hover {
  border-color: var(--brand);
}

/* ================= Hero ================= */
.hero {
  background: var(--bg-container);
  padding: 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-left {
  width: 600px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  height: 28px;
  padding: 0 12px;
  background: var(--brand-light);
  border-radius: 3px;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.badge-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.hero-trust {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-image {
  flex: 1;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1E3A8A 0%, #0052D9 100%);
}

.hero-image-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ================= 通用 Section ================= */
.section {
  padding: 80px 120px;
}

.section-gray {
  background: var(--bg-gray);
}

.section-dark {
  background: var(--bg-dark);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.section-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.title-light {
  color: #FFFFFF;
}

.desc-light {
  color: rgba(255, 255, 255, 0.6);
}

/* ================= 服务流程 ================= */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.step-card {
  width: 380px;
  flex-grow: 1;
  background: var(--bg-container);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.step-desc {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ================= 核心业务 ================= */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.service-card {
  width: 380px;
  flex-grow: 1;
  background: var(--bg-container);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.icon-blue {
  background: var(--brand-light);
}

.icon-green {
  background: var(--success-light);
}

.icon-orange {
  background: var(--warning-light);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.service-desc {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ================= 客户信赖 ================= */
.stats-row {
  display: flex;
  gap: 48px;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
}

.stat-label {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

/* ================= FAQ ================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-container);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-a {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ================= Footer ================= */
.footer {
  background: var(--bg-footer);
}

.footer-accent {
  height: 4px;
  background: var(--brand);
}

.footer-content {
  padding: 64px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: flex;
  gap: 80px;
}

.footer-brand {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text-footer);
}

.footer-col {
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-wide {
  width: 240px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-footer);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-text {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text-footer);
}

.footer-divider {
  height: 1px;
  background: #2C2C2C;
}

.footer-copyright {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ================= 响应式 ================= */
@media (max-width: 1200px) {
  .section,
  .footer-content {
    padding-left: 80px;
    padding-right: 80px;
  }

  .hero {
    padding: 64px 80px;
  }

  .hero-left {
    width: 520px;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-left {
    width: 100%;
  }

  .hero-image {
    height: 320px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 48px;
  }

  .footer-brand {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 24px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 48px 24px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .section,
  .footer-content {
    padding: 48px 24px;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 32px;
  }

  .stat {
    flex: 1 1 40%;
  }

  .footer-col,
  .footer-col-wide {
    width: 45%;
  }
}
