/* ============================================================
   Ataman (ئاتامان ئەسەرلىرى) 官网共享样式
   纯静态 · 移动端优先 · 全站 HTTPS 相对路径
   主题与 App 保持一致
   ============================================================ */

:root {
  --bg: #120726;             /* 主背景 */
  --bg2: #1a1030;            /* 次背景 */
  --gold: #e8b04b;           /* 金色主色 */
  --orange: #ff9a3c;         /* 橙色强调 */
  --text: #e9e3f5;           /* 正文文字 */
  --muted: #8a7cae;          /* 次要文字 */
  --grad: linear-gradient(180deg, #3a0710 0%, #120726 100%);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --ring: 1px solid rgba(232, 176, 75, 0.18);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* 维语用 UKIJ Tor，中文自动回退到系统无衬线 */
body {
  font-family: 'UKIJ Tor', -apple-system, BlinkMacSystemFont, 'PingFang SC',
    'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 维语文案：从右到左 */
.uy { direction: rtl; unicode-bidi: isolate; }
.cn { direction: ltr; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--grad);
  border-bottom: var(--ring);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand .name { font-size: 18px; letter-spacing: 0.5px; }
.brand .sub { font-size: 12px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text);
  font-size: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover { background: rgba(232, 176, 75, 0.12); color: var(--gold); text-decoration: none; }
.nav a.active { color: var(--gold); background: rgba(232, 176, 75, 0.12); }
.nav .nav-dl {
  background: var(--gold);
  color: #241203;
  font-weight: 700;
  padding: 8px 16px;
}
.nav .nav-dl:hover { background: var(--orange); color: #241203; }

/* 移动端导航横向滚动 */
@media (max-width: 720px) {
  .header-inner { height: 58px; }
  .brand .sub { display: none; }
  .nav { gap: 2px; overflow-x: auto; }
  .nav a { font-size: 13px; padding: 6px 9px; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.3;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #241203;
  box-shadow: 0 8px 24px rgba(232, 176, 75, 0.35);
}
.btn-gold:hover { box-shadow: 0 12px 30px rgba(255, 154, 60, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-ghost:hover { background: rgba(232, 176, 75, 0.1); }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad);
  padding: 56px 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero .logo-big { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 22px; box-shadow: var(--shadow); }
.hero h1 {
  font-size: clamp(30px, 6vw, 46px);
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
  word-break: break-word;
}
.hero h1 .gold { color: var(--gold); }
.hero .tagline { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.hero .tagline.cn { font-size: 15px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.hero .meta { margin-top: 16px; color: var(--muted); font-size: 13px; }

/* ---------- 区块标题 ---------- */
.section { padding: 48px 0; }
.section.alt { background: var(--bg2); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head .kicker { color: var(--orange); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 5vw, 34px); margin: 6px 0 10px; }
.section-head .desc { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- 功能卡片 ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: var(--bg2);
  border: var(--ring);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(232, 176, 75, 0.5); }
.feature .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232, 176, 75, 0.12);
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; color: var(--text); }
.feature h3 .uy { font-size: 21px; }
.feature p { color: var(--muted); font-size: 14px; }
.feature p.cn { font-size: 13px; }

/* ---------- 截图展示 ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 720px) { .shots { grid-template-columns: repeat(4, 1fr); } }
.shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--ring);
  background: var(--bg2);
  aspect-ratio: 9 / 19;
  position: relative;
}
.shot .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(232, 176, 75, 0.18), transparent 55%),
    linear-gradient(180deg, #2a0f3a, #120726);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.shot .placeholder .dot { color: var(--gold); font-size: 24px; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 下载页 ---------- */
.dl-hero { text-align: center; padding: 48px 0 30px; background: var(--grad); }
.dl-hero .app-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 16px; box-shadow: var(--shadow); }
.dl-card {
  background: var(--bg2);
  border: var(--ring);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
}
.dl-card h2 { margin-bottom: 8px; }
.dl-card .ver { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.dl-card .ver strong { color: var(--gold); }
.dl-card .btns { display: flex; flex-direction: column; gap: 12px; }
.dl-card .hint { margin-top: 16px; color: var(--muted); font-size: 13px; }
.qr-box { margin: 0 auto 18px; padding: 14px; background: #fff; border-radius: 16px; display: inline-block; }
.qr-box canvas, .qr-box img { width: 180px; height: 180px; display: block; }

/* 平台标签 */
.platform-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232, 176, 75, 0.12);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 18px;
}

/* ---------- 微信遮罩 ---------- */
.wechat-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 3, 20, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.wechat-mask.show { display: flex; }
.wechat-mask .mask-card {
  max-width: 400px;
  width: 100%;
}
.wechat-mask .finger {
  position: relative;
  width: 100%;
  height: 110px;
  margin-bottom: 8px;
}
.wechat-mask .finger .hand {
  position: absolute;
  top: 0;
  right: 8px;
  font-size: 52px;
  animation: point 1.4s ease-in-out infinite;
}
.wechat-mask .finger .dots {
  position: absolute;
  top: 6px;
  right: 96px;
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--text);
}
@keyframes point {
  0%   { transform: translate(0, 0); }
  45%  { transform: translate(38px, 44px); }
  70%  { transform: translate(38px, 44px); }
  100% { transform: translate(0, 0); }
}
.wechat-mask .mask-title { font-size: 20px; margin: 10px 0 14px; color: var(--text); }
.wechat-mask .mask-title .uy { font-size: 22px; }
.wechat-mask .mask-desc { color: var(--muted); font-size: 14px; margin-bottom: 22px; line-height: 1.9; }
.wechat-mask .mask-btns { display: flex; flex-direction: column; gap: 12px; }
.wechat-mask .mask-note { margin-top: 20px; color: var(--muted); font-size: 12px; }

/* ---------- 文档页（隐私/条款/关于/联系） ---------- */
.doc-page { padding: 44px 0 60px; flex: 1; }
.doc-head { text-align: center; margin-bottom: 30px; }
.doc-head h1 { font-size: clamp(26px, 5vw, 36px); margin-bottom: 8px; }
.doc-head .updated { color: var(--muted); font-size: 13px; }
.doc {
  background: var(--bg2);
  border: var(--ring);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  max-width: 860px;
  margin: 0 auto;
}
.doc h2 {
  font-size: 20px;
  color: var(--gold);
  margin: 30px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(232, 176, 75, 0.15);
}
.doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { font-size: 17px; margin: 20px 0 8px; color: var(--text); }
.doc p { color: var(--text); margin-bottom: 12px; font-size: 15px; }
.doc p.muted { color: var(--muted); font-size: 14px; }
.doc ul, .doc ol { margin: 0 0 14px 22px; color: var(--text); }
.doc li { margin-bottom: 8px; font-size: 15px; }
.doc .uy { color: var(--text); text-align: right; }
.doc .lang-block { margin: 0 0 22px; }
.doc .lang-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--orange);
  border: 1px solid rgba(255, 154, 60, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.info-list { list-style: none; margin: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(232, 176, 75, 0.12);
  color: var(--text);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--muted); flex: 0 0 90px; font-size: 14px; }
.info-list .v { flex: 1; font-size: 15px; word-break: break-all; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: var(--ring);
  background: #0d051f;
  padding: 34px 0 26px;
  text-align: center;
  margin-top: auto;
}
.site-footer .f-brand { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.site-footer .f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 14px 0; }
.site-footer .f-links a { color: var(--muted); font-size: 14px; }
.site-footer .f-links a:hover { color: var(--gold); }
.site-footer .f-legal { color: var(--muted); font-size: 13px; line-height: 2; }
.site-footer .f-legal a { color: var(--muted); }
.site-footer .f-legal a:hover { color: var(--gold); }
.site-footer .f-legal .beian { font-size: 13px; }

/* ---------- 通用工具 ---------- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* ============================================================
   视觉增强 v2：光晕 / 亮点条 / 真机截图 / 下载 CTA
   ============================================================ */

/* Hero 金色光晕 */
.hero { position: relative; }
.hero-glow {
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 92vw);
  height: 560px;
  background: radial-gradient(circle, rgba(232,176,75,0.22) 0%, rgba(232,176,75,0.05) 42%, transparent 68%);
  pointer-events: none;
}
.hero .logo-big {
  box-shadow: 0 0 0 1px rgba(232,176,75,0.3),
              0 18px 50px rgba(232,176,75,0.28),
              0 8px 20px rgba(0,0,0,0.5);
}

/* 亮点条 */
.highlights-wrap {
  background: #0f0621;
  padding: 22px 0;
  border-top: var(--ring);
  border-bottom: var(--ring);
}
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.hl { padding: 6px; }
.hl-k {
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}
.hl-v { color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 480px) {
  .hl-k { font-size: 18px; }
  .hl-v { font-size: 12px; }
}

/* 功能图标（SVG） */
.feature .icon { color: var(--gold); }
.feature .icon svg { width: 28px; height: 28px; }

/* 真机截图横向滚动 */
.screenshots-section { overflow: hidden; }
.shots-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 14px 4px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,176,75,0.35) transparent;
}
.shots-scroll::-webkit-scrollbar { height: 6px; }
.shots-scroll::-webkit-scrollbar-thumb { background: rgba(232,176,75,0.35); border-radius: 3px; }
.shots-scroll::-webkit-scrollbar-track { background: transparent; }
.phone {
  flex: 0 0 auto;
  width: 210px;
  border-radius: 30px;
  overflow: hidden;
  border: 6px solid #2c1a42;
  background: #120726;
  box-shadow: 0 22px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(232,176,75,0.14);
  scroll-snap-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,176,75,0.3);
}
.phone img { width: 100%; display: block; }
@media (min-width: 900px) {
  .shots-scroll { justify-content: center; }
}

/* 下载 CTA 卡片 */
.download-cta { padding-top: 0; }
.cta-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(232,176,75,0.16), transparent 62%),
    linear-gradient(180deg, #241031, #1a1030);
  border: var(--ring);
  box-shadow: var(--shadow);
}
.cta-card h2 { font-size: clamp(22px, 4.5vw, 30px); }
.cta-card .muted { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* section 间距微调 */
.section.alt.screenshots-section { padding-top: 44px; }
