:root {
  --brand-primary: #0f766e;
  --brand-primary-dark: #0d9488;
  --brand-primary-light: #14b8a6;
  --brand-accent: #3b82f6;
  --brand-gradient: linear-gradient(135deg, #0f766e 0%, #3b82f6 100%);
  --brand-gradient-hero: linear-gradient(135deg, #0f766e 0%, #1e40af 50%, #3b82f6 100%);
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --paper-50: #f8fafc;
  --paper-100: #f1f5f9;
  --line: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(15, 118, 110, 0.15);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --space-4: 1rem;
  --max-width: 1440px;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-900);
  background: var(--paper-50);
  -webkit-font-smoothing: antialiased;
}

.is-placeholder-text {
  color: #b46a1c !important;
}

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

.section,
.nav-wrap,
.site-footer {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1rem 0;
}

.brand,
.brand:link,
.brand:visited,
.brand:hover,
.brand:focus,
.brand:active {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand-gradient);
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
}

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

.brand-copy strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
}

.brand-copy small {
  color: var(--ink-500);
  font-size: 0.7rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.site-nav a:link,
.site-nav a:visited,
.site-nav a:hover,
.site-nav a:focus,
.site-nav a:active {
  position: relative;
  color: var(--ink-600);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 200ms ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 1px;
  transition: width 200ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  width: 100%;
}

.site-nav a.is-current,
.site-nav a.is-current:hover {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none !important;
}

.site-nav a:hover {
  color: var(--brand-primary);
}

.nav-cta {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  color: var(--brand-primary) !important;
  font-weight: 500;
  border: 1px solid var(--brand-primary);
  background: transparent;
  transition: background 200ms ease;
}

.nav-cta:hover {
  color: #ffffff !important;
  background: var(--brand-primary);
}

.menu-toggle {
  display: none;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
}

.page-home {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-50) 40%, var(--paper-100) 100%);
}

.page-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background: radial-gradient(ellipse at 20% 10%, rgba(15, 118, 110, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-home::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-home .page-shell {
  position: relative;
  z-index: 1;
}

.home-hero {
  padding: 6rem 0 5rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.3fr);
  gap: 2.5rem;
  align-items: stretch;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: var(--brand-gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(15, 118, 110, 0.1);
}

.home-hero-text {
  margin: 1rem 0 0;
  color: var(--ink-500);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  min-height: 3.4rem;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.button-primary {
  color: #ffffff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.35);
}

.button-primary:hover {
  box-shadow: 0 14px 40px rgba(15, 118, 110, 0.45);
}

.button-secondary {
  border-color: rgba(15, 118, 110, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-700);
}

.button-secondary:hover {
  border-color: var(--brand-primary);
  background: #ffffff;
  color: var(--brand-primary);
}

.home-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.home-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 999px;
  color: var(--ink-600);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 200ms ease;
}

.home-badges span:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.2);
  transform: translateY(-1px);
}

.home-hero-visual {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.home-hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: #f5f5f5;
}
.hero-product-label {
  padding: 1rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #ffffff;
}

.hero-product-label span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-product-label small {
  opacity: 0.8;
  font-size: 0.9rem;
}

.home-hero-stats-inline {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.8rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
}

.home-hero-stats-inline .stat-item {
  flex: 1;
  text-align: center;
}

