/* 悦享日用 · 商城官网 共用样式 */
:root {
  --brand: #FF5B33;
  --brand-2: #FF9A3D;
  --ink: #1b2432;
  --sub: #5a6679;
  --muted: #8a95a5;
  --line: #e8ecf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

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

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo { width: 34px; height: 34px; border-radius: 9px; }
.nav-name { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--sub); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(180deg, #fff7f3 0%, #ffffff 100%);
  padding: 66px 0 56px;
}
.hero-in {
  display: flex; align-items: center; gap: 56px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
}
.hero-text { flex: 1 1 56%; min-width: 0; }
.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand);
  background: #fff0ea; border-radius: 999px; padding: 5px 14px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.25; margin: 0 0 16px;
  letter-spacing: -.5px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { font-size: 17px; color: var(--sub); margin: 0 0 28px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 91, 51, .26);
}
.btn:hover { text-decoration: none; filter: brightness(1.03); }
.btn-ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: none; font-weight: 600;
}
.btn-ghost:hover { border-color: #d6dce6; }

.hero-shot { flex: 0 0 300px; }

/* 手机框 */
.phone {
  width: 288px; border-radius: 34px; background: #11161d; padding: 10px;
  box-shadow: 0 22px 48px rgba(20, 30, 50, .22);
}
.phone img { border-radius: 26px; width: 100%; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 62px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; }
.section-head p { color: var(--sub); margin: 0; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--sub); font-size: 15px; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: #fff0ea; color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}

/* 分类 */
.cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cat {
  padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--sub);
}

/* 截图 */
.shots { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.shots .shot {
  width: 250px; border-radius: 26px; background: #11161d; padding: 8px;
  box-shadow: 0 16px 36px rgba(20, 30, 50, .18);
}
.shots .shot img { border-radius: 19px; width: 100%; }
.shots .cap { text-align: center; font-size: 14px; color: var(--sub); margin-top: 12px; }

/* 应用信息表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.info-table th, .info-table td {
  text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); vertical-align: top;
  overflow-wrap: break-word; word-break: break-word;
}
.info-table th { color: var(--muted); font-weight: 500; width: 132px; }
.info-table td { padding-left: 10px; }
/* 长网址等无空格串必须能断行，否则会撑宽整个文档造成横向溢出 */
.info-table a, .doc a { overflow-wrap: anywhere; }

/* 页脚 */
.footer {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 34px 0; font-size: 13.5px; color: var(--muted);
}
.footer-in { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.footer-links { margin-bottom: 12px; }
.footer-links a { margin-right: 18px; color: var(--sub); }
.footer p { margin: 4px 0; }

/* 文档页（协议/政策） */
.doc { max-width: 860px; margin: 0 auto; padding: 46px 22px 80px; }
.doc h1 { font-size: 26px; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 18px; margin: 30px 0 10px; }
.doc p, .doc li { color: #3d4859; font-size: 15.5px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin-bottom: 6px; }

/* 下载页 */
.dl-head {
  background: linear-gradient(180deg, #fff7f3 0%, #ffffff 100%);
  padding: 54px 0 40px; text-align: center;
}
.dl-app { display: flex; align-items: center; justify-content: center; gap: 20px; }
.dl-app img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 28px rgba(255,91,51,.24); }
.dl-app .meta { text-align: left; }
.dl-app h1 { font-size: 26px; margin: 0 0 6px; }
.dl-app .ver { color: var(--sub); font-size: 15px; }
.dl-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dl-hint { font-size: 13.5px; color: var(--muted); margin-top: 16px; }

.note {
  background: #fff8f5; border: 1px solid #ffe0d5; border-radius: 12px;
  padding: 14px 18px; font-size: 14.5px; color: #a14321;
}

@media (max-width: 880px) {
  .hero-in { flex-direction: column; gap: 36px; text-align: center; }
  .hero-text { flex: 1 1 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-shot { flex: 0 0 auto; }
  .nav-links { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  /* 信息表改为「标签在上、值在下」，避免固定列宽撑破窄屏 */
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; }
  .info-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .info-table th {
    width: auto; padding: 0 0 3px; border-bottom: none; font-size: 13.5px;
  }
  .info-table td { padding: 0; border-bottom: none; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .shots .shot { width: 72vw; }
  .section { padding: 46px 0; }
  .hero { padding: 44px 0 40px; }
  .btn { padding: 13px 24px; font-size: 15px; }
}
