/* ============================================
   北京君创跃达 — Global Stylesheet
   Design tokens, layout, components, responsive
   ============================================ */

/* ---------- Self-hosted fonts (offline-safe, works on Win/Mac/Linux) ---------- */
/* Latin: Inter */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Inter-800.woff2') format('woff2');
}
/* Chinese (Simplified): Noto Sans SC — subset to characters used on this site */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
  src: url('../fonts/NotoSansSC-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('../fonts/NotoSansSC-Bold.woff2') format('woff2');
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Heiti SC', 'WenQuanYi Micro Hei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Ambient aurora glow that drifts slowly behind everything */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(38% 42% at 12% 8%, rgba(37, 99, 235, 0.22), transparent 60%),
    radial-gradient(34% 38% at 88% 2%, rgba(124, 58, 237, 0.20), transparent 60%),
    radial-gradient(30% 34% at 78% 72%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(32% 36% at 22% 88%, rgba(99, 102, 241, 0.15), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  animation: auroraDrift 26s ease-in-out infinite alternate;
}

/* Fine dot grid for subtle texture, fading toward the edges */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.04); }
}

/* Floating 3D wireframe cubes (injected by JS) */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
}

.bg-cube {
  position: absolute;
  width: var(--size, 80px);
  height: var(--size, 80px);
  transform-style: preserve-3d;
  opacity: 0.45;
  translate: 0 0;
  animation:
    cubeFloat var(--dur, 22s) ease-in-out infinite alternate,
    cubeSpin calc(var(--dur, 22s) * 1.6) linear infinite;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
}

.bg-cube span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(96, 165, 250, 0.40);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(124, 58, 237, 0.05));
  box-shadow: inset 0 0 24px rgba(59, 130, 246, 0.10);
}

.bg-cube span:nth-child(1) { transform: rotateY(0deg)   translateZ(calc(var(--size, 80px) / 2)); }
.bg-cube span:nth-child(2) { transform: rotateY(90deg)  translateZ(calc(var(--size, 80px) / 2)); }
.bg-cube span:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--size, 80px) / 2)); }
.bg-cube span:nth-child(4) { transform: rotateY(270deg) translateZ(calc(var(--size, 80px) / 2)); }
.bg-cube span:nth-child(5) { transform: rotateX(90deg)  translateZ(calc(var(--size, 80px) / 2)); }
.bg-cube span:nth-child(6) { transform: rotateX(270deg) translateZ(calc(var(--size, 80px) / 2)); }

