:root {
  --text: #202124;
  --muted: #5f6368;
  --subtle: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #f1f5ff;
  --border: #dfe5f2;
  --blue: #1a73e8;
  --green: #34a853;
  --yellow: #fbbc04;
  --red: #ea4335;
  --play-teal: #00a173;
  --shadow: 0 18px 48px rgba(32, 33, 36, 0.12);
  --shadow-soft: 0 8px 24px rgba(32, 33, 36, 0.08);
  --radius: 8px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(116deg, transparent 0 58%, rgba(26, 115, 232, 0.08) 58% 65%, transparent 65%),
    linear-gradient(64deg, transparent 0 70%, rgba(52, 168, 83, 0.08) 70% 76%, transparent 76%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #eef5ff 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 115, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 168, 83, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 229, 242, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 18px rgba(32, 33, 36, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #dfe5f2;
  box-shadow: 0 8px 22px rgba(32, 33, 36, 0.12);
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

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

.site-nav a:last-child {
  color: #fff;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.26);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(20px, 6vw, 92px) 96px;
  overflow: hidden;
  background-image: url("assets/ai-tech-hero.png");
  background-position: center right;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  top: 98px;
  right: -120px;
  width: 620px;
  height: 520px;
  pointer-events: none;
  background:
    linear-gradient(143deg, rgba(26, 115, 232, 0.18) 0 34%, rgba(52, 168, 83, 0.18) 34% 58%, rgba(251, 188, 4, 0.18) 58% 76%, rgba(234, 67, 53, 0.16) 76% 100%);
  clip-path: polygon(22% 8%, 22% 92%, 90% 50%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  pointer-events: none;
  background:
    linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, rgba(26, 115, 232, 0.08) 0 1px, transparent 1px 72px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 43%, rgba(255, 255, 255, 0.72) 72%, rgba(255, 255, 255, 0.86) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(248, 251, 255, 0.98));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 44px;
  align-items: center;
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 42px;
  width: 42px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 6px 50%, var(--green) 0 5px, transparent 6px),
    radial-gradient(circle at 21px 50%, var(--yellow) 0 5px, transparent 6px),
    radial-gradient(circle at 36px 50%, var(--red) 0 5px, transparent 6px);
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: 104px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1::after {
  content: "";
  display: block;
  width: 218px;
  height: 8px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%);
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px 0 0;
  color: #3c4043;
  font-size: 22px;
  line-height: 1.62;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-action {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.26);
}

.secondary-action {
  color: var(--blue);
  border: 1px solid #c7d7fe;
  background: #fff;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(32, 33, 36, 0.16);
}

.hero-slogan {
  position: absolute;
  right: clamp(20px, 6vw, 92px);
  bottom: 38px;
  z-index: 3;
  color: #3c4043;
  font-size: 38px;
  font-weight: 900;
}

.hero-slogan::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  clip-path: polygon(22% 8%, 22% 92%, 90% 50%);
  background: linear-gradient(143deg, var(--blue), var(--green), var(--yellow), var(--red));
}

.hero-console {
  position: relative;
  min-height: 520px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.console-head strong {
  color: #0d652d;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e6f4ea;
}

.console-radar {
  position: relative;
  display: grid;
  place-items: center;
  width: 250px;
  height: 250px;
  margin: 34px auto 28px;
  filter: drop-shadow(0 16px 28px rgba(26, 115, 232, 0.18));
  background: transparent;
}

.console-radar img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.console-radar span {
  display: none;
}

.console-feed {
  display: grid;
  gap: 10px;
}

.console-feed div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.console-feed span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.console-feed div:nth-child(2) span {
  color: var(--green);
}

.console-feed div:nth-child(3) span {
  color: #b06000;
}

.console-feed div:nth-child(4) span {
  color: var(--red);
}

.console-feed strong {
  color: var(--text);
  font-size: 15px;
}

.console-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.console-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #3c4043;
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}

.metrics-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 6vw, 92px) 28px;
  background: #fff;
}

.metric {
  position: relative;
  min-height: 142px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.metric::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--blue);
}

.metric:nth-child(2)::before {
  background: var(--green);
}

.metric:nth-child(3)::before {
  background: var(--yellow);
}

.metric:nth-child(4)::before {
  background: var(--red);
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 48px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.signal-strip {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 15px clamp(20px, 6vw, 92px);
  color: #3c4043;
  background: #f8fbff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.signal-strip span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.signal-strip span:nth-child(4n+1) {
  color: var(--blue);
}

.signal-strip span:nth-child(4n+2) {
  color: var(--green);
}

.signal-strip span:nth-child(4n+3) {
  color: #b06000;
}

.signal-strip span:nth-child(4n+4) {
  color: var(--red);
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background:
    linear-gradient(115deg, rgba(26, 115, 232, 0.05), transparent 36%),
    #ffffff;
}

.intro-copy {
  color: #3c4043;
  font-size: 18px;
  line-height: 1.85;
}

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

.services-section {
  background:
    linear-gradient(122deg, transparent 0 52%, rgba(52, 168, 83, 0.07) 52% 58%, transparent 58%),
    #f8fbff;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: start;
}

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

.service-card,
.sales-contact,
.process-list li,
.partner-card,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-card {
  position: relative;
  min-height: 208px;
  overflow: hidden;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--blue);
}