.home-hero-stats-inline .stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.home-hero-stats-inline .stat-item span {
  display: block;
  color: var(--ink-500);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.home-showcase {
  padding: 4rem 0;
}

.home-section-heading {
  margin-bottom: 3rem;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-image {
  width: 100%;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}

.home-product-card-content {
  padding: 1.25rem;
}

.home-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(15, 118, 110, 0.15);
}

.home-product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.home-product-card .card-label {
  color: var(--brand-primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.home-product-card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.home-product-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.home-case-card {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-card);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.home-case-visual {
  position: absolute;
  inset: 0;
}

.home-case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 350ms ease, transform 500ms ease;
}

.home-case-body {
  position: absolute;
  inset: auto 1.5rem 1.5rem;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 60%);
  border-radius: var(--radius-md);
}

.home-case-body span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.home-case-body h3 {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.home-case-card:hover .home-case-visual img {
  opacity: 0.9;
  transform: scale(1.02);
}

.home-contact {
  padding: 5rem 0 6rem;
}

.home-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 3rem;
  align-items: start;
  padding: 3rem;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, var(--paper-50) 100%);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.home-contact-main {
  display: grid;
  gap: 1.75rem;
  min-width: 0;
}

.home-contact-heading {
  margin-bottom: 0;
  max-width: 32rem;
}

.home-contact-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-contact-heading p {
  margin: 0.65rem 0 0;
  color: var(--ink-500);
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.03) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
  transition: all 200ms ease;
}

.home-contact-item:hover {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.05) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.home-contact-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(15, 118, 110, 0.08);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.home-contact-cert span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.home-contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(245, 248, 250, 0.9), rgba(255, 255, 255, 0.9));
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.home-contact-qr span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-600);
  letter-spacing: 0.02em;
}

.home-qr-card {
  padding: 0.75rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-qr-card img {
  display: block;
  border-radius: 8px;
}

.home-contact-item strong {
  display: inline;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
}

.home-contact-item .address-single-line {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
}

.home-contact-qr-panel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
}

.qr-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.home-qr-card {
  width: 8.5rem;
  padding: 0.5rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 38, 26, 0.08);
}

.home-qr-card img {
  width: 100%;
  height: auto;
}

.home-contact-primary {
  min-height: 3.55rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  width: fit-content;
  min-width: 11.75rem;
  padding: 0 0.9rem;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  box-shadow: 0 14px 30px rgba(30, 125, 85, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-contact-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(30, 125, 85, 0.22);
}

.home-contact-primary span {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.home-contact-cert {
  display: grid;
  width: 100%;
  max-width: 22rem;
  gap: 0.7rem;
  align-content: start;
  justify-self: end;
  padding: 0.65rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(30, 125, 85, 0.06);
}

.cert-image-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.home-contact-cert img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 38, 26, 0.07);
  filter: blur(8px);
}

.cert-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
}

.cert-overlay span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #999999;
  letter-spacing: 0.1em;
}

.home-contact-cert span {
  color: var(--brand-primary);
  text-align: center;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 0.88rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1), 
              transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero-copy [data-reveal] {
  transition-delay: 100ms;
}

.home-hero-visual [data-reveal] {
  transition-delay: 200ms;
}

.home-product-card:nth-child(1) [data-reveal] { transition-delay: 0ms; }
.home-product-card:nth-child(2) [data-reveal] { transition-delay: 80ms; }
.home-product-card:nth-child(3) [data-reveal] { transition-delay: 160ms; }
.home-product-card:nth-child(4) [data-reveal] { transition-delay: 240ms; }

.home-case-card:nth-child(1) [data-reveal] { transition-delay: 0ms; }
.home-case-card:nth-child(2) [data-reveal] { transition-delay: 100ms; }
.home-case-card:nth-child(3) [data-reveal] { transition-delay: 200ms; }

@media (max-width: 980px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-product-grid,
  .home-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact-panel {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .home-contact-cert {
    max-width: 34rem;
  }
}

@media (min-width: 981px) {
  .home-contact-item strong:not(.address-single-line) {
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding: 3.5rem 0 3rem;
  }

  .home-showcase {
    padding: 2.5rem 0;
  }

  .home-contact {
    padding: 3rem 0 3.5rem;
  }

  .nav-wrap {
    padding: 0.85rem 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    width: min(17rem, calc(100vw - 2rem));
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .home-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .home-hero-stats-inline {
    gap: 1rem;
  }

  .home-hero-stats-inline .stat-item strong {
    font-size: 1.2rem;
  }

  .home-product-grid,
  .home-case-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-panel {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .home-contact-primary {
    width: 100%;
    min-width: 0;
  }

  .home-qr-card {
    width: 9.5rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