@keyframes cubeSpin {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes cubeFloat {
  from { translate: 0 18px; }
  to   { translate: 0 -32px; }
}

/* Floating glowing spheres (injected by JS) */
.bg-sphere {
  position: absolute;
  width: var(--size, 120px);
  height: var(--size, 120px);
  border-radius: 50%;
  translate: 0 0;
  animation: sphereFloat var(--dur, 20s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  background:
    radial-gradient(circle at 32% 28%,
      rgba(255, 255, 255, 0.45) 0%,
      var(--c1, rgba(96, 165, 250, 0.65)) 24%,
      var(--c2, rgba(147, 197, 253, 0.32)) 60%,
      transparent 73%);
  box-shadow:
    0 0 80px -6px var(--c1, rgba(96, 165, 250, 0.6)),
    inset -8px -12px 30px rgba(7, 11, 24, 0.45);
  opacity: 0.7;
  filter: blur(0.5px);
}

@keyframes sphereFloat {
  from { translate: 0 22px; }
  to   { translate: 0 -28px; }
}

@media (max-width: 720px) {
  /* thin out shapes on small screens for performance / clarity */
  .bg-shapes .is-mobile-hidden { display: none; }
  .bg-cube { opacity: 0.32; }
  .bg-sphere { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-shapes { display: none; }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Design tokens ---------- */
:root {
  --bg-primary: #070b18;
  --bg-section: #0b1228;
  --bg-card: #0f172e;
  --bg-card-hover: #131c38;
  --bg-nav: rgba(8, 13, 26, 0.72);
  --accent: #3b82f6;
  --accent-2: #7c3aed;
  --accent-hover: #2563eb;
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  --gradient-text: linear-gradient(120deg, #ffffff 0%, #bfdbfe 45%, #c4b5fd 100%);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(96, 165, 250, 0.45);
  --glow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 18px 40px -12px rgba(37, 99, 235, 0.45);
  --shadow-card: 0 20px 40px -24px rgba(0, 0, 0, 0.7);
  --radius-card: 16px;
  --radius-btn: 10px;
  --container: 1200px;
  --nav-height: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 104px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-section), rgba(11, 18, 40, 0.4));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title + .section-subtitle {
  margin-top: 18px;
}

.text-center {
  text-align: center;
}

/* Decorative gradient accent under section titles */
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: var(--gradient-accent);
}

/* ---------- Navbar ---------- */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo svg {
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.5));
  transition: transform var(--transition);
}
.nav__logo:hover svg {
  transform: rotate(-6deg) scale(1.05);
}
.nav__logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.navbar__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar__link {
  position: relative;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.navbar__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.navbar__link.is-active {
  color: var(--text-primary);
}

.navbar__link.is-active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.lang-toggle__sep {
  color: var(--border);
}

.lang-toggle__opt.is-active {
  color: var(--accent);
}

.navbar__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(59, 130, 246, 0.7);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(59, 130, 246, 0.85);
}

.btn--primary:hover::after {
  opacity: 1;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  color: #fff;
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background:
    radial-gradient(circle at 35% 40%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 70% 55%, rgba(124, 58, 237, 0.20) 0%, transparent 55%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: heroFloat 12s ease-in-out infinite alternate;
}

/* faint grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

@keyframes heroFloat {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to   { transform: translateX(-50%) translateY(-24px) scale(1.06); }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.08);
  color: #bfdbfe;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--small {
  padding: 90px 0 70px;
}

.hero--small .hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

/* ---------- Features (about / services preview) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px rgba(59, 130, 246, 0.7);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

/* gradient top accent that reveals on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--glow);
  background: var(--bg-card-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.card:hover .card__icon {
  background: var(--gradient-accent);
  color: #fff;
  transform: scale(1.06);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card__desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Two-column layout (services) ---------- */
.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.service-block__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-block__title-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
  text-transform: uppercase;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.service-item__bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.service-item__title {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-item__desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- CTA section ---------- */
.cta {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  margin-top: 64px;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(500px 300px at 80% 120%, rgba(124, 58, 237, 0.16), transparent 60%);
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta__sub {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color var(--transition), transform var(--transition);
}

.contact-info__row:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(59, 130, 246, 0.6);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info__value {
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.5;
  word-break: break-word;
}

.contact-info__value a:hover {
  color: var(--accent);
}

.map-placeholder {
  margin-top: 28px;
  height: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.map-placeholder__inner {
  text-align: center;
  z-index: 1;
}

.map-placeholder__inner svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  color: var(--accent);
  opacity: 0.7;
}

/* ---------- Forms ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form__label .req {
  color: var(--accent);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form__status {
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  display: none;
}

.form__status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form__status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-image {
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), transparent 60%);
  pointer-events: none;
}

.story-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 32px;
}

.team-photo {
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

.team-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-nav);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer__beian {
  display: inline-block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__beian:hover {
  color: var(--text-primary);
}

.footer__socials {
  display: flex;
  gap: 12px;
  list-style: none;
}

.footer__socials a {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.footer__socials a:hover {
  border-color: var(--border-hover);
  color: #fff;
  background: var(--gradient-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(59, 130, 246, 0.6);
}

.footer__socials svg {
  width: 16px;
  height: 16px;
}

/* ---------- Page heading (sub pages) ---------- */
.page-heading {
  padding: 80px 0 24px;
  text-align: center;
}

.page-heading__title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-heading__sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ---------- Stats bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(180deg, var(--bg-section), rgba(11, 18, 40, 0.5));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__item {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.stats__item:hover {
  background: rgba(59, 130, 246, 0.04);
}

.stats__item:last-child {
  border-right: none;
}

.stats__num {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats__label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Why choose us (3 items) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.why-item {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.why-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.why-item__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px -10px rgba(59, 130, 246, 0.7);
}

.why-item__icon svg {
  width: 26px;
  height: 26px;
}

.why-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-item__desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- Service cards (3x2 grid) ---------- */
.card-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Service flow (4 steps) ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  position: relative;
}

.flow__step {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.flow__step:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.flow__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 24px -10px rgba(59, 130, 246, 0.7);
}

.flow__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow__desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- Image placeholder (about page) ---------- */
.placeholder-img {
  aspect-ratio: 4 / 3;
  background: #16213d;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  gap: 12px;
}

.placeholder-img__icon {
  width: 56px;
  height: 56px;
  color: rgba(255, 255, 255, 0.18);
}

.placeholder-img--sm {
  aspect-ratio: 4 / 3;
  font-size: 0.88rem;
}

/* ---------- Scroll reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

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

/* small stagger when siblings reveal together */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero::before { animation: none; }
  .hero__badge::before { animation: none; }
  body::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid--3 {
    grid-template-columns: 1fr;
  }
  .card-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__item:nth-child(2) {
    border-right: none;
  }
  .stats__item:nth-child(1),
  .stats__item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section {
    padding: 80px 0;
  }
  .hero {
    padding: 100px 0 80px;
  }
  .service-block__title {
    font-size: 1.3rem;
  }
  .cta {
    padding: 44px 24px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 64px;
  }
  .navbar__inner {
    gap: 8px;
  }
  .navbar nav {
    display: contents;
  }
  .navbar__logo {
    font-size: 0.95rem;
  }
  .navbar__logo-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .lang-toggle {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
  .navbar__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-nav);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .navbar__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar__link {
    padding: 12px 8px;
    border-radius: 8px;
  }
  .navbar__link.is-active::after {
    display: none;
  }
  .navbar__link.is-active {
    background: rgba(59, 130, 246, 0.10);
    color: var(--accent);
  }
  .navbar__hamburger {
    display: flex;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-grid--6 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stats__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 16px;
  }
  .stats__item:last-child {
    border-bottom: none;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .form {
    padding: 24px;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .hero {
    padding: 72px 0 56px;
  }
  .hero__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.25;
    max-width: 100%;
  }
  .hero__subtitle,
  .hero__text {
    font-size: 0.98rem;
  }
  .section {
    padding: 64px 0;
  }
  .section-subtitle {
    margin-bottom: 36px;
  }
  .feature-row,
  .card-grid,
  .card-grid--3 {
    margin-top: 32px;
  }
  .service-block {
    padding: 24px;
  }
  .cta {
    margin-top: 40px;
    padding: 36px 22px;
  }
  .contact-info__row {
    gap: 12px;
  }
}
