:root {
  color-scheme: dark;
  --bg: #070a0f;
  --bg-soft: #0b1018;
  --panel: #111824;
  --panel-2: #151f2d;
  --text: #f4f7fb;
  --muted: #9da8b8;
  --line: rgba(157, 168, 184, 0.18);
  --cyan: #23d6c8;
  --blue: #357ef5;
  --gold: #f5b84b;
  --green: #2dd47a;
  --danger: #ff6a3d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(35, 214, 200, 0.14), transparent 28rem),
    linear-gradient(180deg, #070a0f 0%, #0a0e15 46%, #f3f6fb 46%, #f3f6fb 57%, #070a0f 57%);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(7, 10, 15, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #05070b;
  box-shadow: 0 10px 30px rgba(53, 126, 245, 0.35);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta,
.button.primary {
  background: var(--cyan);
  color: #031014;
  box-shadow: 0 14px 40px rgba(35, 214, 200, 0.24);
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 22px;
}

main {
  overflow: hidden;
}

section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.section-band {
  background:
    linear-gradient(135deg, rgba(35, 214, 200, 0.08), transparent 34%),
    var(--bg-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  min-height: calc(100vh - 72px);
  padding-top: clamp(44px, 7vw, 88px);
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 28px);
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lede {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.35;
}

.hero-sub {
  max-width: 660px;
  font-size: 17px;
}

.hero-actions,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 30px 0 28px;
}

.tag-row span,
.scene-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(35, 214, 200, 0.24);
  border-radius: 8px;
  background: rgba(35, 214, 200, 0.08);
  color: #dffdfa;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid rgba(157, 168, 184, 0.22);
  border-radius: 8px;
  background: #0d121b;
  box-shadow: var(--shadow);
}

.screen-frame img {
  width: 100%;
}

.video-frame {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.16), rgba(5, 7, 11, 0.58)),
    #05070b;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 -80px 120px rgba(5, 7, 11, 0.22);
}

.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.floating {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-metrics {
  position: absolute;
  right: 24px;
  bottom: -28px;
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 16, 24, 0.92);
  box-shadow: var(--shadow);
}

.hero-metrics span {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics strong {
  color: var(--text);
}

.scene-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-top: 24px;
  padding-bottom: 24px;
  background: #f3f6fb;
}

.scene-strip span {
  flex: 0 0 auto;
  border-color: rgba(17, 24, 39, 0.12);
  background: #ffffff;
  color: #111827;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.workflow {
  background: #f3f6fb;
  color: #111827;
}

.workflow .section-heading p,
.workflow-grid p {
  color: #4b5563;
}

.workflow-grid,
.feature-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.workflow-grid article,
.feature-grid article,
.solution-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.workflow-grid article {
  border-color: rgba(17, 24, 39, 0.1);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.workflow-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 900;
}

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

.feature-grid article {
  min-height: 190px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.screens {
  background: var(--bg);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.showcase-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.showcase-tabs button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.showcase-tabs button.active,
.showcase-tabs button:hover {
  border-color: rgba(35, 214, 200, 0.5);
  color: var(--text);
  background: rgba(35, 214, 200, 0.1);
}

.screen-frame.large {
  min-height: 360px;
}

.screen-frame.large img {
  transition: opacity 260ms ease, transform 260ms ease;
}

.screen-frame.large img.is-changing {
  animation: showcaseFade 420ms ease;
}

@keyframes showcaseFade {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-tour {
  background:
    linear-gradient(180deg, rgba(35, 214, 200, 0.08), transparent 18rem),
    #f3f6fb;
  color: #111827;
}

.product-tour .section-heading p,
.tour-hero-card p,
.tour-grid p {
  color: #4b5563;
}

.tour-layout {
  max-width: 1280px;
  margin: 0 auto;
}

.tour-hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.tour-hero-card .screen-frame,
.tour-grid .screen-frame {
  border-color: rgba(17, 24, 39, 0.1);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
}

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

.tour-grid article {
  min-width: 0;
  padding: 14px 14px 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.tour-grid .screen-frame {
  margin-bottom: 18px;
}

.tour-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 900;
}

.tour-grid h3 {
  font-size: 22px;
}

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

.faq {
  background: #f3f6fb;
  color: #111827;
}

.faq .section-heading p {
  color: #4b5563;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

details {
  margin-bottom: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  padding: 0 22px 20px;
  color: #4b5563;
}

.footer-cta {
  text-align: center;
}

.footer-cta p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #05070b;
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero,
  .showcase,
  .tour-hero-card {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .feature-grid,
  .solution-grid,
  .tour-grid,
  .solutions .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    position: static;
    margin-top: 14px;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding-top: 10px;
  }

  .site-header.open .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .workflow-grid,
  .feature-grid,
  .solution-grid,
  .tour-grid,
  .solutions .solution-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid article,
  .feature-grid article,
  .solution-grid article {
    min-height: auto;
  }

  .showcase-copy {
    padding: 20px;
  }

  .screen-frame.large {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}
