:root {
  --bg: #f4f7fb;
  --bg-strong: #dbe8f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #12233d;
  --muted: #5e708e;
  --primary: #0055b8;
  --primary-deep: #0a2d63;
  --accent: #00a8e0;
  --line: rgba(18, 35, 61, 0.08);
  --shadow: 0 22px 60px rgba(10, 45, 99, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1220px;
  --title-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body-font: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 168, 224, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(0, 85, 184, 0.24), transparent 26%),
    linear-gradient(180deg, #edf4fc 0%, #f8fbff 38%, #edf4fc 100%);
}

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

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

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 0;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(18, 35, 61, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--title-font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.brand-copy {
  font-size: 0.98rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero-section,
.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-section {
  padding: 48px 0 30px;
}

.hero-copy,
.hero-panel,
.info-card,
.contact-card,
.category-card,
.featured-card,
.product-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 42px;
}

.hero-copy::after,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -80px -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 224, 0.22), transparent 68%);
}

.hero-panel {
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(10, 45, 99, 0.96), rgba(0, 85, 184, 0.92)),
    var(--surface);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-panel .eyebrow,
.hero-panel .panel-label {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3,
strong {
  font-family: var(--title-font);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
}

.hero-text,
.section-heading p,
.info-card p,
.contact-note,
.product-card p,
.featured-card p,
.category-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 12px 24px rgba(0, 85, 184, 0.24);
}

.button-secondary {
  border: 1px solid rgba(0, 85, 184, 0.18);
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.75);
}

.hero-stats,
.hero-panel-grid,
.about-grid,
.category-overview,
.featured-grid,
.catalog-grid {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.stat-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 85, 184, 0.08);
}

.stat-item strong {
  display: block;
  font-size: 1.7rem;
  color: var(--primary-deep);
}

.stat-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel-card {
  padding: 6px 4px 30px;
}

.panel-label {
  margin: 0 0 10px;
  font-size: 0.85rem;
}

.hero-panel-card p:last-child {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

.hero-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-panel-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel-grid strong {
  font-size: 1.08rem;
}

section {
  margin-top: 26px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading p {
  margin: 12px 0 0;
}

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

.info-card,
.category-card,
.featured-card,
.product-card,
.contact-card {
  border-radius: var(--radius-lg);
}

.info-card {
  padding: 28px;
}

.category-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  padding: 24px;
}

.category-link-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-link-card:hover,
.category-link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 85, 184, 0.18);
}

.category-card .tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(0, 85, 184, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.category-card strong,
.featured-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.card-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 35, 61, 0.08);
}

.card-link-row em {
  font-style: normal;
  color: var(--muted);
}

.card-link-row b {
  color: var(--primary);
  font-size: 0.92rem;
}

.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-card {
  overflow: hidden;
}

.featured-card img,
.product-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 168, 224, 0.14), transparent 25%),
    linear-gradient(180deg, rgba(238, 246, 255, 0.95), rgba(255, 255, 255, 0.88));
}

.featured-card-body,
.product-card-body {
  padding: 20px;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(0, 85, 184, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-deep);
  font-weight: 700;
  cursor: pointer;
}

.filter-button.is-active {
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.search-box {
  display: grid;
  gap: 8px;
  min-width: min(100%, 340px);
  color: var(--muted);
  font-size: 0.92rem;
}

.search-box input {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(0, 85, 184, 0.14);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  color: var(--text);
}

.search-box input:focus {
  border-color: rgba(0, 85, 184, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 85, 184, 0.08);
}

.catalog-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.product-card {
  overflow: hidden;
}

.product-card h3,
.featured-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.product-category,
.featured-category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 85, 184, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-section {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(10, 45, 99, 0.95), rgba(0, 85, 184, 0.86));
  color: white;
  box-shadow: var(--shadow);
}

.subpage-hero {
  margin-top: 34px;
  padding: 34px 0 10px;
}

.breadcrumb-link {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 700;
}

.category-page-section {
  margin-top: 4px;
}

.catalog-toolbar-compact {
  margin-bottom: 14px;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.contact-role {
  margin: 0 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.contact-phone {
  display: inline-block;
  margin: 6px 0 14px;
  font-family: var(--title-font);
  font-size: 1.72rem;
  font-weight: 800;
}

.empty-state {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1120px) {
  .hero-section,
  .contact-section,
  .about-grid,
  .catalog-grid,
  .featured-grid,
  .category-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 28px;
  }

  .site-nav {
    gap: 12px;
  }

  main {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 18px;
  }

  .hero-copy,
  .hero-panel,
  .info-card,
  .category-card,
  .featured-card-body,
  .product-card-body,
  .contact-card,
  .contact-section {
    padding: 22px;
  }

  .hero-stats,
  .about-grid,
  .catalog-grid,
  .featured-grid,
  .category-overview,
  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    align-items: stretch;
  }
}
