:root{
  /* Red/White theme */
  /* Page background (no red frame) */
  --bg1:#fff3f3;
  --bg2:#fff7f7;
  --bg3:#ffffff;

  --text:#1b1b1b;
  --muted:#555;
  --line:rgba(0,0,0,.10);

  --accent:#d60000;
  --accent2:#ff4d4d;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  /* Remove the red frame around the edges */
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 55%, var(--bg3) 100%);
  color: var(--text);
}

.page{
  min-height:100%;
  display:flex;
  align-items:flex-start;
  padding:20px 14px;
}

.container{
  width:min(1240px, 100%);
  margin:0 auto;
  display:flex;
  gap:28px;
  align-items:stretch;

  background: rgba(255,255,255,.96);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

/* top frame */
.container::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:12px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
}

.left{
  flex: 1.35;
  padding: 18px 16px 12px 16px;
}

.right{
  flex: 0.65;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 6px;
}

.topbar{ margin-bottom:18px; }
.brand{
  display:flex;
  gap:14px;
  align-items:center;
}

.logo{
  width:62px;
  height:62px;
  object-fit:contain;
  border-radius:14px;
  background: #ffffff;
  border: 1px solid rgba(214,0,0,.18);
  padding:8px;
}

.brand-title{
  font-weight:700;
  font-size:18px;
  letter-spacing:.5px;
  color: #111;
}

.brand-sub{
  color: var(--muted);
  margin-top:4px;
  font-size:14px;
}

.brand-link{
  color: var(--accent);
  text-decoration:none;
  font-weight:700;
}
.brand-link:hover{ text-decoration:underline; }

.headline{
  margin:0 0 10px 0;
  font-size:18px;
  font-weight:800;
  color: var(--accent);
}

.desc{
  margin:0 0 18px 0;
  line-height:1.75;
  color: var(--text);
  opacity:.92;
  max-width: 720px;
}

.features{
  list-style:none;
  padding:0;
  margin:0 0 18px 0;
  display:grid;
  gap:10px;
  max-width: 740px;
}

.features li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: var(--text);
  opacity:.95;
}

.check{
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(214,0,0,.08);
  border:1px solid rgba(214,0,0,.22);
  color: var(--accent);
  font-weight:800;
  margin-top:1px;
}

.divider{
  height:1px;
  background: var(--line);
  margin:18px 0 18px 0;
}

/* download area (Android only: 4 boxes) */
.download{ display:block; }
.dl-panel{ width:100%; max-width: 760px; }
.dl-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}

.btn{
  text-decoration:none;
  color: #b10000;
  border-radius: 12px;
  padding: 16px 16px;
  display:flex;
  flex-direction:column;
  gap:6px;
  border: 1px solid rgba(214,0,0,.20);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  transition: transform .08s ease, filter .08s ease;
}

.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-meta{
  font-size:12px;
  color: rgba(0,0,0,.58);
}

.btn-primary{
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color:#fff;
  border-color: rgba(214,0,0,.10);
}
.btn-primary .btn-meta{ color: rgba(255,255,255,.90); }

.btn-ghost{
  background:#fff;
}

.btn-outline{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  color:#111;
}
.btn-outline .btn-meta{ color: rgba(0,0,0,.58); }

.tips{
  margin-top:8px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  color: rgba(0,0,0,.65);
  font-size:13px;
}

/* phone */
.phone{ width: min(420px, 100%); display:flex; justify-content:center; }
.phone-frame{
  width: min(360px, 86vw);
  height: min(680px, 78vh);
  border-radius: 42px;
  background: #f7f7f7;
  /* keep it clean (no strong red ring) */
  border: 2px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 60px rgba(0,0,0,.20);
  position:relative;
  padding: 20px 16px 28px 16px;
}

.phone-notch{
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width: 140px;
  height: 22px;
  border-radius: 20px;
  background: rgba(0,0,0,.25);
}

.phone-screen{
  width:100%;
  height:100%;
  border-radius: 28px;
  overflow:hidden;
  background:#ffffff;
  border: 1px solid rgba(0,0,0,.08);
}

.phone-screen img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#ffffff;
}

.phone-home{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.06);
}

/* =========================================
   ✅ 手机端自适应（响应式）
   主要改动在下面两个 @media：
   - <= 980px：改为单列布局（手机/平板）
   - <= 640px：按钮改为单列、字体/间距更紧凑（手机）
   ========================================= */
/* responsive */
@media (max-width: 980px){
  .container{ flex-direction:column; }
  .right{ order:-1; }
  .phone-frame{ width: min(340px, 90vw); height: min(640px, 70vh); }
}

@media (max-width: 640px){
  .dl-row{ grid-template-columns: 1fr; }
  .container{ padding: 16px; border-radius: 20px; }
  .left{ padding: 14px 12px 10px 12px; }
  .headline{ font-size: 16px; }
  .brand-title{ font-size: 17px; }
  .desc{ font-size: 14px; }
  .btn{ padding: 14px 14px; }
}

@media (max-width: 420px){
  .page{ padding: 14px 10px; }
  .logo{ width: 54px; height: 54px; }
}
