:root {
  --brand: #2f6df6;
  --brand-dark: #1d4ed8;
  --brand-soft: #eaf1ff;
  --accent: #f5b82e;
  --text: #1f2937;
  --muted: #667085;
  --light: #f5f7fb;
  --panel: #ffffff;
  --line: #e6eaf2;
  --shadow: 0 16px 40px rgba(18, 38, 63, 0.09);
  --radius: 8px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  background: var(--light);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(230, 234, 242, 0.9);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 15px;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(135deg, #1e5fe8 0%, #5d8cff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  min-height: 680px;
  gap: 48px;
  padding: 58px 0 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #cfe0ff;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions,
.cta-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(47, 109, 246, 0.25);
}

.hero .btn-primary {
  color: var(--brand-dark);
  background: #fff;
  box-shadow: 0 14px 30px rgba(14, 46, 120, 0.22);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  margin: 34px 0 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats dt {
  font-size: 26px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.phone-stage {
  position: relative;
  min-height: 600px;
}

.phone-card {
  position: absolute;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(17, 42, 105, 0.28);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-main {
  right: 60px;
  top: 10px;
  width: 292px;
  height: 570px;
}

.phone-sub {
  left: 8px;
  bottom: 0;
  width: 238px;
  height: 462px;
  opacity: 0.96;
}

.section {
  padding: 78px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head p:last-child,
.lead {
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.value-grid article,
.scene-list article,
.contact-card,
.qr-card,
.info-panel,
.note-panel,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 26px rgba(18, 38, 63, 0.05);
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--brand);
  border-radius: var(--radius);
  background: var(--brand-soft);
  font-weight: 800;
}

.feature-card p,
.value-grid p,
.scene-list p,
.contact-card p,
.qr-card p,
.note-panel p,
.cta-panel p {
  color: var(--muted);
}

.soft-band {
  background: #eef3fb;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 44px;
}

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

.mini-gallery img {
  width: 100%;
  height: 440px;
  border: 8px solid #fff;
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow);
}

.cta-panel {
  justify-content: space-between;
  padding: 34px;
}

.cta-panel p {
  margin-bottom: 0;
}

.site-footer {
  color: #d7e1f8;
  background: #14213d;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.footer-grid p {
  margin: 0;
}

.page-hero {
  padding: 92px 0;
  color: #fff;
  background:
    linear-gradient(rgba(30, 95, 232, 0.9), rgba(30, 95, 232, 0.9)),
    url("../img/402e1fbc7cd7d06972eaf66400fab17e.jpg") center 18% / cover;
}

.page-hero h1 {
  max-width: 780px;
}

.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.product-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
}

.product-tabs {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tab-btn {
  width: 100%;
  padding: 13px 14px;
  color: var(--muted);
  text-align: left;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.product-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 34px;
  min-height: 560px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-panel.active {
  display: grid;
}

.product-panel img {
  width: 260px;
  height: 520px;
  margin-left: auto;
  border: 8px solid #f8fafc;
  border-radius: 28px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 18px 46px rgba(18, 38, 63, 0.14);
}

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

.scene-list article,
.value-grid article {
  padding: 24px;
}

.about-split {
  align-items: stretch;
}

.info-panel {
  padding: 30px;
}

.info-panel dl,
.contact-list {
  margin: 0;
}

.info-panel dl div,
.contact-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-panel dl div:last-child,
.contact-list div:last-child {
  border-bottom: 0;
}

.info-panel dt,
.contact-list dt {
  color: var(--muted);
}

.info-panel dd,
.contact-list dd {
  margin: 0;
  font-weight: 700;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.contact-card,
.qr-card,
.note-panel {
  padding: 32px;
}

.qr-card {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
  color: var(--brand);
  border: 1px dashed #9ab5ff;
  border-radius: var(--radius);
  background: var(--brand-soft);
  font-weight: 700;
}

.note-panel {
  max-width: 820px;
}

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

  .hero-grid {
    min-height: auto;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone-main {
    right: 12%;
  }

  .phone-sub {
    left: 10%;
  }

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

  .product-tabs {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .hero-grid {
    gap: 20px;
    padding-top: 38px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .phone-stage {
    min-height: 480px;
  }

  .phone-main {
    right: 0;
    width: 230px;
    height: 450px;
  }

  .phone-sub {
    left: 0;
    width: 190px;
    height: 370px;
  }

  .section {
    padding: 54px 0;
  }

  .feature-grid,
  .value-grid,
  .scene-list,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .mini-gallery img {
    height: 520px;
  }

  .cta-panel {
    align-items: flex-start;
  }

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

  .page-hero {
    padding: 66px 0;
  }

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

  .product-panel,
  .product-panel.active {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .product-panel img {
    width: min(100%, 260px);
    margin: 0 auto;
  }

  .info-panel dl div,
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
