/* YILON optimization layer: visual hierarchy, mobile polish, and lightweight motion. */
:root {
  --brand-ink: #0d2235;
  --brand-blue: #0b6fbf;
  --brand-cyan: #16b7d8;
  --brand-green: #23a26d;
  --brand-gold: #f1b84b;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --line-soft: rgba(13, 34, 53, 0.1);
  --shadow-soft: 0 18px 46px rgba(13, 34, 53, 0.12);
  --shadow-card: 0 14px 34px rgba(13, 34, 53, 0.1);
  --radius-lg: 18px;
  --radius-md: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--brand-ink);
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1180px, calc(100% - 40px));
}

.navbar {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px rgba(13, 34, 53, 0.06);
}

.navbar .container {
  min-height: 72px;
}

.navbar-brand img {
  max-height: 52px;
}

.navbar-nav a {
  position: relative;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  background: rgba(11, 111, 191, 0.1);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.lang-switch {
  border: 1px solid var(--line-soft);
  background: #f7fafc;
  border-radius: 999px;
  padding: 4px;
}

.lang-btn {
  border-radius: 999px !important;
}

.lang-btn.active {
  background: var(--brand-blue) !important;
  color: #fff !important;
}

.hero {
  min-height: clamp(560px, 76vh, 820px);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 18, 31, 0.55));
}

.carousel-slide::before {
  background:
    linear-gradient(90deg, rgba(4, 21, 35, 0.72), rgba(4, 21, 35, 0.28) 54%, rgba(4, 21, 35, 0.08)),
    linear-gradient(180deg, rgba(4, 21, 35, 0.2), rgba(4, 21, 35, 0.42)) !important;
}

.slide-content {
  max-width: 820px;
  text-align: left;
}

.slide-title {
  max-width: 13em;
  font-size: clamp(2.4rem, 6vw, 5rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0;
  text-wrap: balance;
}

.slide-desc {
  max-width: 680px;
  margin-top: 22px !important;
  font-size: clamp(1rem, 1.7vw, 1.28rem) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.hero-dots {
  z-index: 4;
}

.hero-dot {
  width: 34px !important;
  height: 4px !important;
  border-radius: 999px !important;
}

.section {
  position: relative;
  padding-top: clamp(68px, 8vw, 108px) !important;
  padding-bottom: clamp(68px, 8vw, 108px) !important;
}

.section-title {
  color: var(--brand-ink);
  font-size: clamp(1.85rem, 3vw, 2.7rem) !important;
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan), var(--brand-green));
}

.section-subtitle,
.yilon-subtitle {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: #5e7183 !important;
  font-size: clamp(1rem, 1.6vw, 1.16rem) !important;
}

.yilon-intro-block,
.page-intro,
.about-profile,
.contact-card,
.faq-item,
.product-card,
.feature-card,
.yilon-feature-card,
.custom-type-card,
.cert-card,
.report-card,
.patent-card {
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--radius-lg) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.product-card,
.feature-card,
.yilon-feature-card,
.custom-type-card,
.cert-card,
.report-card,
.patent-card,
.home-scene-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover,
.feature-card:hover,
.yilon-feature-card:hover,
.custom-type-card:hover,
.cert-card:hover,
.report-card:hover,
.patent-card:hover,
.home-scene-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 111, 191, 0.24) !important;
  box-shadow: var(--shadow-card);
}

.product-card-img,
.yilon-feature-img,
.home-scene-card {
  background: #e9f1f7;
}

.product-card img,
.yilon-feature-img img,
.feature-icon img,
.home-scene-card img,
.cert-card img,
.report-card img,
.patent-card img {
  transition: transform 0.55s ease, filter 0.35s ease;
}

.product-card:hover img,
.yilon-feature-card:hover img,
.feature-card:hover img,
.home-scene-card:hover img,
.cert-card:hover img,
.report-card:hover img,
.patent-card:hover img {
  transform: scale(1.045);
}

.spec-tag,
.tag,
.product-badge {
  border: 1px solid rgba(11, 111, 191, 0.18);
  background: rgba(11, 111, 191, 0.08) !important;
  color: var(--brand-blue) !important;
  border-radius: 999px !important;
}

.btn,
button,
.submit-btn {
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  background-clip: padding-box;
  border-radius: 999px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary,
.submit-btn {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan)) !important;
  box-shadow: 0 14px 28px rgba(11, 111, 191, 0.23);
}

