:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --bg-soft: #eef3ff;
  --card: rgba(255, 255, 255, 0.86);
  --card-solid: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: rgba(52, 104, 246, 0.13);
  --primary: #3468f6;
  --primary-dark: #1f4fd7;
  --violet: #7c5cff;
  --cyan: #30c3ff;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(26, 46, 92, 0.12);
  --shadow-soft: 0 16px 44px rgba(52, 104, 246, 0.14);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(48, 195, 255, 0.22), transparent 30%),
    radial-gradient(circle at 82% 2%, rgba(124, 92, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 44%, #ffffff 100%);
}

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

button,
input,
select {
  font: inherit;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.22));
  box-shadow: 0 10px 34px rgba(52, 104, 246, 0.04);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: 0 10px 24px rgba(52, 104, 246, 0.28);
}

.brand-text {
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: var(--shadow-soft);
}

.button-ghost {
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
  align-items: center;
  min-height: 660px;
  padding: 58px 0 52px;
  gap: 54px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 5.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

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

.hero-lead,
.section-heading p,
.preview-section p,
.experience p,
.feature-card p,
.faq-list p,
.footer p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 19px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 40px rgba(26, 46, 92, 0.06);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  padding: 12px 18px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(22px, 2vw, 28px);
}

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

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(2px);
}

.phone-stage::before {
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, rgba(52, 104, 246, 0.18), rgba(124, 92, 255, 0.18));
}

.phone-stage::after {
  right: 8%;
  bottom: 10%;
  width: 140px;
  height: 140px;
  background: rgba(48, 195, 255, 0.2);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 20px 18px 24px;
  border: 9px solid #111827;
  border-radius: 42px;
  background: linear-gradient(180deg, #f8faff, #eef2f8);
  box-shadow:
    0 38px 90px rgba(18, 32, 66, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.phone-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.phone-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #111827;
}

.mini-title {
  margin-bottom: 26px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.mini-card,
.quick-grid > div,
.feature-card,
.tool-layout,
.experience,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mini-card {
  padding: 20px;
  border-radius: 24px;
}

.mini-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mini-card-head strong,
.mini-section-title {
  font-size: 18px;
  font-weight: 800;
}

.mini-card-head a {
  color: var(--primary);
  font-size: 13px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.tabs span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  color: #4b5565;
  background: #edf0f5;
  font-weight: 800;
}

.tabs .active {
  color: #fff;
  background: var(--primary);
}

.tabs em {
  margin-left: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  color: #e5483d;
  background: #ffe3dc;
  font-style: normal;
}

.empty-box {
  padding: 18px;
  border-radius: 18px;
  background: #f1f3f7;
}

.empty-box p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.mini-section-title {
  margin: 24px 0 12px;
}

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

.quick-grid > div {
  min-height: 104px;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
}

.quick-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #5e7cff, #30c3ff);
}

.quick-grid strong,
.quick-grid small {
  display: block;
}

.quick-grid small {
  margin-top: 4px;
  color: var(--muted);
}

.section-block {
  padding: 76px 0;
}

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

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

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

.feature-card {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius-md);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(52, 104, 246, 0.12), rgba(124, 92, 255, 0.14));
  font-size: 25px;
}

.toolbox {
  position: relative;
}

.tool-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.tool-menu {
  display: grid;
  align-content: start;
  gap: 12px;
}

.tool-tab {
  width: 100%;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  color: var(--text);
  background: rgba(246, 248, 252, 0.82);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.tool-tab span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.tool-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: var(--shadow-soft);
}

.tool-tab.active span {
  color: rgba(255, 255, 255, 0.78);
}

.tool-panels {
  min-height: 430px;
  padding: 30px;
  border-radius: 26px;
  background: #fff;
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
}

.form-row {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}

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

label {
  display: grid;
  gap: 9px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid #dbe3f0;
  border-radius: 15px;
  outline: none;
  background: #f8faff;
}

input:focus,
select:focus {
  border-color: rgba(52, 104, 246, 0.62);
  box-shadow: 0 0 0 4px rgba(52, 104, 246, 0.1);
}

.tool-action {
  margin-top: 4px;
}

