:root {
  color-scheme: dark;
  --bg: #050914;
  --ink: #f8fafc;
  --muted: #9aa8ba;
  --line: rgba(148, 163, 184, 0.22);
  --white: #ffffff;
  --green: #34d399;
  --text: #111827;
  --text-muted: #64748b;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(5, 9, 20, 0.78);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(5, 9, 20, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: grid;
  width: min(1360px, calc(100% - 28px));
  min-height: 72px;
  margin: 0 auto;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.brand-logo {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.16);
  overflow: hidden;
  animation: brandLogoFloat 3.6s ease-in-out infinite;
}

.brand-logo img {
  width: 24px;
  height: 24px;
  transform-origin: center bottom;
  animation: brandLogoNod 3.8s ease-in-out infinite;
}

.brand-eye {
  position: absolute;
  top: 16px;
  width: 4px;
  height: 3px;
  border-radius: 999px;
  background: #0f172a;
  transform: scaleY(0);
  transform-origin: center center;
  animation: brandLogoBlink 4.6s ease-in-out infinite;
}

.brand-eye-left {
  left: 13px;
}

.brand-eye-right {
  right: 13px;
}

@keyframes brandLogoFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  32% {
    transform: translate(-1px, -1px);
  }
  58% {
    transform: translate(1px, 0);
  }
}

@keyframes brandLogoNod {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  30% {
    transform: rotate(-6deg) scale(1.06);
  }
  58% {
    transform: rotate(6deg) scale(0.96);
  }
}

@keyframes brandLogoBlink {
  0%,
  43%,
  48%,
  100% {
    transform: scaleY(0);
  }
  45%,
  46% {
    transform: scaleY(1);
  }
}

.nav-links {
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.mobile-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.72);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 11px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-links a.is-active,
.mobile-nav a.is-active {
  border-color: rgba(52, 211, 153, 0.46);
  background: rgba(52, 211, 153, 0.2);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.12), 0 10px 28px rgba(52, 211, 153, 0.18);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  padding: 0 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.header-action::before,
.primary-button::before,
.secondary-button::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(6, 17, 31, 0.1);
  content: "↓";
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.secondary-button::before {
  background: rgba(255, 255, 255, 0.14);
  content: "↑";
}

.header-action,
.primary-button {
  background: var(--white);
  color: #06111f;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
}

.menu-button {
  position: relative;
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.menu-button span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 78px;
  left: 16px;
  right: 16px;
  z-index: 29;
  display: none;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(5, 9, 20, 0.98);
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

.section-inner,
.hero-inner,
.module-layout {
  width: min(1440px, calc(100% - 24px));
  margin: 0 auto;
}

.snap-section {
  scroll-snap-align: start;
  scroll-margin-top: 72px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 108px 0 50px;
  background:
    radial-gradient(circle at 12% 24%, rgba(52, 211, 153, 0.18), transparent 30%),
    radial-gradient(circle at 86% 22%, rgba(56, 189, 248, 0.22), transparent 32%),
    linear-gradient(180deg, #050914 0%, #07111f 100%);
}

.hero::before {
  position: absolute;
  inset: 72px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
}

.hero-inner {
  position: relative;
  max-width: 1360px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 0.32fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  border: 1px solid rgba(52, 211, 153, 0.36);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.13);
  color: #bbf7d0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  padding: 10px 13px;
  box-shadow: 0 12px 30px rgba(52, 211, 153, 0.12);
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.9);
  content: "";
}

.section-kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.065);
  color: #86efac;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 8px 14px 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.section-kicker::before {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

.hero h1,
.module-copy h2,
.install-content h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: none;
  color: var(--white);
  font-size: clamp(54px, 5.4vw, 86px);
  font-weight: 950;
  white-space: nowrap;
}

.hero-formula {
  display: flex;
  width: max-content;
  max-width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.hero-formula span {
  flex: 0 0 auto;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 900;
  white-space: nowrap;
}

.hero-formula em {
  flex: 0 0 auto;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.hero-lead {
  max-width: 920px;
  margin: 26px 0 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 650;
  line-height: 1.48;
  text-wrap: pretty;
}

.lead-break {
  display: block;
}

.hero-subcopy {
  max-width: 860px;
  margin: 18px 0 0;
  color: rgba(226, 232, 240, 0.74);
  font-size: 18px;
  line-height: 1.78;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.video-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(52, 211, 153, 0.34);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  padding: 0 18px 0 14px;
  box-shadow: 0 16px 42px rgba(52, 211, 153, 0.13);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.video-button span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #07111f;
  font-size: 11px;
  line-height: 1;
  padding-left: 2px;
}

.video-button:hover {
  border-color: rgba(52, 211, 153, 0.62);
  background: rgba(52, 211, 153, 0.18);
  box-shadow: 0 20px 54px rgba(52, 211, 153, 0.2);
  transform: translateY(-1px);
}

.hero-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(15, 23, 42, 0.58);
  padding: 18px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.hero-preview::before {
  position: absolute;
  inset: -40% -20% auto 25%;
  height: 180px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.26), transparent 68%);
  content: "";
}

.preview-topbar,
.preview-search,
.preview-grid,
.preview-assistant {
  position: relative;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 18px;
}

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

.preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.58);
}

.preview-topbar strong {
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.preview-search {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.34);
  padding: 18px;
}

.preview-search strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
}

