/* 小蓝视频 · 独立官网展示样式（不与其他项目共用） */
:root {
  --xl-blue: #2b7cff;
  --xl-blue-deep: #1558d6;
  --xl-cyan: #2ec4e6;
  --xl-coral: #ff6a2a;
  --xl-gold: #ffc93c;
  --xl-ink: #152033;
  --xl-mute: #5a6578;
  --xl-line: rgba(21, 32, 51, 0.08);
  --xl-paper: #f5f9ff;
  --xl-sky: #eaf4ff;
  --xl-white: #ffffff;
  --xl-shadow: 0 24px 60px rgba(43, 124, 255, 0.22);
  --xl-radius: 28px;
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--xl-ink);
  background:
    radial-gradient(1100px 560px at 8% -8%, rgba(46, 196, 230, 0.2), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(43, 124, 255, 0.16), transparent 52%),
    linear-gradient(180deg, #f7fbff 0%, var(--xl-paper) 45%, #fff8f3 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--xl-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(247, 251, 255, 0.86);
  border-bottom: 1px solid var(--xl-line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(43, 124, 255, 0.28);
  animation: brand-float 4.5s ease-in-out infinite;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand__text small {
  color: var(--xl-mute);
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--xl-mute);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--xl-blue);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--xl-blue), var(--xl-cyan));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(43, 124, 255, 0.35);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--xl-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.drawer {
  display: none;
  position: sticky;
  top: 72px;
  z-index: 49;
  background: rgba(247, 251, 255, 0.97);
  border-bottom: 1px solid var(--xl-line);
  padding: 1rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer:not([hidden]) {
  display: flex;
}

.drawer a {
  font-weight: 600;
  padding: 0.4rem 0;
}

.drawer__cta {
  margin-top: 0.25rem;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--xl-blue), var(--xl-cyan));
  color: #fff;
}

/* Hero: left copy + right image */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 3.25rem 0 3.75rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: auto -8% 10% auto;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  background:
    radial-gradient(circle at 35% 35%, rgba(46, 196, 230, 0.45), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(43, 124, 255, 0.4), transparent 52%),
    radial-gradient(circle at 40% 80%, rgba(255, 106, 42, 0.22), transparent 50%);
  filter: blur(6px);
  animation: glow-drift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--xl-blue-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.5vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, var(--xl-blue-deep) 8%, #3aa0ff 48%, var(--xl-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-in 0.85s ease both;
}

.hero__lead {
  margin: 1.05rem 0 0;
  max-width: 22em;
  font-size: clamp(1.12rem, 2.1vw, 1.38rem);
  color: var(--xl-mute);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.hero__tip {
  margin: 1rem 0 0;
  color: var(--xl-mute);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--xl-blue) 0%, #4aa3ff 55%, var(--xl-cyan) 120%);
  box-shadow: var(--xl-shadow);
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 32, 51, 0.1);
  color: var(--xl-ink);
}

.btn--lg {
  min-height: 58px;
  padding-inline: 1.8rem;
  font-size: 1.05rem;
}

.btn__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.95rem;
}

.hero__stage {
  display: grid;
  place-items: center;
}

.phone-frame {
  margin: 0;
  width: min(340px, 86%);
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(160deg, #fff, #eef3f8);
  box-shadow:
    0 30px 70px rgba(21, 32, 51, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  animation: phone-rise 0.95s ease both, phone-float 5.5s ease-in-out 1s infinite;
}

.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 26px;
  background: #0f1724;
}

/* Strip */
.strip {
  border-block: 1px solid var(--xl-line);
  background: rgba(255, 255, 255, 0.7);
}

.strip__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--xl-mute);
  font-weight: 600;
  font-size: 0.98rem;
  flex-wrap: wrap;
}

