/* ==========================================================================
   iliuye.com — 名爵h5网页版 内页（浏览器窗口）
   淡紫底 / 靛蓝 / 白窗卡 / 标签页与会话线；不与其他页共用骨架。
   ========================================================================== */

.page-h5 {
  --h-bg: #f1edff;
  --h-bg-2: #e5ddff;
  --h-card: #ffffff;
  --h-ink: #2c2360;
  --h-muted: #6f6694;
  --h-indigo: #4f46e5;
  --h-indigo-2: #3b32c8;
  --h-line: rgba(44, 35, 96, .14);
  --h-line-soft: rgba(44, 35, 96, .08);
  background: var(--h-bg);
  color: var(--h-ink);
}
.page-h5 .site-footer { background: #15112b; }

/* ---------- Hero ---------- */
.h5-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 60px;
  border-bottom: 1px solid var(--h-line);
  background:
    radial-gradient(circle at 82% 22%, rgba(79, 70, 229, .08), transparent 44%),
    var(--h-bg);
}
.h5-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79, 70, 229, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom right, #000, transparent 68%);
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 68%);
  pointer-events: none;
}
.h5-crumb { position: relative; padding-bottom: 28px; color: var(--h-muted); }
.h5-crumb span:last-child { color: var(--h-indigo); opacity: 1; }
.h5-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.h5-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--h-indigo);
}
.h5-hero h1 {
  margin-top: 14px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--h-ink);
}
.h5-hero h1 em {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--h-muted);
}
.h5-lead {
  margin-top: 20px;
  max-width: 540px;
  font-size: 15px;
  line-height: 2.05;
  color: #4a4175;
}
.h5-lead strong { color: var(--h-indigo); }
.h5-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.h5-actions .btn-primary { background: var(--h-indigo); box-shadow: 0 12px 26px rgba(79, 70, 229, .22); }
.h5-actions .btn-primary:hover { background: var(--h-indigo-2); }
.h5-actions .btn-room { color: var(--h-ink); border-color: var(--h-line); }
.h5-actions .btn-room b { color: var(--h-indigo); }
.h5-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.h5-tags span {
  padding: 5px 12px;
  border: 1px solid rgba(79, 70, 229, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--h-indigo);
}
.h5-figure {
  padding: 9px;
  background: #fff;
  border: 1px solid var(--h-line);
  box-shadow: 0 26px 54px rgba(58, 42, 120, .16);
}
.h5-figure img { width: 100%; }
.h5-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #9389bd;
}

/* ---------- 摘要 ---------- */
.h5-strip { background: var(--h-indigo); color: #e7e4ff; }
.h5-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.h5-strip-inner > div { padding: 15px 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.h5-strip-inner > div:first-child { border-left: 0; padding-left: 0; }
.h5-strip-inner span { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.8px; color: #b9b2f0; }
.h5-strip-inner strong { display: block; margin-top: 3px; font-size: 12.5px; color: #fff; }

/* ---------- section ---------- */
.h5-section { padding: 72px 0; }
.h5-section + .h5-section { border-top: 1px solid var(--h-line); }
.h5-section.is-violet { background: var(--h-bg-2); }
.h5-section .container.narrow { max-width: 900px; }
.h5-head { max-width: 760px; margin-bottom: 34px; }
.h5-head h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--h-ink);
}
.h5-head p { margin-top: 10px; font-size: 13.5px; line-height: 1.95; color: var(--h-muted); }
.h5-note { margin-top: 16px; font-size: 12px; line-height: 1.9; color: #8a80ad; }

/* ---------- 是什么 ---------- */
.h5-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.h5-split h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 37px); font-weight: 900; letter-spacing: -1px; }
.h5-split-copy p { margin-top: 14px; font-size: 14px; line-height: 2; color: #4a4175; }
.h5-pills { display: grid; gap: 12px; }
.h5-pills > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--h-line);
  border-left: 4px solid var(--h-indigo);
}
.h5-pills b { flex: none; font-family: var(--serif); font-size: 18px; color: var(--h-indigo); }
.h5-pills span { font-size: 12.5px; color: var(--h-muted); }

