/* ============================================================
   STARFINITY 首页专属样式
   ============================================================ */

/* --- Site Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: background-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--logo-blue) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
  transition: transform var(--dur-fast) var(--ease-spring);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

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

.brand-axis {
  align-items: center;
  text-align: center;
  gap: 2px;
}

.brand-axis .brand-cn {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.brand-axis .brand-en {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
}

.brand-cn {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text-primary);
}

.brand-en {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.main-nav a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--r-full);
  transition: color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand-blue);
  background: rgba(0,43,147,.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.lang-switcher {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: var(--r-full);
  padding: 3px;
  background: rgba(255,255,255,.6);
}

.lang-switcher button {
  padding: .3125rem .75rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-tertiary);
  border-radius: var(--r-full);
  transition: all var(--dur-fast) var(--ease-out);
}

.lang-switcher button.active {
  color: #fff;
  background: var(--brand-blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  background: #fff;
  place-items: center;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}

.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .bar::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    padding: var(--sp-6) var(--gutter) var(--sp-8);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur-med) var(--ease-out),
                opacity var(--dur-med) var(--ease-out);
    border-bottom: 1px solid var(--line-light);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
  }

  .main-nav a {
    padding: var(--sp-4);
    font-size: 1rem;
    border-radius: var(--r-md);
  }

  .header-actions .btn-header {
    display: none;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--brand-blue-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease-out) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,22,51,.72) 0%, rgba(10,22,51,.55) 40%, rgba(10,22,51,.92) 100%),
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0,82,204,.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 75%, rgba(28,127,188,.22) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--sp-16);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .5rem 1.125rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(148,189,233,.4);
  background: rgba(148,189,233,.1);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--smart-blue);
  backdrop-filter: blur(6px);
  margin-bottom: var(--sp-6);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--smart-blue);
  box-shadow: 0 0 0 4px rgba(148,189,233,.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(148,189,233,.25); }
  50% { box-shadow: 0 0 0 8px rgba(148,189,233,.08); }
}

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  max-width: 14ch;
}

.hero h1 .gradient {
  background: linear-gradient(100deg, #fff 20%, var(--smart-blue) 55%, #fff 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  0% { background-position: 180% 0; }
  100% { background-position: -20% 0; }
}

.hero-desc {
  margin-top: var(--sp-6);
  max-width: 42rem;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.8;
  color: var(--text-inverse-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 40rem;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stat .value {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff, var(--smart-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat .label {
  margin-top: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--text-inverse-dim);
  letter-spacing: .04em;
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--text-inverse-dim);
  text-transform: uppercase;
}

.hero-scroll .mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--r-full);
  position: relative;
}

.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--smart-blue);
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}

/* --- Marquee band --- */
.marquee {
  position: relative;
  background: var(--brand-blue);
  color: #fff;
  overflow: hidden;
  padding-block: var(--sp-5);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--brand-blue), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--brand-blue), transparent); }

.marquee-track li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  padding-inline: var(--sp-6);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  color: rgba(255,255,255,.88);
}

.marquee-track li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--smart-blue);
  flex-shrink: 0;
}

/* --- About --- */
.about-section {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  gap: var(--sp-10);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }
}

.about-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform var(--dur-slow) var(--ease-out);
}

.about-visual:hover img {
  transform: scale(1.04);
}

.about-visual .caption {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: rgba(10,22,51,.78);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.14);
}

.about-copy p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
  line-height: 1.85;
}

.core-values {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.core-value {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: var(--bg-light);
  transition: all var(--dur-med) var(--ease-out);
}

.core-value:hover {
  border-color: rgba(0,43,147,.2);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.core-value .v-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand-blue), var(--logo-blue));
  color: #fff;
  flex-shrink: 0;
}

.core-value .v-icon svg {
  width: 20px;
  height: 20px;
}

.core-value .v-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-blue-mid);
}

.core-value .v-text {
  margin-top: var(--sp-1);
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Capabilities --- */
.capabilities-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.capability-card {
  position: relative;
  overflow: hidden;
}

.capability-card .tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--r-full);
  background: rgba(0,43,147,.08);
  color: var(--brand-blue);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: var(--sp-4);
}

.capability-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--sp-3);
}

.capability-card p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.capability-card .card-index {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-6);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--line-light);
  transition: color var(--dur-fast) var(--ease-out);
}

.capability-card:hover .card-index {
  color: var(--smart-blue);
}

/* --- Data band --- */
.data-band {
  position: relative;
  background: var(--brand-blue-deep);
  overflow: hidden;
  color: #fff;
}

.data-band .pattern-grid {
  opacity: .6;
}

.data-band-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8) var(--sp-6);
}

@media (min-width: 900px) {
  .data-band-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.data-item .num {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 20%, var(--smart-blue) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.data-item .lbl {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-inverse-dim);
}

.data-band .band-caption {
  position: relative;
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-inverse-dim);
}

/* --- Industries --- */
.industries-section {
  background: var(--bg-white);
}

.industry-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.industry-card .bg {
  position: absolute;
  inset: 0;
}

.industry-card .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.industry-card:hover .bg img {
  transform: scale(1.06);
}

.industry-card .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,51,.12) 0%, rgba(10,22,51,.82) 78%, rgba(10,22,51,.95) 100%);
}

