/* ==========================================================================
   yanfan-site — Redesigned with Arcatech-inspired structure
   Primary: #e94f98 | Dark: #272b32 | Sand: #f7f8fa
   ========================================================================== */

/* ---------- 0. Font ---------- */
@font-face {
  font-family: 'OPPOSans';
  src: url('../fonts/OPPOSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OPPOSans';
  src: url('../fonts/OPPOSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Design Tokens ---------- */
:root {
  --color-primary: #e94f98;
  --color-primary-hover: #c83d7f;
  --color-primary-light: #ff78b8;
  --color-dark: #272b32;
  --color-dark-2: #30343b;
  --color-dark-3: #3b4048;
  --color-text-1: #1d2129;
  --color-text-2: #4e5969;
  --color-text-3: #86909c;
  --color-text-4: #c9cdd4;
  --color-sand: #f7f8fa;
  --color-fill-2: #f2f3f5;
  --color-border: #e5e6eb;
  --color-bg: #ffffff;
  --container-width: none;
  --header-height: 72px;
  --section-padding: 200px;
  --page-padding: 120px;
  --split-gap: 80px;
  --transition: 0.35s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-size-hero: 60px;
  --font-size-h1: 48px;
  --font-size-h2: 40px;
  --font-size-body: 16px;
  --font-size-small: 14px;
  --font-size-xs: 13px;
  --font-size-stat: 52px;
}

/* ---------- 1b. Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "OPPOSans", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  color: var(--color-text-1);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, strong, b, th { font-weight: 500; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
img { border: 0; display: inline-block; max-width: 100%; vertical-align: middle;
  -webkit-user-drag: none; user-select: none; pointer-events: none; }
input, button, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: none; background: transparent; }

/* ---------- 2. Utilities ---------- */
.clearfix::before, .clearfix::after { display: table; content: ""; }
.clearfix::after { clear: both; }
.fl { float: left; }
.fr { float: right; }

.auto {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  box-sizing: border-box;
}
.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  box-sizing: border-box;
}
.head-box { height: var(--header-height); }

/* ---------- 3. Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  pointer-events: none;
}
.preloader-bar {
  flex: 1;
  background: var(--color-dark);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  transform-origin: top;
}
.preloader.loaded .preloader-bar {
  transform: scaleY(0);
}
.preloader.loaded .preloader-bar:nth-child(2) { transition-delay: 0.12s; }
.preloader.loaded .preloader-bar:nth-child(3) { transition-delay: 0.24s; }
.preloader.done { display: none; }

/* ---------- 4. Header ---------- */
.head {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  transition: box-shadow var(--transition) ease, background var(--transition) ease, border-bottom-color var(--transition) ease;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.head:hover, .head.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
.head > .auto {
  display: flex;
  align-items: center;
  height: var(--header-height);
  width: 100%;
  max-width: 100%;
  padding: 0 var(--page-padding);
}
.hd_logo {
  margin-right: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  min-width: 128px;
  height: var(--header-height);
}
.hd_logo .img {
  display: block;
  width: 116px;
  height: auto;
  object-fit: contain;
}
.hd_logo::before {
  display: none;
  content: "";
}
.hd_logo::after {
  display: none;
  content: "";
}
.hd_nav {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hd_nav li {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  padding: 0 16px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-1);
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.hd_nav li a { color: inherit; position: relative; }
.hd_nav li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--color-text-1);
  border-radius: 0;
  transition: transform 0.3s var(--ease);
}
.hd_nav li:hover::after, .hd_nav li.cur::after {
  transform: translateX(-50%) scaleX(1);
}
.hd_nav li:hover { color: var(--color-primary); }
.hd_nav li.cur { color: var(--color-primary); font-weight: 500; }
.hd_nav_item_menu_img {
  width: 16px; height: 16px; margin-left: 2px; opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.3s ease;
  
}
.hd_nav li:hover .hd_nav_item_menu_img { transform: rotate(180deg); opacity: 0.7; }

/* CTA button */
.hd_nav_item_btn {
  margin-left: auto;
  padding: 0 28px;
  height: 40px;
  line-height: 40px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--color-text-1);
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition) ease, border-color var(--transition) ease;
}
.hd_nav_item_btn a {
  color: var(--color-text-1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hd_nav_item_btn a::after {
  content: '\2192';
  font-size: 15px;
  transition: transform 0.3s ease;
}
.hd_nav_item_btn:hover {
  background: var(--color-text-1);
  border-color: var(--color-text-1);
}
.hd_nav_item_btn:hover a { color: #fff; }
.hd_nav_item_btn:hover a::after { transform: translateX(3px); }

/* Mega menu */
.hd_nav_item_menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  width: 100vw;
  text-align: center;
  background: #fff;
  left: 0;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06);
  border-top: 1px solid var(--color-border);
  z-index: 99;
  animation: menuFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.hd_nav li:hover .hd_nav_item_menu { display: flex; }
.hd_nav_item_menu .popup-left {
  position: relative; width: 480px; padding: 56px 40px; text-align: left;
  background: #fff; background-image: none !important;
  border-right: 1px solid var(--color-border);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hd_nav_item_menu .popup-left .popup-left-title {
  color: var(--color-text-1); font-size: 32px; font-weight: 500; line-height: 1.3;
}
.hd_nav_item_menu .popup-left .popup-left-sub {
  color: var(--color-text-4); font-size: 14px; font-weight: 400; margin-top: 8px;
  letter-spacing: 0.5px;
}
.hd_nav_item_menu .popup-left .popup-left-desc {
  display: none;
}
.popup-left-all {
  margin-top: auto; font-size: 14px; color: var(--color-text-2);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s, gap 0.2s;
}
.popup-left-all:hover { color: var(--color-primary); gap: 8px; }
.hd_nav_item_menu .popup-right {
  flex: 1; display: flex; flex-wrap: wrap; gap: 32px 0; padding: 56px 48px; text-align: left;
}
.popup-col { flex: 0 0 25%; min-width: 0; }
.popup-col h4 {
  font-size: 13px; font-weight: 500; color: var(--color-text-3); margin-bottom: 24px;
}
.popup-col a,
.popup-col a:link,
.popup-col a:visited {
  position: relative;
  display: block; padding: 12px 0; font-size: 15px; color: #1d2129;
  text-decoration: none; transition: color 0.2s;
}
.popup-col a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 50%; height: 1.5px; background: var(--color-text-1);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.popup-col a:hover {
  color: var(--color-primary);
}
.popup-col a:hover::after {
  transform: scaleX(1);
}
/* Product icon squircle in dropdown */
.popup-product-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  margin-right: 10px; vertical-align: middle; flex-shrink: 0;
}
.popup-product-icon i {
  font-size: 15px; color: #fff; line-height: 1;
}
.popup-col a:has(.popup-product-icon) {
  display: flex; align-items: center;
}
/* Legacy classes kept for backwards compat — hidden in new layout */
.popup-list { display: none; }
.popup-item-icon, .popup-item-text, .popup-item-desc { display: none; }

/* Mobile menu toggle */
.hd_mobile_menu {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
  margin-left: auto;
}
.hd_mobile_menu span {
  width: 24px; height: 2px; background: var(--color-text-1); border-radius: 0; transition: 0.3s;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fbff;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-video video,
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 42%, rgba(255,255,255,0.36) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 86px);
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 140px;
}
.hero-content {
  max-width: 560px;
  flex: 0 0 44%;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text-1);
  margin-bottom: 28px;
  padding: 0;
  border: none;
  background: transparent;
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-text-3);
  border-radius: 0;
  animation: none;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text-1);
  letter-spacing: 2px;
  margin-bottom: 28px;
}
.hero-title br + * { display: inline; }
.hero-title em {
  font-style: normal;
  color: var(--color-text-1);
}
.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-2);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-screen-wrap {
  flex: 1;
  min-width: 0;
  transform: translateY(18px);
}
.hero-screen-img {
  width: min(780px, 100%);
  display: block;
  margin-left: auto;
  border-radius: 10px;
  box-shadow: 0 26px 80px rgba(70, 95, 135, 0.18);
  filter: saturate(1.02);
}
.hero-screen-img--model {
  width: min(620px, 100%);
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 34px 46px rgba(70, 95, 135, 0.16)) saturate(1.05);
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 32px;
  min-width: 200px;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.btn-solid:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-solid .btn-arrow {
  transition: transform 0.3s ease;
}
.btn-solid:hover .btn-arrow {
  transform: translateX(6px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 32px;
  min-width: 200px;
  border: none;
  background: #fff;
  color: var(--color-text-1);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background 0.3s ease;
}
.btn-ghost:hover {
  color: var(--color-text-1);
  background: #fff;
}
.btn-ghost .btn-arrow {
  transition: transform 0.3s ease;
}
.btn-ghost:hover .btn-arrow {
  transform: translateX(6px);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}
.btn-link span { transition: transform 0.3s ease; }
.btn-link:hover span { transform: translateX(4px); }
.btn-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.btn-link:hover::before { width: 100%; }

/* ---------- Stats Showcase ---------- */
.stats-showcase {
  padding: var(--section-padding) 0;
  background: #fff;
}
.stats-showcase-title {
  font-size: var(--font-size-h1);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-1);
  letter-spacing: 1px;
}
.stats-showcase-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-2);
  margin-top: 32px;
}
.stats-showcase-grid {
  display: flex;
  flex-direction: column;
}
.stats-showcase .section-right {
  margin-left: auto;
}
.stats-showcase-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}
.stats-showcase-item:last-child {
  border-bottom: 1px solid var(--color-border);
}
.stats-showcase-num {
  font-family: 'D-DIN', 'DIN Alternate', 'Roboto Condensed', monospace;
  font-size: var(--font-size-stat);
  font-weight: 700;
  color: var(--color-text-1);
  letter-spacing: -1px;
  line-height: 1;
}
.stats-showcase-num small {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-2);
  margin-left: 2px;
  letter-spacing: 0;
}
.stats-showcase-num .animateNum {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.stats-showcase-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-2);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: right;
}

/* ---------- Business Fields ---------- */
.business-fields {
  background: var(--color-sand);
}
.business-fields .section-heading {
  max-width: 860px;
  margin-bottom: 56px;
}
.business-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.business-field-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--color-dark);
  isolation: isolate;
}
.business-field-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.72;
  filter: grayscale(0.2) saturate(0.82);
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.business-field-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(39,43,50,0.08) 0%, rgba(39,43,50,0.86) 100%);
}
.business-field-card:hover img {
  transform: scale(1.04);
  opacity: 0.86;
}
.business-field-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  z-index: 2;
  color: #fff;
}
.business-field-body span {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.business-field-body h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
}
.business-field-body p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