/* ---------- 步骤 ---------- */
.h5-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--h-indigo); }
.h5-steps li { position: relative; padding: 22px 20px 0 0; }
.h5-steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--h-bg); border: 3px solid var(--h-indigo); }
.h5-steps li + li { padding-left: 20px; border-left: 1px solid var(--h-line); }
.h5-steps span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; color: var(--h-indigo); }
.h5-steps h3 { margin-top: 7px; font-size: 17px; font-weight: 800; }
.h5-steps p { margin-top: 5px; font-size: 12.5px; line-height: 1.9; color: var(--h-muted); }

/* ---------- 地址栏 ---------- */
.h5-url-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.h5-url-grid h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 37px); font-weight: 900; letter-spacing: -1px; }
.h5-url-grid > div > p { margin-top: 14px; font-size: 14px; line-height: 2; color: #4a4175; }
.h5-url-grid > div > p strong { color: var(--h-indigo); }
.url-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(58, 42, 120, .12);
  margin-bottom: 18px;
}
.url-dot { width: 8px; height: 8px; border-radius: 50%; background: #cfc7f2; }
.url-text {
  flex: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--h-bg);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--h-ink);
}
.url-lock {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1.2px;
  color: #2f8f5b;
  background: rgba(47, 143, 91, .1);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- 会话 ---------- */
.session-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s-item { position: relative; padding: 22px 20px; background: #fff; border: 1px solid var(--h-line); }
.s-item.is-on { border-color: var(--h-indigo); background: #f7f5ff; }
.s-item b { display: block; font-family: var(--serif); font-size: 19px; color: var(--h-indigo); }
.s-item p { margin-top: 6px; font-size: 12.5px; line-height: 1.9; color: var(--h-muted); }
.s-item::after {
  content: "→";
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  color: var(--h-indigo);
  font-size: 14px;
  background: var(--h-bg-2);
  padding: 2px;
  z-index: 1;
}
.s-item:last-child::after { display: none; }

/* ---------- 表格 ---------- */
.h5-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--h-line); background: #fff; }
.h5-table { min-width: 560px; font-size: 13px; }
.h5-table th, .h5-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--h-line-soft); }
.h5-table tbody tr:last-child th, .h5-table tbody tr:last-child td { border-bottom: 0; }
.h5-table thead th { font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.4px; font-weight: 400; color: #fff; background: var(--h-indigo); }
.h5-table tbody th { color: var(--h-ink); font-weight: 700; }
.h5-table tbody td { color: var(--h-muted); }

/* ---------- 对比 ---------- */
.h5-cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.h5-cmp-grid h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 37px); font-weight: 900; letter-spacing: -1px; }
.h5-cmp-copy p { margin-top: 14px; font-size: 14px; line-height: 2; color: #4a4175; }
.h5-cmp-copy a { color: var(--h-indigo); border-bottom: 1px solid rgba(79, 70, 229, .35); }
.cmp-cols { display: grid; gap: 14px; }
.cmp-cols article { padding: 22px 22px; background: #fff; border: 1px solid var(--h-line); }
.cmp-cols article.is-app { border-color: var(--h-indigo); border-width: 2px; }
.cmp-cols span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--h-muted); }
.cmp-cols article.is-app span { color: var(--h-indigo); }
.cmp-cols h3 { margin-top: 7px; font-size: 18px; font-weight: 800; }
.cmp-cols ul { margin-top: 10px; }
.cmp-cols li { position: relative; padding: 4px 0 4px 14px; font-size: 12px; color: var(--h-muted); }
.cmp-cols li::before { content: "·"; position: absolute; left: 0; color: var(--h-indigo); font-weight: 700; }

