:root {
  --bg: #070806;
  --panel: rgba(14, 17, 15, 0.78);
  --panel-solid: #101411;
  --text: #f4f1e9;
  --muted: #b2aa9d;
  --soft: #756f64;
  --line: rgba(238, 225, 196, 0.18);
  --gold: #d9a85d;
  --ember: #e36f3f;
  --green: #82d8a6;
  --black: #030403;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 4, 3, 0.2), rgba(3, 4, 3, 0.56)),
    radial-gradient(circle at 18% 16%, rgba(217, 168, 93, 0.09), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(130, 216, 166, 0.08), transparent 24%);
  pointer-events: none;
}

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

.absolute { position: absolute; }
.inset-0 { inset: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.z-0 { z-index: 0; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(3, 4, 3, 0.82), rgba(3, 4, 3, 0));
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 6, 5, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(217, 168, 93, 0.18);
}

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

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: rgba(244, 241, 233, 0.76);
  font-size: 14px;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.header-action,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action,
.primary-button {
  background: linear-gradient(135deg, var(--gold), var(--ember));
  color: #140b04;
  box-shadow: 0 14px 44px rgba(227, 111, 63, 0.28);
}

.ghost-button {
  border: 1px solid rgba(244, 241, 233, 0.28);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 5vw, 72px) 78px;
}

.page-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #040505;
}

.page-media {
  position: fixed;
  z-index: -3;
}

.page-media video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, calc(100vh * 16 / 9));
  height: max(100vh, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%) scale(1.08);
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(0.64);
}

.page-media-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 30%, rgba(244, 241, 233, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(3, 4, 3, 0.28), rgba(3, 4, 3, 0.68));
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 45%, rgba(217, 168, 93, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(3, 4, 3, 0.76) 0%, rgba(3, 4, 3, 0.4) 44%, rgba(3, 4, 3, 0.1) 100%),
    linear-gradient(180deg, rgba(3, 4, 3, 0.05), rgba(3, 4, 3, 0.14) 72%, rgba(3, 4, 3, 0.02) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(244, 241, 233, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 233, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 80%), linear-gradient(180deg, black 0%, black 74%, transparent 100%);
  mask-composite: intersect;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy {
  max-width: 610px;
  color: rgba(244, 241, 233, 0.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: clamp(58px, 10vh, 118px);
  z-index: 4;
  width: min(390px, 35vw);
}

.scan-card,
.product-window,
.feature-grid article,
.tutorial-card,
.download-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.scan-card {
  padding: 16px;
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.58);
}

.scan-top,
.readouts,
.download-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scan-top span {
  color: var(--muted);
  font-size: 12px;
}

.scan-top b {
  color: var(--green);
  font-size: 12px;
}

.radar {
  --radar-cycle: 4.2s;
  --scan-angle: 0deg;
  position: relative;
  width: 100%;
  aspect-ratio: 1.35;
  margin: 14px 0;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  background:
    radial-gradient(circle, rgba(130, 216, 166, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(244, 241, 233, 0.06), rgba(255, 255, 255, 0.01));
}

.radar-ring,
.radar-sweep,
.radar-line,
.radar-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring {
  z-index: 2;
  border: 1px solid rgba(130, 216, 166, 0.28);
  border-radius: 50%;
}

.ring-a { width: 38%; aspect-ratio: 1; }
.ring-b { width: 64%; aspect-ratio: 1; }
.ring-c { width: 92%; aspect-ratio: 1; }

.radar-sweep {
  z-index: 1;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      rgba(130, 216, 166, 0) 0deg,
      rgba(130, 216, 166, 0) 278deg,
      rgba(130, 216, 166, 0.07) 302deg,
      rgba(217, 168, 93, 0.14) 330deg,
      rgba(130, 216, 166, 0.54) 360deg
    );
  filter: blur(0.2px);
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle, transparent 0 8%, black 9% 100%);
  transform: translate(-50%, -50%) rotate(var(--scan-angle));
}

.radar-line {
  z-index: 4;
  width: 44%;
  height: 1px;
  transform-origin: left center;
  transform: translate(0, -50%) rotate(calc(var(--scan-angle) - 90deg));
  background: linear-gradient(90deg, rgba(130, 216, 166, 0.92), rgba(217, 168, 93, 0.28), transparent);
  box-shadow: 0 0 18px rgba(130, 216, 166, 0.36);
}

