/* =========================================================
   ZHIYANG Technology — Global Stylesheet
   深海军蓝 #0A1B35 · 科技蓝 #1683F5 · 浅灰蓝 #F3F7FC · 白
   ========================================================= */

:root {
  --navy-950: #060f1f;
  --navy-900: #0a1b35;
  --navy-800: #0f2547;
  --navy-700: #16325e;
  --blue: #1683f5;
  --blue-600: #0f6fd6;
  --blue-400: #4aa3ff;
  --blue-100: #dcebfe;
  --blue-50: #eaf3fe;
  --bg-soft: #f3f7fc;
  --white: #ffffff;
  --ink: #13233d;
  --ink-2: #43536d;
  --ink-3: #74839c;
  --line: #e2eaf4;
  --line-dark: rgba(255, 255, 255, 0.14);
  --grad-blue: linear-gradient(135deg, #1683f5 0%, #3aa0ff 100%);
  --grad-deep: linear-gradient(150deg, #0a1b35 0%, #10315f 55%, #1683f5 130%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(10, 27, 53, 0.06);
  --shadow: 0 12px 32px rgba(10, 27, 53, 0.1);
  --shadow-lg: 0 24px 64px rgba(10, 27, 53, 0.16);
  --container: 1280px;
  --header-h: 72px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-600);
}

ul,
ol {
  list-style: none;
}

strong {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.icon {
  width: 1.35em;
  height: 1.35em;
  flex: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.22s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 131, 245, 0.35);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 131, 245, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(19, 35, 61, 0.25);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--navy-900);
}

.btn-white:hover {
  color: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 8, 20, 0.35);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 27, 53, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 48px;
  height: 34px;
  object-fit: contain;
  flex: none;
}

