:root {
  --bg: #060a12;
  --bg-soft: #0d1422;
  --line: rgba(150, 191, 255, 0.2);
  --text: #f2f6ff;
  --text-soft: #a6b7d2;
  --brand: #5b8cff;
  --brand-2: #39b2ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  background: radial-gradient(70rem 30rem at 10% -20%, rgba(91, 140, 255, 0.22), transparent 60%), var(--bg);
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.tech-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(114, 161, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 161, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  mask-image: radial-gradient(circle at 50% 35%, black 32%, transparent 80%);
  animation: gridDrift 16s linear infinite;
}

.scanline {
  position: fixed;
  inset: -120% 0 auto 0;
  height: 120%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 42%,
    rgba(80, 155, 255, 0.12) 50%,
    transparent 58%
  );
  animation: scanlineMove 8s linear infinite;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb--left {
  width: 320px; height: 320px;
  left: -120px; top: 140px;
  background: rgba(91, 140, 255, 0.34);
  animation: floatOrbLeft 12s ease-in-out infinite;
}

.bg-orb--right {
  width: 360px; height: 360px;
  right: -140px; top: 60px;
  background: rgba(57, 178, 255, 0.2);
  animation: floatOrbRight 14s ease-in-out infinite;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(6, 10, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-nav__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: env(safe-area-inset-top, 0);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-width: 0;
  flex: 1 1 auto;
}

.site-nav__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(7, 12, 22, 0.8);
  border: 1px solid rgba(130, 181, 255, 0.28);
  padding: 2px;
}

.site-nav__links {
  display: inline-flex;
  gap: 26px;
  color: var(--text-soft);
  font-size: 0.94rem;
  flex-wrap: wrap;
  row-gap: 8px;
}

.site-nav__links a:hover { color: var(--text); }

.site-nav__btn {
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f7fbff;
  border: 1px solid rgba(131, 180, 255, 0.54);
  background: linear-gradient(120deg, rgba(91, 140, 255, 0.28), rgba(57, 178, 255, 0.2));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-nav__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(171, 205, 255, 0.72);
  box-shadow: 0 10px 22px rgba(74, 132, 255, 0.24);
}

.site-nav__links a {
  padding: 6px 0;
  -webkit-tap-highlight-color: transparent;
}

main, .site-footer { position: relative; z-index: 1; }

.hero {
  padding: 72px 0 42px;
  position: relative;
  padding-bottom: calc(42px + env(safe-area-inset-bottom, 0));
}

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

.hero__particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(121, 173, 255, 0.7);
  box-shadow: 0 0 12px rgba(121, 173, 255, 0.8);
  animation: particleFloat var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: stretch;
}

.hero__left, .hero__right {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(14, 22, 38, 0.84), rgba(9, 14, 24, 0.72));
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}

.hero__left { padding: clamp(22px, 3vw, 36px); }

.hero__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: #8fa8c9;
}

.hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  background: linear-gradient(105deg, #f5f9ff 0%, #d8e7ff 55%, #8eb5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(1.06rem, 2vw, 1.36rem);
  color: #79a8ff;
  font-weight: 700;
}

.hero__desc {
  margin: 14px 0 0;
  max-width: 58ch;
  color: var(--text-soft);
  line-height: 1.82;
  font-size: 1rem;
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__status-bar {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero__status-bar .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: #60a5ff;
  box-shadow: 0 0 10px rgba(96, 165, 255, 0.9);
  animation: dotPulse 1.8s ease-in-out infinite;
}

.btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn--primary {
  color: #fff;
  border: 1px solid rgba(124, 173, 255, 0.55);
  background: linear-gradient(130deg, #4f7fff, #3ea9ff);
  box-shadow: 0 10px 26px rgba(79, 127, 255, 0.38);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(79, 127, 255, 0.46);
}

.btn--secondary {
  color: #deebff;
  border: 1px solid rgba(131, 181, 255, 0.35);
  background: rgba(13, 22, 38, 0.6);
  transition: border-color .25s ease, color .25s ease;
}

.btn--secondary:hover {
  border-color: rgba(157, 201, 255, 0.72);
  color: #f2f7ff;
}

.hero__right {
  padding: 18px;
}

.hero__right h2 {
  margin: 0 0 14px;
  font-size: 1.08rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid article {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(138, 184, 255, 0.2);
  background: rgba(16, 27, 46, 0.6);
  transition: transform .25s ease, border-color .25s ease;
}

.metric-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(171, 208, 255, 0.34);
}

.metric-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  color: #eef5ff;
}

.metric-grid span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.section {
  padding: 62px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(14, 21, 36, 0.32), rgba(8, 13, 23, 0.1));
  border-top: 1px solid rgba(144, 188, 255, 0.12);
  border-bottom: 1px solid rgba(144, 188, 255, 0.12);
}