.radar-dot {
  --dot-rgb: 217, 168, 93;
  z-index: 5;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--dot-rgb));
  box-shadow: 0 0 22px rgba(var(--dot-rgb), 0.78);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.dot-a { left: 72%; top: 38%; }
.dot-b { --dot-rgb: 130, 216, 166; left: 35%; top: 63%; }
.dot-c { --dot-rgb: 227, 111, 63; left: 58%; top: 72%; }

.radar-dot.is-hit {
  transform: translate(-50%, -50%) scale(1.22);
  filter: brightness(1.18);
  box-shadow: 0 0 28px rgba(var(--dot-rgb), 0.88), 0 0 48px rgba(var(--dot-rgb), 0.22);
}

.radar-pulse {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  border: 1px solid rgba(var(--dot-rgb), 0.72);
  background:
    radial-gradient(circle, rgba(var(--dot-rgb), 0.2) 0 18%, rgba(var(--dot-rgb), 0.08) 36%, transparent 68%);
  box-shadow: 0 0 20px rgba(var(--dot-rgb), 0.26);
}

.radar-dot.is-hit .radar-pulse {
  animation: radarRipple 1.12s ease-out both;
}

.radar-dot.is-hit .pulse-late {
  animation-delay: 150ms;
}

.readouts span {
  flex: 1;
  color: var(--muted);
  font-size: 11px;
}

.readouts b {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  width: 28px;
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(244, 241, 233, 0.24);
  border-radius: 22px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: var(--gold);
  animation: drop 1.6s ease-in-out infinite;
}

.section {
  position: relative;
  padding: 104px clamp(18px, 5vw, 72px);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.section-heading,
.preview-layout,
.tutorial-grid,
.download-panel,
.download-notes,
.faq-list,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.download-panel h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.product-window {
  min-height: 560px;
  overflow: hidden;
  background: rgba(9, 11, 9, 0.86);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--soft);
}

.window-bar b {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
}

.interface-shot-wrap {
  position: relative;
  padding: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 168, 93, 0.12), transparent 26%),
    #070807;
}

.interface-shot-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(217, 168, 93, 0.2);
  border-radius: calc(var(--radius) - 2px);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.48);
}

.interface-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(244, 241, 233, 0.16);
  background:
    linear-gradient(rgba(244, 241, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 233, 0.03) 1px, transparent 1px),
    #050605;
  background-size: 42px 42px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature-grid article {
  padding: 22px;
  background: rgba(17, 20, 17, 0.86);
}