.preview-search p {
  margin: 10px 0 0;
  color: rgba(226, 232, 240, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.preview-grid div {
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  padding: 13px;
}

.preview-grid span,
.preview-assistant span {
  color: #86efac;
  font-size: 12px;
  font-weight: 900;
}

.preview-grid strong {
  display: block;
  margin-top: 14px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.25;
}

.preview-assistant {
  margin-top: 12px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 16px;
  background: rgba(52, 211, 153, 0.11);
  padding: 15px;
}

.preview-assistant p {
  margin: 9px 0 0;
  color: rgba(248, 250, 252, 0.86);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.65;
}

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

.entry-grid article {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 20px 22px;
}

.entry-grid span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.entry-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--white);
  font-size: 28px;
  line-height: 1.1;
}

.entry-grid p {
  margin: 12px 0 0;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.75;
}

.module-screen {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 104px 0 60px;
  background: #081220;
}

.module-screen.alt {
  background: #f8fbff;
  color: var(--text);
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 3.2vw, 56px);
  align-items: start;
}

.module-copy h2 {
  color: inherit;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
}

.module-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.module-copy p {
  margin: 0;
  border-left: 4px solid rgba(52, 211, 153, 0.72);
  color: rgba(226, 232, 240, 0.92);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 760;
  line-height: 1.72;
  padding-left: 18px;
}

.alt .module-copy p {
  border-left-color: #0f766e;
  color: #334155;
}

.alt .section-kicker {
  border-color: rgba(15, 118, 110, 0.16);
  background: rgba(15, 118, 110, 0.055);
  color: #0f766e;
}

.screenshot-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.36);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
  cursor: zoom-in;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.alt .screenshot-card {
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.15);
}

.screenshot-card::after {
  position: absolute;
  left: 50%;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.76);
  color: #ffffff;
  content: "点击查看大图";
  font-size: 12px;
  font-weight: 850;
  opacity: 0.76;
  padding: 8px 11px;
  transform: translateX(-50%);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.screenshot-card:hover {
  border-color: rgba(52, 211, 153, 0.42);
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px) scale(1.012);
  animation: screenshotBreath 1.8s ease-in-out infinite;
}

.screenshot-card:hover::after {
  opacity: 1;
  background: rgba(2, 6, 23, 0.9);
  transform: translate(-50%, -2px);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.screenshot-card:hover img {
  transform: scale(1.018);
}

@keyframes screenshotBreath {
  0%,
  100% {
    transform: translateY(-4px) scale(1.012);
  }
  50% {
    transform: translateY(-6px) scale(1.026);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.86);
  padding: 72px 24px 24px;
  backdrop-filter: blur(16px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  display: block;
  max-width: min(96vw, 1500px);
  max-height: calc(100vh - 112px);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
  padding: 0 18px;
}

.lightbox-close::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  content: "×";
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 9, 20, 0.86);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(16px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: rgba(15, 23, 42, 0.96);
  transform: translateY(-2px) scale(1.02);
}

.install-section {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 104px 0 82px;
  background: #07111f;
}

.install-content {
  text-align: center;
}

.install-content h2 {
  width: min(760px, 100%);
  margin: 22px auto 0;
  font-size: clamp(34px, 4vw, 58px);
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px auto 30px;
}

.install-steps div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.7;
  padding: 22px;
}

.install-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--white);
  color: #07111f;
  font-weight: 900;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.install-actions .primary-button {
  position: relative;
  animation: installButtonBreath 2.15s ease-in-out infinite;
}

@keyframes installButtonBreath {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0),
      0 12px 32px rgba(52, 211, 153, 0.18);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(255, 255, 255, 0.13),
      0 22px 62px rgba(52, 211, 153, 0.34);
    transform: translateY(-2px) scale(1.045);
  }
}

.post-install-guide {
  margin-top: 58px;
  text-align: left;
}

.guide-heading {
  width: min(920px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.guide-heading .section-kicker {
  margin: 0 auto;
}

.guide-heading h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}

.guide-heading > p {
  margin: 18px auto 0;
  color: rgba(226, 232, 240, 0.74);
  font-size: 17px;
  line-height: 1.8;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.guide-card {
  display: grid;
  gap: 18px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
}

.guide-copy span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.guide-copy h4 {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.35;
}

.guide-copy p {
  margin: 12px 0 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.install-shot {
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050914;
  color: var(--muted);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .screenshot-card {
  animation: screenshotLift 0.75s ease both;
}

@keyframes screenshotLift {
  from {
    transform: translateY(28px) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .reveal,
  .reveal.is-visible .screenshot-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .screenshot-card,
  .screenshot-card img,
  .install-actions .primary-button,
  .brand-logo,
  .brand-logo img,
  .brand-eye {
    animation: none;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    justify-content: flex-start;
  }

  .hero-main {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    max-width: 760px;
  }

  .module-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .module-copy {
    max-width: 760px;
  }

  .screenshot-card {
    max-width: 920px;
  }
}

@media (max-width: 980px) {
  html {
    scroll-snap-type: none;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .entry-grid,
  .install-steps,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .module-screen,
  .install-section {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .section-inner,
  .hero-inner,
  .module-layout {
    width: min(100% - 24px, 1440px);
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: 44px;
    white-space: normal;
  }

  .hero-formula {
    width: 100%;
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .hero-preview {
    border-radius: 16px;
    padding: 14px;
  }

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

  .hero-lead {
    font-size: 19px;
  }

  .lead-break {
    display: none;
  }

  .hero,
  .module-screen,
  .install-section {
    padding: 104px 0 54px;
  }

  .install-actions .primary-button,
  .install-actions .secondary-button {
    width: 100%;
  }

  .hero-actions,
  .video-button {
    width: 100%;
  }

  .post-install-guide {
    margin-top: 42px;
  }

  .guide-card {
    padding: 14px;
  }

  .guide-copy h4 {
    font-size: 20px;
  }

  .screenshot-card {
    border-radius: 14px;
  }

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