/* ============ X-Catch 官网 · X 风格深色主题 ============ */
:root {
  --bg: #000;
  --card: #16181c;
  --card-hover: #1d1f23;
  --border: #2f3336;
  --text: #e7e9ea;
  --text-dim: #71767b;
  --accent: #1d9bf0;
  --accent-hover: #1a8cd8;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ 封面 / HERO ============ */
.hero { position: relative; }

.cover {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background:
    radial-gradient(620px 240px at 18% 55%, rgba(29, 155, 240, 0.30), transparent 62%),
    radial-gradient(520px 200px at 86% 48%, rgba(29, 155, 240, 0.15), transparent 62%),
    linear-gradient(180deg, #000 0%, #0b1420 55%, #000 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner { position: relative; padding-top: 16px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 26px;
}

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

.logo { width: 40px; height: 40px; border-radius: 12px; display: block; }

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.lang-btn {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.lang-btn:hover { background: var(--card-hover); border-color: var(--accent); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
  padding: 44px 0 56px;
}
.hero-text { padding: 0; }

.hero-text h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.slogan {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 100%;
  margin-bottom: 24px;
  white-space: pre-line;
}

.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background 0.15s, transform 0.1s;
}
.btn-download svg { width: 20px; height: 20px; }
.btn-download:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }

.ver-note { color: var(--text-dim); font-size: 13px; font-weight: 600; }

.small-note { color: var(--text-dim); font-size: 12px; margin-top: 10px; }

/* ============ 通用卡片 ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}

/* ============ 手机 mockup ============ */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 250px;
  margin: 0 auto;
  background: #0f0f10;
  border: 6px solid #26262a;
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(255, 255, 255, 0.05);
}
.phone-notch {
  position: absolute;
  top: 17px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: radial-gradient(circle at 35% 35%, #2a2d33, #000 60%);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px #3a3d42, 0 0 8px rgba(0, 0, 0, 0.7);
  z-index: 2;
}
.phone::after {
  content: "";
  position: absolute;
  right: -8px; top: 132px;
  width: 6px; height: 46px;
  background: #26262a;
  border-radius: 0 4px 4px 0;
}
.phone-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid #000;
}

/* ============ 评分 ============ */
.rating-card {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: var(--shadow);
}

.rating-left { min-width: 160px; }

.rating-score { display: flex; align-items: baseline; }

.score {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(120deg, #fff, #c8e6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.outof { color: var(--text-dim); font-size: 18px; font-weight: 700; margin-left: 4px; }

.stars {
  color: #ffad1f;
  font-size: 24px;
  letter-spacing: 2px;
  margin: 4px 0 6px;
}

.rating-meta { color: var(--text-dim); font-size: 13px; }

.rating-bars { flex: 1; min-width: 240px; }

.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.bar span { width: 42px; }
.bar em { font-style: normal; width: 34px; text-align: right; color: var(--text); font-weight: 600; }

.track {
  flex: 1;
  height: 8px;
  background: #2f3336;
  border-radius: 999px;
  overflow: hidden;
}

.fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffad1f, #ffc96b);
}

/* ============ 特性 ============ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: background 0.15s, border-color 0.15s;
}
.feature:hover { background: var(--card-hover); border-color: #38444d; }

.f-icon { font-size: 24px; margin-bottom: 8px; }
.feature h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 13px; }

/* ============ 评价墙（X 推文卡片） ============ */
.section-title {
  font-size: 22px;
  font-weight: 800;
  margin: 32px 0 16px;
  letter-spacing: -0.5px;
}

.tweet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.tweet {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: background 0.15s;
}
.tweet:hover { background: var(--card-hover); }

.avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }

.tweet-body { flex: 1; min-width: 0; }

.tweet-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tname { font-weight: 700; font-size: 14px; }
.thandle { color: var(--text-dim); font-size: 13px; }
.ttime { color: var(--text-dim); font-size: 13px; }

.ttext { font-size: 14px; margin-bottom: 10px; }

.tact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 12px;
}
.tact svg { width: 16px; height: 16px; }
.tact span { min-width: 28px; }

/* ============ 下载 ============ */
.download-card { text-align: center; box-shadow: var(--shadow); padding: 32px 24px; }

.dl-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.dl-head h2 { font-size: 24px; font-weight: 800; margin: 0; }
.dl-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: block;
}

.dl-meta { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }

.btn-lg { font-size: 18px; padding: 14px 32px; }

.download-card .small-note { margin-top: 12px; }

/* ============ 页脚 ============ */
footer {
  padding: 40px 0 48px;
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
footer a { color: var(--text-dim); }
footer a:hover { color: var(--accent); }
.privacy-note {
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dim);
  opacity: 0.85;
}

/* ============ 移动端适配 ============ */
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 48px; }
  .phone-wrap { margin-top: 8px; }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 32px; }
  .slogan { font-size: 15px; }
  .rating-card { gap: 20px; }
  .cover { height: 120px; }
  .phone { width: 220px; }
}
