:root {
  --ink-950: #050a14;
  --ink-900: #081120;
  --ink-800: #0e1d33;
  --ink-700: #14304d;
  --blue-700: #1f5fc8;
  --blue-600: #2f7df6;
  --blue-500: #58a6ff;
  --cyan-400: #39d5ff;
  --teal-500: #34d8cf;
  --green-500: #39c88f;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --mist-2: #e9eff6;
  --line: #d7e1ee;
  --text: #172033;
  --muted: #657386;
  --soft: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(8, 18, 35, 0.16);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--text);
  background: var(--mist);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

button,
a {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-950);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 17, 31, 0.64);
  backdrop-filter: blur(18px);
  transition:
    background 200ms ease,
    box-shadow 200ms ease;
}

.site-header.scrolled {
  background: rgba(7, 17, 31, 0.92);
  box-shadow: 0 12px 32px rgba(3, 10, 22, 0.28);
}

.nav-shell {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #030913;
  border: 1px solid rgba(88, 166, 255, 0.3);
  box-shadow: 0 10px 28px rgba(47, 125, 246, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  color: var(--paper);
}

.brand-text strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  padding: 10px 13px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 10px 24px rgba(47, 125, 246, 0.3);
}

.nav-menu .nav-cta:hover {
  background: var(--blue-500);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--paper);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 22%, rgba(57, 213, 255, 0.2), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(47, 125, 246, 0.24), transparent 28%),
    linear-gradient(125deg, #050a14 0%, #081120 48%, #0d1f39 100%);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.66;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.95) 0%, rgba(7, 17, 31, 0.75) 36%, rgba(7, 17, 31, 0.16) 75%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.86) 0%, transparent 34%);
}

.hero-content {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 132px 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan-400);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 14px 30px rgba(47, 125, 246, 0.34);
}

.button-primary:hover {
  background: var(--blue-500);
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  max-width: 760px;
  margin-top: 52px;
}

.hero-stats div {
  width: 180px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 18px;
}

.hero-stats dt {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.trust-strip {
  width: var(--container);
  margin: -56px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.strip-item {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item span {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
}

.strip-item strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--mist);
}

.section-deep {
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 20%, rgba(57, 213, 255, 0.16), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(52, 216, 207, 0.14), transparent 24%),
    var(--ink-900);
}

.section-grid,
.section-heading,
.values-grid,
.service-grid,
.solution-layout,
.case-grid,
.tech-grid,
.contact-shell,
.footer-main,
.footer-bottom {
  width: var(--container);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading.centered {
  max-width: 760px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.about-copy,
.split-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.section-deep .section-heading h2,
.section-deep .service-card h3,
.section-deep .tech-item strong {
  color: var(--paper);
}

.section-deep .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.about-copy p {
  margin: 0 0 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.value-card,
.service-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px;
  box-shadow: 0 18px 44px rgba(16, 36, 64, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.value-card:hover,
.service-card:hover,
.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 24px 54px rgba(16, 36, 64, 0.14);
}

.card-index,
.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border-radius: 999px;
  color: var(--blue-700);
  background: #e7f0ff;
  font-size: 12px;
  font-weight: 900;
}

.value-card h3,
.service-card h3,
.case-card h3 {
  margin: 18px 0 10px;
  color: var(--ink-950);
  font-size: 21px;
}

.value-card p,
.service-card p,
.case-card p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.service-card p,
.service-card li {
  color: rgba(255, 255, 255, 0.7);
}

.service-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan-400);
}

.solution-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.solution-tabs {
  display: grid;
  gap: 12px;
}

.solution-tab {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.solution-tab:hover,
.solution-tab.active {
  color: var(--paper);
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.solution-panel {
  display: none;
  min-height: 304px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96)),
    var(--paper);
  padding: 42px;
  box-shadow: var(--shadow);
}

.solution-panel.active {
  display: block;
}

.solution-panel h3 {
  margin: 0 0 16px;
  color: var(--ink-950);
  font-size: 30px;
}

.solution-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.panel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.panel-list span {
  border: 1px solid #c9d9ee;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue-700);
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 580px);
  gap: 0;
  padding: 0;
  background: var(--paper);
}

.split-visual {
  min-height: 640px;
  background: var(--ink-900);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  align-self: center;
  padding: 72px min(7vw, 86px);
}

.timeline {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
}

.timeline-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--ink-900);
  font-size: 13px;
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0 0 4px;
  color: var(--ink-950);
}

.timeline-item p {
  margin: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card {
  min-height: 190px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.tech-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
}

.tech-item strong {
  font-size: 18px;
}

.tech-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.section-contact {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.94), rgba(17, 34, 56, 0.9)),
    url("assets/hero-cloud-platform.png") center / cover;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 48px;
  align-items: start;
}

.contact-copy h2 {
  color: var(--paper);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-details {
  margin-top: 34px;
}

.contact-details p {
  margin: 10px 0;
}

.contact-details a {
  color: var(--cyan-400);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  padding: 28px;
  backdrop-filter: blur(16px);
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 17, 31, 0.5);
  padding: 20px;
}

.contact-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 26px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
}

.contact-card h3 {
  margin: 14px 0 6px;
  color: var(--paper);
  font-size: 20px;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #050c17;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  padding: 44px 0 28px;
}

.footer-brand .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-main p {
  max-width: 520px;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-side {
  display: grid;
  justify-items: end;
  gap: 22px;
}

.footer-qrcode {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.footer-qrcode img {
  width: 126px;
  height: 126px;
  border: 8px solid var(--paper);
  border-radius: var(--radius);
  background: var(--paper);
}

.footer-links a,
.footer-bottom a {
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 26px;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .values-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .split-visual {
    min-height: 440px;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 28px, 760px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(7, 17, 31, 0.98);
    padding: 12px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 14px;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 120px 0 92px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 58px);
  }

  .hero-lead {
    font-size: 16px;
  }

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

  .strip-item {
    border-bottom: 1px solid var(--line);
  }

  .section-grid,
  .solution-layout,
  .contact-shell,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer-side {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .brand-text small {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .hero-content {
    padding-top: 108px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats div {
    width: calc(50% - 7px);
  }

  .trust-strip,
  .values-grid,
  .service-grid,
  .solution-tabs,
  .case-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-right: 0;
  }

  .solution-panel,
  .split-copy,
  .contact-panel {
    padding: 26px;
  }

  .split-visual {
    min-height: 300px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