.result-card,
.result-grid {
  margin-top: 22px;
}

.result-card {
  display: grid;
  gap: 6px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f2f6ff, #faf8ff);
}

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

.result-card strong,
.result-grid strong {
  color: var(--primary-dark);
  font-size: 26px;
}

.result-card small {
  color: var(--muted);
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 18px;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  background: #f8faff;
}

.segmented input {
  width: auto;
  min-height: auto;
}

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

.result-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: #f5f8ff;
}

.result-grid strong {
  font-size: 18px;
}

.unit-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.unit-categories button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  color: #475467;
  background: #fff;
  cursor: pointer;
}

.unit-categories button.active {
  color: #fff;
  border-color: transparent;
  background: var(--primary);
}

.preview-section {
  display: grid;
  grid-template-columns: 0.76fr 1.08fr;
  align-items: center;
  gap: 56px;
}

.preview-carousel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.preview-slides {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 26px;
}

.preview-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: center;
  gap: 28px;
  padding: 34px;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  background:
    radial-gradient(circle at 82% 18%, rgba(48, 195, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #f2f6ff);
}

.preview-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.preview-copy span {
  color: var(--primary);
  font-weight: 800;
}

.preview-copy h3 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.preview-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.screenshot-frame {
  justify-self: center;
  width: min(340px, 100%);
  max-height: 430px;
  padding: 10px;
  border: 8px solid #101828;
  border-radius: 34px;
  background: #101828;
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.22);
  overflow: hidden;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  max-height: 410px;
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
}

.preview-phone {
  justify-self: center;
  width: min(290px, 100%);
  padding: 18px;
  border: 8px solid #101828;
  border-radius: 34px;
  background: linear-gradient(180deg, #f8faff, #eef2f8);
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.22);
}

.preview-topbar {
  margin-bottom: 16px;
  text-align: center;
  font-weight: 800;
}

.preview-tool {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(52, 104, 246, 0.08);
}

.preview-tool {
  display: grid;
  gap: 5px;
  font-weight: 800;
}

.preview-tool.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
}

.preview-tool small {
  color: var(--muted);
  font-weight: 500;
}

.preview-tool.active small {
  color: rgba(255, 255, 255, 0.76);
}

.preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 2px;
}

.preview-nav {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.preview-dots {
  display: flex;
  gap: 8px;
}

.preview-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8d3ea;
  cursor: pointer;
}

.preview-dots button.active {
  width: 28px;
  background: var(--primary);
}

.experience {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: center;
  gap: 44px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 10%, rgba(48, 195, 255, 0.2), transparent 32%),
    linear-gradient(135deg, #ffffff, #eef4ff);
}

.experience-copy {
  min-width: 0;
}

.qr-card {
  justify-self: end;
  display: grid;
  width: 320px;
  padding: 24px;
  place-items: center;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.qr-image {
  display: block;
  width: 260px;
  height: 260px;
  margin-bottom: 18px;
  border-radius: 22px;
  object-fit: cover;
  background: #f8faff;
}

.qr-card strong {
  font-size: 20px;
}

.qr-placeholder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 150px;
  height: 150px;
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(16, 24, 40, 0.08) 1px, transparent 1px),
    #f8faff;
  background-size: 18px 18px;
}

.qr-placeholder span {
  border-radius: 10px;
  background: #111827;
}

.qr-card small {
  margin-top: 5px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.footer {
  background: #101828;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 118px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.beian {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .preview-section,
  .experience {
    grid-template-columns: 1fr;
  }

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

  h1 {
    white-space: normal;
  }

  .phone-stage {
    min-height: auto;
  }

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

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

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

  .three-col,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .preview-slides {
    min-height: 620px;
  }

  .preview-slide {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .qr-card {
    justify-self: start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 0;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .nav {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 66px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 45px;
  }

  .hero-metrics,
  .feature-grid,
  .tool-menu {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .phone {
    border-width: 7px;
    border-radius: 34px;
  }

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

  .section-block {
    padding: 62px 0;
  }

  .tool-layout,
  .tool-panels,
  .experience {
    padding: 18px;
    border-radius: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .qr-card {
    width: 100%;
  }

  .qr-image {
    width: min(260px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
}