.btn:hover,
button:hover,
.submit-btn:hover {
  transform: translateY(-2px);
}

.faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 252, 253, 0.9));
}

.faq-question {
  align-items: center;
}

.footer {
  position: relative;
  background:
    linear-gradient(135deg, #071b2d 0%, #102f48 58%, #0b5d75 100%) !important;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
}

.footer .container {
  position: relative;
  z-index: 1;
}

.yilon-trust-strip {
  position: relative;
  z-index: 5;
  margin: -78px auto 0;
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.yilon-trust-item {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.78);
}

.yilon-trust-value {
  display: block;
  color: var(--brand-blue);
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}

.yilon-trust-label {
  display: block;
  margin-top: 8px;
  color: #53687a;
  font-size: 0.92rem;
}

.yilon-floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  gap: 10px;
}

.yilon-solution-selector,
.yilon-contact-quick {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.yilon-solution-selector h2,
.yilon-contact-quick h2 {
  margin: 0 0 10px;
  color: var(--brand-ink);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.yilon-solution-selector p,
.yilon-contact-quick p {
  margin: 0;
  color: #637789;
}

.yilon-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.yilon-solution-card {
  display: grid;
  min-height: 158px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, #fff, #f7fbfe);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.yilon-solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 111, 191, 0.25);
  box-shadow: var(--shadow-card);
}

.yilon-solution-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 1.05rem;
}

.yilon-solution-card span {
  color: #64788b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.yilon-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.yilon-contact-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
}

.yilon-contact-actions a.secondary {
  color: var(--brand-blue);
  background: rgba(11, 111, 191, 0.09);
}

.yilon-floating-cta a,
.yilon-floating-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-ink);
  box-shadow: 0 14px 32px rgba(13, 34, 53, 0.2);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.yilon-floating-cta .primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
}

.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.magnetic-spotlight {
  position: relative;
}

.magnetic-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(22, 183, 216, 0.2), transparent 34%);
  transition: opacity 0.2s ease;
}

.magnetic-spotlight:hover::after {
  opacity: 1;
}

@media (max-width: 900px) {
  .navbar .container {
    min-height: 64px;
  }

  .navbar-nav {
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
  }

  .slide-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .slide-title,
  .slide-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .yilon-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -48px;
  }

  .yilon-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 620px;
  }

  .slide-title {
    max-width: 10em;
  }

  .yilon-trust-strip {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr 1fr;
  }

  .yilon-trust-item {
    padding: 18px 14px;
  }

  .yilon-floating-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr 44px;
  }

  .yilon-solution-selector,
  .yilon-contact-quick {
    width: min(100% - 28px, 1180px);
  }

  .yilon-solution-grid {
    grid-template-columns: 1fr;
  }

  .yilon-floating-cta a {
    min-width: 0;
  }

  .yilon-floating-cta button {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* codex refinement 2026-07-26: start */

:root {
  --header-height: 78px;
  --brand-ink: #0b2133;
  --brand-blue: #065fc4;
  --brand-cyan: #13a8cf;
  --brand-green: #1f9a68;
  --surface-soft: #f5f8fb;
  --line-soft: rgba(10, 35, 55, 0.12);
  --shadow-soft: 0 18px 42px rgba(10, 35, 55, 0.1);
  --shadow-card: 0 16px 32px rgba(10, 35, 55, 0.11);
}

body {
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 38%, #f7fafc 100%) !important;
  overflow-x: hidden;
}

.navbar {
  height: var(--header-height) !important;
}

.navbar .container {
  min-height: var(--header-height) !important;
}

.navbar-brand {
  height: 62px !important;
  min-width: 214px;
  overflow: visible !important;
}

.navbar-brand img {
  height: 50px !important;
  max-height: none !important;
  width: auto !important;
  margin-top: 0 !important;
}

.navbar-nav {
  gap: 8px;
}

.navbar-nav a {
  padding: 8px 14px;
}

.hero {
  min-height: clamp(520px, 72vh, 760px) !important;
}

.slide-content {
  bottom: clamp(82px, 10vh, 124px) !important;
}

.slide-actions {
  margin-top: 22px !important;
}

.section {
  padding-top: clamp(52px, 6vw, 82px) !important;
  padding-bottom: clamp(52px, 6vw, 82px) !important;
}

.section-title {
  font-size: clamp(1.72rem, 2.55vw, 2.35rem) !important;
}

.section-title::after {
  width: 58px;
  height: 3px;
  margin-top: 13px;
}

.section-subtitle,
.yilon-subtitle {
  margin-bottom: 28px !important;
}

.yilon-intro-block {
  margin: 22px auto 32px !important;
}

.yilon-features-grid {
  gap: 22px !important;
  margin-top: 32px !important;
}

.products-grid {
  gap: 22px !important;
}

.page-header + .section {
  padding-top: 36px !important;
}

.products-grid + div {
  margin-top: 30px !important;
}

.product-card,
.feature-card,
.yilon-feature-card,
.home-scene-card {
  background: #fff !important;
  border-radius: 12px !important;
}

.product-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(19, 168, 207, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%) !important;
  border-bottom: 1px solid rgba(10, 35, 55, 0.08);
}