.feature-index {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.feature-grid h3,
.tutorial-card h3 {
  margin: 16px 0 10px;
  font-size: 21px;
}

.feature-grid p,
.tutorial-card p,
.download-panel p,
.faq-list p {
  color: var(--muted);
  line-height: 1.75;
}

.tutorial-section {
  background: transparent;
}

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

.tutorial-card {
  padding: 14px 14px 20px;
  cursor: pointer;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 35%, rgba(217, 168, 93, 0.38), transparent 28%),
    linear-gradient(135deg, #1d211b, #090a09);
}

.video-thumb.alt {
  background:
    radial-gradient(circle at 28% 70%, rgba(130, 216, 166, 0.3), transparent 28%),
    linear-gradient(135deg, #151b18, #080909);
}

.video-thumb.deep {
  background:
    radial-gradient(circle at 60% 42%, rgba(227, 111, 63, 0.36), transparent 28%),
    linear-gradient(135deg, #1e1712, #070707);
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 233, 0.34);
  background: rgba(0, 0, 0, 0.34);
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 18px;
  border-left: 15px solid var(--text);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

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

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.video-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(244, 241, 233, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 11, 10, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.video-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 18px;
  border-radius: var(--radius);
  background: #050505;
}

.video-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin-top: 18px;
  border: 1px dashed rgba(244, 241, 233, 0.18);
  border-radius: var(--radius);
  color: var(--muted);
}

.download-section {
  position: relative;
  padding-top: 80px;
}

.download-section::before {
  background: transparent;
}

.faq-section::before {
  background: transparent;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(217, 168, 93, 0.16), rgba(227, 111, 63, 0.08)),
    rgba(14, 17, 15, 0.86);
}

.download-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.download-actions span {
  color: var(--muted);
  font-size: 12px;
}

.download-notes {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.download-support {
  width: min(100%, var(--max));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(244, 241, 233, 0.12);
  border-radius: var(--radius);
  background: rgba(14, 17, 15, 0.72);
  backdrop-filter: blur(16px);
}

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

.support-trigger {
  flex-shrink: 0;
  min-width: 156px;
  cursor: pointer;
}

.text-guide-section {
  padding-top: 40px;
  padding-bottom: 32px;
}

.text-guide-panel {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(244, 241, 233, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 168, 93, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(244, 241, 233, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(14, 17, 15, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.text-guide-copy h2 {
  margin-bottom: 12px;
}

.text-guide-copy p:last-child,
.text-guide-action span {
  color: var(--muted);
  line-height: 1.75;
}

.text-guide-action {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.text-guide-action span {
  font-size: 12px;
}

.pricing-section {
  padding-top: 72px;
  padding-bottom: 84px;
}

.pricing-intro {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(244, 241, 233, 0.72);
  font-size: 17px;
  line-height: 1.8;
}

.pricing-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 241, 233, 0.02), rgba(244, 241, 233, 0)),
    rgba(14, 17, 15, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.22);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(217, 168, 93, 0.12), transparent 34%);
  pointer-events: none;
}

.pricing-card.is-featured {
  border-color: rgba(217, 168, 93, 0.36);
  background:
    linear-gradient(145deg, rgba(217, 168, 93, 0.12), rgba(227, 111, 63, 0.04)),
    rgba(14, 17, 15, 0.88);
  box-shadow: 0 30px 90px rgba(227, 111, 63, 0.12);
}

.pricing-card-top {
  position: relative;
  z-index: 1;
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(244, 241, 233, 0.16);
  border-radius: 999px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

.pricing-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  font-size: 34px;
}

.pricing-price {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--text);
}

.pricing-price strong {
  font-size: clamp(50px, 7vw, 74px);
  line-height: 0.92;
  font-weight: 900;
}

.pricing-price span {
  color: rgba(244, 241, 233, 0.72);
  font-size: 18px;
  font-weight: 700;
}

.pricing-breakdown,
.pricing-note {
  color: var(--muted);
  line-height: 1.75;
}

.pricing-breakdown {
  position: relative;
  z-index: 1;
  margin: 14px 0 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.pricing-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 241, 233, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pricing-button:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 168, 93, 0.34);
  background: rgba(217, 168, 93, 0.08);
}

.pricing-card.is-featured .pricing-button {
  background: linear-gradient(135deg, var(--gold), var(--ember));
  border-color: transparent;
  color: #140b04;
  box-shadow: 0 14px 34px rgba(227, 111, 63, 0.24);
}

.pricing-note {
  width: min(100%, var(--max));
  margin: 18px auto 0;
  font-size: 13px;
}

.pricing-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 17, 15, 0.66);
  color: var(--muted);
  text-align: center;
}

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

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: grid;
  place-items: center;
  padding: 20px;
}

.support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.support-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(244, 241, 233, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 8%, rgba(217, 168, 93, 0.14), transparent 32%),
    rgba(12, 14, 12, 0.94);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62);
}

.support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 241, 233, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.support-head h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 5vw, 46px);
}

.support-head p:last-child,
.support-qr-meta span {
  color: var(--muted);
  line-height: 1.7;
}

.support-channel-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.support-channel {
  min-height: 48px;
  border: 1px solid rgba(244, 241, 233, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.support-channel:hover,
.support-channel.is-active {
  transform: translateY(-1px);
  border-color: rgba(217, 168, 93, 0.4);
  background: rgba(217, 168, 93, 0.08);
}

.support-qr-frame {
  width: 180px;
  margin-top: 24px;
}

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

.support-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 59;
  display: grid;
  place-items: center;
  padding: 20px;
}

.support-qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.support-qr-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 28px 28px 30px;
  border: 1px solid rgba(244, 241, 233, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 8%, rgba(217, 168, 93, 0.14), transparent 32%),
    rgba(12, 14, 12, 0.96);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62);
}

