:root {
  --ink: #111827;
  --muted: #5d6677;
  --line: rgba(17, 24, 39, 0.1);
  --paper: #f6f8fb;
  --white: #fff;
  --blue: #2563eb;
  --cyan: #0ea5a4;
  --lime: #9bd62f;
  --orange: #ff8a3d;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius: 22px;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(14, 165, 164, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 6%, rgba(37, 99, 235, 0.16), transparent 26rem),
    linear-gradient(135deg, #f8fafc 0%, #eef3f9 48%, #f8fbff 100%);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 252, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img,
.site-footer img:not(.qr) {
  width: 112px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  font-size: 15px;
  color: #273244;
}

.nav-links a,
.nav-group > span:first-child {
  padding: 10px 0;
}

.nav-links a.active,
.nav-group.active > span:first-child {
  color: var(--blue);
  font-weight: 700;
}

.nav-group {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: 38px;
  left: -18px;
  min-width: 168px;
  display: grid;
  gap: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-menu a:hover {
  background: #eef5ff;
}

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

.header-cta {
  color: #fff;
  background: #111827;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #111827, #2563eb);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.28);
}

.button.primary.light {
  color: #10213d;
  background: #fff;
}

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

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(72px, 10vw, 130px) clamp(20px, 6vw, 86px) clamp(52px, 7vw, 96px);
  overflow: hidden;
}

.compact-hero,
.about-hero {
  min-height: 560px;
  grid-template-columns: 1fr;
}

.product-hero {
  min-height: 640px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 980px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
}

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

.hero-visual {
  position: relative;
  z-index: 2;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-product-ui {
  min-height: 460px;
  padding: 18px;
  background:
    radial-gradient(circle at 70% 16%, rgba(155, 214, 47, 0.28), transparent 18rem),
    linear-gradient(135deg, #ffffff, #eef5ff 58%, #e9fbf7);
}

.product-ui-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.product-ui-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.product-ui-top span:nth-child(2) {
  background: var(--lime);
}

.product-ui-top span:nth-child(3) {
  background: var(--cyan);
}

.product-ui-top strong {
  margin-left: 10px;
}

.product-ui-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  min-height: 330px;
  padding-top: 18px;
}

.ui-sidebar,
.ui-canvas {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.ui-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.ui-sidebar i,
.ui-canvas span,
.ui-grid i,
.ui-canvas b {
  display: block;
  border-radius: 999px;
  background: #dbeafe;
}

.ui-sidebar i {
  height: 18px;
}

.ui-canvas {
  padding: 24px;
}

.ui-canvas b {
  width: 58%;
  height: 54px;
  margin-bottom: 18px;
  background: #111827;
}

.ui-canvas span {
  width: 86%;
  height: 16px;
  margin-bottom: 12px;
}

.ui-canvas span:nth-of-type(2) {
  width: 64%;
  background: #ccfbf1;
}

.ui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.ui-grid i {
  height: 86px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.ai-console {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 320px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.16);
}

.ai-console span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.ai-console strong {
  display: block;
  margin: 7px 0;
}

.ai-console p {
  margin: 0;
  color: var(--muted);
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.path {
  position: absolute;
  border: 2px solid rgba(37, 99, 235, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.path-a {
  width: 560px;
  height: 190px;
  top: 18%;
  right: 12%;
}

.path-b {
  width: 620px;
  height: 210px;
  left: -160px;
  bottom: 12%;
  border-color: rgba(14, 165, 164, 0.2);
}

.glass-panel {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-a {
  right: 8%;
  top: 18%;
}

.panel-b {
  left: 12%;
  bottom: 12%;
  background: rgba(155, 214, 47, 0.2);
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(20px, 6vw, 86px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.story-copy p,
.prose p,
.case-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.split-section .feature-grid {
  grid-column: 1 / -1;
}

.feature-grid,
.service-grid,
.assistant-grid,
.trust-grid,
.vision-grid,
.team-grid,
.pricing-grid {
  display: grid;
  gap: 22px;
}

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

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

.service-grid.two,
.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.service-card,
.assistant-card,
.trust-card,
.price-card,
.team-card,
.timeline-item {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  padding: 28px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 900;
}

.feature-card p,
.service-card p,
.assistant-card p,
.trust-card p,
.price-card li,
.team-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.75;
}

.ai-section {
  background: #111827;
  color: #fff;
}

.ai-section .section-heading p,
.ai-section .capability p {
  color: rgba(255, 255, 255, 0.68);
}

.capability-list {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.capability {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 28px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card img {
  width: 132px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 24px;
}

.cta-band {
  margin: clamp(20px, 5vw, 60px) clamp(20px, 6vw, 86px) clamp(70px, 9vw, 110px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(155, 214, 47, 0.35), transparent 18rem),
    linear-gradient(135deg, #111827, #1d4ed8 55%, #0f766e);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(20px, 6vw, 86px);
  background: #fff;
  color: var(--muted);
}

.site-footer .qr {
  width: 78px;
  height: 78px;
  border-radius: 14px;
}

.product-orbit,
.template-stack {
  position: relative;
  min-height: 380px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.22), transparent 18rem);
  box-shadow: var(--shadow);
}

.product-orbit span {
  position: absolute;
  padding: 16px 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.12);
  font-weight: 800;
}

.product-orbit span:nth-child(1) { left: 12%; top: 18%; }
.product-orbit span:nth-child(2) { right: 14%; top: 28%; color: var(--blue); }
.product-orbit span:nth-child(3) { left: 20%; bottom: 20%; color: var(--cyan); }
.product-orbit span:nth-child(4) { right: 10%; bottom: 16%; color: var(--orange); }

.template-stack {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.template-stack span {
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.template-stack span:nth-child(1) { transform: translate(-34px, -26px) rotate(-8deg); }
.template-stack span:nth-child(2) { transform: translate(18px, 8px) rotate(4deg); background: #eaf3ff; }
.template-stack span:nth-child(3) { transform: translate(54px, 42px) rotate(12deg); background: #eafaf7; }
.template-stack strong {
  position: relative;
  z-index: 1;
  padding: 18px 22px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
}

.spec-table {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row span {
  color: var(--muted);
  line-height: 1.75;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: #111827;
  color: #fff;
  transform: translateY(-16px);
}

.price-card.featured li,
.price-card.featured small {
  color: rgba(255, 255, 255, 0.72);
}

.price-card strong {
  font-size: 40px;
}

.price-card small {
  color: var(--muted);
  margin: 6px 0 20px;
}

.price-card ul {
  padding-left: 18px;
  flex: 1;
}

.timeline {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 26px;
}

.timeline-item strong {
  color: var(--blue);
  font-size: 20px;
}

.case-copy {
  max-width: 980px;
}

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

.metric-grid article {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.metric-grid strong {
  display: block;
  color: var(--blue);
  font-size: clamp(32px, 5vw, 58px);
}

.metric-grid span {
  color: var(--muted);
}

.prose {
  max-width: 980px;
}

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

.team-card img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}

.team-card strong {
  display: block;
  color: var(--blue);
  margin-bottom: 10px;
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .product-hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #111827;
    color: #fff;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 8px;
  }

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

  .nav-group {
    width: 100%;
  }

  .nav-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.58);
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 62px);
  }

  .feature-grid.three,
  .feature-grid.four,
  .assistant-grid,
  .service-grid,
  .service-grid.two,
  .trust-grid,
  .pricing-grid,
  .team-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 520px) {
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .button,
  .header-cta {
    width: 100%;
  }

  .ai-console {
    position: static;
    margin: 14px;
  }

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