.product-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 22px rgba(10, 35, 55, 0.13));
}

.product-card-body {
  padding: 18px 20px 20px !important;
}

.product-card-body h3 {
  min-height: 1.45em;
  margin-bottom: 8px !important;
}

.feature-icon,
.yilon-feature-img {
  background: #eef4f8 !important;
}

.yilon-feature-img img,
.feature-icon img {
  transform: scale(1.01);
}

.home-scenes-grid {
  gap: 14px !important;
}

.home-scene-card img {
  background: #fff !important;
}

.reveal-up {
  opacity: 1 !important;
  transform: none !important;
}

.yilon-trust-strip {
  position: relative;
  z-index: 6;
  display: block !important;
  width: 100%;
  margin: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(10, 35, 55, 0.08);
  backdrop-filter: none !important;
}

.yilon-trust-strip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-cyan), var(--brand-green));
}

.yilon-trust-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yilon-trust-item {
  position: relative;
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 104px;
  padding: 22px 20px !important;
  background: transparent !important;
}

.yilon-trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 0;
  bottom: 26px;
  width: 1px;
  background: rgba(10, 35, 55, 0.1);
}

.yilon-trust-value {
  color: var(--brand-ink) !important;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem) !important;
  font-weight: 850 !important;
  letter-spacing: 0;
}

.yilon-trust-label {
  margin-top: 0 !important;
  color: #5d7182 !important;
  font-size: 0.94rem !important;
}

.page-header {
  min-height: 240px !important;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem) !important;
}

.footer-grid {
  grid-template-columns: minmax(260px, 1.45fr) minmax(150px, 0.65fr) minmax(320px, 1.25fr) !important;
  gap: 34px !important;
}

.footer-brand {
  padding-top: 20px !important;
}

.footer-brand img {
  margin-top: -24px !important;
}

@media (max-width: 992px) {
  .navbar-brand {
    min-width: 176px;
  }

  .navbar-brand img {
    height: 42px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 900px) {
  .yilon-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yilon-trust-item:nth-child(2)::after {
    display: none;
  }

  .yilon-trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(10, 35, 55, 0.09);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }

  .navbar-brand {
    min-width: 150px;
    height: 52px !important;
  }

  .navbar-brand img {
    height: 36px !important;
  }

  .navbar .container {
    position: relative;
  }

  .navbar-toggle {
    position: absolute !important;
    top: 50%;
    right: 14px;
    z-index: 1001;
    display: flex !important;
    transform: translateY(-50%);
  }

  .navbar-toggle span {
    background: var(--brand-ink) !important;
  }

  .slide-content {
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
  }

  .slide-title {
    max-width: 100% !important;
    font-size: clamp(1.85rem, 9vw, 2.8rem) !important;
  }

  .slide-desc {
    max-width: 100% !important;
    font-size: 0.98rem !important;
  }

  .section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .section-subtitle,
  .yilon-subtitle {
    margin-bottom: 22px !important;
  }

  .product-card-img {
    max-height: none !important;
  }
}

