:root {
  color-scheme: dark;
  --bg: #030303;
  --surface: #0f0f0f;
  --surface-soft: #171717;
  --surface-warm: #121212;
  --text: #f5f5f0;
  --muted: #9b9b93;
  --line: rgba(245, 245, 240, 0.12);
  --line-strong: rgba(245, 245, 240, 0.24);
  --accent: #f5f5f0;
  --green: #7ddf8a;
  --danger: #f5c16c;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(125, 223, 138, 0.1), transparent 32rem),
    radial-gradient(circle at 88% 6%, rgba(255, 255, 255, 0.07), transparent 30rem),
    linear-gradient(180deg, #050505 0%, var(--bg) 48%, #080808 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
  animation: siteFadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  padding-bottom: env(safe-area-inset-bottom);
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.hero {
  min-height: auto;
  padding-top: env(safe-area-inset-top);
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #050505;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.nav-actions,
.hero-actions,
.support-section {
  display: flex;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--text);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button.primary {
  background: var(--text);
  color: #080808;
  box-shadow: 0 14px 34px rgba(245, 245, 240, 0.12);
}

.button.secondary,
.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button.large {
  min-height: 50px;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 56px;
  align-items: center;
  padding: 76px 0 58px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker.green {
  color: var(--green);
}

h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.price-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.price-strip strong {
  color: var(--text);
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 36px;
}

.logo-card {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.logo-card img {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.product-video-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: auto;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #000;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.product-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: auto;
  object-fit: contain;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.product-video-card:hover .product-video {
  filter: contrast(1.04) saturate(1.02);
  transform: scale(1.018);
}

.logo-glow {
  display: none;
}

.warning-card,
.original-card,
.section,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 15, 15, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.warning-card {
  padding: 28px;
  border-color: rgba(245, 193, 108, 0.32);
  background: rgba(245, 193, 108, 0.08);
}

.warning-card h2,
.original-card h2,
.section-heading h2,
.support-card h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.warning-card p {
  margin-top: 14px;
  color: var(--danger);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.original-card {
  margin-top: 18px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.original-card p,
.section-heading p,
.support-card p,
.feature-card p,
.model-card span {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.feature-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section {
  margin-top: 18px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 740px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.model-card {
  position: relative;
  min-height: 128px;
  padding: 24px 22px 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.model-card:hover {
  border-color: rgba(125, 223, 138, 0.52);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

.model-card.is-selected {
  border-color: rgba(125, 223, 138, 0.78);
  background: rgba(125, 223, 138, 0.1);
  box-shadow: 0 20px 60px rgba(125, 223, 138, 0.12);
}

.fit-status {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  height: 20px;
  overflow: visible;
  border-radius: 999px;
}

.fit-status::before {
  position: absolute;
  inset: 7px 0;
  border-radius: 999px;
  background: rgba(245, 245, 240, 0.1);
  content: '';
}

.fit-status i {
  position: absolute;
  top: 7px;
  left: 0;
  width: 0;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 223, 138, 0.38), var(--green));
  box-shadow: 0 0 20px rgba(125, 223, 138, 0.34);
}

.fit-status b {
  position: absolute;
  top: 50%;
  right: -2px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(125, 223, 138, 0);
  border-radius: 50%;
  background: rgba(125, 223, 138, 0);
  color: rgba(125, 223, 138, 0);
  font-size: 15px;
  line-height: 1;
  transform: translateY(-50%) scale(0.5);
}

.model-card.is-visible .fit-status i {
  animation: fitProgressFill 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.model-card.is-visible .fit-status b {
  animation: fitCheckPop 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.92s forwards;
}

.reveal-page,
.reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s ease;
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

.reveal-page.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-item:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal-item:nth-child(2) .fit-status i {
  animation-delay: 0.12s;
}

.reveal-item:nth-child(2) .fit-status b {
  animation-delay: 1.04s;
}

.reveal-item:nth-child(3) {
  transition-delay: 0.12s;
}

.reveal-item:nth-child(3) .fit-status i {
  animation-delay: 0.22s;
}

.reveal-item:nth-child(3) .fit-status b {
  animation-delay: 1.14s;
}

.reveal-item:nth-child(4) {
  transition-delay: 0.18s;
}

.reveal-item:nth-child(4) .fit-status i {
  animation-delay: 0.32s;
}

.reveal-item:nth-child(4) .fit-status b {
  animation-delay: 1.24s;
}

.reveal-item:nth-child(5) {
  transition-delay: 0.24s;
}

.reveal-item:nth-child(5) .fit-status i {
  animation-delay: 0.42s;
}

.reveal-item:nth-child(5) .fit-status b {
  animation-delay: 1.34s;
}

.reveal-item:nth-child(6) {
  transition-delay: 0.3s;
}

.reveal-item:nth-child(6) .fit-status i {
  animation-delay: 0.52s;
}

.reveal-item:nth-child(6) .fit-status b {
  animation-delay: 1.44s;
}

@keyframes siteFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fitProgressFill {
  0% {
    width: 0;
    opacity: 0.55;
  }

  72% {
    width: calc(100% - 20px);
    opacity: 1;
  }

  100% {
    width: calc(100% - 20px);
    opacity: 1;
  }
}

@keyframes fitCheckPop {
  0% {
    border-color: rgba(125, 223, 138, 0);
    background: rgba(125, 223, 138, 0);
    box-shadow: none;
    color: rgba(125, 223, 138, 0);
    transform: translateY(-50%) scale(0.5);
  }

  62% {
    border-color: rgba(125, 223, 138, 0.9);
    background: rgba(125, 223, 138, 0.2);
    box-shadow: 0 0 0 8px rgba(125, 223, 138, 0.1), 0 0 22px rgba(125, 223, 138, 0.36);
    color: var(--green);
    transform: translateY(-50%) scale(1.13);
  }

  100% {
    border-color: rgba(125, 223, 138, 0.78);
    background: rgba(125, 223, 138, 0.14);
    box-shadow: 0 0 18px rgba(125, 223, 138, 0.22);
    color: var(--green);
    transform: translateY(-50%) scale(1);
  }
}

.model-card strong,
.model-card span {
  display: block;
}

.model-card strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.model-card span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.support-section {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 18px;
  justify-items: center;
}

.support-card {
  width: 100%;
  max-width: 720px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 42px 0 0;
  color: var(--muted);
  text-align: center;
}

.footer img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 20;
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--text);
  color: #050505;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-service {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 19;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-width: auto;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(245, 245, 240, 0.94);
  color: #050505;
  cursor: pointer;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.floating-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.floating-service:active {
  transform: translateY(0) scale(0.985);
}

.service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 12px rgba(22, 163, 74, 0.7);
}

.floating-service strong {
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.modal-open {
  overflow: hidden;
}

.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.buy-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.buy-modal[hidden] {
  display: none;
}

.buy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.buy-dialog {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.96);
  color: var(--text);
  box-shadow: 0 34px 100px rgba(17, 17, 17, 0.18);
  animation: dialogIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.buy-dialog h2 {
  margin-top: 14px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.buy-dialog p {
  margin: 14px 0 24px;
  color: var(--muted);
  line-height: 1.75;
}

.dialog-model-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}

.dialog-model-list button {
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dialog-model-list button:active {
  transform: scale(0.985);
}

.dialog-model-list button.is-selected {
  border-color: rgba(125, 223, 138, 0.82);
  background: rgba(125, 223, 138, 0.12);
  box-shadow: inset 0 0 0 1px rgba(125, 223, 138, 0.18), 0 14px 34px rgba(125, 223, 138, 0.08);
}

.dialog-model-list strong,
.dialog-model-list span {
  display: block;
}

.dialog-model-list strong {
  font-size: 17px;
  line-height: 1.15;
}

.dialog-model-list span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.dialog-model-list button.is-selected span {
  color: rgba(245, 245, 240, 0.84);
}

.selection-summary {
  margin: 16px 0 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-warm);
}

.selection-summary span,
.selection-summary strong {
  display: block;
}

.selection-summary span {
  color: var(--muted);
  font-size: 13px;
}

.selection-summary strong {
  margin-top: 6px;
  font-size: 20px;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dialog-actions .button {
  flex: 1 1 150px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    border-radius: 24px;
  }

  .hero-grid,
  .feature-grid,
  .support-section,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
    padding: 48px 0 32px;
  }

  .logo-card {
    width: min(320px, 100%);
    min-height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
  }

  .product-video-card,
  .product-video {
    min-height: auto;
  }

  .product-video-card {
    order: -1;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (min-width: 1180px) {
  .page {
    width: min(1280px, calc(100% - 48px));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(620px, 1fr);
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 24px, 1080px);
    padding-top: 10px;
  }

  .nav,
  .nav-actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    align-self: flex-start;
  }

  h1 {
    font-size: clamp(42px, 15vw, 56px);
    letter-spacing: -0.06em;
  }

  .lead {
    font-size: 17px;
  }

  .price-strip,
  .hero-actions,
  .support-actions,
  .dialog-actions {
    width: 100%;
  }

  .price-strip {
    border-radius: 18px;
  }

  .button.large,
  .support-actions .button,
  .dialog-actions .button {
    width: 100%;
  }

  .warning-card,
  .original-card,
  .section,
  .support-card {
    padding: 22px;
    border-radius: 18px;
  }

  .product-video-card,
  .product-video {
    min-height: auto;
  }

  .product-video-card {
    order: -1;
    border-radius: 22px;
  }

  .floating-service {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    height: 44px;
    padding: 0 15px;
  }

  .buy-modal {
    align-items: end;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .buy-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 24px 18px 18px;
    border-radius: 24px;
  }

  .buy-dialog h2 {
    font-size: 28px;
  }

  .dialog-model-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dialog-model-list button {
    min-height: 64px;
  }

  .toast {
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

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

  body,
  .buy-dialog,
  .reveal-page,
  .reveal-item,
  .product-video {
    animation: none;
    transition: none;
  }

  .reveal-page,
  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .fit-status i {
    width: calc(100% - 20px);
    opacity: 1;
  }

  .fit-status b {
    border-color: rgba(125, 223, 138, 0.76);
    background: rgba(125, 223, 138, 0.14);
    color: var(--green);
    transform: translateY(-50%) scale(1);
  }
}