.site-footer .brand-mark,
body.theme-dark .site-header:not(.scrolled) .brand-mark {
  filter: brightness(0) invert(1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand-text strong {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav > a {
  position: relative;
  padding: 9px 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
}

.main-nav > a:hover {
  color: var(--blue);
  background: var(--blue-50);
}

.main-nav > a.active {
  color: var(--blue);
  font-weight: 600;
}

.main-nav > a.active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-blue);
}

.main-nav > a.nav-product {
  color: var(--blue-600);
  font-weight: 700;
  padding: 7px 15px;
  border: 1.5px solid rgba(22, 131, 245, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(22, 131, 245, 0.08), rgba(58, 160, 255, 0.14));
}

.main-nav > a.nav-product:hover {
  background: var(--grad-blue);
  border-color: transparent;
  color: #fff;
}

.main-nav > a.nav-product.active {
  background: var(--grad-blue);
  border-color: transparent;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
}

.lang-switch:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.lang-switch .icon {
  width: 1em;
  height: 1em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: all 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dark hero header variant */
body.theme-dark .site-header:not(.scrolled) {
  background: rgba(6, 15, 31, 0.35);
}

body.theme-dark .site-header:not(.scrolled) .brand,
body.theme-dark .site-header:not(.scrolled) .brand-text em {
  color: #fff;
}

body.theme-dark .site-header:not(.scrolled) .brand-text em {
  color: rgba(255, 255, 255, 0.6);
}

body.theme-dark .site-header:not(.scrolled) .main-nav > a {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .site-header:not(.scrolled) .main-nav > a:hover,
body.theme-dark .site-header:not(.scrolled) .main-nav > a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

body.theme-dark .site-header:not(.scrolled) .main-nav > a.nav-product,
body.theme-dark .site-header:not(.scrolled) .main-nav > a.nav-product.active {
  background: rgba(22, 131, 245, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

body.theme-dark .site-header:not(.scrolled) .lang-switch {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

body.theme-dark .site-header:not(.scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.3);
}

body.theme-dark .site-header:not(.scrolled) .nav-toggle span {
  background: #fff;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 96px;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(22, 131, 245, 0.14), transparent 60%),
    radial-gradient(800px 420px at -10% 40%, rgba(22, 131, 245, 0.08), transparent 55%),
    linear-gradient(180deg, #f6faff 0%, #fff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(22, 131, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 131, 245, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 480px at 70% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(22, 131, 245, 0.09);
  border: 1px solid rgba(22, 131, 245, 0.22);
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.hero-en-title {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.hero-lead {
  max-width: 560px;
  color: var(--ink-2);
  font-size: 1.02rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}

.hero-chip .icon {
  width: 1.5em;
  height: 1.5em;
  color: var(--blue);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 272px;
  border-radius: 38px;
  border: 9px solid #0d1b30;
  background: #0d1b30;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  position: relative;
  z-index: 2;
}

.phone img {
  width: 100%;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  animation: floaty 5.5s ease-in-out infinite;
}

.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad-blue);
  color: #fff;
  flex: none;
}

.float-card small {
  display: block;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 0.75rem;
}

.fc-1 {
  top: 12%;
  left: -2%;
}

.fc-2 {
  bottom: 14%;
  right: -4%;
  animation-delay: 1.6s;
}

.fc-3 {
  top: 46%;
  right: -8%;
  animation-delay: 3s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 131, 245, 0.22), transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 90% 0%, rgba(22, 131, 245, 0.2), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(22, 131, 245, 0.12), transparent 55%);
  pointer-events: none;
}

.section-dark .section-head .lead,
.section-dark .card-text {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-blue);
}

.section-head.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-blue);
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-head .en-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.section-dark .section-head .en-sub {
  color: var(--blue-400);
}

.section-head .lead {
  color: var(--ink-2);
  font-size: 1rem;
}

/* ---------- Grids & cards ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: all 0.28s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(22, 131, 245, 0.35);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 22px;
}

.card-icon .icon {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ink);
}

.card .en-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.card-text {
  font-size: 0.93rem;
  color: var(--ink-2);
}

.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
}

.card-dark:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(22, 131, 245, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.card-dark h3 {
  color: #fff;
}

.card-dark .en-title {
  color: rgba(255, 255, 255, 0.55);
}

.card-dark .card-icon {
  background: rgba(22, 131, 245, 0.18);
  color: var(--blue-400);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Number badge cards (services/steps) */
.num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--grad-blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(22, 131, 245, 0.3);
}

/* Pill tags */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.pill .icon {
  color: var(--blue-400);
}

.pill-light {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}

.pill-light .icon {
  color: var(--blue);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Check list */
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.check-list .icon {
  color: var(--blue);
  margin-top: 4px;
  width: 1.2em;
  height: 1.2em;
}

.section-dark .check-list li {
  color: rgba(255, 255, 255, 0.8);
}

/* Steps timeline */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all 0.25s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.step-no {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step .en-title {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* CTA band */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 72px 64px;
  background: var(--grad-deep);
  color: #fff;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 80%);
}

.cta-band h2 {
  position: relative;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-band .en-sub {
  position: relative;
  font-weight: 600;
  color: var(--blue-400);
  margin-bottom: 16px;
}

.cta-band p {
  position: relative;
  max-width: 640px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 76px;
  background:
    radial-gradient(900px 420px at 80% -20%, rgba(22, 131, 245, 0.16), transparent 60%),
    linear-gradient(180deg, #f2f7fd 0%, #fff 100%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(22, 131, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 131, 245, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(600px 380px at 75% 10%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 380px at 75% 10%, #000, transparent 75%);
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--ink-3);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 820px;
}

.page-hero .en-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.page-hero .lead + .lead {
  margin-top: -6px;
}

/* Dark page hero (product page) */
.page-hero-dark {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 96px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(6, 15, 31, 0.92) 0%, rgba(10, 27, 53, 0.82) 55%, rgba(10, 27, 53, 0.65) 100%),
    url("../images/port.jpg") center 38% / cover no-repeat;
}

.page-hero-dark .breadcrumb,
.page-hero-dark .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero-dark .breadcrumb a:hover {
  color: #fff;
}

.page-hero-dark h1 {
  color: #fff;
}

.page-hero-dark .en-sub {
  color: var(--blue-400);
}

.page-hero-dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 10px 20px 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.product-badge img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.product-badge .pb-name {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.product-badge .pb-sub {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* Phones strip */
.phones-strip {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 36px;
  padding: 72px 0 0;
}

.phones-strip .phone {
  width: 236px;
}

.phones-strip .phone:nth-child(1),
.phones-strip .phone:nth-child(3) {
  transform: translateY(26px) scale(0.94);
  opacity: 0.94;
}

/* Feature alternating blocks */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 64px 0;
}

.feature-block + .feature-block {
  border-top: 1px solid var(--line);
}

.feature-block.reverse .fb-text {
  order: 2;
}

.feature-block.reverse .fb-visual {
  order: 1;
}

.fb-no {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}

.feature-block h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.feature-block .en-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.feature-block p {
  color: var(--ink-2);
  margin-bottom: 18px;
}

.fb-visual {
  display: flex;
  justify-content: center;
}

.fb-visual .phone {
  width: 250px;
}

.fb-visual-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--grad-deep);
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.fb-visual-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.fb-visual-box .icon {
  width: 88px;
  height: 88px;
  opacity: 0.9;
  position: relative;
}

/* Note box */
.note-box {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-size: 0.9rem;
  color: var(--ink-2);
}

.note-box .icon {
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}

/* ---------- Article cards (insights) ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.28s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(22, 131, 245, 0.35);
}

.ac-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ac-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.ac-tag {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.article-card h3 a {
  color: var(--ink);
}

.article-card h3 a:hover {
  color: var(--blue);
}

.article-card p {
  font-size: 0.88rem;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 16px;
}

.ac-link {
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Article page ---------- */
.article-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.article-head {
  margin-bottom: 40px;
}

.article-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 14px;
}

.article-head .en-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-body {
  font-size: 1rem;
  color: var(--ink-2);
}

.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  line-height: 1.4;
}

.article-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin: 30px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul {
  list-style: none;
  margin: 0 0 18px;
}

.article-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.article-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.article-body ol li {
  margin-bottom: 10px;
  padding-left: 6px;
}

.article-body blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--blue);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  font-weight: 500;
}