@media (max-width: 560px) {
  .yilon-trust-inner {
    width: min(100% - 28px, 1180px);
  }

  .yilon-trust-item {
    min-height: 92px;
    padding: 18px 12px !important;
  }

  .yilon-trust-value {
    font-size: clamp(1.22rem, 6vw, 1.55rem) !important;
  }

  .yilon-trust-label {
    font-size: 0.82rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .yilon-floating-cta {
    left: auto !important;
    right: 14px !important;
    width: auto !important;
    grid-template-columns: 1fr !important;
  }

  .yilon-floating-cta a,
  .yilon-floating-cta button {
    min-width: 104px;
  }
}
/* codex refinement 2026-07-26: end */

/* Product card brand mark */
.product-card {
  position: relative !important;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 68px;
  height: 28px;
  border: 1px solid rgba(10, 35, 55, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9) url("../images/logo/logo-nav.png") center / 54px auto no-repeat;
  box-shadow: 0 10px 22px rgba(10, 35, 55, 0.12);
  pointer-events: none;
}

@media (max-width: 560px) {
  .product-card::after {
    top: 10px;
    right: 10px;
    width: 58px;
    height: 24px;
    background-size: 46px auto;
    border-radius: 7px;
  }
}
/* YILON industrial detail polish */
.yilon-svg-icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card-img {
  position: relative !important;
}

.yilon-card-rating {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(12, 92, 141, 0.16);
  border-radius: 8px;
  background: rgba(245, 251, 255, 0.92);
  color: #075b8f;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(10, 35, 55, 0.1);
  pointer-events: none;
}

.yilon-card-rating .yilon-svg-icon {
  width: 14px;
  height: 14px;
}

.yilon-card-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #0b6fbf;
  font-size: 0.86rem;
  font-weight: 700;
}

.yilon-card-action .yilon-svg-icon,
.yilon-btn-icon .yilon-svg-icon {
  width: 15px;
  height: 15px;
}

.spec-tag.yilon-spec-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.yilon-tag-icon {
  color: currentColor;
  opacity: 0.9;
}

.yilon-tag-icon .yilon-svg-icon {
  width: 12px;
  height: 12px;
}

.feature-icon {
  position: relative !important;
}

.yilon-feature-symbol {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b6fbf;
  border: 1px solid rgba(12, 92, 141, 0.12);
  box-shadow: 0 12px 24px rgba(10, 35, 55, 0.14);
}

.yilon-feature-symbol .yilon-svg-icon {
  width: 18px;
  height: 18px;
}

.contact-icon.yilon-line-icon {
  display: grid !important;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: #0b6fbf;
  background: linear-gradient(180deg, #f7fbff, #edf6fb);
  border: 1px solid rgba(12, 92, 141, 0.12);
  box-shadow: 0 12px 24px rgba(10, 35, 55, 0.08);
  font-size: 1rem !important;
}

.contact-icon.yilon-line-icon .yilon-svg-icon {
  width: 22px;
  height: 22px;
}

.btn[href] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.yilon-btn-icon {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.btn[href]:hover .yilon-btn-icon {
  transform: translateX(2px);
}

.scene-zoom-controls {
  gap: 8px !important;
  padding: 10px 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 18, 28, 0.56) !important;
  backdrop-filter: blur(10px);
}

.scene-zoom-btn.yilon-modal-tool,
.scene-modal-close.yilon-modal-close {
  display: grid !important;
  place-items: center;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.08) !important;
  border-radius: 8px !important;
}

.scene-zoom-btn.yilon-modal-tool {
  width: 36px !important;
  height: 36px !important;
  font-size: 1rem !important;
}

.scene-modal-close.yilon-modal-close {
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 1rem !important;
}

.scene-zoom-level {
  min-width: 44px;
  color: rgba(255,255,255,0.86) !important;
  font-size: 0.78rem !important;
  font-variant-numeric: tabular-nums;
}

.yilon-inline-check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  color: #0b8a57;
  vertical-align: -3px;
}

.yilon-inline-check .yilon-svg-icon {
  width: 18px;
  height: 18px;
}

.product-detail-section .detail-grid:empty,
.detail-section:empty {
  display: none !important;
}

