:root {
  color-scheme: light;
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-soft: #eaf2ff;
  --text: #0c1b33;
  --muted: #5c6679;
  --primary: #1677ff;
  --primary-dark: #0a4fd0;
  --primary-deep: #0b3f9e;
  --accent: #5aa2ff;
  --border: #e2e9f6;
  --shadow: 0 24px 60px rgba(22, 119, 255, 0.14);
  --shadow-sm: 0 10px 28px rgba(22, 119, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: right 0.25s ease;
}

.nav-links a:hover::after {
  right: 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links .nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.3);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 56px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  padding: 90px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: 6%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.45), transparent 70%);
}

.orb-2 {
  width: 340px;
  height: 340px;
  bottom: -120px;
  left: -40px;
  background: radial-gradient(circle, rgba(90, 162, 255, 0.35), transparent 70%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(22, 119, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}

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

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--primary);
}

.hero-content h1 {
  margin: 18px 0 20px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: -2.5px;
}

.hero-text {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.32);
}

.button.secondary {
  background: var(--surface);
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  box-shadow: 0 16px 34px rgba(22, 119, 255, 0.4);
}

/* Hero visual — stylized device */
.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 420px;
}

.device {
  position: absolute;
  width: 250px;
  height: 380px;
  border-radius: 38px;
  border: 2px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.device-back {
  transform: rotate(8deg);
  background: linear-gradient(160deg, #dfeaff, #eaf2ff);
}

.device-front {
  padding: 46px 20px 20px;
  transform: rotate(-4deg);
}

.device-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.device-top .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.device-top .dash {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--surface-soft);
}

.cards {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.08);
}

.c1 {
  transform: translateX(-10px);
}

.c2 {
  background: #fff;
  border: 1px solid var(--border);
  transform: translateX(10px);
}

.c3 {
  transform: translateX(-4px);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(22, 119, 255, 0.25);
}

.r1 {
  width: 420px;
  height: 420px;
  animation: spin 30s linear infinite;
}

.r2 {
  width: 300px;
  height: 300px;
  border: 1.5px dashed rgba(22, 119, 255, 0.18);
  animation: spin 22s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Stats ---------- */
.stats-section {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  padding: 46px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.stat strong {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

/* ---------- Sections ---------- */
.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 58px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.section-sub {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fbfdff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(22, 119, 255, 0.14);
  border-color: var(--accent);
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 6px;
  border-radius: 15px;
  background: var(--surface-soft);
  font-size: 26px;
}

.service-card h3 {
  margin: 0;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.card-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 600;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.cap-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(150deg, #fbfdff, #eef4ff);
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.cap-item:hover {
  transform: translateY(-4px);
}

.cap-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
  opacity: 0.75;
}

.cap-item h3 {
  margin: 6px 0 0;
  font-size: 20px;
}

.cap-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Process */
.process-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.step {
  flex: 1;
  text-align: center;
}

.step-dot {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.3);
}

.step h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-line {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* About */
.split {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
}

.about-left h2 {
  margin-bottom: 22px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 15px;
}

.about-right p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.about-right p:last-child {
  margin-bottom: 0;
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border: none;
  color: #fff;
  text-align: center;
}

.cta-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 162, 255, 0.5), transparent 70%);
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
}

.cta-band p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

.cta-band .button.primary {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  margin-bottom: 64px;
}

.contact-left h2 {
  margin-bottom: 14px;
}

.contact-left > p:not(.section-label) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  max-width: 360px;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.18s ease, color 0.18s ease;
}

.chip:hover {
  background: var(--primary);
  color: #fff;
}

address {
  display: grid;
  gap: 14px;
  margin: 0;
  color: var(--text);
  font-style: normal;
}

.info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-soft);
  border-left: 3px solid var(--primary);
}

.info-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-dark);
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding: 18px 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 0;
    min-height: auto;
  }

  .hero-visual {
    height: 360px;
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .section {
    padding: 36px;
  }

  .process-steps {
    flex-direction: column;
  }

  .step-line {
    width: 2px;
    height: 30px;
    flex: none;
    background: linear-gradient(180deg, var(--accent), var(--primary));
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .section {
    width: min(100% - 28px, 1120px);
  }

  .hero-content h1 {
    letter-spacing: -1px;
  }

  .service-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 20px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-visual {
    height: 320px;
  }

  .device {
    width: 220px;
    height: 340px;
  }

  .section,
  .service-card {
    padding: 24px;
    border-radius: 22px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
