:root {
  color-scheme: light;
  --surface-primary: #f8f9fb;
  --surface-secondary: #ffffff;
  --surface-tertiary: #f1f3f5;
  --content-primary: #111827;
  --content-secondary: #4b5563;
  --content-tertiary: #9ca3af;
  --border-default: #e5e7eb;
  --border-subtle: #f3f4f6;
  --electric-blue: #4353ff;
  --electric-blue-hover: #3340cc;
  --hero-bg-from: #eef2ff;
  --hero-bg-to: #f8f9fb;
  --hero-glow: rgba(67, 83, 255, 0.08);
  --hero-card-bg: rgba(255, 255, 255, 0.82);
  --hero-card-border: rgba(0, 0, 0, 0.06);
  --hero-text-gradient-from: #1e40af;
  --hero-text-gradient-to: #4353ff;
  --interactive-muted: rgba(0, 0, 0, 0.06);
  --interactive-hover: rgba(0, 0, 0, 0.04);
  --shadow-blue: 0 0 20px rgba(67, 83, 255, 0.4);
  --shadow-card: 0 24px 80px rgba(67, 83, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-primary);
  color: var(--content-secondary);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(67, 83, 255, 0.32);
  outline-offset: 3px;
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 clamp(28px, 5vw, 64px);
  border-bottom: 1px solid rgba(243, 244, 246, 0.72);
  background: rgba(248, 249, 251, 0.82);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 154px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 36px);
  color: var(--content-secondary);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a,
.site-nav button,
.header-action,
.button,
.text-link,
.site-footer a,
.site-footer button,
.dialog-close,
.contact-info a {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav button:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--electric-blue);
}

.site-nav button {
  cursor: pointer;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--electric-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(67, 83, 255, 0.4);
}

.header-action:hover {
  background: var(--electric-blue-hover);
  box-shadow: 0 0 25px rgba(67, 83, 255, 0.6);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(104px, 11vw, 142px) clamp(24px, 5vw, 64px) clamp(56px, 8vw, 88px);
  background:
    radial-gradient(circle at 50% 22%, rgba(67, 83, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, var(--hero-bg-from), var(--hero-bg-to));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
}

.hero::before {
  width: 620px;
  height: 620px;
  left: 50%;
  top: 110px;
  transform: translateX(-50%);
  background: rgba(67, 83, 255, 0.075);
}

.hero::after {
  inset: auto 0 0;
  height: 150px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(248, 249, 251, 0), var(--hero-bg-to));
}

.hero-inner,
.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  text-align: center;
}

.hero-copy h1 {
  margin: 24px auto 0;
  max-width: 860px;
  color: var(--content-primary);
  font-size: 88px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
}

.hero-copy h1 strong {
  color: transparent;
  background: linear-gradient(90deg, var(--hero-text-gradient-from), var(--hero-text-gradient-to));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(67, 83, 255, 0.24);
  border-radius: 999px;
  background: rgba(67, 83, 255, 0.08);
  color: var(--electric-blue);
  font-size: 13px;
  font-weight: 800;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-blue);
}

.lead {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--content-secondary);
  font-size: 21px;
  line-height: 1.62;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
}

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

