:root {
  --bg: #f5f7fa;
  --bg-deep: #111111;
  --surface: #ffffff;
  --ink: #222222;
  --muted: #666666;
  --line: #e5e5e5;
  --steel: #1677ff;
  --steel-bright: #1677ff;
  --navy: #0b3d91;
  --accent: #ff6a00;
  --accent-hover: #e55f00;
  --ok: #1f7a4d;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 2px;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ===== Alibaba-style store header ===== */
.store-header {
  background: #fff;
}

.store-top {
  background: linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%);
  border-bottom: 1px solid #d6e6f7;
}

.store-top-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 0.9rem 0;
}

.store-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 140px;
}

.logo-mark {
  width: 52px;
  height: 52px;
  border: 2px solid var(--navy);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  background: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.logo-text em {
  font-style: italic;
  font-weight: 700;
  font-size: 0.78rem;
  color: #111;
}

.store-meta {
  flex: 1;
  min-width: min(100%, 420px);
}

.store-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin-bottom: 0.25rem;
}

.store-company {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  font-family: var(--font-body);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #1677ff;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.verified-badge::before {
  content: "✓";
  font-size: 0.7rem;
}

.meta-chip {
  font-size: 0.78rem;
  color: #555;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d9e6f5;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
}

.store-mains {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-mains span:first-child {
  color: #888;
  margin-right: 0.25rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.trust-pills span {
  font-size: 0.74rem;
  color: #333;
  background: #fff;
  border: 1px solid #cfdff0;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.store-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  margin-left: auto;
}

.btn-contact {
  background: var(--accent);
  color: #fff;
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

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

.lang-switch {
  display: inline-flex;
  border: 1px solid #c9d8ea;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.28rem 0.55rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: #111;
  color: #fff;
}

.store-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1a1a1a;
}

.store-nav-inner {
  display: flex;
  align-items: stretch;
  min-height: 46px;
  gap: 0.5rem;
}

.store-nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
}

.store-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 1.05rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.store-nav a:hover,
.store-nav a.is-active {
  background: #333;
}

.nav-hot {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  color: #ffd666;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 1px solid #444;
  background: #222;
  width: 40px;
  height: 36px;
  margin: 5px 0;
  border-radius: var(--radius);
  cursor: pointer;
  align-self: center;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

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

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

.btn-banner {
  background: var(--steel);
  color: #fff;
  min-height: 42px;
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.btn-banner:hover {
  background: #0f5fd4;
}

/* ===== Store banner carousel (Alibaba collage style) ===== */
.store-banner {
  position: relative;
  background: #0d2b4a;
  overflow: hidden;
}

.banner-viewport {
  position: relative;
  height: clamp(420px, 48vw, 560px);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  display: flex;
  flex-direction: column;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.banner-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  position: relative;
}

.banner-stage--split {
  grid-template-columns: minmax(260px, 0.95fr) minmax(220px, 0.9fr) minmax(320px, 1.25fr);
}

.banner-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.banner-panel--copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem 1.5rem 2.8rem 2.6rem;
  color: #fff;
  background:
    radial-gradient(600px 280px at 20% 20%, rgba(45, 140, 230, 0.35), transparent 60%),
    linear-gradient(160deg, #0a2744 0%, #12406c 48%, #0d3358 100%);
  z-index: 2;
  overflow: visible;
}

.banner-panel--copy-alt {
  background:
    radial-gradient(520px 260px at 10% 80%, rgba(255, 106, 0, 0.18), transparent 55%),
    linear-gradient(160deg, #102a44 0%, #163a5f 50%, #0f2f52 100%);
}

.banner-kicker {
  margin: 0 0 0.35rem;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec9ff;
}

.banner-panel--copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.banner-sub {
  margin: 0 0 1.15rem;
  max-width: 26rem;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.banner-certs {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.banner-certs span {
  min-width: 42px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.banner-panel--scene .banner-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.04);
}

.banner-panel--scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 39, 68, 0.35), transparent 35%, transparent 75%, rgba(10, 39, 68, 0.12));
  pointer-events: none;
}

.banner-panel--products {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem 2.6rem;
  background: linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%);
  overflow: hidden;
  align-content: stretch;
}

.product-shot {
  margin: 0;
  min-width: 0;
  min-height: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 40, 70, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  overflow: hidden;
}

.product-shot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.banner-promo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: linear-gradient(90deg, #e31212, #ff4d00 45%, #ff8a00);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.banner-promo:hover {
  filter: brightness(1.05);
}

.banner-arrow {
  position: absolute;
  top: 46%;
  z-index: 6;
  transform: translateY(-50%);
  width: 40px;
  height: 56px;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.banner-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.banner-arrow.prev { left: 8px; }
.banner-arrow.next { right: 8px; }

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.banner-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.banner-dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

/* Quick category strip under banner */
.quick-cats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.quick-cats-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
}

.quick-cat {
  display: grid;
  gap: 0.45rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
}

.quick-cat img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem;
}