@media (max-width: 560px) {
  .yilon-card-rating {
    top: 10px;
    left: 10px;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .yilon-card-action {
    margin-top: 12px;
  }

  .contact-icon.yilon-line-icon {
    width: 42px;
    height: 42px;
  }
}
/* YILON richer visual system */
:root {
  --yilon-button-start: #075fb7;
  --yilon-button-end: #13a8cf;
  --yilon-button-hover: #064f9a;
  --yilon-deep: #071d2f;
  --yilon-panel: rgba(255, 255, 255, 0.9);
}

.section:not(.yilon-detail-cta) {
  isolation: isolate;
}

.section:not(.yilon-detail-cta)::before {
  content: "";
  position: absolute;
  inset: 18px 0 auto 0;
  height: 180px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background:
    linear-gradient(rgba(7, 95, 183, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 95, 183, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.section > .container,
.page-header-content {
  position: relative;
  z-index: 1;
}

.yilon-title-rail {
  width: min(230px, 46vw);
  height: 18px;
  margin: 0 auto 8px;
  display: grid;
  grid-template-columns: 1fr 7px 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(7, 95, 183, 0.38);
}

.yilon-title-rail span {
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.yilon-title-rail span:last-child {
  background: linear-gradient(90deg, currentColor, transparent);
}

.yilon-title-rail i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 6px rgba(19, 168, 207, 0.1);
}

.btn,
.submit-btn,
.yilon-contact-actions a,
.yilon-floating-cta a,
.yilon-floating-cta button,
.slide-actions .btn {
  min-height: 44px;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  background-clip: padding-box;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  font-weight: 750 !important;
  letter-spacing: 0;
  box-shadow: none;
}

.btn-primary,
.submit-btn,
.yilon-contact-actions a:not(.secondary),
.yilon-floating-cta .primary,
.slide-actions .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--yilon-button-start), var(--yilon-button-end)) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 14px 30px rgba(7, 95, 183, 0.24) !important;
}

.btn-primary:hover,
.submit-btn:hover,
.yilon-contact-actions a:not(.secondary):hover,
.yilon-floating-cta .primary:hover,
.slide-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--yilon-button-hover), #0d92bd) !important;
  box-shadow: 0 18px 36px rgba(7, 95, 183, 0.28) !important;
}

.btn-outline,
.yilon-contact-actions a.secondary {
  color: var(--brand-blue) !important;
  background: #fff !important;
  border-color: rgba(7, 95, 183, 0.26) !important;
  box-shadow: 0 10px 24px rgba(10, 35, 55, 0.08) !important;
}

.btn-outline:hover,
.yilon-contact-actions a.secondary:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--yilon-button-start), var(--yilon-button-end)) !important;
  border-color: transparent !important;
}

.btn-white,
.slide-actions .btn:not(.btn-primary) {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(10px);
}

.btn-white:hover,
.slide-actions .btn:not(.btn-primary):hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
}

.yilon-floating-cta button,
.yilon-backtop {
  color: var(--brand-blue) !important;
  background: #fff !important;
  border-color: rgba(7, 95, 183, 0.18) !important;
}

.product-card,
.yilon-feature-card,
.feature-card,
.contact-card,
.faq-block,
.yilon-solution-selector,
.yilon-contact-quick {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,253,255,0.92)) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.92) inset, 0 16px 36px rgba(10, 35, 55, 0.08) !important;
}

.product-card::before,
.feature-card::before,
.yilon-feature-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-cyan), var(--brand-green));
  opacity: 0.78;
  pointer-events: none;
}

.product-card-body {
  border-top: 1px solid rgba(10, 35, 55, 0.08);
  background:
    linear-gradient(90deg, rgba(7,95,183,0.035), transparent 42%),
    #fff;
}

.product-card-body h3 {
  line-height: 1.32;
}

.yilon-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(10, 35, 55, 0.12);
}

.yilon-card-meta-cell {
  min-width: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  color: #53687a;
}

.yilon-card-meta-cell .yilon-svg-icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--brand-blue);
}

.yilon-card-meta-cell em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  color: #7a8da0;
  line-height: 1.1;
}

.yilon-card-meta-cell strong {
  display: block;
  min-width: 0;
  margin-top: 3px;
  color: var(--brand-ink);
  font-size: 0.76rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.yilon-card-action {
  width: 100%;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 35, 55, 0.08);
}

.yilon-trust-item {
  position: relative;
  min-height: 126px;
  display: grid;
  align-content: center;
  padding-left: 78px !important;
}

.yilon-trust-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--brand-blue);
  background: linear-gradient(180deg, #f6fbff, #eaf5fb);
  border: 1px solid rgba(7, 95, 183, 0.12);
  box-shadow: 0 12px 24px rgba(10,35,55,0.08);
}