.industry-card .content {
  position: relative;
  z-index: 2;
  padding: var(--sp-6);
  width: 100%;
}

.industry-card .num {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: var(--tracking-wider);
  color: var(--smart-blue);
}

.industry-card h3 {
  margin-top: var(--sp-2);
  font-size: var(--fs-h3);
}

.industry-card .en-name {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-inverse-dim);
  letter-spacing: .04em;
  margin-top: var(--sp-1);
}

.industry-card p {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(255,255,255,.82);
}

.industry-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.industry-card .tags span {
  padding: .3125rem .75rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-size: var(--fs-xs);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* --- Products --- */
.products-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.product-card .p-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand-blue), var(--logo-blue));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.product-card .p-icon svg {
  width: 26px;
  height: 26px;
}

.product-card h3 {
  font-size: var(--fs-h4);
}

.product-card > p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
  flex-grow: 1;
}

.product-card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.product-card .specs li {
  padding: .3125rem .6875rem;
  border-radius: var(--r-full);
  background: rgba(0,43,147,.07);
  color: var(--brand-blue);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.products-section .section-foot {
  margin-top: var(--sp-8);
  text-align: center;
}

/* --- Clients --- */
.clients-section {
  background: var(--bg-white);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

@media (min-width: 640px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .client-grid { grid-template-columns: repeat(5, 1fr); }
}

.client-logo {
  display: grid;
  place-items: center;
  padding: var(--sp-6) var(--sp-4);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: var(--bg-white);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: .02em;
  color: var(--text-tertiary);
  min-height: 96px;
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.client-logo:hover {
  border-color: rgba(0,43,147,.25);
  color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.client-logo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--smart-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

.client-logo:hover::after {
  transform: scaleX(1);
}

/* --- Global band --- */
.global-band {
  position: relative;
  background: var(--brand-blue-deep);
  color: #fff;
  overflow: hidden;
}

.global-band .pattern-grid {
  opacity: .5;
}

.global-band-grid {
  position: relative;
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 900px) {
  .global-band-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.global-map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  min-height: 340px;
  display: grid;
  place-items: center;
}

.global-map svg {
  width: 100%;
  height: auto;
}

.global-locations {
  display: grid;
  gap: var(--sp-4);
}

.location-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  transition: all var(--dur-med) var(--ease-out);
}

.location-row:hover {
  background: rgba(148,189,233,.1);
  border-color: rgba(148,189,233,.35);
  transform: translateX(6px);
}

.location-row .l-pin {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(148,189,233,.14);
  color: var(--smart-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-row .l-pin svg {
  width: 18px;
  height: 18px;
}

.location-row .l-name {
  font-weight: 700;
  font-size: var(--fs-sm);
}

.location-row .l-role {
  font-size: var(--fs-xs);
  color: var(--smart-blue);
  font-weight: 600;
  letter-spacing: .04em;
  margin-top: 2px;
}

.location-row .l-desc {
  font-size: var(--fs-xs);
  color: var(--text-inverse-dim);
  margin-top: var(--sp-1);
  line-height: 1.6;
}

.global-band .section-foot {
  position: relative;
  margin-top: var(--sp-8);
  text-align: center;
}

/* --- Timeline --- */
.timeline-section {
  background: var(--bg-light);
  overflow: hidden;
}

.timeline {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
  padding-left: var(--sp-6);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-blue), var(--smart-blue));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--sp-8);
  padding-left: var(--sp-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0,43,147,.12);
}

.timeline-item .year {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: var(--tracking-wider);
  color: var(--brand-blue-mid);
}

.timeline-item .desc {
  margin-top: var(--sp-2);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.75;
  max-width: 42rem;
}

/* --- CTA --- */
.cta-section {
  position: relative;
  background: var(--brand-blue);
  color: #fff;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 80% 20%, rgba(148,189,233,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(28,127,188,.25) 0%, transparent 55%);
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

.cta-content h2 {
  font-size: var(--fs-h1);
  font-weight: 800;
}

.cta-content p {
  margin-top: var(--sp-5);
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* --- Footer --- */
.site-footer {
  background: var(--brand-blue-deep);
  color: #fff;
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-8);
}

.footer-grid {
  display: grid;
  gap: var(--sp-8);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand .brand-tagline {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  color: var(--smart-blue);
}

.footer-brand p {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--text-inverse-dim);
  max-width: 22rem;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: var(--sp-5);
  color: #fff;
}

.footer-col ul {
  display: grid;
  gap: var(--sp-3);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: var(--text-inverse-dim);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--smart-blue);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-inverse-dim);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--smart-blue);
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-inverse-dim);
}

/* --- Nav on dark hero (transparent state) --- */
.site-header:not(.is-scrolled) .brand-cn {
  color: #fff;
}

.site-header:not(.is-scrolled) .brand-en {
  color: rgba(255,255,255,.6);
}

.site-header:not(.is-scrolled) .main-nav a {
  color: rgba(255,255,255,.78);
}

.site-header:not(.is-scrolled) .main-nav a:hover,
.site-header:not(.is-scrolled) .main-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.site-header:not(.is-scrolled) .lang-switcher {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}

.site-header:not(.is-scrolled) .lang-switcher button {
  color: rgba(255,255,255,.65);
}

.site-header:not(.is-scrolled) .lang-switcher button.active {
  color: var(--brand-blue);
  background: #fff;
}
