:root {
  --bg: #020706;
  --bg-elevated: #090e0d;
  --ink: #f6f8ef;
  --ink-soft: rgba(246, 248, 239, 0.62);
  --ink-mute: rgba(246, 248, 239, 0.58);
  --accent: #bdf910;
  --accent-ink: #071006;
  --line: rgba(246, 248, 239, 0.09);
  --radius-panel: 34px;
  --radius-pill: 999px;
  --content: min(1380px, calc(100% - 48px));
  /* System fonts only — avoid Google Fonts latency in CN */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow-cta: 0 0 16px rgba(189, 249, 16, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(48% 36% at 8% 22%, rgba(189, 249, 16, 0.08), transparent 70%),
    radial-gradient(40% 30% at 92% 78%, rgba(189, 249, 16, 0.05), transparent 72%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.page {
  overflow-x: clip;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 36rem;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.7;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  min-width: 290px;
  min-height: 64px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 21px;
  box-shadow: var(--shadow-cta);
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(189, 249, 16, 0.08);
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(189, 249, 16, 0.35);
  }
  50% {
    box-shadow: 0 0 28px rgba(189, 249, 16, 0.7);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 clamp(20px, 6vw, 270px);
  background: rgba(2, 7, 6, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 124px;
  height: 29px;
  object-fit: contain;
  background: transparent;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.topbar .btn-outline {
  justify-self: end;
}

.hero {
  position: relative;
  min-height: min(100vh, 980px);
  display: grid;
  align-items: center;
  padding: 72px clamp(20px, 6vw, 270px) 80px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(90vw, 1717px);
  height: 100%;
  pointer-events: none;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  animation: hero-drift 12s ease-in-out infinite alternate;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 7, 6, 0.95) 0%,
    rgba(2, 7, 6, 0.55) 42%,
    rgba(2, 7, 6, 0.08) 78%,
    transparent 100%
  );
}

@keyframes hero-drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.03) translate3d(-1.2%, 0.8%, 0);
  }
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.hero__copy h1 {
  margin: 0 0 40px;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.05;
}

.narrative,
.control,
.models,
.specs {
  width: var(--content);
  margin: 0 auto;
  padding: 100px 0 40px;
  text-align: center;
}

.narrative h2,
.control h2,
.models h2,
.scenes__intro h2,
.cta__content h2,
.specs__copy h2 {
  font-size: clamp(36px, 4.6vw, 70px);
  line-height: 1.15;
}

.narrative h2 {
  max-width: 16ch;
  margin: 0 auto;
}

.features {
  width: var(--content);
  margin: 48px auto 0;
  display: grid;
  gap: 44px;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
  min-height: 480px;
  padding: clamp(28px, 4vw, 72px);
  background: var(--bg-elevated);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.feature--right {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature__text h3 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.2;
}

.feature__text p:last-child {
  max-width: 22em;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.7;
}

.feature__media {
  display: grid;
  place-items: center;
}

.feature__media img {
  width: min(100%, 430px);
  border-radius: 20px;
}

.feature__media--audio img {
  width: min(100%, 430px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(189, 249, 16, 0.18);
}

.control__figure {
  margin: 56px 0 0;
  border-radius: 28px;
  overflow: hidden;
}

.control__figure img {
  width: 100%;
}

.scenes {
  width: var(--content);
  margin: 0 auto;
  padding: 80px 0 40px;
}

.scenes__intro {
  max-width: min(655px, 100%);
  margin-bottom: 56px;
  text-align: left;
}

.scenes__intro .eyebrow {
  margin-bottom: 20px;
}

.scenes__intro h2 {
  max-width: none;
  text-align: left;
  line-height: 1.08;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.scene {
  display: grid;
  grid-template-columns: 920fr 430fr;
  gap: clamp(24px, 3vw, 60px);
  align-items: center;
  margin-bottom: 80px;
}

.scene--media-right {
  grid-template-columns: 430fr 920fr;
}

.scene img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 920 / 517;
}

.scene p {
  color: rgba(246, 248, 239, 0.85);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  line-height: 1.35;
}

.compare {
  margin-top: 56px;
  border: 1px solid rgba(246, 248, 239, 0.08);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 14, 13, 0.95), rgba(2, 7, 6, 0.92));
}

.compare__row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 28px 32px;
  border-top: 1px solid rgba(246, 248, 239, 0.08);
  text-align: left;
}