.support-qr-dialog .support-qr-frame {
  margin: 24px auto 0;
}

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

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.purchase-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.purchase-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(244, 241, 233, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 8%, rgba(217, 168, 93, 0.14), transparent 32%),
    rgba(12, 14, 12, 0.94);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62);
}

.purchase-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 241, 233, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.purchase-head h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 5vw, 46px);
}

.purchase-head p:last-child,
.purchase-message {
  color: var(--muted);
  line-height: 1.7;
}

.purchase-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.purchase-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 16px;
  border: 1px solid rgba(244, 241, 233, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.purchase-summary span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.purchase-summary strong {
  font-size: 22px;
}

.purchase-summary b {
  color: var(--gold);
  font-size: 22px;
}

.purchase-form label {
  display: grid;
  gap: 8px;
}

.purchase-form label span {
  color: var(--muted);
  font-size: 13px;
}

.purchase-form input[type="tel"],
.purchase-form input[type="text"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(244, 241, 233, 0.16);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  outline: none;
}

.purchase-form input:focus {
  border-color: rgba(217, 168, 93, 0.55);
  box-shadow: 0 0 0 3px rgba(217, 168, 93, 0.1);
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pay-methods label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(244, 241, 233, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.pay-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-methods input:checked + span {
  color: var(--gold);
}

.pay-methods label:has(input:checked) {
  border-color: rgba(217, 168, 93, 0.5);
  background: rgba(217, 168, 93, 0.08);
}

.purchase-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.purchase-pay {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(244, 241, 233, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.qr-frame {
  display: grid;
  place-items: center;
  width: 180px;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: var(--radius);
  background: #f4f1e9;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-empty {
  color: #221b12;
  font-size: 13px;
}

.purchase-status {
  display: grid;
  gap: 10px;
}

.purchase-status strong {
  font-size: 20px;
}

.purchase-status span,
.purchase-result small {
  color: var(--muted);
  line-height: 1.6;
}

.cashier-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(217, 168, 93, 0.34);
  border-radius: var(--radius);
  color: var(--gold);
  background: rgba(217, 168, 93, 0.08);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.cashier-link:hover {
  border-color: rgba(217, 168, 93, 0.55);
  background: rgba(217, 168, 93, 0.13);
}

.purchase-result {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(130, 216, 166, 0.26);
  border-radius: var(--radius);
  background: rgba(130, 216, 166, 0.08);
}

.result-badge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(130, 216, 166, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.purchase-result strong {
  word-break: break-all;
  font-size: clamp(20px, 4vw, 30px);
  color: var(--text);
}

.purchase-result .primary-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.purchase-message {
  min-height: 24px;
  margin: 16px 0 0;
}

.purchase-message.is-error {
  color: #ff9b8f;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.agreement-copy {
  display: grid;
  gap: 10px;
}

.agreement-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(18px, 5vw, 72px) 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -24px 0;
  z-index: -1;
  background: transparent;
  border-top: 0;
}

@keyframes sweep {
  from { transform: translate(0, -50%) rotate(-90deg); }
  to { transform: translate(0, -50%) rotate(270deg); }
}

@keyframes radarSweepBeam {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes radarRipple {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  14% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(7.8);
  }
}

@keyframes drop {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.4; }
  50% { transform: translate(-50%, 16px); opacity: 1; }
}

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

  .hero {
    align-items: end;
    padding-bottom: 112px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 420px);
    margin-top: 34px;
  }

  .preview-layout,
  .download-panel,
  .pricing-grid,
  .text-guide-panel {
    grid-template-columns: 1fr;
  }

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

  .download-actions {
    justify-items: start;
  }

  .text-guide-action {
    justify-items: start;
  }

  .download-support {
    display: grid;
    justify-items: start;
  }

  .purchase-pay {
    grid-template-columns: 1fr;
  }

  .support-qr-panel {
    grid-template-columns: 1fr;
  }

  .qr-frame {
    width: min(100%, 240px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  .hero-actions,
  .site-footer,
  .download-notes {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

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

  .product-window {
    min-height: auto;
  }

  .support-channel-list,
  .pay-methods {
    grid-template-columns: 1fr;
  }
}
