/* 门窗联盟：移动端优先、纯静态图片页面 */
:root {
  --bg: #f6f8ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #5b6b86;
  --primary: #0b5fff;
  --primary2: #56a3ff;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 40px rgba(16, 24, 40, 0.10);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 255, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand__logo {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(11, 95, 255, 0.18);
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand__tag {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-size: 14px;
  color: rgba(15, 23, 42, 0.78);
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  background: rgba(11, 95, 255, 0.08);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.08s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(11, 95, 255, 0.24);
}

.btn--primary:hover {
  box-shadow: 0 18px 40px rgba(11, 95, 255, 0.30);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.86);
}

.topbar__cta {
  margin-left: auto;
}

/* Hero */
.hero {
  position: relative;
  padding: 40px 0 20px;
}

.hero__bg {
  position: absolute;
  inset: -120px 0 auto 0;
  height: 420px;
  background: radial-gradient(800px 420px at 20% 15%, rgba(11, 95, 255, 0.16), transparent 60%),
    radial-gradient(680px 360px at 70% 10%, rgba(86, 163, 255, 0.16), transparent 58%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 26px;
  align-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: rgba(11, 95, 255, 0.10);
  color: rgba(11, 95, 255, 0.95);
  border: 1px solid rgba(11, 95, 255, 0.16);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(11, 95, 255, 0.10);
}

.hero__title {
  margin: 14px 0 8px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.hero__titleAccent {
  color: var(--primary);
}

.hero__desc {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

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

.badge {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge__text {
  font-weight: 800;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.82);
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.carousel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel__slide {
  min-width: 100%;
  padding: 14px;
}

.carousel__slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 95, 255, 0.35);
  background: rgba(11, 95, 255, 0.12);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.18s ease;
}

.dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

.hero__miniGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.miniCard {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.08);
}

.miniCard__title {
  margin-top: 8px;
  font-weight: 900;
}

.miniCard__sub {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.64);
}

/* Sections */
.section {
  padding: 40px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(11, 95, 255, 0.05), transparent 70%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section__head {
  margin-bottom: 18px;
}

.section__title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.section__subtitle {
  margin: 8px 0 0;
  color: rgba(15, 23, 42, 0.66);
  line-height: 1.8;
}

/* Products */
.productGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.productCard {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}

.productCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  border-color: rgba(11, 95, 255, 0.25);
}

.productCard img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.productCard__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.productCard__name {
  font-weight: 900;
  letter-spacing: -0.1px;
}

.productCard__desc {
  color: rgba(15, 23, 42, 0.66);
  line-height: 1.6;
  font-size: 13px;
  min-height: 38px;
}

.productCard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 95, 255, 0.10);
  border: 1px solid rgba(11, 95, 255, 0.18);
  font-weight: 900;
  color: rgba(11, 95, 255, 0.95);
}

.tag--blue {
  background: rgba(86, 163, 255, 0.14);
  border-color: rgba(86, 163, 255, 0.24);
}

.tag--green {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.20);
  color: rgba(22, 163, 74, 0.96);
}

.tag--purple {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.20);
  color: rgba(124, 58, 237, 0.96);
}

.arrow {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.55);
}

.ctaBanner {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  align-items: center;
}

.ctaBanner__title {
  font-weight: 950;
  font-size: 18px;
}

.ctaBanner__sub {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.7;
}

.ctaBanner__tips {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.56);
}

.ctaBanner__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.qrWrap {
  background: rgba(11, 95, 255, 0.06);
  border: 1px solid rgba(11, 95, 255, 0.14);
  border-radius: 16px;
  padding: 10px;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qrWrap__text {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
  font-weight: 800;
}

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

.feature {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 16px;
}

.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(11, 95, 255, 0.10);
  border: 1px solid rgba(11, 95, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__title {
  margin-top: 12px;
  font-weight: 950;
}

.feature__desc {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.66);
  line-height: 1.8;
  font-size: 13px;
}

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

.step {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step__num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  background: rgba(11, 95, 255, 0.12);
  border: 1px solid rgba(11, 95, 255, 0.20);
  color: rgba(11, 95, 255, 0.95);
}

.step__title {
  font-weight: 950;
}

.step__desc {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.66);
  line-height: 1.8;
  font-size: 13px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faqItem {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 10px;
}

.faqItem__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px 12px;
  font-weight: 950;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faqItem__chev {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.45);
}

.faqItem__a {
  padding: 0 12px 12px;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.85;
  font-size: 13px;
}

/* Footer */
.footer {
  padding: 30px 0 44px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 18px;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  margin-bottom: 10px;
}

.footer__note {
  color: rgba(15, 23, 42, 0.64);
  line-height: 1.8;
  font-size: 13px;
}

.footer__small {
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.50);
  font-size: 12px;
}

.footer__right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer__right a {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.10);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.72);
}

.footer__right a:hover {
  border-color: rgba(11, 95, 255, 0.25);
  color: var(--primary);
}

/* Responsive */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .topbar__cta {
    margin-left: 0;
  }
  .productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featureGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq {
    grid-template-columns: 1fr;
  }
  .ctaBanner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ctaBanner__right {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 24px);
  }
  .brand {
    min-width: unset;
  }
  .hero {
    padding-top: 24px;
  }
  .hero__badges {
    grid-template-columns: 1fr;
  }
  .hero__miniGrid {
    grid-template-columns: 1fr;
  }
  .productGrid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__right {
    align-items: flex-start;
  }
}