.compare__row--head {
  border-top: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 800;
}

.compare__label {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 800;
}

.compare__row:not(.compare__row--head) > :not(.compare__label) {
  color: #aaa;
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 800;
  line-height: 1.9;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.mark::before {
  content: "✓";
  line-height: 1;
}

.specs {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  padding-top: 60px;
}

.specs__copy h2 {
  max-width: 8ch;
}

.specs__figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.cta {
  position: relative;
  min-height: 850px;
  margin-top: 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.cta__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    166deg,
    rgb(0, 0, 0) 30%,
    rgba(0, 0, 0, 0.45) 83%
  );
}

.cta__content {
  position: relative;
  z-index: 1;
  width: min(943px, calc(100% - 40px));
  padding: 80px 0;
}

.cta__content h2 {
  color: var(--accent);
  margin-bottom: 28px;
}

.cta__content p {
  max-width: 36rem;
  margin: 0 auto 40px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 112px) 40px;
  color: var(--ink-mute);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 100px;
  height: 24px;
  object-fit: contain;
  opacity: 0.85;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    padding-inline: 20px;
  }

  .narrative,
  .control,
  .models,
  .specs,
  .features,
  .scenes {
    width: min(100% - 40px, 1380px);
  }

  .narrative h2,
  .control h2,
  .models h2 {
    max-width: none;
  }

  /* Stack: always copy first, media second (ignore desktop left/right zig-zag) */
  .feature,
  .feature--left,
  .feature--right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
    padding: 28px 22px;
  }

  .feature__text {
    order: 1;
  }

  .feature__media {
    order: 2;
  }

  .feature__text p:last-child {
    max-width: none;
  }

  /* Scenes: image first, caption second — consistent for all rows */
  .scene,
  .scene--media-left,
  .scene--media-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
  }

  .scene img,
  .scene--media-right img {
    order: 1;
    width: 100%;
  }

  .scene p {
    order: 2;
    font-size: clamp(18px, 5vw, 28px);
  }

  .specs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }

  .specs__copy {
    order: 1;
  }

  .specs__figure {
    order: 2;
  }

  .specs__copy h2 {
    max-width: none;
  }

  .scenes__intro {
    max-width: 100%;
  }

  .scenes__intro h2 br {
    display: none;
  }

  .cta {
    min-height: 520px;
  }
}

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

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
    height: 56px;
  }

  .brand img {
    width: 104px;
    height: 24px;
  }

  .topbar .btn-outline {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 20px 20px 40px;
  }

  /* Mobile hero: image on top, then title/CTA */
  .hero__media {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: 56vw;
    min-height: 220px;
    max-height: 360px;
    margin: 0 0 20px;
    border-radius: 18px;
    overflow: hidden;
  }

  .hero__copy {
    order: 2;
    max-width: none;
  }

  .hero__copy h1 {
    margin-bottom: 24px;
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero__fade {
    background: linear-gradient(180deg, transparent 35%, var(--bg) 100%);
  }

  .narrative,
  .control,
  .models,
  .specs {
    padding: 56px 0 24px;
  }

  .btn-primary {
    min-width: 0;
    width: 100%;
    min-height: 52px;
    font-size: 17px;
  }

  /* Comparison table → readable stacked cards */
  .compare {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .compare__row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    border: 0;
    margin-bottom: 14px;
  }

  .compare__row--head {
    display: none;
  }

  .compare__label {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .compare__row:not(.compare__row--head) > :not(.compare__label) {
    padding: 14px 16px;
    border: 1px solid rgba(246, 248, 239, 0.08);
    border-radius: 16px;
    background: rgba(9, 14, 13, 0.95);
    font-size: 16px;
    line-height: 1.7;
  }

  .compare__row:not(.compare__row--head) > :nth-child(2)::before {
    content: "LCabin Air";
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 14px;
  }

  .compare__row:not(.compare__row--head) > :nth-child(3)::before {
    content: "LCabin Lite";
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 14px;
  }

  .compare__row:not(.compare__row--head) > :nth-child(4)::before {
    content: "LCabin Pro";
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 14px;
  }

  .cta {
    min-height: 420px;
    margin-top: 40px;
  }

  .cta__content {
    padding: 48px 0;
  }

  .cta__content h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 36px;
  }
}
