:root {
  color-scheme: light;
  --bg: #f5faff;
  --bg-soft: #eaf5ff;
  --panel: #ffffff;
  --panel-2: #f1f7fd;
  --line: rgba(21, 72, 112, 0.12);
  --line-strong: rgba(21, 72, 112, 0.2);
  --text: #102235;
  --muted: #5f7183;
  --faint: #8ba0b3;
  --accent: #0078d7;
  --accent-2: #0aa6b8;
  --accent-3: #17a56b;
  --shadow: 0 24px 80px rgba(35, 84, 125, 0.14);
  --radius: 8px;
  --max: 1240px;
  --pad-x: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 120, 215, 0.16), transparent 34%),
    radial-gradient(circle at 78% 6%, rgba(10, 166, 184, 0.14), transparent 32%),
    linear-gradient(180deg, #f8fcff 0%, #eef7ff 46%, #f9fbfd 100%);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 90, 160, 0.045) 0,
      rgba(0, 90, 160, 0.045) 1px,
      transparent 1px,
      transparent 96px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(0, 90, 160, 0.035) 0,
      rgba(0, 90, 160, 0.035) 1px,
      transparent 1px,
      transparent 96px
    );
  opacity: 0.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.section-inner {
  width: min(var(--max), calc(100% - var(--pad-x) * 2));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 252, 255, 0.88);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, #e4f6ff, #ffffff);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-copy strong {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  transition: color 0.18s ease;
}

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

.toolbar {
  display: flex;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-btn {
  min-width: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.lang-btn.is-active {
  background: linear-gradient(180deg, #dff3ff, #f6fbff);
  color: var(--accent);
}

.section {
  padding: 88px 0;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(235, 247, 255, 0.72), rgba(255, 255, 255, 0.74));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-slider {
  position: relative;
  min-height: 680px;
  height: calc(100vh - 69px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #dff4ff;
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
  transition:
    opacity 0.8s ease,
    transform 1.1s ease;
}

.home-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.home-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) brightness(1.06);
}

.home-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.94) 0%, rgba(244, 251, 255, 0.72) 38%, rgba(244, 251, 255, 0.14) 70%),
    linear-gradient(180deg, rgba(245, 250, 255, 0.1) 0%, rgba(226, 245, 255, 0.5) 100%);
}

.home-slide-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 64px 0 118px;
}

.home-copy {
  width: min(760px, 58vw);
  color: var(--text);
}

.home-copy .eyebrow {
  font-size: 20px;
  letter-spacing: 0.1em;
}

.home-copy .hero-title {
  max-width: 100%;
  font-size: 74px;
  line-height: 0.96;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
}

.home-copy .hero-lead {
  font-size: 18px;
}

.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.home-controls {
  position: absolute;
  z-index: 4;
  left: max(var(--pad-x), calc((100% - var(--max)) / 2));
  right: max(var(--pad-x), calc((100% - var(--max)) / 2));
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-dot {
  position: relative;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 120, 215, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(35, 84, 125, 0.08);
}

.home-dot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(0, 120, 215, 0.14);
}

.home-dot::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.home-dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.home-dot.is-active::after {
  animation: homeProgress 5.2s linear forwards;
}

.home-dot span,
.home-dot strong {
  position: relative;
  z-index: 1;
  display: block;
}

.home-dot span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-dot strong {
  margin-top: 4px;
  font-size: 15px;
}

@keyframes homeProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.hero {
  padding-top: 60px;
}

.hero-grid,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero-copy,
.copy-block {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 0;
  font-weight: 700;
  line-height: 1.06;
}

.hero-title {
  max-width: 13ch;
  font-size: 60px;
  white-space: pre-line;
}

.hero-lead,
.section-lead,
.section-body {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn-primary {
  background: linear-gradient(180deg, #008ae6, #006fc4);
  border-color: rgba(0, 120, 215, 0.35);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 120, 215, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line-strong);
  color: var(--text);
}

.hero-note {
  margin-top: 18px;
  color: var(--faint);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric-card {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(35, 84, 125, 0.08);
}

.metric-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
}

.hero-media,
.media-card {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media {
  min-height: 560px;
}

.hero-media img,
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) brightness(1.08);
}

.hero-media img {
  transform: scale(1.18);
  transform-origin: center top;
}

.hero-media::after,
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(255, 255, 255, 0.2) 100%);
  pointer-events: none;
}

.hero-media figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.media-card figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(0, 120, 215, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.section-title {
  font-size: 52px;
}

.feature-grid,
.tier-grid,
.scene-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.scene-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.products-layout {
  align-items: start;
}

.product-service-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.product-service-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 45px rgba(35, 84, 125, 0.08);
}