.article-cta {
  margin-top: 56px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: var(--grad-deep);
  color: #fff;
}

.article-cta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.related h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.related ul li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.related ul li a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-2);
  font-size: 0.93rem;
}

.related ul li a:hover {
  color: var(--blue);
}

.related .date {
  color: var(--ink-3);
  font-size: 0.82rem;
  flex: none;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.contact-form .form-sub {
  font-size: 0.9rem;
  color: var(--ink-3);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-field label span {
  color: #e5484d;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: #fbfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 131, 245, 0.12);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 14px;
}

.contact-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.25s ease;
}

.contact-card:hover {
  border-color: rgba(22, 131, 245, 0.4);
  box-shadow: var(--shadow-sm);
}

.contact-card .cc-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
  flex: none;
}

.contact-card h3 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.contact-card .en-title {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  word-break: break-all;
}

.contact-card a {
  font-weight: 600;
}

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-a {
  padding: 0 26px 22px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* ---------- Tables (mission/vision) ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border-top: 4px solid var(--blue);
  transition: all 0.25s ease;
}

.mv-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.mv-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.mv-card .en-title {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* ---------- Legal page ---------- */
.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}

.legal-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 26px 0 10px;
}

.legal-body p,
.legal-body li {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.legal-body ul {
  list-style: none;
}

.legal-body ul li {
  position: relative;
  padding-left: 22px;
}

.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.legal-update {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 96px;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 56px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 18px;
}

.footer-brand .brand-text em {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.89rem;
}

.footer-col ul a:hover {
  color: var(--blue-400);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  align-items: flex-start;
}

.footer-contact .icon {
  color: var(--blue-400);
  margin-top: 4px;
  width: 1.1em;
  height: 1.1em;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact a:hover {
  color: var(--blue-400);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: var(--blue-400);
}

.footer-bottom .fb-links {
  display: flex;
  gap: 20px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-card {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--grad-deep);
  color: #fff;
  padding: 40px 20px;
}

.error-page .code {
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff 30%, var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.error-page h1 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.error-page p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav > a {
    padding: 9px 8px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 18px 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-left: 0;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden;
  }

  .main-nav > a {
    padding: 15px 6px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .main-nav > a.active::after {
    display: none;
  }

  .main-nav > a.active {
    color: var(--blue);
  }

  .main-nav > a.nav-product {
    margin: 14px 0;
    text-align: center;
    border-bottom: none;
  }

  .header-actions .lang-switch {
    display: inline-flex;
  }

  .hero-inner,
  .split,
  .feature-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-top: 10px;
  }

  .hero {
    padding-bottom: 72px;
  }

  .feature-block.reverse .fb-text {
    order: 1;
  }

  .feature-block.reverse .fb-visual {
    order: 2;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    padding: 0 22px;
  }

  .section {
    padding: 72px 0;
  }

  .grid-2,
  .grid-3,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .fc-1 {
    left: 0;
  }

  .fc-2 {
    right: 0;
  }

  .fc-3 {
    display: none;
  }

  .cta-band {
    padding: 56px 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .article-cta {
    padding: 32px 26px;
  }

  .phones-strip {
    gap: 18px;
    flex-wrap: wrap;
  }

  .phones-strip .phone:nth-child(3) {
    display: none;
  }
}

@media (max-width: 620px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0 44px;
  }

  .hero h1 {
    font-size: 1.72rem;
  }

  .phones-strip .phone:nth-child(1) {
    display: none;
  }

  .phones-strip .phone {
    width: 220px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