/* ---------- 缓存 ---------- */
.h5-cache-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.h5-cache-grid h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 37px); font-weight: 900; letter-spacing: -1px; }
.h5-cache-grid > div > p { margin-top: 14px; font-size: 14px; line-height: 2; color: #4a4175; }
.cache-list { border-top: 2px solid var(--h-indigo); }
.cache-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--h-line); }
.cache-list span { flex: none; width: 24px; font-family: var(--mono); font-size: 10px; color: var(--h-indigo); padding-top: 2px; }
.cache-list h3 { font-size: 15px; font-weight: 800; }
.cache-list p { margin-top: 2px; font-size: 12.5px; color: var(--h-muted); }

/* ---------- 安全 ---------- */
.secure-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.secure-cards article { padding: 22px 20px; background: #fff; border: 1px solid var(--h-line); border-top: 3px solid var(--h-indigo); }
.secure-cards h3 { font-size: 16.5px; font-weight: 800; }
.secure-cards p { margin-top: 6px; font-size: 12.5px; line-height: 1.9; color: var(--h-muted); }

/* ---------- 折叠 ---------- */
.page-h5 .acc-trigger { font-size: 15.5px; }
.page-h5 .acc-panel p { font-size: 13px; line-height: 1.95; }
.page-h5 .acc-item.is-open .acc-trigger::after { color: var(--h-indigo); }

/* ---------- 相关 ---------- */
.h5-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--h-line); border: 1px solid var(--h-line); }
.h5-rel-grid a { padding: 20px 22px; background: #fff; transition: background .2s; }
.h5-rel-grid a:hover { background: #faf9ff; }
.h5-rel-grid span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: #9389bd; }
.h5-rel-grid h3 { margin-top: 7px; font-size: 17px; font-weight: 800; }
.h5-rel-grid p { margin-top: 4px; font-size: 12px; color: var(--h-muted); }

/* ---------- CTA ---------- */
.h5-cta { padding: 60px 0; background: var(--h-indigo); color: #e7e4ff; }
.h5-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.h5-cta h2 { margin-top: 10px; font-size: clamp(24px, 3vw, 35px); font-weight: 900; color: #fff; letter-spacing: -1px; }
.h5-cta p { margin-top: 10px; max-width: 560px; font-size: 13.5px; color: #c5c0f0; }
.h5-cta p strong { color: #fff; }
.h5-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.h5-cta-actions .btn-primary { background: #fff; color: var(--h-indigo); box-shadow: none; }
.h5-cta-actions .btn-room { color: #fff; border-color: rgba(255, 255, 255, .45); }
.h5-cta-actions .btn-room b { color: #fff; }
.h5-cta .h5-kicker { color: #c5c0f0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .h5-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .h5-figure { max-width: 680px; }
  .h5-split { grid-template-columns: 1fr; gap: 24px; }
  .h5-steps { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .h5-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .h5-url-grid { grid-template-columns: 1fr; gap: 26px; }
  .session-timeline { grid-template-columns: 1fr 1fr; }
  .s-item:nth-child(2)::after { display: none; }
  .h5-cmp-grid { grid-template-columns: 1fr; gap: 26px; }
  .h5-cache-grid { grid-template-columns: 1fr; gap: 22px; }
  .secure-cards { grid-template-columns: 1fr; }
  .h5-rel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .h5-section { padding: 50px 0; }
  .h5-hero { padding: 18px 0 44px; }
  .h5-actions { flex-direction: column; }
  .h5-actions .btn { width: 100%; }
  .h5-strip-inner { grid-template-columns: 1fr 1fr; }
  .h5-strip-inner > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .h5-steps { grid-template-columns: 1fr; }
  .h5-steps li { padding-left: 0 !important; border-left: 0 !important; padding-right: 0; }
  .session-timeline { grid-template-columns: 1fr; }
  .s-item::after { display: none; }
  .h5-cta-actions { width: 100%; }
  .h5-cta-actions .btn { width: 100%; }
  .url-text { font-size: 9.5px; }
}