/* ---------- 5b. Partners Marquee ---------- */
.partners {
  padding: 48px 0;
  background: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-text-3);
  margin-bottom: 32px;
}
.marquee-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-item {
  flex-shrink: 0;
  width: 168px;
  height: 67px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0);
}
.marquee-item img {
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- 5c. Product Showcase (Alternating) ---------- */
.product-showcase {
  padding: 100px 0;
}
.product-showcase.bg-dark {
  background: var(--color-dark);
  color: #fff;
}
.showcase-row {
  display: flex;
  align-items: center;
  gap: 80px;
}
.showcase-row--reverse {
  flex-direction: row-reverse;
}
.showcase-text {
  flex: 1;
  min-width: 0;
}
.showcase-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  padding: 4px 12px;
  border: 1px solid rgba(233, 79, 152, 0.2);
  margin-bottom: 20px;
}
.bg-dark .showcase-tag {
  color: var(--color-primary-light);
  border-color: rgba(59, 122, 255, 0.2);
}
.showcase-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.showcase-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-2);
  margin-bottom: 28px;
}
.bg-dark .showcase-desc {
  color: rgba(255, 255, 255, 0.6);
}
.showcase-features {
  list-style: none;
  margin-bottom: 36px;
}
.showcase-features li {
  font-size: 15px;
  color: var(--color-text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: 16px;
}
.showcase-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 0;
}
.bg-dark .showcase-features li {
  color: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.bg-dark .showcase-features li::before {
  background: var(--color-primary-light);
}
.showcase-image {
  flex: 1;
  min-width: 0;
}
.showcase-image img {
  width: 100%;
  height: auto;
  border: 1px solid #e5e6eb;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bg-dark .showcase-image img {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}
.showcase-row:hover .showcase-image img {
  transform: translateY(-4px);
}

/* ---------- 5d. Certification Scroll ---------- */
.cert-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.cert-scroll-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 80s linear infinite;
}
.cert-scroll-track:hover {
  animation-play-state: paused;
}
.cert-scroll-item {
  flex-shrink: 0;
  width: 200px;
  height: 280px;
  border: 1px solid #e5e6eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cert-scroll-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.cert-scroll-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- 5e. Section Split (OXYZ Capital style) ---------- */
.section-split {
  display: flex;
  justify-content: space-between;
  gap: var(--split-gap);
  align-items: flex-start;
}
.section-left {
  flex: 0 0 34%;
  max-width: 34%;
}
.section-left-sticky {
  position: sticky;
  top: 100px;
}
.section-right {
  flex: 1;
  min-width: 0;
}
.section-left .section-heading {
  text-align: left;
  margin-bottom: 32px;
}
.section-left .section-title {
  font-size: var(--font-size-h1);
}
.section-left .section-desc {
  margin: 0;
  max-width: none;
}
@media (max-width: 960px) {
  .section-split {
    flex-direction: column;
    gap: 32px;
  }
  .section-left {
    flex: none;
    max-width: 100%;
    position: static !important;
  }
  .section-left-sticky {
    position: static;
  }
  .cases-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .cases-header-right { text-align: left; }
  .cases-card { flex: 0 0 320px; }
  .section-left .section-heading {
    text-align: center;
    margin-bottom: 32px;
  }
  .section-left .section-title {
    font-size: 28px;
  }
}

/* ---------- 6. Section System ---------- */
.section {
  padding: var(--section-padding) 0;
}
.bg-sand { background: var(--color-sand); }
.bg-dark { background: var(--color-dark); color: #fff; }

.section-heading {
  text-align: center;
  margin-bottom: 80px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-primary);
}
.bg-dark .section-label { color: rgba(255, 255, 255, 0.5); }
.bg-dark .section-label::before { background: rgba(255, 255, 255, 0.3); }
.section-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 80px;
  color: var(--color-text-1);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.bg-dark .section-title,
.section-heading--light .section-title { color: #fff; }
.section-desc {
  font-size: 20px;
  line-height: 1.7;
  color: var(--color-text-2);
  max-width: 960px;
  margin: 0 auto;
}
.bg-dark .section-desc,
.section-heading--light .section-desc { color: rgba(255, 255, 255, 0.6); }

/* Legacy section title compat */
.idx_titbox { padding-top: 80px; text-align: center; margin-bottom: 64px; }
.idx_titbox .title { color: var(--color-text-1); font-size: 36px; font-weight: 500; line-height: 44px; margin-bottom: 12px; text-align: center; }
.idx_titbox .msg { color: var(--color-text-2); font-size: 16px; line-height: 24px; margin-top: 12px; text-align: center; }
.title-bottom-border { display: none; }

/* ---------- 7. Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  padding: 48px 36px 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e6eb;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(233, 79, 152, 0.15);
  border-color: var(--color-primary);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card__icon {
  margin-bottom: 32px;
}
.service-card__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__icon img {
  transform: scale(1.08);
}
.service-card__body {
  flex: 1;
  margin-bottom: 32px;
}
.service-card__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text-1);
  margin-bottom: 16px;
}
.service-card__body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-2);
}
.service-card__footer {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.service-card:hover .service-card__footer {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 8. Products Tab ---------- */
.domain-tab {
  display: flex;
  margin-top: 0;
}
.pc-tab {
  width: 200px;
  margin-right: 30px;
  flex-shrink: 0;
}
.tab-option {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  color: var(--color-text-3);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 2px;
  text-align: left;
  white-space: nowrap;
  border-left: 2px solid transparent;
  letter-spacing: 0.5px;
}
.tab-option:hover {
  color: var(--color-text-1);
  padding-left: 28px;
}
.tab-option.active {
  color: var(--color-primary);
  font-weight: 500;
  background: linear-gradient(90deg, rgba(233, 79, 152, 0.06) 0%, transparent 100%);
  border-left-color: var(--color-primary);
  padding-left: 28px;
}
.info-swiper {
  flex: 1;
  height: 700px;
  overflow: hidden;
  position: relative;
}
.info-slide { display: none; }
.info-slide.active { display: block; }
.swiper-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  color: var(--color-text-1);
}
.swiper-msg {
  font-size: 17px;
  color: var(--color-text-2);
  line-height: 28px;
  margin-top: 16px;
}
.domain-tab .img-inner {
  margin-top: 28px;
  width: 100%;
  max-width: 960px;
  height: auto;
  max-height: 508px;
  border: 1px solid #e5e6eb;
  background: #fff;
  overflow: hidden;
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

/* ---------- 8b. Product Grid (天翼云 style) ---------- */
.pg-tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.pg-tab {
  padding: 12px 24px; font-size: 15px; color: var(--color-text-2);
  cursor: pointer; position: relative; transition: color 0.3s;
  white-space: nowrap;
}
.pg-tab::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--color-primary); transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.pg-tab:hover { color: var(--color-text-1); }
.pg-tab.active { color: var(--color-text-1); font-weight: 500; }
.pg-tab.active::after { transform: scaleX(1); }

.pg-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pg-card {
  position: relative; background: #fff; border-radius: 0; padding: 32px 28px;
  min-height: 180px; text-decoration: none; display: block;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.4s var(--ease);
  border: 1px solid #e5e6eb;
}
.pg-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}
.pg-hot {
  position: absolute; top: 16px; right: 20px;
  font-size: 12px; font-weight: 600; color: #ff6b6b;
  background: rgba(255,107,107,0.15); padding: 2px 10px; border-radius: 0;
  letter-spacing: 0.5px;
}
.pg-icon {
  width: 48px; height: 48px; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; margin-bottom: 20px;
}
.pg-name {
  font-size: 18px; font-weight: 500; color: var(--color-text-1); margin-bottom: 8px;
}
.pg-desc {
  font-size: 14px; color: var(--color-text-3); line-height: 1.6;
}
.pg-card[hidden] { display: none; }

/* ---------- 9. Architecture (Dark Section) ---------- */
.bg-dark {
  position: relative;
}
.bg-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(233, 79, 152, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.arch-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 32px 0 0;
  border-radius: 0;
}
.arch-image--full {
  margin: 0 0 120px;
}
.arch-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}
.arch-image video,
.arch-image img {
  width: 100%;
  height: auto;
  display: block;
  
}

/* ---------- Full-width Video Banner ---------- */
.video-banner-section {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.video-banner-section video,
.video-banner-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 9b. Industry Solutions (Tab-based) ---------- */
.ind-section {
  background: var(--color-sand);
  padding: var(--section-padding) 0;
  color: var(--color-text-1);
  position: relative;
}
.ind-section::before { content: none; }
.ind-section .section-title,
.ind-section .section-desc { color: var(--color-text-1); }
.ind-section .section-desc { color: var(--color-text-2); }
.ind-section .section-heading {
  margin-bottom: 80px;
}
.ind-section .section-left {
  flex: 0 0 24%;
  max-width: 24%;
}
.ind-section .section-title {
  font-size: 40px;
}
.ind-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
  border-bottom: none;
  border-left: 2px solid var(--color-border);
}
.ind-tab {
  padding: 12px 20px;
  font-size: 15px;
  color: var(--color-text-3);
  cursor: pointer;
  position: relative;
  transition: color 0.3s, padding-left 0.3s, background 0.3s;
  white-space: nowrap;
  text-align: left;
}
.ind-tab:hover { color: var(--color-text-1); padding-left: 24px; }
.ind-tab.active {
  color: var(--color-primary);
  font-weight: 500;
  padding-left: 24px;
  background: linear-gradient(90deg, rgba(3,99,233,0.06) 0%, transparent 100%);
}
.ind-tab::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 3px;
  height: 100%;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}
.ind-tab.active::after { transform: scaleY(1); }