.strip__row b {
  color: var(--xl-blue-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-right: 0.3rem;
}

/* Sections */
.section {
  padding: 5.25rem 0;
}

.section--tint {
  background: linear-gradient(180deg, rgba(43, 124, 255, 0.06), rgba(46, 196, 230, 0.05));
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
}

.section__head p {
  margin: 0.75rem 0 0;
  color: var(--xl-mute);
  font-size: 1.05rem;
}

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.75rem;
  align-items: center;
  margin-bottom: 4.25rem;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature--reverse .feature__media {
  order: 2;
}

.feature--reverse .feature__body {
  order: 1;
}

.feature__media {
  display: flex;
  justify-content: center;
}

.shot {
  margin: 0;
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(160deg, #fff, #eef4fb);
  box-shadow: 0 22px 48px rgba(21, 32, 51, 0.14);
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  background: #111827;
}

.feature__body .tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(43, 124, 255, 0.12);
  color: var(--xl-blue-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature__body h3 {
  margin: 0.85rem 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.25;
}

.feature__body > p {
  margin: 0;
  color: var(--xl-mute);
  font-size: 1.05rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--xl-cyan), var(--xl-blue));
  box-shadow: inset 0 0 0 3px #fff;
}

/* Scenes — keep natural image ratio, no stretch */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.scene {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 40px rgba(21, 32, 51, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scene:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(43, 124, 255, 0.16);
}

.scene__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0;
  background: linear-gradient(180deg, #eef5ff, #f8fbff);
}

.scene__frame img {
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.14);
}

.scene figcaption {
  padding: 1.1rem 1.2rem 1.35rem;
}

.scene h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.scene p {
  margin: 0;
  color: var(--xl-mute);
  font-size: 0.95rem;
}

/* Reviews */
.reviews {
  display: grid;
  gap: 1rem;
}

.review {
  padding: 1.25rem 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--xl-line);
}

.review__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2b7cff, #2ec4e6);
}

.review__avatar--2 { background: linear-gradient(135deg, #5b8cff, #7a5cff); }
.review__avatar--3 { background: linear-gradient(135deg, #19b4d4, #2b7cff); }
.review__avatar--4 { background: linear-gradient(135deg, #ff8a3d, #ffc93c); }
.review__avatar--5 { background: linear-gradient(135deg, #3d8bff, #61d0ff); }
.review__avatar--6 { background: linear-gradient(135deg, #4f6ef7, #2ec4e6); }

.review__head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.review__head time {
  display: block;
  margin-top: 0.15rem;
  color: var(--xl-mute);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.review__stars {
  color: #f5b400;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.review p {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
}

.review strong {
  color: var(--xl-blue-deep);
  font-weight: 700;
}

/* Trust */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust__grid article {
  padding: 1.35rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--xl-line);
}

.trust__grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.trust__grid p {
  margin: 0;
  color: var(--xl-mute);
  font-size: 0.95rem;
}

.cta-panel {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(120deg, #1f6fff, #2b9dff 50%, #2ec4e6);
  color: #fff;
  box-shadow: var(--xl-shadow);
}

.cta-panel__copy {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-panel__copy img {
  border-radius: 16px;
  background: #fff;
}

.cta-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.cta-panel p {
  margin: 0.25rem 0 0;
  opacity: 0.92;
}

.cta-panel .btn--primary {
  background: #fff;
  color: var(--xl-blue-deep);
  box-shadow: none;
  animation: none;
}

/* Footer */
.footer {
  padding: 3rem 0 6.5rem;
  border-top: 1px solid var(--xl-line);
  background: rgba(255, 255, 255, 0.5);
}

.footer__inner {
  display: grid;
  gap: 1.25rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__brand img {
  border-radius: 12px;
}

.footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.footer__brand p,
.footer__meta p,
.footer__copy {
  margin: 0.2rem 0 0;
  color: var(--xl-mute);
  font-size: 0.92rem;
}

.footer__meta a {
  color: var(--xl-blue-deep);
  font-weight: 600;
}

.fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--xl-blue), var(--xl-cyan));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(43, 124, 255, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes brand-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes brand-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes phone-rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 18px) scale(1.06); }
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 16px 36px rgba(43, 124, 255, 0.32); }
  50% { box-shadow: 0 18px 46px rgba(43, 124, 255, 0.5); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }

  .hero {
    min-height: auto;
    padding: 2rem 0 2.75rem;
  }

  .hero__grid,
  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__media,
  .feature--reverse .feature__body {
    order: initial;
  }

  .hero__stage {
    order: -1;
  }

  .phone-frame {
    width: min(280px, 72vw);
  }

  .hero__lead {
    max-width: none;
  }

  .scene-grid,
  .trust__grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .fab {
    display: inline-flex;
  }

  .strip__row {
    flex-direction: column;
    gap: 0.4rem;
  }

  .review__head {
    grid-template-columns: auto 1fr;
  }

  .review__stars {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: min(1120px, calc(100% - 1.5rem));
  }

  .hero__brand {
    letter-spacing: 0.04em;
  }

  .shot {
    width: min(260px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
