/* Telegram 纸飞机下载站 — 墨绿底 + 琥珀强调，杂志式排版 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0c1210;
  --panel: #141c18;
  --panel-2: #1a2420;
  --line: rgba(232, 196, 140, 0.12);
  --text: #e8f0eb;
  --muted: #8fa89a;
  --amber: #e8a54b;
  --amber-dim: #c4842e;
  --mint: #5cdb95;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: var(--amber); text-decoration: none; }
a:hover { color: #f5c06d; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* —— 顶栏 —— */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(12, 18, 16, 0.97) 0%, rgba(12, 18, 16, 0.88) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-top__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.main-nav a:hover {
  color: var(--text);
  background: rgba(232, 165, 75, 0.06);
}
.main-nav a.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dim) 100%);
  border-color: rgba(255, 255, 255, 0.15);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(232, 165, 75, 0.25);
}

/* —— 通用区块 —— */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}
.section {
  padding: 72px 0;
}
.section--tight { padding-top: 48px; }
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section__lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

/* —— 首页首屏：斜切分栏 —— */
.hero {
  padding: 56px 0 80px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mint);
  margin-bottom: 18px;
}
.hero__h1 {
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero__h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero__p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn svg { flex-shrink: 0; }
.btn--primary {
  background: linear-gradient(135deg, var(--amber) 0%, #b8732a 100%);
  color: #1a1208;
  box-shadow: 0 8px 28px rgba(232, 165, 75, 0.35);
}
.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(232, 165, 75, 0.45);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.85; cursor: wait; }
.hero__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text);
}
.hero__stat span {
  font-size: 0.82rem;
  color: var(--muted);
}
.hero__visual {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(92, 219, 149, 0.14) 0%, transparent 55%),
    linear-gradient(145deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(232, 165, 75, 0.06) 100%);
  pointer-events: none;
}
.hero__float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(8, 12, 10, 0.72);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.hero__float strong { color: var(--mint); }

/* —— 功能 Bento —— */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
}
.bento__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bento__card--wide {
  grid-column: span 2;
}
@media (max-width: 520px) {
  .bento__card--wide { grid-column: span 1; }
}
.bento__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 165, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}
.bento__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.bento__card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* —— 下载条 —— */
.dl-strip {
  background: linear-gradient(90deg, rgba(232, 165, 75, 0.08) 0%, rgba(92, 219, 149, 0.06) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
@media (max-width: 720px) {
  .dl-strip { grid-template-columns: 1fr; }
}
.dl-strip__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.btn--sm {
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: 10px;
}

/* —— 评价 —— */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
}
.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.quote__stars {
  color: var(--amber);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.quote p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.quote footer {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
}

/* —— FAQ —— */
.faq {
  max-width: 820px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details p {
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* —— 下载页：Windows 舞台 —— */
.dl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .dl-hero { grid-template-columns: 1fr; }
}
.dl-hero__main {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.dl-hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}
.dl-hero__main h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.dl-hero__main p {
  color: var(--muted);
  margin-bottom: 22px;
}
.dl-list {
  list-style: none;
  margin-bottom: 22px;
}
.dl-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}
.dl-list svg { flex-shrink: 0; margin-top: 3px; color: var(--mint); }
.dl-hero__side {
  border-radius: var(--radius);
  border: 1px dashed rgba(232, 165, 75, 0.35);
  padding: 28px;
  background: rgba(20, 28, 24, 0.6);
}
.dl-hero__side h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.dl-hero__side p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  .platform-grid { grid-template-columns: 1fr; }
}
.platform-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.platform-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.platform-card__head svg {
  width: 40px;
  height: 40px;
  color: var(--amber);
}
.platform-card h3 { font-size: 1.05rem; }
.platform-card p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

/* —— SEO 文章页 —— */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.article .meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.article h2 {
  font-size: 1.35rem;
  margin: 36px 0 14px;
  color: var(--text);
}
.article h3 {
  font-size: 1.08rem;
  margin: 24px 0 10px;
  color: var(--amber);
}
.article p, .article li {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.article ul, .article ol {
  margin: 0 0 16px 1.2em;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 20px 0;
}
.article th, .article td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
.article th {
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
}
.cta-banner {
  margin: 48px 0 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(232, 165, 75, 0.15) 0%, rgba(92, 219, 149, 0.1) 100%);
  border: 1px solid var(--line);
  text-align: center;
}
.cta-banner p {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.cta-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--amber);
  color: #1a1208;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 10px 32px rgba(232, 165, 75, 0.35);
}
.cta-banner a:hover {
  color: #1a1208;
  filter: brightness(1.05);
}

/* —— 页脚 —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 22px 48px;
  margin-top: 40px;
  background: #0a0e0c;
}
.site-footer .wrap {
  max-width: 1120px;
}
.site-footer p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
  max-width: 920px;
}
.site-footer p + p { margin-top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