.yilon-trust-icon .yilon-svg-icon {
  width: 21px;
  height: 21px;
}

.yilon-solution-card {
  position: relative;
  padding-top: 66px !important;
}

.yilon-solution-icon {
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: var(--brand-blue);
  background: rgba(7, 95, 183, 0.08);
  border: 1px solid rgba(7, 95, 183, 0.12);
}

.yilon-solution-icon .yilon-svg-icon {
  width: 19px;
  height: 19px;
}

.product-detail-info,
.product-params,
.product-features,
.product-scenes {
  border-radius: 14px;
}

.product-detail-info {
  padding: 24px !important;
  border: 1px solid rgba(10, 35, 55, 0.1);
  background: linear-gradient(180deg, #fff, #f7fbfe);
  box-shadow: 0 16px 34px rgba(10, 35, 55, 0.08);
}

.product-params tr:nth-child(even) {
  background: rgba(7, 95, 183, 0.035);
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
}

@media (max-width: 760px) {
  .yilon-card-meta {
    grid-template-columns: 1fr;
  }

  .yilon-trust-item {
    min-height: 108px;
    padding-left: 64px !important;
  }

  .yilon-trust-icon {
    left: 16px;
    width: 36px;
    height: 36px;
  }
}
/* YILON rating badge placement refinement */
.yilon-card-rating {
  top: auto !important;
  bottom: 14px !important;
  left: 14px !important;
}

@media (max-width: 560px) {
  .yilon-card-rating {
    top: auto !important;
    bottom: 10px !important;
    left: 10px !important;
  }
}

/* Language visibility guard: later button rules use !important, so this keeps CN/EN content from appearing together. */
[data-lang] {
  display: none !important;
}

html.zh [data-lang="en"]:not(.lang-btn),
html:not(.en) [data-lang="en"]:not(.lang-btn),
html.en [data-lang="zh"]:not(.lang-btn) {
  display: none !important;
}

html.zh .btn[data-lang="zh"],
html:not(.en) .btn[data-lang="zh"],
html.en .btn[data-lang="en"],
html.zh .navbar-nav a[data-lang="zh"],
html:not(.en) .navbar-nav a[data-lang="zh"],
html.en .navbar-nav a[data-lang="en"],
.lang-switch .lang-btn[data-lang] {
  display: inline-flex !important;
}

html.zh [data-lang="zh"]:not(.lang-btn):not(.btn):not(.navbar-nav a),
html:not(.en) [data-lang="zh"]:not(.lang-btn):not(.btn):not(.navbar-nav a),
html.en [data-lang="en"]:not(.lang-btn):not(.btn):not(.navbar-nav a) {
  display: revert !important;
}

/* Product photos already carry the YILON mark. Keep card imagery unobstructed. */
.product-card::after {
  content: none !important;
  display: none !important;
}

.product-card-img .yilon-card-rating {
  display: none !important;
}

/* FAQ tables retain readable columns on small screens. */
.faq-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.faq-direct-answer {
  color: var(--dark) !important;
  font-weight: 600;
}

.faq-section .faq-list {
  max-width: 920px;
}

.faq-intro {
  max-width: 920px;
  margin: 0 auto 24px;
}

.faq-kicker {
  color: var(--primary) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  margin-bottom: 8px !important;
}

.faq-intro h2 {
  color: var(--dark);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 12px;
}

.faq-intro p {
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 8px;
}

.faq-anchor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  max-width: 920px;
  margin: 0 auto 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(15, 40, 70, 0.1);
  border-bottom: 1px solid rgba(15, 40, 70, 0.1);
}

.faq-anchor-link {
  color: var(--dark);
  font-size: 0.92rem;
  line-height: 1.45;
  text-decoration: none;
}

.faq-anchor-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .faq-anchor-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .faq-intro h2 {
    font-size: 1.45rem;
  }
}
/* codex footer and contact spacing refinement 2026-07-27 */
.footer-grid {
  grid-template-columns: minmax(260px, 1.45fr) minmax(140px, 0.55fr) minmax(300px, 1.15fr) !important;
  gap: 26px !important;
}

.footer-links {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 10px !important;
}