.service-card:nth-child(4n+2)::before {
  background: var(--green);
}

.service-card:nth-child(4n+3)::before {
  background: var(--yellow);
}

.service-card:nth-child(4n+4)::before {
  background: var(--red);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #c7d7fe;
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border-radius: 999px;
  color: var(--blue);
  background: #e8f0fe;
  font-weight: 900;
  font-size: 13px;
}

.service-card:nth-child(4n+2) .service-icon {
  color: #0d652d;
  background: #e6f4ea;
}

.service-card:nth-child(4n+3) .service-icon {
  color: #b06000;
  background: #fef7e0;
}

.service-card:nth-child(4n+4) .service-icon {
  color: #a50e0e;
  background: #fce8e6;
}

.service-card h3,
.sales-contact h3,
.process-list h3,
.contact-card h3 {
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.35;
}

.service-card p,
.sales-contact p,
.process-list p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.sales-contact {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-color: #d6e2ff;
  background:
    linear-gradient(143deg, rgba(26, 115, 232, 0.08) 0 28%, rgba(52, 168, 83, 0.08) 28% 52%, rgba(251, 188, 4, 0.08) 52% 74%, rgba(234, 67, 53, 0.08) 74% 100%),
    #fff;
  box-shadow: var(--shadow);
}

.qr-frame {
  width: 168px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-frame-large {
  width: min(100%, 284px);
  margin: 0 auto 18px;
}

.qr-kicker {
  margin: 0;
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: 900;
}

.process-section {
  background: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 24px;
}

.process-list li::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
}

.process-list span {
  color: var(--blue);
  font-weight: 900;
}

.partners-section {
  background:
    linear-gradient(68deg, rgba(251, 188, 4, 0.08), transparent 32%),
    #f8fbff;
}

.partner-group {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.partner-group:last-child {
  border-bottom: 1px solid var(--border);
}

.partner-group-title span {
  color: var(--blue);
  font-weight: 900;
  font-size: 22px;
}

.partner-group:nth-of-type(2) .partner-group-title span {
  color: var(--green);
}

.partner-group:nth-of-type(3) .partner-group-title span {
  color: var(--red);
}

.partner-group-title p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.partner-card {
  position: relative;
  min-height: 130px;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: #c7d7fe;
  box-shadow: var(--shadow);
}

.partner-card strong,
.partner-card span {
  display: block;
}

.partner-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.partner-card span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.contact-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 236px;
  padding: 20px;
}

.featured-contact {
  border-color: #c7d7fe;
  background:
    linear-gradient(143deg, rgba(26, 115, 232, 0.08), rgba(52, 168, 83, 0.08), rgba(251, 188, 4, 0.08)),
    #fff;
}

.floating-wechat {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: grid;
  gap: 10px;
  width: 92px;
}

.float-item {
  position: relative;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.float-item:first-child {
  border-top: 4px solid var(--green);
}

.float-item:last-child {
  border-top: 4px solid var(--blue);
}

.float-item span {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.float-item img {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  width: 132px;
  height: 132px;
  object-fit: contain;
  padding: 6px;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.float-item:hover img,
.float-item:focus-within img {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px 42px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #fff;
}

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

@media (max-width: 1180px) {
  .floating-wechat {
    display: none;
  }

  .contact-grid,
  .services-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-console {
    max-width: 680px;
    min-height: auto;
  }

  .console-radar {
    width: 210px;
    height: 210px;
  }

  .sales-contact {
    position: static;
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
  }

  .qr-frame-large {
    margin: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 148px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-slogan {
    left: 20px;
    right: auto;
    font-size: 34px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .metric strong {
    font-size: 42px;
  }

  .metrics-band,
  .intro-section,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-group {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  body {
    padding-bottom: 86px;
  }

  .hero {
    min-height: 720px;
    background-position: 64% center;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-console {
    display: none;
  }

  .hero-slogan {
    font-size: 25px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .hero-actions {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    flex: 1 1 180px;
  }

  .metrics-band,
  .intro-section,
  .service-grid,
  .process-list,
  .partner-grid,
  .contact-grid,
  .sales-contact {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 132px;
  }

  .signal-strip {
    padding-inline: 16px;
  }

  .contact-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 184px;
    gap: 14px;
  }

  .contact-card .qr-frame {
    width: 132px;
  }

  .floating-wechat {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    top: auto;
    transform: none;
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
  }

  .float-item {
    display: grid;
    grid-template-columns: 1fr 58px;
    align-items: center;
    gap: 8px;
    padding: 8px;
  }

  .float-item span {
    margin: 0;
    text-align: left;
    font-size: 12px;
  }

  .float-item img {
    position: static;
    width: 58px;
    height: 58px;
    padding: 3px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .site-footer {
    margin-bottom: 74px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 16px;
  }

  .site-nav {
    font-size: 13px;
  }

  .section {
    padding-inline: 16px;
  }

  .hero {
    padding-inline: 16px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card .qr-frame {
    width: min(100%, 190px);
  }
}