.ind-content { position: relative; }
.ind-panel {
  display: none;
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 480px;
  overflow: hidden;
  border-radius: 12px;
}
.ind-panel.active {
  display: flex;
  align-items: stretch;
  animation: indFadeIn 0.4s ease;
}
.ind-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@keyframes indFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ind-main {
  position: relative;
  z-index: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.ind-main h3 {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}
.ind-main p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 560px;
}
.ind-highlights {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.ind-highlights span {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  letter-spacing: 0.3px;
}
.ind-main .btn-solid {
  background: #fff;
  border-color: #fff;
  color: var(--color-text-1);
  align-self: flex-start;
}
.ind-main .btn-solid:hover {
  background: rgba(255,255,255,0.9);
}
/* Links row inside ind-main */
.ind-links-row {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.ind-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.ind-link:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
.ind-link span:first-child {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.ind-arrow {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s, transform 0.3s;
}
.ind-link:hover .ind-arrow {
  color: #fff;
  transform: translateX(3px);
  display: block;
}

/* ---------- 9c. Customer Cases – Top Title + Cards Row ---------- */
.cases-header {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 60px;
}
.cases-header-left .section-title {
  margin-bottom: 0;
}
.cases-header-right {
  text-align: left;
}
.cases-header-right .section-desc {
  margin-bottom: 0;
  white-space: nowrap;
}
.cases-title-lg { font-size: 64px; line-height: 80px; }
.cases-desc-lg { font-size: 20px; line-height: 1.8; }
.cases-section {
  background: var(--color-sand);
}
.cases-section .auto {
  padding-left: 0;
  padding-right: 0;
}
.cases-section .cases-header {
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}
.cases-cards-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--page-padding) 8px;
}
/* Cases nav buttons */
.cases-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 40px var(--page-padding) 0;
}
.cases-nav-btn {
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-text-1);
  background: #fff;
  color: var(--color-text-1);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.cases-nav-btn:hover {
  background: var(--color-text-1);
  color: #fff;
}
.cases-cards-row::-webkit-scrollbar { display: none; }
.cases-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.4s;
  flex: 0 0 calc((100vw - 2 * var(--page-padding) - 3 * 20px) / 3.5);
  scroll-snap-align: start;
  border: none;
  background: #fff;
}
.cases-card:hover {
  border-color: var(--color-text-1);
}
.cases-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.cases-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.cases-card:hover .cases-card-img img {
  transform: scale(1.05);
}
.cases-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  margin-bottom: 16px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}
.cases-card-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-1);
  margin-bottom: 12px;
  line-height: 1.5;
}
.cases-card-desc {
  font-size: 15px;
  color: var(--color-text-2);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 24px;
}
.cases-card-metrics {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.cases-card-kpi {
  display: flex;
  flex-direction: column;
}
.cases-card-kpi strong {
  font-family: 'D-DIN', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-1);
  line-height: 1.2;
}
.cases-card-kpi span {
  font-size: 13px;
  color: var(--color-text-3);
  margin-top: 4px;
}

/* ---------- 9d. Service Commitments ---------- */
.svc-section {
  background: #fff;
  padding: var(--section-padding) 0;
}
.cert-section {
  background: #fff;
  padding: var(--section-padding) 0;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.svc-item {
  text-align: left;
  padding: 0;
}
.svc-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 16px;
}
.svc-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-1);
  margin-bottom: 6px;
}
.svc-desc {
  font-size: 13px;
  color: var(--color-text-3);
  line-height: 1.6;
}

/* ---------- 10. Advantage / Why Us ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: advantage;
}
.advantage-grid--3 {
  grid-template-columns: repeat(6, 1fr);
}
.advantage-grid--3 .advantage-card { grid-column: span 2; }
.advantage-grid--3 .advantage-card:nth-last-child(2) { grid-column: span 3; }
.advantage-grid--3 .advantage-card:nth-last-child(1) { grid-column: span 3; }
.advantage-card {
  background: #fff;
  padding: 40px 28px 36px;
  position: relative;
  border: 1px solid #e5e6eb;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  counter-increment: advantage;
}
.advantage-card::after {
  content: '0' counter(advantage);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'D-DIN', 'DIN Alternate', 'Roboto Condensed', monospace;
  font-size: 48px;
  font-weight: 700;
  color: rgba(233, 79, 152, 0.08);
  line-height: 1;
  letter-spacing: -2px;
  transition: color 0.4s ease;
}
.advantage-card:hover {
  border-color: var(--color-text-1);
}
.advantage-card:hover::after {
  color: rgba(233, 79, 152, 0.12);
}
.advantage-card__icon {
  margin-bottom: 24px;
}
.advantage-card__icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.advantage-card__icon i {
  font-size: 48px;
  line-height: 1;
  color: var(--color-text-1);
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}
.advantage-card:hover .advantage-card__icon img {
  transform: scale(1.1);
}
.advantage-card:hover .advantage-card__icon i {
  color: var(--color-primary);
  animation: icon-bounce 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes icon-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.25) rotate(-8deg); }
  50% { transform: scale(0.95) rotate(4deg); }
  70% { transform: scale(1.1) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.advantage-card__title {
  font-size: 19px;
  font-weight: 500;
  color: var(--color-text-1);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.advantage-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-2);
}

/* ---------- 10b. Why Us (OXYZ Style) ---------- */
.why-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text-1);
  margin-bottom: 80px;
}
.why-list {
  display: flex;
  align-items: flex-end;
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
}
.why-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(-1 * var(--page-padding));
  right: calc(-1 * var(--page-padding));
  height: 4px;
  background: var(--color-text-1);
}
.why-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 0 12px;
}
.why-num {
  font-family: 'D-DIN', 'Poppins', monospace;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-primary);
  flex-shrink: 0;
  padding-right: 20px;
}
.why-body {
  border-left: 1px solid var(--color-text-1);
  padding-left: 20px;
  padding-bottom: 80px;
  position: relative;
}
/* Stagger vertical line heights */
.why-item:nth-child(1) .why-body { padding-bottom: 240px; }
.why-item:nth-child(2) .why-body { padding-bottom: 120px; }
.why-item:nth-child(3) .why-body { padding-bottom: 320px; }
.why-dot {
  position: absolute;
  top: 0;
  left: -4px;
  width: 6px;
  height: 6px;
  background: var(--color-text-1);
  border-radius: 3px;
}
.why-heading {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-1);
  margin: 0 0 32px;
}
.why-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-1);
  margin: 0;
}
@media (max-width: 1024px) {
  .why-title { font-size: 36px; }
  .why-num { font-size: 48px; }
  .why-heading { font-size: 22px; }
}
@media (max-width: 767px) {
  .why-list { flex-direction: column; border-bottom: none; }
  .why-item { border-bottom: 2px solid var(--color-text-1); padding-bottom: 40px; margin-bottom: 40px; }
  .why-item:last-child { border-bottom: 4px solid var(--color-text-1); }
  .why-title { font-size: 28px; margin-bottom: 48px; }
  .why-num { font-size: 40px; }
  .why-body { padding-bottom: 0; }
}

/* ---------- 11. CTA (OXYZ Style) ---------- */
.cta--oxyz {
  background: var(--color-sand);
  padding: var(--section-padding) 0;
  color: var(--color-text-1);
  position: relative;
  border-top: none;
}
.cta::before { content: none; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
}
.cta-inner--centered {
  justify-content: center;
  text-align: center;
}
.cta-inner--centered .hero-actions {
  justify-content: center;
}
.cta .btn-solid,
.cta .btn-ghost {
  min-width: 200px;
}
.cta .btn-ghost {
  background: #fff;
  border-color: #fff;
  color: var(--color-text-1);
}
.cta .btn-ghost:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.85);
}
.cta-text {
  max-width: 560px;
}
.cta-text .section-label { color: var(--color-text-3); }
.cta-text .section-label::before { background: var(--color-text-4); }
.cta-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-1);
  margin: 16px 0 16px;
  letter-spacing: 1px;
}
.cta-desc {
  font-size: 16px;
  color: var(--color-text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}
/* CTA OXYZ Split Layout */
.cta-split {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}
.cta-left {
  flex: 0 0 36%;
  max-width: 36%;
}
.cta-right {
  flex: 1;
  padding-top: 80px;
}
.cta-oxyz-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 80px;
  color: var(--color-text-1);
  margin: 0 0 60px;
}
.cta-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--color-text-1);
  margin-bottom: 8px;
}
.cta-oxyz-desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text-1);
  margin: 0 0 60px;
}
.cta-menu {
  display: flex;
  flex-direction: column;
  max-width: 480px;
}
.cta-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-1);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text-1);
  transition: all 0.3s ease;
}
.cta-menu-item.active {
  background: var(--color-primary);
  color: #fff;
}
.cta-menu-item:hover:not(.active) {
  background: rgba(0,0,0,0.03);
}
.cta-menu-arrow {
  font-size: 16px;
  transition: transform 0.3s;
}
.cta-menu-item:hover .cta-menu-arrow {
  transform: translateX(4px);
}
/* CTA Form */
.cta-form-hint {
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-text-3);
  margin-bottom: 48px;
}
.cta-form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
}
.cta-form-field {
  flex: 1;
  padding-bottom: 32px;
}
.cta-form-field--full {
  flex: 1 1 100%;
}
.cta-form-field label {
  display: block;
  font-size: 14px;
  color: var(--color-text-1);
  margin-bottom: 0;
}
.cta-form-field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-text-1);
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  color: var(--color-text-1);
  outline: none;
  transition: border-color 0.3s;
}
.cta-form-field input::placeholder {
  color: #ccc;
}
.cta-form-field input:focus {
  border-bottom-color: var(--color-primary);
}
.cta-form-submit {
  width: 100%;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 16px;
}
.cta-form-submit:hover {
  background: var(--color-primary-hover);
}
@media (max-width: 767px) {
  .cta-split { flex-direction: column; gap: 48px; }
  .cta-left { flex: none; max-width: 100%; }
  .cta-right { padding-top: 0; }
  .cta-oxyz-title { font-size: 28px; line-height: 1.3; }
  .cta-form-row { flex-direction: column; gap: 0; }
  .cta-form-hint { font-size: 18px; }
}
.cta-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
.cta-metric {
  text-align: center;
  position: relative;
  padding: 24px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 0;
  transition: border-color 0.4s ease, background 0.4s ease;
  backdrop-filter: blur(12px);
}
.cta-metric::before { content: none; }
.cta-metric:hover { border-color: var(--color-primary); background: rgba(255,255,255,0.8); }
.cta-metric-value {
  font-family: 'D-DIN', 'DIN Alternate', 'Roboto Condensed', monospace;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.cta-metric-label {
  font-size: 13px;
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- 12. Footer ---------- */
.footer {
  background: var(--color-dark);
  color: #fff;
  padding: 72px 0 32px;
}
.footer > .auto {
  width: 100%;
  max-width: none;
  margin: 0;
}
.footer_t {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
}
.ft_col1 { flex: 1; }
.ft_col1 .tit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.ft_col1 .lk {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 32px;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 2px 0;
}
.ft_col1 a.lk:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer_b {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}
.footer_b a { color: rgba(255, 255, 255, 0.3); transition: color 0.2s; }
.footer_b a:hover { color: var(--color-primary-light); }

/* ---------- 13. Back to top ---------- */
.back-top-btn {
  position: fixed;
  right: 84px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: #fff;
  color: var(--color-text-2);
  font-size: 16px;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  border: 1px solid var(--color-border);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 999;
}
.back-top-btn.show { opacity: 1; pointer-events: auto; }
.back-top-btn:hover { background: var(--color-primary); color: #fff; }

/* ---------- 13a. Floating Contact Sidebar ---------- */
.float-sidebar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 998;
}
.float-sidebar-item {
  width: 48px; height: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-bottom: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--color-text-2);
  transition: all 0.25s ease;
  position: relative;
}
.float-sidebar-item i { font-size: 20px; }
.float-sidebar-item:nth-child(3) { border-bottom: 1px solid var(--color-border); }
.float-sidebar-item:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.float-sidebar-cs {
  margin-top: 8px !important;
  border-bottom: none;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.float-sidebar-cs:hover {
  background: #0255c5;
  border-color: #0255c5;
}

/* Popup on hover */
.float-sidebar-popup {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 16px 20px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(-50%) translateX(8px);
}
/* Bridge the 12px gap between icon and popup so hover doesn't break */
.float-sidebar-popup::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: -12px;
  width: 12px;
}
.float-sidebar-item:hover .float-sidebar-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.float-sidebar-popup::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: #fff;
  border-right: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}