.section__head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section__label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: #7ea1d0;
}

.section__head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.25;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(13, 22, 37, 0.64);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.capability-card:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 203, 255, 0.42);
  box-shadow: 0 14px 24px rgba(7, 15, 28, 0.46);
}

.capability-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.capability-card p {
  margin: 0;
  line-height: 1.72;
  color: var(--text-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(11, 18, 31, 0.62);
  transition: transform .28s ease, border-color .28s ease;
}

.timeline article:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 203, 255, 0.38);
}

.timeline h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.timeline p {
  margin: 0;
  line-height: 1.72;
  color: var(--text-soft);
}

.support-panel {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 18, 31, 0.62);
  padding: 18px;
  transition: border-color .25s ease, transform .25s ease;
}

.support-panel:hover {
  border-color: rgba(169, 204, 255, 0.44);
  transform: translateY(-2px);
}

.support-panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.76;
}

.support-panel__btn {
  margin-top: 14px;
}

.contact-panel {
  max-width: 700px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 18, 31, 0.62);
  overflow: hidden;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(144, 188, 255, 0.12);
  transition: background-color .25s ease;
}

.contact-row:hover {
  background: rgba(18, 28, 45, 0.5);
}

.contact-row:last-child { border-bottom: 0; }
.contact-row span { color: var(--text-soft); }
.contact-row strong,
.contact-row a { font-size: 1rem; color: #eaf1ff; font-weight: 700; }
.contact-row .muted { color: #bdd0ea; }

.site-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(144, 188, 255, 0.12);
  background: rgba(5, 8, 14, 0.86);
  text-align: center;
  padding: 22px 16px calc(28px + env(safe-area-inset-bottom, 0));
}

.site-footer p {
  margin: 6px 0;
  color: #8fa8c9;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(32px, 32px, 0); }
}

@keyframes scanlineMove {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

@keyframes floatOrbLeft {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(50px, -16px, 0) scale(1.08); }
}

@keyframes floatOrbRight {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-50px, 20px, 0) scale(1.1); }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .35; }
  50% { transform: translateY(-14px) scale(1.2); opacity: .95; }
}

@keyframes dotPulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 980px) {
  html {
    overflow-x: clip;
  }

  .container {
    width: min(1180px, calc(100% - 28px));
  }

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

  .capability-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .site-nav__inner {
    height: auto;
    min-height: 64px;
    padding: 10px 0;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 10px;
  }

  .site-nav__links {
    order: 3;
    width: 100%;
    gap: 12px 18px;
    justify-content: flex-start;
  }

  .site-nav__btn {
    margin-left: auto;
    flex-shrink: 0;
  }

  .hero__status-bar {
    flex-direction: column;
    gap: 6px;
  }

  .scanline {
    display: none;
  }

  .hero__left,
  .hero__right {
    border-radius: 18px;
  }

  .hero__left {
    padding: clamp(18px, 4vw, 28px);
  }

  .btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* iPad 竖屏：双列能力卡更易读 */
@media (min-width: 600px) and (max-width: 980px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* 手机窄屏 */
@media (max-width: 599px) {
  .container {
    width: calc(100% - 24px);
  }

  .site-nav__brand {
    font-size: clamp(0.78rem, 3.2vw, 0.92rem);
    line-height: 1.25;
  }

  .site-nav__logo {
    width: 26px;
    height: 26px;
  }

  .site-nav__links {
    font-size: 0.88rem;
    gap: 10px 14px;
  }

  .site-nav__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
  }

  .site-nav__btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    order: 4;
    min-height: 46px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .support-panel .btn {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 56px 0 32px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0));
  }

  .hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem);
  }

  .hero__eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.72rem;
  }

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

  .section {
    padding: 44px 0;
  }

  .section__head h2 {
    font-size: clamp(1.22rem, 5vw, 1.65rem);
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: auto;
  }

  .contact-row strong,
  .contact-row a {
    align-self: flex-start;
    word-break: break-all;
  }

  .tech-grid {
    animation-duration: 28s;
    opacity: 0.55;
  }

  .bg-orb--left,
  .bg-orb--right {
    opacity: 0.75;
  }
}

/* 手机 / 小平板横屏：压缩纵向留白 */
@media (max-height: 520px) and (max-width: 900px) {
  .hero {
    padding: 32px 0 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
  }

  .section {
    padding: 36px 0;
  }

  .site-nav__inner {
    min-height: 52px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

/* iPad 横屏：三列可保留，但收紧间距 */
@media (min-width: 981px) and (max-width: 1180px) {
  .container {
    width: min(1180px, calc(100% - 36px));
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 32vw);
    gap: 18px;
  }
}
