:root {
  --bg: #060606;
  --bg-card: rgba(18, 18, 20, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(201, 162, 39, 0.35);
  --text: #f0f0f2;
  --muted: #9b9ba3;
  --accent: #d4a853;
  --accent-dim: rgba(212, 168, 83, 0.15);
  --accent-glow: rgba(212, 168, 83, 0.25);
  --radius: 14px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Outfit", var(--font-body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 168, 83, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(120, 90, 40, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 70%, rgba(80, 60, 30, 0.06), transparent 45%);
}

body > *:not(.bg-glow) {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #e8bc6a;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  background: var(--accent-dim);
  border-radius: 6px;
  color: #e8c97a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: rgba(6, 6, 6, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.carousel {
  position: relative;
  width: 100%;
}

.carousel--hero {
  max-width: none;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-viewport--hero {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #0e0e10;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.6),
    0 0 80px var(--accent-dim),
    0 0 0 1px rgba(212, 168, 83, 0.12) inset;
}

/**
 * Taobao/JD-style: native horizontal scroll + scroll-snap (browser handles touch inertia).
 */
.carousel-scroll {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-scroll::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .carousel-scroll {
    scroll-behavior: smooth;
  }
}

.carousel-slide {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e0e10;
  border: 0;
  padding: 0;
}

.carousel-viewport--hero .carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-viewport--hero .carousel-slide img {
  cursor: zoom-in;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  pointer-events: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(6, 6, 6, 0.65);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px 0;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.carousel-arrow:hover {
  background: rgba(30, 30, 32, 0.9);
  border-color: var(--border-strong);
  color: var(--accent);
}

.carousel-viewport--hero .carousel-prev {
  left: clamp(0.35rem, 1.5vw, 0.65rem);
}

.carousel-viewport--hero .carousel-next {
  right: clamp(0.35rem, 1.5vw, 0.65rem);
}

.carousel-prev {
  left: clamp(0.5rem, 2vw, 1rem);
}

.carousel-next {
  right: clamp(0.5rem, 2vw, 1rem);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1rem 1.25rem;
}

.carousel-dots--hero {
  padding: 0.65rem 0 0;
  gap: 0.4rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.45);
}

.carousel-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(212, 168, 83, 0.35);
  transform: scale(1.35);
}

.hero {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.hero-media {
  min-width: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-name {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #c9a96e 45%, #8b7344 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.lede strong {
  color: #c8c8d0;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(145deg, #e0b86a, #b8893a);
  color: #1a1408;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn.primary:hover {
  color: #1a1408;
  box-shadow: 0 6px 32px rgba(212, 168, 83, 0.35);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn.ghost:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text);
}

.btn.large {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
}

.spec-strip div {
  margin: 0;
}

.spec-strip dt {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: var(--font-display);
}

.spec-strip dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 520px) {
  .spec-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e0e10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.intro-video-frame {
  max-width: 900px;
  margin: 0 auto;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 168, 83, 0.12) inset;
}

.intro-video-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.intro-video-note a {
  color: var(--muted);
}

.intro-video-note a:hover {
  color: var(--accent);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--border);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container.narrow {
  max-width: 560px;
}

.section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-sub {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
}

.feature-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.workflow {
  background: linear-gradient(180deg, transparent, rgba(212, 168, 83, 0.03) 40%, transparent);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: none;
}

.steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.steps > li:last-child {
  border-bottom: none;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #1a1408;
  background: linear-gradient(145deg, #e0b86a, #a67c32);
  border-radius: 10px;
  flex-shrink: 0;
}

.step-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.step-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.workflow-footnote {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.9;
}

.video-list {
  display: grid;
  gap: 1.5rem;
}

.video-empty {
  margin: 0;
  padding: 1.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.video-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.video-card .video-frame {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.video-frame--list {
  min-height: 200px;
}

.video-card-meta {
  padding: 0.85rem 1.1rem 1rem;
  border-top: 1px solid var(--border);
}

.video-card-meta h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.video-card-meta h3 a {
  color: var(--text);
  text-decoration: none;
}

.video-card-meta h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.video-card-sub {
  margin: 0;
  font-size: 0.85rem;
}

.video-card-sub a {
  color: var(--muted);
}

.video-card-sub a:hover {
  color: var(--accent);
}

.manual .section-head {
  text-align: left;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .label {
  min-width: 3.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 1.75rem 1.5rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100dvh;
  margin: 0;
  padding: 2.75rem 1rem 1.5rem;
  border: none;
  background: transparent;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.image-lightbox::backdrop {
  background: rgba(4, 4, 6, 0.92);
  backdrop-filter: blur(5px);
}

.image-lightbox-img {
  max-width: min(96vw, 1400px);
  max-height: min(88vh, 90dvh);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.8);
}

.image-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(18, 18, 20, 0.92);
  color: var(--text);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px 0;
}

.image-lightbox-close:hover {
  background: rgba(36, 36, 40, 0.96);
  color: var(--accent);
  border-color: var(--border-strong);
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }
}