.float-sidebar-popup-title {
  font-size: 13px; font-weight: 600; color: var(--color-text-1);
  margin-bottom: 6px;
}
.float-sidebar-popup-text {
  font-size: 14px; color: var(--color-text-2); line-height: 1.6;
}
.float-sidebar-popup-hint {
  font-size: 12px; color: var(--color-text-4); margin-top: 4px;
}
.float-sidebar-popup-btn {
  display: inline-block; margin-top: 10px;
  padding: 6px 16px; font-size: 13px; font-weight: 500;
  background: var(--color-primary); color: #fff;
  text-decoration: none; transition: background 0.2s;
}
.float-sidebar-popup-btn:hover { background: #0255c5; }
.float-sidebar-popup img { display: block; margin-top: 8px; }

@media (max-width: 767px) {
  .float-sidebar { right: 12px; }
  .float-sidebar-item { width: 40px; height: 40px; }
  .float-sidebar-item svg { width: 16px; height: 16px; }
}

/* ---------- 13b. Large screen — wider padding ---------- */
@media (min-width: 1800px) {
  :root { --page-padding: 160px; --font-size-hero: 68px; --font-size-h1: 64px; --font-size-stat: 60px; }
}

/* ---------- 14. Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible, .fade-in.revealed { opacity: 1; transform: translateY(0); }

/* ---------- 14b. Smooth scrollbar & selection ---------- */
::selection {
  background: rgba(233, 79, 152, 0.3);
  color: inherit;
}
::-moz-selection {
  background: rgba(233, 79, 152, 0.3);
  color: inherit;
}

/* ======================================================================
   SUBPAGE STYLES (preserved)
   ====================================================================== */

/* ---------- Inner Banner (product/system pages) ---------- */
.inner_banner {
  height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  padding-left: calc((100% - var(--container-width)) / 2);
  padding-right: calc((100% - var(--container-width)) / 2);
}
.inner_banner .top-main .top-title {
  color: #fff; font-size: 48px; font-weight: 400; line-height: 56px;
}
.inner_banner .top-main .top-line { width: 94px; height: 5px; flex-shrink: 0; }
.inner_banner .top-main .top-content {
  margin-top: 20px; color: var(--color-text-2); font-size: 24px; font-weight: 400; line-height: 32px; width: 630px;
}

/* ---------- Cases Page ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid #e5e6eb; border-radius: 0; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.case-card:hover { border-color: var(--color-text-1); }
.case-card-img { width: 100%; height: 200px; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 20px; }
.case-card-body h3 { font-size: 16px; font-weight: 500; line-height: 24px; color: var(--color-text-1); margin-bottom: 8px; }
.case-card-body p { font-size: 14px; line-height: 22px; color: var(--color-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- About Page ---------- */
.about-hero { padding: 120px 0 80px; background: linear-gradient(135deg, #24272e 0%, #342b38 50%, #4a2f3c 100%); color: #fff; text-align: center; }
.about-hero h1 { font-size: 40px; font-weight: 500; line-height: 52px; margin-bottom: 16px; }
.about-hero p { font-size: 18px; line-height: 30px; color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; }
.about-section { padding: 80px 0; }
.about-section h2 { font-size: 36px; font-weight: 500; line-height: 44px; color: var(--color-text-1); margin-bottom: 24px; text-align: center; }
.about-section p { font-size: 16px; line-height: 28px; color: var(--color-text-2); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid #e5e6eb; border-radius: 0; padding: 32px 24px; text-align: center; }
.contact-card .icon { font-size: 32px; color: var(--color-primary); margin-bottom: 16px; }
.contact-card h3 { font-size: 16px; font-weight: 500; color: var(--color-text-1); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--color-text-2); line-height: 22px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: #fff; border: 1px solid #e5e6eb; border-radius: 0; overflow: hidden; text-align: center; padding: 16px; }
.cert-card img { width: 100%; height: auto; margin-bottom: 8px; }
.cert-card p { font-size: 13px; color: var(--color-text-2); }

/* About Banner Override */
.about-page .inner_banner { position: relative; height: 400px; justify-content: center; text-align: center; color: #fff; }
.about-page .inner_banner .top-main { position: relative; z-index: 2; }
.about-page .inner_banner .top-title { font-size: 42px; font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.about-page .inner_banner .top-line { width: 60px; height: 3px; background: #ff8fbe; margin: 0 auto 16px; }
.about-page .inner_banner .top-content { font-size: 18px; color: rgba(255,255,255,.85); width: auto; }
.introduced { padding: 80px 0; }
.introduced .auto { display: flex; align-items: center; gap: 48px; }
.introduced-img { flex: 0 0 420px; }
.introduced-img img { width: 100%; border-radius: 0; }
.introduced-info .title { font-size: 28px; font-weight: 600; color: var(--color-text-1); margin-bottom: 20px; }
.introduced-info .content { font-size: 16px; line-height: 28px; color: var(--color-text-2); }
.our-vision { padding: 80px 0; background: var(--color-sand); }
.our-vision-content { font-size: 18px; line-height: 32px; color: var(--color-text-2); text-align: center; max-width: 700px; margin: 0 auto 40px; }
.our-vision2 { position: relative; padding: 120px 0; background: var(--color-text-1); color: #fff; }
.our-vision2 .idx_titbox .title { color: #fff; font-size: var(--font-size-h1); }
.our-vision2 .idx_titbox .msg { color: rgba(255,255,255,.6); }
.our-vision2-content { display: flex; gap: 24px; justify-content: center; margin-top: 48px; }
.our-vision2-item { flex: 1; max-width: 300px; text-align: center; padding: 40px 28px; background: #fff; border-radius: 0; border: none; }
.our-vision2-item .abt-val-lottie { width: 56px; height: 56px; margin: 0 auto 20px; }
.our-vision2-item .title { font-size: 20px; font-weight: 600; color: var(--color-text-1); margin-bottom: 12px; }
.our-vision2-item .desc { font-size: 14px; line-height: 22px; color: var(--color-text-2); }
.enterprise-qualification { position: relative; padding: 80px 0; }
.enterprise-qualification .cert-grid { margin-top: 40px; }

/* ---------- About Page – Key Stats ---------- */
.abt-stats { padding: 0; margin-top: -48px; position: relative; z-index: 2; }
.abt-stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-radius: 0; box-shadow: 0 8px 40px rgba(0,0,0,.08); border: 1px solid #e5e6eb;
  padding: 48px 0; max-width: var(--container-width); margin: 0 auto;
}
.abt-stat-item { text-align: center; position: relative; }
.abt-stat-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--color-border);
}
.abt-stat-num { font-size: 42px; font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: 8px; }
.abt-stat-unit { font-size: 18px; font-weight: 400; color: var(--color-text-1); }
.abt-stat-label { font-size: 14px; color: var(--color-text-3); }

/* ---------- About Page – Core Advantages ---------- */
.abt-advantages { padding: 100px 0; }
.abt-adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.abt-adv-card {
  padding: 36px 28px; background: #fff; border: 1px solid #e5e6eb; border-radius: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.abt-adv-card:hover { border-color: var(--color-text-1); }
.abt-adv-icon {
  width: 48px; height: 48px; border-radius: 0; background: rgba(233,79,152,.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.abt-adv-icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.abt-adv-title { font-size: 18px; font-weight: 600; color: var(--color-text-1); margin-bottom: 10px; }
.abt-adv-desc { font-size: 14px; line-height: 24px; color: var(--color-text-3); }

/* ---------- About Page – Timeline ---------- */
.abt-timeline { padding: 100px 0; background: var(--color-sand); }
.abt-tl-track { position: relative; padding: 48px 0 0; }
.abt-tl-line {
  position: absolute; left: 50%; top: 48px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(233,79,152,.15)); transform: translateX(-50%);
}
.abt-tl-item {
  position: relative; width: 50%; padding: 0 48px 56px;
}
.abt-tl-item:nth-child(even) { margin-left: 0; text-align: right; }
.abt-tl-item:nth-child(odd) { margin-left: 50%; }
.abt-tl-dot {
  position: absolute; top: 4px; width: 14px; height: 14px; border-radius: 0;
  background: var(--color-primary); border: 3px solid var(--color-dark-2); box-shadow: 0 0 0 3px rgba(233,79,152,.3);
}
.abt-tl-item:nth-child(even) .abt-tl-dot { right: -7px; }
.abt-tl-item:nth-child(odd) .abt-tl-dot { left: -7px; }
.abt-tl-year {
  font-size: 28px; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; line-height: 1;
}
.abt-tl-card {
  background: #fff; border-radius: 0; padding: 20px 24px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  border: 1px solid #e5e6eb; transition: box-shadow .3s;
}
.abt-tl-card:hover { border-color: var(--color-text-1); }
.abt-tl-card-title { font-size: 16px; font-weight: 600; color: var(--color-text-1); margin-bottom: 6px; }
.abt-tl-card-desc { font-size: 14px; line-height: 22px; color: var(--color-text-2); }

/* ---------- About Page – Mission & Vision ---------- */
.abt-mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; }
.abt-mv-card {
  padding: 48px 40px; border-radius: 0; background: #fff; border: 1px solid #e5e6eb;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.abt-mv-card:hover { border-color: var(--color-text-1); }
.abt-mv-label {
  display: inline-block; font-size: 13px; font-weight: 500; color: var(--color-primary-light); background: rgba(233,79,152,.15);
  padding: 4px 12px; border-radius: 0; margin-bottom: 16px;
}
.abt-mv-text { font-size: 26px; font-weight: 700; color: var(--color-text-1); margin-bottom: 12px; }
.abt-mv-desc { font-size: 15px; line-height: 26px; color: var(--color-text-2); }

/* ---------- About Page – Values Icons ---------- */
.abt-val-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 0;
  background: rgba(59,122,255,.15); display: flex; align-items: center; justify-content: center;
}
.abt-val-icon svg { width: 26px; height: 26px; color: #ff8fbe; }
.our-vision2-content { flex-wrap: wrap; }
.our-vision2-item { max-width: 260px; }

/* ---------- About Page – Partners ---------- */
.abt-partners { padding: 80px 0; }
.abt-partner-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px;
}
.abt-partner-item {
  background: #fff; border: 1px solid #e5e6eb; border-radius: 0; padding: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease; height: 80px;
}
.abt-partner-item:hover { border-color: var(--color-text-1); }
.abt-partner-item img { max-width: 120px; max-height: 40px; object-fit: contain;  opacity: .4; transition: all .3s ease; }
.abt-partner-item:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- About Page – CTA ---------- */
.abt-cta { padding: 100px 0; }
.abt-cta-inner {
  text-align: center; padding: 80px 48px; border-radius: 0;
  background: linear-gradient(135deg, #24272e 0%, var(--color-primary) 50%, #ff8fbe 100%); color: #fff;
}
.abt-cta-inner h2 { font-size: 32px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.abt-cta-inner p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.abt-cta-btns { display: flex; gap: 16px; justify-content: center; }

/* ---------- About Page – Responsive ---------- */
@media (max-width: 1024px) {
  .abt-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 36px 24px; }
  .abt-stat-item:not(:last-child)::after { display: none; }
  .abt-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .abt-tl-line { left: 24px; }
  .abt-tl-item, .abt-tl-item:nth-child(even) { width: 100%; margin-left: 0; text-align: left; padding-left: 56px; padding-right: 0; }
  .abt-tl-item:nth-child(even) .abt-tl-dot, .abt-tl-item:nth-child(odd) .abt-tl-dot { left: 17px; right: auto; }
  .abt-partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .abt-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .abt-stat-num { font-size: 32px; }
  .abt-adv-grid { grid-template-columns: 1fr; }
  .abt-mv-grid { grid-template-columns: 1fr; }
  .abt-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .abt-cta-inner { padding: 48px 24px; }
  .abt-cta-inner h2 { font-size: 24px; }
  .abt-cta-btns { flex-direction: column; align-items: center; }
}

/* ---------- Demo Page ---------- */
.structure { padding: 40px 0 80px; }
.structure-bg { max-width: 1000px; margin: 0 auto; }
.structure-content-tab { display: flex; gap: 12px; margin-bottom: 40px; border-bottom: 2px solid var(--color-border); }
.structure-content-tab .tab-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; cursor: pointer; font-size: 15px; color: var(--color-text-2); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .3s, border-color .3s; white-space: nowrap; }
.structure-content-tab .tab-btn img { width: 24px; height: 24px; }
.structure-content-tab .tab-btn:hover { color: var(--color-primary); }
.structure-content-tab .tab-btn.pitch { color: var(--color-primary); font-weight: 500; border-bottom-color: var(--color-primary); }
.hospital-content, .product-content, .business-content, .energy-content, .structure-content { display: none; }
.hospital-content.active, .product-content.active, .business-content.active, .energy-content.active, .structure-content.active { display: block; }
.hospital-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hospital-card { background: #fff; border: 1px solid #e5e6eb; border-radius: 0; padding: 24px; transition: transform .3s, box-shadow .3s; }
.hospital-card:hover { border-color: var(--color-text-1); }
.hospital-title { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 500; color: var(--color-text-1); margin-bottom: 8px; }
.hospital-go-system { position: relative; width: 24px; height: 24px; }
.hospital-go-system .arrows { width: 24px; position: absolute; top: 0; left: 0; }
.hospital-go-system .arrows-a { width: 24px; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .3s; }
.hospital-card:hover .arrows-a { opacity: 1; }
.hospital-card:hover .arrows { opacity: 0; }
.hospital-text { font-size: 14px; line-height: 22px; color: var(--color-text-3); margin-bottom: 16px; }
.hospital-img { border-radius: 0; overflow: hidden; }
.hospital-img img { width: 100%; display: block; }
.product-content .product-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #e5e6eb; border-radius: 0; padding: 24px; margin-bottom: 16px; transition: transform .3s, box-shadow .3s; }
.product-content .product-card:hover { border-color: var(--color-text-1); }
.product-content .product-icon { flex: 0 0 48px; }
.product-content .product-icon img { width: 48px; height: 48px; }
.product-content .product-info-title { font-size: 16px; font-weight: 500; color: var(--color-text-1); margin-bottom: 6px; }
.product-content .product-info-description { font-size: 14px; line-height: 22px; color: var(--color-text-3); }
.business-content { display: none; }
.business-content.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.business-card { position: relative; height: 220px; background-size: cover; background-position: center; border-radius: 0; overflow: hidden; display: flex; align-items: flex-end; }
.business-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%); }
.business-info { position: relative; z-index: 1; padding: 20px; color: #fff; }
.business-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.business-description { font-size: 13px; line-height: 20px; color: rgba(255,255,255,.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.energy-content.active, .structure-content.active { display: flex; align-items: center; justify-content: center; min-height: 200px; color: var(--color-text-3); font-size: 16px; }
.cases-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cases-category-card { background: #fff; border: 1px solid #e5e6eb; border-radius: 0; padding: 32px 24px; text-align: center; transition: transform .3s, box-shadow .3s; }
.cases-category-card:hover { border-color: var(--color-text-1); }
.cases-category-card .cat-icon { font-size: 36px; margin-bottom: 16px; }
.cases-category-card h3 { font-size: 18px; font-weight: 500; color: var(--color-text-1); margin-bottom: 8px; }
.cases-category-card p { font-size: 14px; line-height: 22px; color: var(--color-text-3); }

/* ---------- Product Detail Pages ---------- */
.product-hero { padding: 120px 0 80px; background: linear-gradient(135deg, #24272e 0%, #342b38 50%, #4a2f3c 100%); color: #fff; margin-top: 0; }
.product-hero h1 { font-size: 40px; font-weight: 500; line-height: 52px; margin-bottom: 16px; color: #fff; }
.product-hero p { font-size: 18px; line-height: 30px; color: rgba(255,255,255,.8); max-width: 640px; }
.product-detail { padding: 80px 0; }
.product-detail h2 { font-size: 36px; font-weight: 500; line-height: 44px; color: var(--color-text-1); margin-bottom: 24px; text-align: center; }
.product-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.product-feature-card { background: #fff; border: 1px solid #e5e6eb; border-radius: 0; padding: 32px 24px; text-align: center; transition: transform .3s, box-shadow .3s; }
.product-feature-card:hover { border-color: var(--color-text-1); }
.product-feature-card .icon { width: 60px; height: 60px; margin: 0 auto 16px; }
.product-feature-card h3 { font-size: 18px; font-weight: 500; color: var(--color-text-1); margin-bottom: 8px; }
.product-feature-card p { font-size: 14px; line-height: 22px; color: var(--color-text-2); }

/* ---------- Demo Page ---------- */
.demo-section { padding: 120px 0 80px; margin-top: 0; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.demo-card { background: #fff; border: 1px solid #e5e6eb; border-radius: 0; padding: 32px 24px; text-align: center; transition: transform .3s, box-shadow .3s; cursor: pointer; }
.demo-card:hover { border-color: var(--color-text-1); }
.demo-card .icon { width: 60px; height: 60px; margin: 0 auto 16px; }
.demo-card h3 { font-size: 18px; font-weight: 500; color: var(--color-text-1); margin-bottom: 8px; }
.demo-card p { font-size: 14px; line-height: 22px; color: var(--color-text-2); }

/* ---------- Smartpark ---------- */
.smarkpark { padding-bottom: 60px; }
.smarkpark-show { padding: 60px 0 40px; text-align: center; }
.smarkpark-show .idx_titbox { padding-top: 40px; margin-bottom: 40px; }
.smarkpark-show .idx_titbox .cn, .smarkpark-operation .idx_titbox .cn, .advantage .idx_titbox .cn, .platform-preview .idx_titbox .cn { font-size: 30px; font-weight: 500; color: #1D2129; display: inline-block; }
.smarkpark-show .idx_titbox .cn span, .smarkpark-operation .idx_titbox .cn span, .advantage .idx_titbox .cn span, .platform-preview .idx_titbox .cn span { position: relative; display: inline-block; }
.smarkpark-show .idx_titbox .en, .smarkpark-operation .idx_titbox .en, .advantage .idx_titbox .en, .platform-preview .idx_titbox .en { font-size: 14px; color: #86909C; margin-bottom: 8px; }
.title-border { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #e94f98; border-radius: 0; }
.show-img { max-width: var(--container-width); width: 90%; margin: 0 auto; display: block; }
.smarkpark-operation { padding: 60px 0; text-align: center; }
.smarkpark-operation .idx_titbox { padding-top: 0; margin-bottom: 30px; }
.operation-content { max-width: 900px; margin: 0 auto 40px; padding: 0 20px; font-size: 15px; line-height: 28px; color: #4E5969; text-align: left; }
.operation-img { max-width: var(--container-width); width: 90%; margin: 0 auto; }
.operation-img .img-inner { width: 100%; display: block; }
.advantage { position: relative; padding: 60px 0 80px; overflow: hidden; }
.advantage-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.advantage-bg .img-inner { width: 100%; height: 100%; object-fit: cover; }
.advantage .idx_titbox { position: relative; z-index: 1; padding-top: 0; margin-bottom: 50px; }
.advantage-info { position: relative; z-index: 1; }
.page-center { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.advantage-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-option { background: #fff; border-radius: 0; padding: 28px 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.advantage-option:hover { border-color: var(--color-text-1); }
.option-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.option-title { font-size: 18px; font-weight: 500; color: #1D2129; }
.option-img { width: 48px; height: 48px; flex-shrink: 0; }
.option-content { font-size: 14px; line-height: 24px; color: #4E5969; }
.platform-preview { position: relative; padding: 60px 0; text-align: center; }
.platform-preview .idx_titbox { padding-top: 0; margin-bottom: 30px; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--container-width); margin: 30px auto 0; padding: 0 20px; }
.preview-grid .preview-item { border-radius: 0; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.preview-grid .preview-item img { width: 100%; display: block; }
.preview-grid .preview-item:first-child { grid-column: 1 / -1; }

/* ---------- Hotel ---------- */
.hotel { padding-bottom: 0; }
.hotel .inner_banner { width: 100%; min-height: 400px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.hotel .top-main { text-align: center; padding: 40px 20px; }
.hotel .top-title { font-size: 36px; font-weight: 600; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hotel-center { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.hotel-title { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 40px; }
.hotel-title .title-line { width: 80px; height: 1px; background: #ddd; position: relative; }
.hotel-title .title-ball { width: 8px; height: 8px; border-radius: 0; background: #e94f98; position: absolute; top: 50%; transform: translateY(-50%); }
.hotel-title .title-line:first-child .title-ball { right: 0; }
.hotel-title .title-line:last-child .title-ball { left: 0; }
.hotel-title .title-text { font-size: 28px; font-weight: 500; color: #1D2129; white-space: nowrap; }
.hotel-service { padding: 60px 0 40px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-option { border-radius: 0; overflow: hidden; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s; }
.service-option:hover { transform: translateY(-4px); }
.service-img .img-inner { width: 100%; display: block; height: 200px; object-fit: cover; }
.option-main { padding: 24px; display: flex; align-items: center; min-height: 120px; }
.service-title { font-size: 20px; font-weight: 500; color: #1D2129; margin-bottom: 8px; }
.service-content { font-size: 14px; line-height: 22px; color: #4E5969; }
.hotel-describe { padding: 60px 0; background: var(--color-sand); }
.describe-tabar { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; }
.tabar-option { padding: 10px 28px; font-size: 16px; color: #4E5969; cursor: pointer; transition: color 0.3s; white-space: nowrap; }
.tabar-option.is-active { color: var(--color-primary); font-weight: 500; }
.tabar-line { width: 1px; height: 16px; background: #ddd; }
.describe-option { display: none; gap: 40px; align-items: flex-start; }
.describe-option:first-child, .describe-option.active { display: flex; }
.describe-img { flex: 0 0 45%; }
.describe-img .img-inner { width: 100%; border-radius: 0; display: block; }
.describe-content { flex: 1; }
.describe-content .content-title { font-size: 18px; font-weight: 500; color: #1D2129; margin-bottom: 8px; margin-top: 0; }
.describe-content p { font-size: 14px; line-height: 26px; color: #4E5969; }
.content-line { width: 100%; height: 1px; background: #eee; margin: 16px 0; }
.hotel-system { padding: 60px 0; }
.system-main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.system-option { position: relative; border-radius: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 160px; cursor: pointer; transition: transform 0.3s; }
.system-option:hover { transform: translateY(-4px); }
.system-option .option-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.system-option .option-bg .img-inner { width: 100%; height: 100%; object-fit: cover; }
.system-option .option-content { position: relative; z-index: 1; font-size: 18px; font-weight: 500; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.hotel-sence { padding: 60px 0; background: var(--color-sand); }
.sence-bg { max-width: 800px; margin: 0 auto; position: relative; min-height: 400px; }
.sence-main { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 40px 20px; }
.sence-option { padding: 12px 24px; background: linear-gradient(135deg, var(--color-primary), #ff8fbe); color: #fff; font-size: 15px; border-radius: 0; cursor: pointer; transition: transform 0.3s; }
.sence-option:hover { transform: scale(1.05); }
.hotel-domain { padding: 60px 0; }
.domain-bg { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.hotel-domain .domain-main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.domain-option { border-radius: 0; overflow: hidden; }
.domain-option .img-inner { width: 100%; display: block; }
.hotel-join { margin-top: 40px; }
.join-bg { background: linear-gradient(135deg, #e94f98, #2f3036); min-height: 240px; display: flex; align-items: center; justify-content: center; }
.join-main { text-align: center; padding: 40px 20px; }
.join-title { font-size: 30px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.join-content { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.join-btn { display: inline-block; padding: 12px 36px; background: #fff; color: var(--color-primary); font-size: 16px; font-weight: 500; border-radius: 0; cursor: pointer; transition: opacity 0.3s; }
.join-btn:hover { opacity: 0.9; }

/* ======================================================================
   RESPONSIVE
   ====================================================================== */

@media (max-width: 1200px) {
  :root { --page-padding: 60px; --font-size-hero: 48px; --font-size-h1: 42px; --split-gap: 48px; }
  .footer_t { flex-wrap: wrap; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid--3 { grid-template-columns: repeat(4, 1fr); }
  .advantage-grid--3 .advantage-card { grid-column: span 2; }
  .advantage-grid--3 .advantage-card:nth-last-child(2) { grid-column: span 2; }
  .advantage-grid--3 .advantage-card:nth-last-child(1) { grid-column: span 2; }
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-main h3 { font-size: 22px; }
  .cases-card { flex: 0 0 340px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --section-padding: 80px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .hero-content { flex: none; max-width: 720px; }
  .hero-screen-wrap { width: 100%; transform: none; }
  .hero-screen-img { width: min(760px, 100%); margin-left: 0; }
  .hero-title { font-size: 42px; }
  .hero-label { font-size: 14px; }
  .section-title { font-size: 36px; line-height: 1.3; }
  .hd_nav li { padding: 0 14px; font-size: 14px; }
  .hd_logo { margin-right: 40px; width: 112px; min-width: 112px; }
  .hd_logo .img { width: 104px; }
  .popup-left { padding: 32px 24px; }
  .popup-right { padding: 32px 24px; }
  .domain-tab { flex-direction: column; }
  .pc-tab { display: flex; width: auto; flex-wrap: wrap; margin-right: 0; margin-bottom: 24px; gap: 8px; }
  .tab-option { border-left: none; }
  .info-swiper { height: auto; }
  .pg-tabs { flex-wrap: wrap; justify-content: flex-start; gap: 0; }
  .pg-tab { padding: 10px 16px; font-size: 14px; }
  .ind-panel.active { flex-direction: column; gap: 32px; }
  .ind-tabs { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; border-left: none; border-bottom: 1px solid var(--color-border); }
  .ind-tab { padding: 10px 16px; font-size: 14px; }
  .ind-tab::after { left: 0; top: auto; bottom: -1px; width: 100%; height: 2px; transform: scaleX(0); }
  .ind-tab.active::after { transform: scaleX(1); }
  .ind-tab.active { padding-left: 16px; background: none; }
  .cta-inner { flex-direction: column; gap: 48px; text-align: center; }
  .cta-text { max-width: 100%; }
  .cta-oxyz-title { font-size: 36px; }
  .cta-oxyz-desc { font-size: 16px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .product-features { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  /* Showcase */
  .showcase-row { flex-direction: column; gap: 40px; }
  .showcase-row.reversed { flex-direction: column; }
  .showcase-image { width: 100%; order: -1; }
  .showcase-title { font-size: 28px; }
  /* About */
  .introduced .auto { gap: 32px; }
  .introduced-img { flex: 0 0 320px; }
  .abt-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .abt-mv-grid { flex-direction: column; gap: 24px; }
  .abt-partner-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  :root { --section-padding: 60px; --page-padding: 16px; --font-size-hero: 32px; --font-size-h1: 28px; --font-size-stat: 36px; --split-gap: 24px; }

  /* Header hamburger */
  .hd_logo { width: 96px; min-width: 96px; margin-right: 20px; }
  .hd_logo .img { width: 88px; }
  .hd_nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: #fff; border-top: 1px solid var(--color-border); padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 100; }
  .hd_nav.open { display: flex; }
  .hd_mobile_menu { display: flex; }
  .hd_nav_item_btn { display: none; }
  .hd_nav li { width: 100%; height: auto; padding: 12px 20px; text-align: left; justify-content: flex-start; }
  .hd_nav li::after { display: none; }
  .hd_nav_item_menu { position: static; width: 100%; height: auto; flex-direction: column; box-shadow: none; }
  .popup-left { width: 100%; padding: 20px 16px; }
  .popup-right { padding: 20px 16px; flex-direction: column; }
  .popup-col { flex: none; width: 100%; }
  .popup-col h4 { margin-bottom: 12px; }
  .popup-col a { padding: 10px 0; font-size: 14px; }
  .popup-list { padding: 16px; }
  .popup-item { width: 100%; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner { padding-top: calc(var(--header-height) + 24px); padding-bottom: 44px; gap: 28px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.76) 100%); }
  .hero-title { font-size: 28px; line-height: 1.3; }
  .hero-content { max-width: 100%; }
  .hero-desc { font-size: 14px; line-height: 1.7; max-width: calc(100vw - 32px); margin-bottom: 24px; }
  .hero-screen-img { border-radius: 8px; box-shadow: 0 18px 52px rgba(70, 95, 135, 0.16); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-solid, .btn-outline { min-width: auto; padding: 12px 24px; font-size: 14px; gap: 16px; }
  .float-sidebar { display: none; }
  .stats-showcase { padding: var(--section-padding) 0; }
  .stats-showcase .section-right { width: 100%; margin-left: 0; }
  .stats-showcase-item { padding: 24px 0; }

  /* Product Grid */
  .pg-grid { grid-template-columns: 1fr; }
  .pg-card { min-height: auto; padding: 24px 20px; }
  .pg-tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .pg-tab { padding: 10px 14px; font-size: 13px; }

  /* Sections */
  .section-heading { margin-bottom: 48px; }
  .section-title { font-size: 28px; line-height: 1.3; }
  .services-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-grid--3 { grid-template-columns: 1fr; }
  .advantage-grid--3 .advantage-card,
  .advantage-grid--3 .advantage-card:nth-last-child(2),
  .advantage-grid--3 .advantage-card:nth-last-child(1) { grid-column: span 1; }
  .ind-main { padding: 24px; }
  .ind-main h3 { font-size: 20px; }
  .cases-card { flex: 0 0 280px; }
  .case-body { padding: 20px; }
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .ind-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .cases-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .cases-header-right { text-align: left; }
  .cta-metrics { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cta-metric-value { font-size: 36px; }

  /* Tab */
  .swiper-title { font-size: 24px; line-height: 32px; }
  .swiper-msg { font-size: 15px; }

  /* Showcase */
  .showcase-row { gap: 24px; }
  .showcase-title { font-size: 24px; }
  .showcase-desc { font-size: 15px; }

  /* Marquee */
  .marquee-item { width: 120px; }
  .marquee-track { gap: 32px; }

  /* Cert scroll */
  .cert-scroll-item { width: 160px; height: auto; }
  .cert-marquee-item { min-width: 200px; }

  /* CTA */
  .cta-oxyz-title { font-size: 28px; }
  .cta-oxyz-desc { font-size: 15px; }
  .cta-form-row { gap: 12px; }

  /* Float sidebar */
  .float-sidebar-tip img { width: 100px; }

  /* About */
  .abt-adv-grid { grid-template-columns: 1fr; }
  .abt-adv-card { padding: 20px; }
  .abt-mv-grid { flex-direction: column; gap: 16px; }
  .abt-partner-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .abt-tl-item { gap: 16px; }
  .abt-tl-year { font-size: 20px; }

  /* Footer */
  .footer_t { flex-direction: column; gap: 32px; }
  .footer_b { flex-direction: column; gap: 12px; }

  /* Subpages */
  .inner_banner { height: 280px; }
  .inner_banner .top-title { font-size: 28px; }
  .introduced .auto { flex-direction: column; }
  .introduced-img { flex: none; width: 100%; }
  .our-vision2-content { flex-direction: column; align-items: center; }
  .hospital-main { grid-template-columns: 1fr; }
  .business-content.active { grid-template-columns: 1fr; }
  .structure-content-tab { flex-wrap: wrap; }
  .cases-category-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .product-features { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .about-hero { padding: 80px 0 56px; }
  .about-hero h1 { font-size: 28px; line-height: 38px; }
  .product-hero { padding: 80px 0 56px; }
  .product-hero h1 { font-size: 28px; line-height: 38px; }
  .advantage-list { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .system-main { grid-template-columns: repeat(2, 1fr); }
  .hotel-domain .domain-main { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-grid .preview-item:first-child { grid-column: auto; }
  .describe-option, .describe-option:first-child, .describe-option.active { flex-direction: column; }
  .describe-img { flex: none; width: 100%; }
}

@media print {
  .head, .preloader { display: none !important; }
  .head-box { height: 0; }
  body { color: #000; background: #fff; }
  .section { padding: 32px 0; }
}

/* ============================================
 * Architecture 4-layer stack
 * ============================================ */
.arch-section {
  position: relative;
  background: #fff;
  padding: 200px 0;
}
.arch-section::before { content: none; }
.arch-section > .auto {
  position: relative;
  z-index: 1;
}
.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
  max-width: none;
}
.arch-section .arch-layer {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 36px;
  background: var(--color-sand);
  border: 1px solid #e5e6eb;
  border-radius: 0;
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  overflow: hidden;
}
.arch-section .arch-layer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}
.arch-section .arch-layer:hover {
  border-color: var(--color-primary);
  background: #fff;
  transform: translateX(6px);
  box-shadow: 0 8px 32px rgba(233,79,152,0.06);
}
.arch-section .arch-layer:hover::before {
  transform: scaleY(1);
}

.arch-section .arch-layer-idx {
  font-family: 'D-DIN', 'DIN Alternate', 'Roboto Condensed', monospace;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-primary);
  letter-spacing: -2px;
}

.arch-layer-main {
  min-width: 0;
}
.arch-layer-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.arch-section .arch-layer-head i {
  font-size: 28px;
  color: var(--color-primary);
}
.arch-section .arch-layer-head h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-1);
  letter-spacing: 1px;
  margin: 0;
  white-space: nowrap;
}
.arch-section .arch-layer-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  padding: 4px 10px;
  border: 1px solid var(--color-primary);
  background: rgba(233,79,152,0.06);
  margin-left: auto;
}
.arch-section .arch-layer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-2);
  margin: 0;
  max-width: 640px;
}

.arch-section .arch-layer-metrics {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--color-border);
  grid-column: 1 / -1;
}
.arch-section .arch-metric {
  flex: 1;
  text-align: center;
}
.arch-section .arch-metric strong {
  display: block;
  font-family: 'D-DIN', 'DIN Alternate', 'Roboto Condensed', monospace;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.arch-section .arch-metric span {
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
  .arch-layer {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px;
  }
  .arch-layer-idx { font-size: 48px; }
  .arch-layer-metrics {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 20px;
    margin-top: 20px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
@media (max-width: 640px) {
  .arch-layer-head {
    flex-wrap: wrap;
  }
  .arch-layer-tag { margin-left: 0; }
  .arch-layer-metrics { gap: 4px; }
  .arch-metric strong { font-size: 20px; }
}

/* ============================================
 * Service Network — 3D Globe (Dark blue theme)
 * ============================================ */
.network-section {
  position: relative;
  background: #fff;
  color: var(--color-text-1);
}
.network-section::before { content: none; }
.network-section > .auto {
  position: relative;
  z-index: 1;
}
.network-content {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: center;
}
/* Network section now uses section-split; stats go in left col */
.network-section .network-stats {
  margin-top: 0;
}
.network-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.network-stat {
  position: relative;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}
.network-stat:last-child { border-bottom: none; }
.network-stat:hover {
  border-bottom-color: var(--color-primary);
}
.network-stat-num {
  font-family: 'D-DIN', monospace;
  font-size: 48px;
  font-weight: 500;
  color: var(--color-text-1);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.network-stat-num .animateNum {
  color: var(--color-text-1);
}
.network-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-1);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.network-stat-desc {
  font-size: 14px;
  color: var(--color-text-3);
  letter-spacing: 0.3px;
  line-height: 1.6;
}
.network-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.95;
  overflow: hidden;
}
.network-map canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.network-map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 18px;
  z-index: 2;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.legend-item i {
  width: 10px;
  height: 10px;
  display: inline-block;
}
.legend-hq i {
  background: #ff8400;
  border-radius: 0;
  box-shadow: 0 0 10px rgba(255, 132, 0, 0.6);
}
.legend-node i {
  background: var(--color-primary);
  border-radius: 0;
  box-shadow: 0 0 8px rgba(233, 79, 152, 0.4);
}
.legend-line i {
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 100%);
}

@media (max-width: 1100px) {
  .network-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 960px) {
  .network-section .network-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  .network-section .network-stat {
    flex: 1 1 calc(50% - 12px);
    min-width: 180px;
  }
}
@media (max-width: 640px) {
  .network-stat { flex: 1 1 100%; }
  .network-stat-num { font-size: 36px; }
  .network-map-legend {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Reduce cert section height */
.section.bg-sand:has(.cert-marquee-wrap) {
  padding: 80px 0 100px;
}
/* ============================================
 * Certifications — Horizontal Marquee
 * ============================================ */
.cert-marquee-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.cert-marquee-track {
  display: flex;
  gap: 32px;
  animation: certScroll 40s linear infinite;
  width: max-content;
}
.cert-marquee-item {
  flex-shrink: 0;
  width: 180px;
  height: 240px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 16px;
  transition: border-color 0.3s;
}
.cert-marquee-item:hover { border-color: var(--color-text-1); }
.cert-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes certScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
 * Delivery Services
 * ============================================ */
.delivery-section {
  background: #fff;
}
.delivery-section .section-heading {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 56px;
}
.delivery-section .section-desc {
  max-width: 960px;
}
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.delivery-card {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  transition: background 0.25s ease, color 0.25s ease;
}
.delivery-card span {
  display: block;
  margin-bottom: 42px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.8px;
}
.delivery-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text-1);
}
.delivery-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-2);
}
.delivery-card:hover {
  background: var(--color-dark);
}
.delivery-card:hover span,
.delivery-card:hover h3 {
  color: #fff;
}
.delivery-card:hover p {
  color: rgba(255,255,255,0.72);
}

@media (max-width: 1100px) {
  .business-field-grid,
  .delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .business-fields .section-heading,
  .delivery-section .section-heading {
    margin-bottom: 32px;
  }
  .business-field-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }
  .business-field-card {
    min-height: 340px;
  }
  .business-field-body {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }
  .delivery-card {
    min-height: 190px;
    padding: 24px;
  }
  .delivery-card span {
    margin-bottom: 28px;
  }
}

/* ============================================================
   Platform Tech Architecture Diagram (首页技术架构总览)
   ============================================================ */
.platform-arch-section {
  background: #fff;
  padding: var(--section-padding) 0;
  position: relative;
}
.platform-arch-section::before,
.platform-arch-section::after { content: none; }
.parch-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--page-padding, 120px);
  position: relative;
}
.parch-diagram {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  gap: 16px;
  margin-top: 0;
  max-width: none;
}
.parch-side {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 12px;
}
.parch-side-card {
  flex: 1;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 10px;
  text-align: center;
}
.parch-side-card i {
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.parch-side-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-1);
  letter-spacing: 3px;
  margin: 0 0 6px;
  writing-mode: vertical-rl;
}
.parch-side-card p {
  font-size: 12px;
  color: var(--color-text-3);
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 1px;
}
.parch-core {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.parch-layer {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--color-border);
}
.parch-layer:last-child { border-bottom: none; }
.parch-layer:hover {
  border-color: var(--color-primary);
}
.parch-layer-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.parch-layer-idx {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 2px;
  font-family: 'D-DIN', monospace;
}
.parch-layer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-1);
  letter-spacing: 1px;
}
.parch-layer-en {
  font-size: 11px;
  color: var(--color-text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.parch-layer-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.parch-item {
  background: var(--color-sand);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: default;
}
.parch-item:hover {
  border-color: var(--color-text-1);
}
.parch-item i {
  font-size: 18px;
  color: var(--color-text-3);
  flex-shrink: 0;
}
/* Tier-based icon colors */
.parch-layer[data-tier="app"] .parch-item i { color: var(--color-primary); }
.parch-layer[data-tier="platform"] .parch-item i { color: var(--color-primary); }
.parch-layer[data-tier="data"] .parch-item i { color: var(--color-text-1); }
.parch-layer[data-tier="network"] .parch-item i { color: var(--color-text-3); }
.parch-layer[data-tier="sensor"] .parch-item i { color: var(--color-text-3); }
.parch-item span {
  font-size: 14px;
  color: var(--color-text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Tier colors removed — unified minimal style */

@media (max-width: 1024px) {
  .platform-arch-section { padding: var(--section-padding) 0; }
  .parch-diagram { grid-template-columns: 80px 1fr 80px; gap: 12px; }
  .parch-side-card { padding: 16px 6px; }
  .parch-side-card i { font-size: 22px; }
  .parch-side-card h4 { font-size: 13px; }
  .parch-side-card p { font-size: 10px; }
  .parch-layer { grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 18px; }
  .parch-layer-items { grid-template-columns: repeat(3, 1fr); }
  .parch-layer-name { font-size: 16px; }
}
@media (max-width: 767px) {
  .parch-wrap { padding: 0 16px; }
  .parch-diagram { grid-template-columns: 1fr; }
  .parch-side { flex-direction: row; order: -1; }
  .parch-side-card { padding: 12px; flex-direction: row; gap: 8px; }
  .parch-side-card h4,
  .parch-side-card p { writing-mode: horizontal-tb; }
  .parch-side-card i { margin-bottom: 0; }
  .parch-layer { grid-template-columns: 1fr; gap: 12px; }
  .parch-layer-items { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   Cases — 列表页 (cases.html)
   ========================================================================== */
.cases-hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(233, 79, 152, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(59, 122, 255, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0a0f1e 0%, #131a2e 100%);
  color: #fff;
  overflow: hidden;
}
.cases-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 122, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 122, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
}
.cases-hero .auto { position: relative; z-index: 2; }
.cases-hero-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59, 122, 255, 0.12);
  border: 1px solid rgba(59, 122, 255, 0.3);
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--color-primary-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cases-hero-title {
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 860px;
}
.cases-hero-title em { color: var(--color-primary-light); font-style: normal; }
.cases-hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
  margin-bottom: 48px;
}
.cases-hero-stats {
  display: flex;
  gap: 60px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cases-hero-stat-num {
  font-size: 44px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.cases-hero-stat-num small { font-size: 22px; color: var(--color-primary-light); margin-left: 4px; }
.cases-hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

/* Filter bar */
.cases-filter {
  position: sticky;
  top: var(--header-height);
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.cases-filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.cases-filter-label {
  font-size: 13px;
  color: var(--color-text-3);
  margin-right: 4px;
}
.cases-filter-btn {
  padding: 8px 18px;
  border: 1px solid #e5e6eb;
  border-radius: 0;
  background: #fff;
  font-size: 14px;
  color: var(--color-text-2);
  cursor: pointer;
  transition: all var(--transition) var(--ease);
}
.cases-filter-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.cases-filter-btn.active {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

/* Cases grid */
.cases-grid-section { padding: 80px 0 120px; background: var(--color-sand); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(233, 79, 152, 0.12);
  border-color: rgba(233, 79, 152, 0.15);
}
.case-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-fill-2);
}
.case-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.case-card:hover .case-card-cover img { transform: scale(1.06); }
.case-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 0;
  font-size: 12px;
  color: var(--color-dark);
  font-weight: 500;
}
.case-card-body {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-card-client {
  font-size: 12px;
  color: var(--color-text-3);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.case-card-title {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-1);
  margin-bottom: 12px;
  min-height: 56px;
}
.case-card-summary {
  font-size: 14px;
  color: var(--color-text-2);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.case-card-kpis {
  display: flex;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-border);
  margin-bottom: 20px;
}
.case-card-kpi {
  flex: 1;
}
.case-card-kpi strong {
  display: block;
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}
.case-card-kpi span {
  font-size: 12px;
  color: var(--color-text-3);
}
.case-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 500;
}
.case-card-more .arrow {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: var(--color-fill-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition) var(--ease);
}
.case-card:hover .case-card-more .arrow {
  background: var(--color-primary);
  color: #fff;
  transform: translateX(2px);
}

.cases-empty {
  grid-column: 1 / -1;
  padding: 80px 20px;
  text-align: center;
  color: var(--color-text-3);
  font-size: 16px;
}

/* ==========================================================================
   Case Detail — 详情页 (pages/cases/*.html)
   ========================================================================== */
.cd-hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(180deg, #0a0f1e 0%, #0f1730 100%);
  color: #fff;
  overflow: hidden;
}
.cd-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(233, 79, 152, 0.28) 0%, transparent 60%);
  border-radius: 0;
  filter: blur(40px);
  pointer-events: none;
}
.cd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 122, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 122, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 30% 40%, #000 0%, transparent 80%);
  pointer-events: none;
}
.cd-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.cd-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}
.cd-crumb a { color: rgba(255, 255, 255, 0.6); }
.cd-crumb a:hover { color: var(--color-primary-light); }
.cd-crumb .sep { color: rgba(255, 255, 255, 0.3); }
.cd-industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 122, 255, 0.12);
  border: 1px solid rgba(59, 122, 255, 0.3);
  border-radius: 0;
  font-size: 13px;
  color: var(--color-primary-light);
  margin-bottom: 24px;
}
.cd-industry-badge i { font-size: 16px; }
.cd-title {
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 20px;
}
.cd-client {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}
.cd-lead {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
}
.cd-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cd-meta-item-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cd-meta-item-value {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

.cd-hero-visual {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--color-border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}
.cd-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cd-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 30, 0.8) 100%);
}

/* KPI strip */
.cd-kpi-strip {
  background: #fff;
  margin-top: -60px;
  position: relative;
  z-index: 5;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(233, 79, 152, 0.08);
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cd-kpi {
  padding: 12px 36px;
  border-right: 1px solid var(--color-border);
  text-align: left;
}
.cd-kpi:last-child { border-right: none; }
.cd-kpi-label {
  font-size: 13px;
  color: var(--color-text-3);
  margin-bottom: 10px;
}
.cd-kpi-value {
  font-size: 34px;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.cd-kpi-delta {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 0;
  background: rgba(233, 79, 152, 0.08);
  font-size: 12px;
  color: var(--color-primary);
}

/* Content sections */
.cd-section { padding: 100px 0; }
.cd-section.bg-sand { background: var(--color-sand); }
.cd-section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 4px 14px;
  background: rgba(233, 79, 152, 0.08);
  border-radius: 0;
}
.cd-section-title {
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-text-1);
  margin-bottom: 20px;
  max-width: 720px;
}
.cd-section-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-2);
  max-width: 760px;
}
.cd-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

/* Challenge list */
.cd-challenge-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cd-challenge-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 0;
  transition: all var(--transition) var(--ease);
}
.cd-challenge-item:hover {
  border-color: rgba(233, 79, 152, 0.3);
  box-shadow: 0 12px 32px rgba(233, 79, 152, 0.06);
}
.cd-challenge-num {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--color-fill-2);
  color: var(--color-text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
}
.cd-challenge-item h4 {
  font-size: 17px;
  color: var(--color-text-1);
  margin-bottom: 6px;
}
.cd-challenge-item p {
  font-size: 14px;
  color: var(--color-text-2);
  line-height: 1.7;
}

/* Solution stack */
.cd-solution-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cd-solution-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border-radius: 0;
  border: 1px solid #e5e6eb;
}
.cd-solution-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cd-solution-label i {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: rgba(233, 79, 152, 0.08);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cd-solution-label strong {
  font-size: 15px;
  color: var(--color-text-1);
  font-weight: 500;
}
.cd-solution-detail {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-2);
}

/* Timeline */
.cd-timeline {
  position: relative;
  margin-top: 60px;
  padding-left: 0;
}
.cd-timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}
.cd-timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cd-timeline-item {
  position: relative;
  padding-top: 80px;
  text-align: center;
}
.cd-timeline-dot {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: #fff;
  border: 4px solid var(--color-primary);
  box-shadow: 0 0 0 8px rgba(233, 79, 152, 0.08);
  z-index: 2;
}
.cd-timeline-week {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.cd-timeline-title {
  font-size: 16px;
  color: var(--color-text-1);
  margin-bottom: 10px;
  font-weight: 500;
}
.cd-timeline-desc {
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.7;
  padding: 0 8px;
}

/* Tech stack chips */
.cd-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cd-tech-chip {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 0;
  font-size: 14px;
  color: var(--color-text-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition) var(--ease);
}
.cd-tech-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}
.cd-tech-chip i { color: var(--color-primary); }

/* Testimonial */
.cd-testimonial {
  margin-top: 40px;
  padding: 48px 56px;
  background: linear-gradient(135deg, #0a0f1e 0%, #101831 100%);
  border-radius: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cd-testimonial::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  left: 36px;
  font-size: 180px;
  font-family: Georgia, serif;
  color: rgba(59, 122, 255, 0.12);
  line-height: 1;
}
.cd-testimonial-quote {
  font-size: 22px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  font-style: italic;
  position: relative;
  z-index: 2;
}
.cd-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.cd-testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  font-weight: 500;
}
.cd-testimonial-name { font-size: 16px; color: #fff; font-weight: 500; }
.cd-testimonial-title { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-top: 2px; }

/* Related cases */
.cd-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-hero-title { font-size: 44px; }
  .cd-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .cd-hero-visual { aspect-ratio: 16 / 10; }
  .cd-title { font-size: 40px; }
  .cd-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .cd-kpi { border-right: none; border-bottom: 1px solid var(--color-border); }
  .cd-kpi:nth-last-child(-n+2) { border-bottom: none; }
  .cd-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .cd-timeline-grid { grid-template-columns: repeat(3, 1fr); }
  .cd-timeline::before { display: none; }
  .cd-timeline-item { padding-top: 20px; text-align: left; padding-left: 40px; }
  .cd-timeline-dot { top: 4px; left: 0; transform: none; }
  .cd-related { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .cases-grid { grid-template-columns: 1fr; }
  .cases-hero { padding: 100px 0 60px; }
  .cases-hero-title { font-size: 32px; }
  .cases-hero-stats { flex-wrap: wrap; gap: 32px; }
  .cd-hero { padding: 80px 0 80px; }
  .cd-title { font-size: 30px; }
  .cd-section { padding: 60px 0; }
  .cd-section-title { font-size: 28px; }
  .cd-kpi-strip { grid-template-columns: 1fr; padding: 20px 0; margin-top: -40px; }
  .cd-kpi { padding: 16px 24px; }
  .cd-meta { grid-template-columns: 1fr; gap: 16px; }
  .cd-solution-row { grid-template-columns: 1fr; }
  .cd-testimonial { padding: 32px 28px; }
  .cd-testimonial-quote { font-size: 18px; }
  .cd-timeline-grid { grid-template-columns: 1fr; }
}
