:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe3ef;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --primary: #5b6efb;
  --primary-deep: #2937b7;
  --cyan: #17b6cf;
  --green: #21b57b;
  --dark: #09111f;
  --dark-2: #111b2d;
  --shadow: 0 18px 54px rgba(26, 38, 79, 0.14);
  --radius: 8px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 20px;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-weight: 500;
  color: currentColor;
}

.desktop-nav a {
  position: relative;
  color: currentColor;
  opacity: 0.88;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-action {
  padding: 10px 18px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(91, 110, 251, 0.3);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 76px;
  right: 16px;
  left: 16px;
  z-index: 29;
  display: none;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-menu.is-open {
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  padding: 12px 14px;
  color: var(--ink);
  border-radius: 6px;
  font-weight: 600;
}

.mobile-menu a:hover {
  background: var(--soft);
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-dark {
  color: #ffffff;
  background: var(--dark);
}

.section-muted {
  background: var(--soft);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
}

.section-heading p {
  max-width: 660px;
  color: var(--muted);
}

.section-dark .section-heading p,
.section-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.centered {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.centered p {
  margin-right: auto;
  margin-left: auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.two-column.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.sticky-heading {
  position: sticky;
  top: 110px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding: 0;
}

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

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 14, 29, 0.95) 0%, rgba(7, 14, 29, 0.78) 42%, rgba(7, 14, 29, 0.3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92vh;
  padding-top: 92px;
  padding-bottom: 48px;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 32px;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 16px 34px rgba(23, 182, 207, 0.26);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-title {
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-highlight {
  background: linear-gradient(120deg, #7c8cff 0%, var(--cyan) 60%, #6ff0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 680px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-tags li {
  position: relative;
  padding: 10px 18px 10px 34px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-tags li::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 8px;
  height: 8px;
  content: "";
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 50%;
  transform: translateY(-50%);
}

.about-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-panel > img {
  height: 320px;
  object-fit: cover;
}

.about-content {
  padding: clamp(26px, 4vw, 44px);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.value-grid div {
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.value-grid span,
.card-index,
.service-stack article span,
.flow-step span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.value-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.value-grid p,
.business-card p,
.service-stack p,
.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.business-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

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

.business-card {
  min-height: 390px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(18, 27, 53, 0.07);
}

.business-card.highlight-card {
  color: #ffffff;
  background: linear-gradient(150deg, var(--primary-deep), var(--primary) 56%, var(--cyan));
  border-color: transparent;
}

.business-card.highlight-card p,
.business-card.highlight-card li,
.business-card.highlight-card .card-index {
  color: rgba(255, 255, 255, 0.82);
}

.business-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.business-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

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

.solution-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-visual img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.floating-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 310px;
  padding: 18px;
  color: #ffffff;
  background: rgba(9, 17, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.solution-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.solution-list div {
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-list strong,
.solution-list span {
  display: block;
}

.solution-list span {
  margin-top: 6px;
  color: var(--muted);
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.flow-step {
  position: relative;
  min-height: 246px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-step::after {
  position: absolute;
  top: 34px;
  right: -11px;
  z-index: 2;
  width: 20px;
  height: 20px;
  content: "";
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.flow-step:last-child::after {
  display: none;
}

.data-wheel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: clamp(26px, 4vw, 38px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--dark-2), #17223a);
  border-radius: 8px;
}

.data-wheel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.wheel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wheel-tags span {
  padding: 10px 14px;
  color: #ddfbff;
  background: rgba(23, 182, 207, 0.12);
  border: 1px solid rgba(23, 182, 207, 0.34);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.service-stack {
  display: grid;
  gap: 16px;
}

.service-stack article {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 27, 53, 0.06);
}

.console-section {
  padding: 86px 0;
  overflow: hidden;
}

.console-stack {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.console-head {
  margin-bottom: 0;
}

.console-figure {
  margin: 0;
}

.console-figure img {
  width: 100%;
  height: auto;
  background: #ffffff;
  padding: clamp(14px, 2.6vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.console-figure figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  text-align: center;
}

.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 110, 251, 0.12);
}

.contact-form .btn {
  width: 100%;
}

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

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-action {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .business-grid,
  .platform-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step::after {
    display: none;
  }

  .business-card {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 66px 0;
  }

  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .two-column,
  .two-column.reverse,
  .data-wheel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    min-height: 760px;
    justify-content: flex-end;
    padding-bottom: 38px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 14, 29, 0.42) 0%, rgba(7, 14, 29, 0.94) 62%);
  }

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

  .about-panel > img {
    height: 230px;
  }

  .business-grid,
  .platform-flow {
    grid-template-columns: 1fr;
  }

  .solution-visual,
  .solution-visual img {
    min-height: 340px;
  }

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

@media (max-width: 560px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
  }

  .brand {
    min-width: auto;
  }

  .brand-text {
    font-size: 18px;
  }

  .mobile-menu {
    top: 68px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .business-card,
  .flow-step,
  .service-stack article,
  .contact-panel {
    padding: 22px;
  }

  .centered {
    text-align: left;
  }

  .floating-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
}

/* Accessibility: skip link */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 60;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 8px;
  font-weight: 700;
  transform: translate(-50%, -160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 3px solid rgba(255, 255, 255, 0.6);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(91, 110, 251, 0.55);
  outline-offset: 2px;
}

/* Active navigation state */
.desktop-nav a.is-active {
  opacity: 1;
}

.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.mobile-menu a.is-active {
  color: var(--primary);
  background: var(--soft);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

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

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(23, 182, 207, 0.32);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* Form validation feedback */
.contact-form .field-error {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.12);
}

.form-note.is-error {
  color: #e5484d;
}

.form-note.is-success {
  color: var(--green);
}

@media (max-width: 560px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .back-to-top,
  .btn,
  .skip-link {
    transition: none;
  }
}
