:root {
  --primary: #0b5fa5;
  --primary-dark: #083b66;
  --primary-soft: #e8f1fa;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #0f172a;
  --muted: #5b6b7f;
  --line: #e6ecf3;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

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

.section__head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

.section__tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.section__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  margin: 14px 0 16px;
  letter-spacing: 0.5px;
}

.section__desc {
  color: var(--muted);
  font-size: 16px;
}

/* ===== 顶部导航 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.nav.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.nav__brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.nav__brand span {
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav__link.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 15px;
}

.nav__phone svg {
  width: 18px;
  height: 18px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--primary-soft);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s;
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

.nav__toggle.is-open span {
  background: transparent;
}

.nav__toggle.is-open span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle.is-open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 95, 165, 0.32);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32);
}

.btn--accent:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--primary);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

/* ===== 首页 Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(4, 23, 43, 0.92) 0%, rgba(8, 59, 102, 0.72) 45%, rgba(11, 95, 165, 0.35) 100%);
}

.hero__inner {
  padding: 120px 0 96px;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #ffd591;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero__title {
  font-size: clamp(30px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  margin: 24px 0 20px;
  letter-spacing: 1px;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  max-width: 640px;
}

.hero__stat {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.hero__stat b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.hero__stat small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

/* ===== 产品卡片 ===== */
.grid {
  display: grid;
  gap: 28px;
}

.grid--products {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card__title {
  font-size: 19px;
  font-weight: 700;
}

.card__text {
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}

.card__link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* ===== 优势 ===== */
.grid--features {
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

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

.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
}

.feature__icon svg {
  width: 28px;
  height: 28px;
}

.feature__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature__text {
  color: var(--muted);
  font-size: 14px;
}

/* ===== CTA 横幅 ===== */
.cta {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 64px 48px;
  color: #fff;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.18);
}

.cta__title {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta__desc {
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
}

/* ===== 页头横幅（内页） ===== */
.page-hero {
  position: relative;
  padding: 160px 0 84px;
  color: #fff;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  overflow: hidden;
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.16);
  z-index: -1;
}

.page-hero__title {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 800;
  letter-spacing: 1px;
}

.page-hero__crumb {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero__crumb a:hover {
  color: #fff;
}

/* ===== 关于我们 ===== */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.about__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  margin-bottom: 18px;
}

.about__text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  color: var(--ink);
  font-weight: 500;
}

.about__list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5fa5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== 产品详情列表 ===== */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.product-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-block:nth-child(even) .product-block__media {
  order: 2;
}

.product-block__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.product-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-block__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-dark);
}

.product-block__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 8px 0 16px;
}

.product-block__text {
  color: var(--muted);
  margin-bottom: 18px;
}

.product-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-block__tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

/* ===== 联系页 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact-card__icon {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card__label {
  font-size: 13px;
  color: var(--muted);
}

.contact-card__value {
  font-size: 17px;
  font-weight: 700;
  margin-top: 2px;
}

.contact-card__value a:hover {
  color: var(--primary);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  background: #fff;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.map-bar__addr {
  font-size: 14px;
  color: var(--muted);
}

.map-bar__addr b {
  color: var(--ink);
}

/* ===== 页脚 ===== */
.footer {
  background: #071a2e;
  color: rgba(255, 255, 255, 0.75);
  padding: 68px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer__brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}

.footer__about {
  font-size: 14px;
  line-height: 1.8;
}

.footer__title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer__menu li {
  margin-bottom: 12px;
}

.footer__menu a {
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
}

.footer__menu a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  align-items: flex-start;
}

.footer__contact svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== 滚动显现动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .grid--products {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about,
  .product-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-block:nth-child(even) .product-block__media {
    order: 0;
  }

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

@media (max-width: 720px) {
  .nav__menu,
  .nav__phone {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu.is-open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
  }

  .nav__link {
    padding: 14px 16px;
    border-radius: 12px;
  }

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

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta {
    padding: 44px 28px;
  }

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

  .section {
    padding: 64px 0;
  }
}
