:root {
  --bg: #0c0614;
  --text: #f4f0ff;
  --muted: #a89bc0;
  --accent: #f0c14b;
  --cta-a: #8b5cf6;
  --cta-b: #ec4899;
  --link: #c4b5fd;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
  --input-bg: rgba(8, 4, 16, 0.72);
  --ok: #4ade80;
  --danger: #fb7185;
  --card: rgba(255, 255, 255, 0.045);
  --font: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 640px at 15% 0%, rgba(139, 92, 246, 0.62), transparent 58%),
    radial-gradient(900px 560px at 90% 10%, rgba(236, 72, 153, 0.38), transparent 52%),
    radial-gradient(800px 520px at 50% 100%, rgba(99, 102, 241, 0.28), transparent 55%),
    linear-gradient(180deg, #1a0d30 0%, #0f071c 42%, #0a0512 100%);
}

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

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 8px 0 28px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cta-a), var(--cta-b));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.brand-mark svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.page-hero {
  text-align: center;
  padding: 18px 0 8px;
}

.crumbs {
  margin: 0 0 18px;
  color: #7d709a;
  font-size: 0.88rem;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.page-hero .lead {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.guide-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  background: rgba(12, 8, 22, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.15s ease, transform 0.15s ease;
  min-height: 220px;
}

.guide-card:hover {
  border-color: rgba(196, 181, 253, 0.45);
  transform: translateY(-2px);
}

.guide-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.22);
  color: #ddd6fe;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.guide-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.guide-card .read {
  margin-top: 20px;
  color: var(--link);
  font-weight: 650;
  font-size: 0.95rem;
}

.guide-card:hover .read { color: #e9e0ff; }

.article {
  margin: 28px auto 0;
  max-width: 720px;
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  background: rgba(12, 8, 22, 0.72);
}

.article h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.article h2:first-child { margin-top: 0; }

.article p,
.article li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.article ol,
.article ul {
  padding-left: 1.2em;
}

.article li + li { margin-top: 8px; }

.article .cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-go {
  border: 0;
  border-radius: 14px;
  padding: 12px 20px;
  min-height: 48px;
  background: linear-gradient(120deg, var(--cta-a), var(--cta-b));
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.28);
}

.btn-go:hover { filter: brightness(1.06); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

footer {
  margin: 48px auto 0;
  text-align: center;
  color: #6a5d85;
  font-size: 0.78rem;
}

footer a { color: #8b7eab; }
footer a:hover { color: var(--text); }

/* Convert dropzone：空闲与反馈同一位置切换 */
.dropzone {
  position: relative;
  margin: 32px auto 0;
  max-width: 720px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  background: rgba(12, 8, 22, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.drop-inner {
  display: block;
  border: 1.5px dashed rgba(196, 181, 253, 0.45);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.dropzone.dragover .drop-inner,
.dropzone.dragover .drop-feedback {
  border-color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
}

.dropzone.has-file .drop-inner { display: none; }
.dropzone.has-file .drop-feedback { display: block; }

.drop-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}

.drop-inner h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.drop-inner .hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.drop-inner .btn-choose {
  display: inline-block;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  background: #a78bfa;
  color: #1a1028;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
}

.drop-inner:hover .btn-choose { filter: brightness(1.05); }

.drop-feedback {
  display: none;
  border: 1.5px solid rgba(196, 181, 253, 0.35);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: left;
}

.drop-feedback .file-name {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 1.05rem;
  word-break: break-all;
}

.drop-feedback .file-meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.convert-note {
  margin: 14px auto 0;
  max-width: 720px;
  text-align: center;
  color: #7d709a;
  font-size: 0.85rem;
  line-height: 1.5;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cta-a), var(--cta-b));
  transition: width 0.2s ease;
}

.convert-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.4em;
}

.convert-status.error { color: var(--danger); }
.convert-status.ok { color: var(--ok); }

.convert-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.convert-actions .btn-go,
.convert-actions .btn-ghost {
  min-height: 44px;
}

.convert-actions [hidden] {
  display: none !important;
}

.content-block {
  margin: 56px auto 0;
  max-width: 720px;
}

.content-block h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.content-block p,
.content-block li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.content-block ol,
.content-block ul { padding-left: 1.2em; }
.content-block li + li { margin-top: 8px; }
.content-block a { color: var(--link); }

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
}

table.formats {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.formats th,
table.formats td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

table.formats th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 650;
}

table.formats td { color: var(--muted); }
table.formats tr:last-child td { border-bottom: 0; }

.faq details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.18);
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details p {
  margin: 10px 0 0;
}

/* Pricing */
.price-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  background: rgba(12, 8, 22, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.price-card.popular {
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 20px 50px rgba(139, 92, 246, 0.18);
  background:
    radial-gradient(400px 180px at 50% 0%, rgba(139, 92, 246, 0.28), transparent 70%),
    rgba(12, 8, 22, 0.85);
}

.price-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cta-a), var(--cta-b));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.price-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.price-amount {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-amount small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 6px;
}

.price-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-desc {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.price-card .btn-go,
.price-card .btn-outline {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
  text-align: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.45);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.12);
}

.price-guarantee {
  margin: 12px 0 0;
  text-align: center;
  color: var(--ok);
  font-size: 0.82rem;
  font-weight: 600;
}

.price-bullets {
  margin: 28px auto 0;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.price-bullets i {
  font-style: normal;
  color: var(--ok);
  font-weight: 700;
}

.compare-note {
  margin: 12px 0 0;
  color: #7d709a;
  font-size: 0.85rem;
  line-height: 1.55;
}

.compare-note li + li { margin-top: 4px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(20, 12, 36, 0.95);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
  max-width: min(420px, calc(100% - 32px));
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 720px) {
  .guide-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .shell { width: calc(100% - 24px); }
  .nav-links { gap: 12px; font-size: 0.85rem; }
}


/* Platform landing cards (shared) */
.site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
a.site-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.site-card:hover {
  border-color: rgba(196, 181, 253, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}
a.site-card strong { display: block; font-size: 1rem; margin-bottom: 2px; }
a.site-card .site-sub { color: var(--muted); font-size: 0.82rem; flex: 1; }
a.site-card .site-arrow { color: #c9bddf; margin-left: auto; }
.article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  color: #ddd6fe;
  word-break: break-all;
}
@media (max-width: 720px) {
  .site-grid { grid-template-columns: 1fr; }
}