.footer-links a {
  display: block !important;
  width: fit-content;
  margin-bottom: 0 !important;
  padding: 2px 0;
  line-height: 1.45;
}

html.zh .footer-links a[data-lang="zh"],
html:not(.en) .footer-links a[data-lang="zh"],
html.en .footer-links a[data-lang="en"] {
  display: block !important;
}

.footer .footer-contact {
  gap: 8px !important;
}

.footer-contact p {
  margin-bottom: 5px !important;
  line-height: 1.5;
}

.footer-qrcodes {
  gap: 12px !important;
  margin-top: 0 !important;
}

.yilon-floating-cta {
  grid-template-columns: minmax(118px, auto) 44px !important;
  align-items: center;
  justify-items: stretch;
}

.yilon-floating-cta a,
.yilon-floating-cta button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-width: 118px;
  height: 44px;
  line-height: 1;
}

html.zh .yilon-floating-cta a[data-lang="zh"],
html:not(.en) .yilon-floating-cta a[data-lang="zh"],
html.en .yilon-floating-cta a[data-lang="en"] {
  display: inline-flex !important;
}

.yilon-floating-cta .yilon-backtop {
  width: 44px;
  min-width: 44px;
  padding: 0 !important;
  font-size: 1.05rem;
}

.contact-layout {
  gap: 28px !important;
}

.contact-info-card,
.contact-form-card {
  padding: 32px !important;
}

.contact-subtitle {
  margin-bottom: 20px !important;
}

.contact-details {
  gap: 14px !important;
  margin-bottom: 22px !important;
}

.contact-item {
  gap: 12px !important;
}

.contact-qrcodes {
  gap: 18px !important;
  padding-top: 18px !important;
}

@media (max-width: 900px) {
  .footer-grid {
    gap: 22px !important;
  }

  .yilon-floating-cta {
    right: 14px !important;
    grid-template-columns: minmax(118px, auto) 44px !important;
  }
}

@media (max-width: 560px) {
  .yilon-floating-cta {
    left: 14px !important;
    right: 14px !important;
    grid-template-columns: 1fr 44px !important;
  }

  .yilon-floating-cta a {
    min-width: 0;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 24px !important;
  }
}
/* codex floating cta precise centering 2026-07-27 */
.yilon-floating-cta {
  display: grid !important;
  grid-template-columns: 128px 46px !important;
  align-items: center !important;
  justify-items: center !important;
  column-gap: 10px !important;
}

.yilon-floating-cta > a.primary[data-lang] {
  display: grid !important;
  place-items: center !important;
  width: 128px !important;
  min-width: 128px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box;
}

html.zh .yilon-floating-cta.yilon-floating-cta > a.primary.primary[data-lang="zh"],
html:not(.en) .yilon-floating-cta.yilon-floating-cta > a.primary.primary[data-lang="zh"],
html.en .yilon-floating-cta.yilon-floating-cta > a.primary.primary[data-lang="en"] {
  display: grid !important;
  place-items: center !important;
}

html.zh .yilon-floating-cta.yilon-floating-cta > a.primary.primary[data-lang="en"],
html:not(.en) .yilon-floating-cta.yilon-floating-cta > a.primary.primary[data-lang="en"],
html.en .yilon-floating-cta.yilon-floating-cta > a.primary.primary[data-lang="zh"] {
  display: none !important;
}

.yilon-floating-cta > .yilon-backtop {
  display: grid !important;
  place-items: center !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  line-height: 1 !important;
}

@media (max-width: 560px) {
  .yilon-floating-cta {
    grid-template-columns: 1fr 46px !important;
  }

  .yilon-floating-cta > a.primary[data-lang] {
    width: 100% !important;
    min-width: 0 !important;
  }
}
/* codex no language flash refinement 2026-07-27 */
html.en .lang-switch .lang-btn[data-lang="zh"],
html.zh .lang-switch .lang-btn[data-lang="en"],
html:not(.en) .lang-switch .lang-btn[data-lang="en"] {
  background: transparent !important;
  color: var(--text-light) !important;
  border-color: var(--gray) !important;
}

html.en .lang-switch .lang-btn[data-lang="en"],
html.zh .lang-switch .lang-btn[data-lang="zh"],
html:not(.en) .lang-switch .lang-btn[data-lang="zh"] {
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-color: var(--brand-blue) !important;
}
