/* test2.com — 快连下载引导站（独立视觉体系） */
:root {
  --bg-deep: #070b14;
  --bg-panel: #101827;
  --bg-elevated: #162033;
  --border: rgba(45, 212, 191, 0.18);
  --text: #e8f1ff;
  --text-muted: #94a3c8;
  --accent: #2dd4bf;
  --accent-dim: #14b8a6;
  --violet: #8b5cf6;
  --warning: #fbbf24;
  --radius: 14px;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(45, 212, 191, 0.12), transparent),
    radial-gradient(900px 500px at 100% 0%, rgba(139, 92, 246, 0.15), transparent),
    var(--bg-deep);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #04201c;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.25);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.site-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(45, 212, 191, 0.08);
  text-decoration: none;
}

.site-nav a.is-active {
  color: #04201c;
  background: linear-gradient(90deg, var(--accent), #5eead4);
  border-color: rgba(4, 32, 28, 0.25);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.35);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 1rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.2;
  margin: 1rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.9;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #04201c;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(45, 212, 191, 0.35);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px rgba(45, 212, 191, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  background: linear-gradient(160deg, rgba(22, 32, 51, 0.95), rgba(16, 24, 39, 0.9));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  animation: floaty 7s ease-in-out infinite;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.stat {
  background: rgba(7, 11, 20, 0.55);
  border-radius: var(--radius);
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 200, 0.12);
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

section {
  margin-top: 3.25rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.muted {
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-panel);
  border: 1px solid rgba(148, 163, 200, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
}

.card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.1rem;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: var(--accent);
}

.platform-strip {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .platform-strip {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }
}

.platform-hero {
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.18), rgba(139, 92, 246, 0.12));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
}

.platform-list {
  display: grid;
  gap: 0.75rem;
}

.platform-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 200, 0.12);
}

.platform-item strong {
  display: block;
}

.platform-item small {
  color: var(--text-muted);
}

.reviews {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 200, 0.12);
}

.stars {
  color: var(--warning);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.quote {
  margin: 0.75rem 0;
  font-style: italic;
  color: #dbeafe;
}

.byline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq {
  display: grid;
  gap: 0.65rem;
}

details.faq-item {
  background: var(--bg-panel);
  border: 1px solid rgba(148, 163, 200, 0.12);
  border-radius: var(--radius);
  padding: 0.25rem 1rem;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-body {
  padding-bottom: 1rem;
  color: var(--text-muted);
  border-top: 1px dashed rgba(148, 163, 200, 0.2);
}

.article-page {
  max-width: 800px;
}

.article-page h1 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.prose p,
.prose ul {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid rgba(148, 163, 200, 0.15);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.compare-table th {
  background: var(--bg-elevated);
}

.cta-bar {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.15), rgba(139, 92, 246, 0.12));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-bar a.btn-primary {
  text-decoration: none;
}

.changelog {
  background: var(--bg-panel);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 200, 0.12);
}

.changelog li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.92);
  padding: 2rem 1.25rem 2.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #a7f3d0;
}

.footer-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.two-col {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  background: rgba(139, 92, 246, 0.2);
  color: #ddd6fe;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