.matrix-label {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.product-service-item {
  min-height: 102px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(0, 120, 215, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 255, 0.96));
}

.product-service-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.25;
}

.product-service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.products-media-stack {
  display: grid;
  gap: 14px;
}

.products-media-item {
  margin: 0;
  overflow: hidden;
}

.products-media-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  filter: saturate(1.04) brightness(1.05);
}

.products-media-item:first-child img {
  min-height: 310px;
}

.products-media-item:last-child img {
  min-height: 290px;
}

.showcase-gallery {
  display: grid;
  gap: 14px;
}

.showcase-frame,
.showcase-banner {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(35, 84, 125, 0.08);
}

.showcase-frame img,
.showcase-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-frame-large {
  aspect-ratio: 16 / 9;
}

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

.showcase-grid .showcase-frame {
  aspect-ratio: 16 / 10;
}

.showcase-panel {
  display: grid;
  gap: 14px;
}

.showcase-banner {
  aspect-ratio: 16 / 10;
}

.showcase-cards {
  display: grid;
  gap: 12px;
}

.showcase-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 36px rgba(35, 84, 125, 0.06);
}

.showcase-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

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

.feature-card,
.tier-card,
.scene-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 255, 0.9));
  box-shadow: 0 16px 45px rgba(35, 84, 125, 0.08);
}

.feature-card {
  min-height: 180px;
}

.feature-card span,
.tier-card .label,
.scene-card .tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3,
.tier-card h3,
.scene-card h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.tier-card p,
.scene-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tier-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scene-card {
  min-height: 160px;
}

.scene-card .tag {
  color: var(--accent-2);
}

.bullet-list,
.point-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li,
.point-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 14px;
}

.contact-details {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 22px 0;
}

.contact-detail-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(41, 106, 150, 0.08);
}

.contact-detail-item span {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.contact-detail-item strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.contact-panel label {
  display: grid;
  gap: 8px;
}

.contact-panel label span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 251, 255, 0.92);
  color: var(--text);
}

.contact-panel input::placeholder,
.contact-panel textarea::placeholder {
  color: var(--faint);
}

.contact-panel input:focus,
.contact-panel textarea:focus {
  outline: 1px solid rgba(0, 120, 215, 0.45);
  border-color: rgba(0, 120, 215, 0.42);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-3);
  font-size: 14px;
}

.admin-link {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner a {
  color: var(--text);
}

.footer-inner .icp-link {
  color: var(--muted);
}

.footer-inner .icp-link:hover {
  color: var(--accent);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-count {
  color: var(--muted);
  font-size: 13px;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.admin-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(235, 247, 255, 0.82);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

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

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

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .toolbar {
    justify-content: flex-start;
  }

  .home-slider {
    height: auto;
    min-height: 720px;
  }

  .home-copy {
    width: min(700px, 74vw);
  }

  .home-copy .hero-title {
    font-size: 62px;
  }

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

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

  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 460px;
  }

  .feature-grid,
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-grid,
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  :root {
    --pad-x: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .brand {
    gap: 12px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .home-slider {
    min-height: 760px;
  }

  .home-bg {
    object-position: 58% center;
  }

  .home-shade {
    background:
      linear-gradient(180deg, rgba(244, 251, 255, 0.96) 0%, rgba(244, 251, 255, 0.72) 52%, rgba(244, 251, 255, 0.18) 100%),
      linear-gradient(90deg, rgba(244, 251, 255, 0.84), rgba(244, 251, 255, 0.18));
  }

  .home-slide-inner {
    align-items: flex-start;
    padding: 72px 0 160px;
  }

  .home-copy {
    width: 100%;
  }

  .home-copy .hero-title {
    font-size: 44px;
  }

  .home-copy .eyebrow {
    font-size: 16px;
  }

  .home-controls {
    grid-template-columns: 1fr;
    bottom: 18px;
    gap: 8px;
  }

  .home-dot {
    min-height: 48px;
    padding: 9px 12px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-title {
    max-width: 100%;
    font-size: 40px;
  }

  .section-title {
    font-size: 36px;
  }

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

  .metric-card strong {
    font-size: 24px;
  }

  .showcase-card h3,
  .feature-card h3,
  .tier-card h3,
  .scene-card h3 {
    font-size: 18px;
  }

  .showcase-card p,
  .feature-card p,
  .tier-card p,
  .scene-card p {
    font-size: 14px;
  }

  .metric-card span,
  .feature-card span,
  .tier-card .label,
  .scene-card .tag,
  .bullet-list li,
  .point-row span {
    font-size: 13px;
  }

  .contact-detail-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-detail-item strong {
    font-size: 16px;
  }

  .hero-media {
    min-height: 330px;
  }

  .feature-grid,
  .tier-grid,
  .scene-grid,
  .metric-row,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

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