.button.primary {
  background: var(--electric-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.button.primary:hover {
  background: var(--electric-blue-hover);
  box-shadow: 0 0 30px rgba(67, 83, 255, 0.6);
}

.button.secondary {
  border: 1px solid var(--hero-card-border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--content-primary);
}

.button.secondary:hover {
  border-color: rgba(67, 83, 255, 0.3);
  color: var(--electric-blue);
}

.hero-proof {
  margin-top: 20px;
  color: var(--content-tertiary);
  font-size: 14px;
  font-weight: 600;
}

.dashboard-frame,
.product-shot {
  position: relative;
  width: min(1120px, 100%);
  margin: 36px auto 0;
  overflow: hidden;
  border: 1px solid rgba(67, 83, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 30px 90px rgba(67, 83, 255, 0.14);
  padding: 10px;
}

.dashboard-frame img,
.product-shot img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.dashboard-frame {
  max-height: 360px;
}

.dashboard-frame img {
  transform: translateY(-1px);
}

.section {
  padding: clamp(72px, 9vw, 112px) clamp(24px, 5vw, 64px);
}

.section-light {
  background: var(--surface-primary);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.64fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.16;
  color: var(--content-primary);
  font-weight: 800;
  letter-spacing: 0;
}

.section h2 span {
  color: transparent;
  background: linear-gradient(90deg, var(--hero-text-gradient-from), var(--hero-text-gradient-to));
  -webkit-background-clip: text;
  background-clip: text;
}

.section-heading p,
.product-copy p {
  margin: 0;
  color: var(--content-secondary);
  font-size: 20px;
  line-height: 1.82;
  font-weight: 500;
}

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

.feature-card {
  min-height: 154px;
  padding: 26px;
  border: 1px solid var(--hero-card-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.05);
}

.feature-card h3 {
  margin: 0 0 16px;
  color: var(--content-primary);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--content-secondary);
  font-size: 15px;
}

.product-section {
  background: linear-gradient(180deg, var(--surface-primary), #fff);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(420px, 1.4fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: center;
}

.product-copy p {
  margin-top: 18px;
}

.product-shot {
  margin: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--electric-blue);
  font-size: 16px;
  font-weight: 800;
  border-bottom: 1px solid rgba(67, 83, 255, 0.3);
}

.site-footer {
  padding: 34px clamp(24px, 5vw, 64px) 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d10;
  color: #ffffff;
}

.footer-inner,
.footer-bottom {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 16px;
}

.footer-brand span,
.footer-bottom,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(67, 83, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.site-footer button:hover {
  background: var(--electric-blue);
  box-shadow: 0 0 18px rgba(67, 83, 255, 0.45);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  font-size: 13px;
}

.footer-bottom a:hover {
  color: #fff;
}

.contact-dialog {
  width: min(720px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--content-primary);
}

.contact-dialog::backdrop {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(8px);
}

.contact-card {
  position: relative;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(67, 83, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(67, 83, 255, 0.12), transparent 260px),
    #fff;
  box-shadow: 0 30px 100px rgba(17, 24, 39, 0.28);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface-tertiary);
  color: var(--content-secondary);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--content-primary);
  background: rgba(67, 83, 255, 0.1);
}

.dialog-kicker {
  margin: 0 0 8px;
  color: var(--electric-blue);
  font-size: 13px;
  font-weight: 800;
}

.contact-card h2 {
  margin: 0;
  color: var(--content-primary);
  font-size: 40px;
  line-height: 1.12;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 26px;
}

.wechat-qr {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--border-default);
  border-radius: 18px;
  background: #fff;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-info a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--border-default);
  border-radius: 18px;
  background: var(--surface-primary);
}

.contact-info a:hover {
  border-color: rgba(67, 83, 255, 0.32);
  box-shadow: 0 12px 30px rgba(67, 83, 255, 0.12);
}

.contact-info span {
  color: var(--content-tertiary);
  font-size: 13px;
  font-weight: 800;
}

.contact-info strong {
  color: var(--content-primary);
  font-size: 21px;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
    gap: 16px;
    padding-inline: 20px;
  }

  .brand img {
    width: 118px;
  }

  .site-nav {
    display: none;
  }

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

  .hero-inner,
  .section-heading,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

  .hero-inner {
    text-align: left;
  }

  .hero-copy h1,
  .lead {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .dashboard-frame {
    margin-top: 28px;
    max-height: none;
  }

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

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

  .section h2 {
    font-size: 38px;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .header-action {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .lead,
  .section-heading p,
  .product-copy p {
    font-size: 18px;
  }

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

  .button {
    width: 100%;
  }

  .dashboard-frame,
  .product-shot {
    border-radius: 16px;
    padding: 6px;
  }

  .dashboard-frame img,
  .product-shot img {
    border-radius: 12px;
  }

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

  .section h2,
  .contact-card h2 {
    font-size: 32px;
  }

  .contact-info strong {
    font-size: 18px;
  }
}