.quick-cat:hover {
  color: var(--steel);
}

.quick-cat:hover img {
  border-color: var(--steel);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.4rem;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--steel-bright);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.35));
  border-block: 1px solid rgba(215, 222, 231, 0.7);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--steel);
  line-height: 1.1;
}

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

.about-panel {
  background: var(--bg-deep);
  color: #fff;
  border-radius: 8px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.about-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.about-panel li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.about-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #79b7e4;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.product-card .thumb {
  aspect-ratio: 16 / 10;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.product-card .thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.03);
}

.product-card .body {
  padding: 1rem 1.05rem 1.2rem;
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Applications */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.app-item {
  padding: 1.25rem 1.2rem;
  background: var(--surface);
  border-left: 3px solid var(--steel-bright);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 1px 0 rgba(15, 28, 46, 0.04);
}

.app-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.app-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Certificates */
.cert-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem;
}

.cert-box p {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-card,
.inquiry-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
}

.contact-list span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list strong,
.contact-list a {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
}

.inquiry-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.86rem;
}

/* Privacy page */
.page-hero {
  padding: 4.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem 1.7rem 2rem;
  margin-bottom: 4rem;
}

.legal h2 {
  margin: 1.6rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 1.2rem;
}

/* Cookie banner - Opt-in */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
  display: none;
  animation: slideUp 0.35s ease;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

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

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1100px) {
  .quick-cats-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner-stage--split {
    grid-template-columns: 1.1fr 1fr;
  }

  .banner-panel--scene {
    display: none;
  }
}

@media (max-width: 960px) {
  .store-nav-inner {
    position: relative;
  }

  .store-nav {
    display: none;
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #1a1a1a;
    z-index: 20;
  }

  .store-nav.is-open {
    display: flex;
  }

  .store-nav a {
    padding: 0.85rem 1rem;
    border-top: 1px solid #333;
  }

  .nav-hot {
    display: none;
  }

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

  .about-grid,
  .cert-box,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .app-grid,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .store-top-inner {
    gap: 0.8rem;
  }

  .store-logo {
    min-width: 0;
  }

  .store-mains {
    white-space: normal;
  }

  .store-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: 0;
  }

  .banner-viewport {
    height: auto;
    min-height: 520px;
  }

  .banner-slide.is-active {
    position: relative;
  }

  .banner-stage--split {
    grid-template-columns: 1fr;
    grid-template-rows: auto 160px auto;
  }

  .banner-panel--copy {
    padding: 1.3rem 1.1rem 1.5rem;
  }

  .banner-panel--copy h2 {
    font-size: 1.35rem;
  }

  .banner-panel--products {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(150px, 190px);
    padding-bottom: 2.6rem;
  }

  .banner-panel--copy {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .banner-promo {
    font-size: 0.82rem;
    min-height: 38px;
    padding: 0 0.5rem;
    text-align: center;
  }

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

  .product-grid,
  .app-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}
