﻿/* ============================================================
   虾超心产品官网 全局样式
   年轻商务风 · 紫">*/
:root {
  --primary: #7b61ff;
  --primary-dark: #5a3fe0;
  --primary-light: #a18bff;
  --accent: #ff7a45;
  --cyan: #00c6ff;
  --ink: #1a1a2e;
  --text: #4e4b66;
  --muted: #8a8aa3;
  --bg-soft: #f6f5ff;
  --border: #ece9ff;
  --shadow-sm: 0 4px 18px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 18px 50px rgba(90, 63, 224, 0.18);
  --grad: linear-gradient(135deg, #7b61ff 0%, #9c8bff 100%);
  --grad-dark: linear-gradient(135deg, #2a1e5c 0%, #5a3fe0 55%, #7b61ff 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
em { font-style: normal; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #f0eefb;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; color: var(--ink); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 900;
  box-shadow: 0 6px 16px rgba(123, 97, 255, .38);
}
.logo-text i { display: block; font-size: 10px; font-weight: 500; letter-spacing: 3px; color: var(--muted); font-style: normal; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { color: #55506b; font-weight: 500; font-size: 15px; }
.nav > a:hover { color: var(--primary); }
.nav > a.active { color: var(--primary); font-weight: 700; }
.nav .nav-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: .25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 32px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 26px rgba(123, 97, 255, .35);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(123, 97, 255, .45); }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-lg { padding: 16px 44px; font-size: 17px; }
.btn-ghost {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, .65); box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary-dark); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-dark); color: #fff;
  padding: 84px 0 0;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: #ff7a45; top: -180px; right: -120px; opacity: .22; }
.hero::after { width: 420px; height: 420px; background: #00c6ff; bottom: -80px; left: -140px; opacity: .18; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }
.hero-tag {
  display: inline-block; padding: 8px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  font-size: 14px; letter-spacing: 2px; color: #e8e3ff; margin-bottom: 26px;
}
.hero-title { font-size: 52px; line-height: 1.22; font-weight: 900; letter-spacing: 1px; }
.hero-title em {
  background: linear-gradient(90deg, #ffd166, #ff8a5c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: 19px; color: rgba(255, 255, 255, .86); }
.hero-cta { display: flex; justify-content: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat { padding: 0 38px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-stats .stat:first-child { border-left: none; }
.hero-stats b { display: block; font-size: 30px; font-weight: 900; color: #fff; }
.hero-stats span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.hero-shot { position: relative; z-index: 2; margin-top: 58px; text-align: center; }
.shot-frame {
  display: inline-block; width: min(920px, 92%);
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px 22px 0 0; padding: 14px 14px 0;
  box-shadow: 0 -20px 80px rgba(0, 0, 0, .3);
}
.shot-frame img { border-radius: 12px 12px 0 0; width: 100%; }
.badges-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-purple { background: var(--primary); }
.dot-green { background: #22c55e; }
.dot-orange { background: var(--accent); }

/* ---------------- 通用 Section ---------------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.sec-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: #efeaff; color: var(--primary); font-size: 13.5px; font-weight: 700; letter-spacing: 1px;
}
.sec-title { font-size: 36px; font-weight: 900; color: var(--ink); line-height: 1.32; margin-top: 16px; }
.sec-sub { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* ---------------- 卡片 ---------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, #efeaff, #e2daff);
  display: flex; align-items: center; justify-content: center;
  font-size: 25px; font-weight: 900; color: var(--primary);
}
.card h3 { font-size: 19px; color: var(--ink); margin: 18px 0 10px; }
.card p { font-size: 14.5px; }

/* 痛点卡片 */
.pain-card { border-top: 4px solid var(--accent); }
.pain-ico {
  width: 46px; height: 46px; border-radius: 12px; background: #fff1ea;
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
}
.pain-card h3 { margin-top: 16px; }

/* 核心卖点卡（带图） */
.core-card { padding: 0; overflow: hidden; }
.core-card img { width: 100%; height: 220px; object-fit: cover; }
.core-body { padding: 28px; }
.core-body h3 { font-size: 22px; margin: 0 0 10px; }
.core-body .slogan { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); background: #efeaff; border-radius: 999px; padding: 4px 14px; margin-bottom: 12px; }
.link-arrow { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; font-size: 14.5px; }
.link-arrow:hover { color: var(--primary-dark); }

/* ---------------- 图文左右行 ---------------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.frow:last-child { margin-bottom: 0; }
.frow.flip .frow-img { order: 2; }
.frow-img img { border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid #eee; }
.frow-tag { display: inline-block; padding: 5px 16px; border-radius: 999px; background: #efeaff; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.frow h3 { font-size: 30px; font-weight: 900; color: var(--ink); margin: 16px 0 6px; line-height: 1.35; }
.frow .frow-desc { color: var(--muted); margin-bottom: 18px; }
.flist li { position: relative; padding-left: 26px; margin-bottom: 11px; font-size: 15.5px; }
.flist li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--grad);
}
.flist li b { color: var(--ink); }

/* ---------------- 流程步骤 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto;
  background: var(--grad); color: #fff; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(123, 97, 255, .35);
}
.step h4 { margin-top: 18px; font-size: 17.5px; color: var(--ink); }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: calc(50% + 44px);
  width: calc(100% - 88px); height: 2px; background: repeating-linear-gradient(90deg, #cdc3ff 0 8px, transparent 8px 16px);
}

/* ---------------- 行业 chips ---------------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chip {
  padding: 10px 24px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--border); color: #5a567a; font-size: 15px; font-weight: 600;
  transition: .2s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------------- CTA 横幅 ---------------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--grad-dark); color: #fff;
  border-radius: 26px; padding: 66px 40px;
}
.cta-band::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: #ff7a45; filter: blur(100px); opacity: .3; top: -120px; right: -80px;
}
.cta-band h2 { font-size: 36px; font-weight: 900; line-height: 1.35; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 16px 0 32px; font-size: 16.5px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------------- 价格 ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  position: relative; background: #fff; border: 2px solid var(--border);
  border-radius: 22px; padding: 40px 34px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.plan.hot { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #ff9a5c, #ff7a45); color: #fff;
  font-size: 13px; font-weight: 700; padding: 6px 22px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(255, 122, 69, .4);
}
.plan h3 { font-size: 20px; color: var(--ink); }
.plan .price { font-size: 46px; font-weight: 900; color: var(--ink); margin: 14px 0 4px; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.plan ul { flex: 1; }
.plan ul li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 14.5px; }
.plan ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%; background: #efeaff;
  color: var(--primary); font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.plan .btn { width: 100%; margin-top: 24px; }
.plan-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* AI点包 */
.power-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 760px; margin: 0 auto; }
.power-card { text-align: center; }
.power-card .p-price { font-size: 38px; font-weight: 900; color: var(--primary); }
.power-card .p-price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.power-card h3 { color: var(--ink); font-size: 19px; margin-bottom: 6px; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; padding: 0 24px; }
.faq summary { padding: 19px 0; font-weight: 700; color: var(--ink); font-size: 15.5px; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--primary); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 0 20px; font-size: 14.5px; color: var(--text); }

/* ---------------- 内页 Hero + 面包屑 ---------------- */
.page-hero { background: linear-gradient(180deg, #f4f1ff 0%, #fff 100%); padding: 66px 0 46px; text-align: center; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: 42px; font-weight: 900; color: var(--ink); }
.page-hero .ph-sub { color: var(--muted); font-size: 17.5px; margin-top: 14px; }
.page-hero .ph-img { max-width: 860px; margin: 46px auto 0; }
.page-hero .ph-img img { border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid #eee; }

/* ---------------- Footer ---------------- */
.site-footer { background: #15121f; color: #b9b4cf; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 14px; color: #8f8aa8; margin-top: 16px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col a { display: block; font-size: 14px; color: #9b96b5; padding: 5.5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 54px; padding: 24px 0; text-align: center; font-size: 13px; color: #7d7894; }
.footer-bottom a { color: #7d7894; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { margin: 0 10px; opacity: .5; }

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .step:not(:last-child)::after { display: none; }
  .frow { gap: 40px; }
}
@media (max-width: 920px) {
  .nav {
    position: fixed; top: 70px; right: 0; z-index: 99;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; width: min(78vw, 320px); padding: 22px 26px 28px;
    border-radius: 0 0 0 18px; box-shadow: -12px 20px 50px rgba(26, 26, 46, .18);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .25s;
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav > a { padding: 10px 0; width: 100%; font-size: 16px; }
  .nav .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 38px; }
  .hero { padding-top: 60px; }
  .hero-stats .stat { padding: 0 22px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .frow { grid-template-columns: 1fr; margin-bottom: 70px; }
  .frow.flip .frow-img { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-title { font-size: 30px; }
  .page-hero h1 { font-size: 34px; }
}
@media (max-width: 600px) {
  .section { padding: 62px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 18px; }
  .hero-stats .stat { border-left: none; padding: 0 12px; }
  .hero-stats b { font-size: 24px; }
  .hero-cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 50px 24px; }
  .cta-band h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .power-cards { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 29px; }
}

/* ---------------- 在线购买（pay.html） ---------------- */
.pay-shell {
  max-width: 880px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  box-shadow: var(--shadow-sm); padding: 34px 36px 40px;
}
.pay-steps { display: flex; justify-content: center; align-items: center; margin-bottom: 30px; list-style: none; }
.pay-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.pay-steps li:not(:last-child)::after { content: ""; width: 56px; height: 1.5px; background: var(--border); margin: 0 16px; }
.pay-steps .n {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: #efeaff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.pay-steps li.active { color: var(--primary); }
.pay-steps li.active .n { background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(123, 97, 255, .35); }
.pay-steps li.done .n { background: #22c55e; color: #fff; }
.pay-steps li.done { color: #22c55e; }

.pay-hint { font-size: 13.5px; color: var(--muted); }
.pay-link { color: var(--primary); font-weight: 600; }
.pay-link:hover { color: var(--primary-dark); text-decoration: underline; }
.pay-error { color: #e5484d; font-size: 13.5px; min-height: 20px; margin: 12px 0 0; text-align: left; }

/* 登录视图 */
.login-card { max-width: 400px; margin: 0 auto; text-align: center; }
.login-card h3 { font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.login-card label { display: block; text-align: left; font-size: 14px; color: var(--ink); font-weight: 600; margin-top: 18px; }
.login-card input {
  width: 100%; margin-top: 8px; padding: 12px 15px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.login-card input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123, 97, 255, .12); }
.login-card .btn { width: 100%; margin-top: 26px; }
.login-card .pay-hint { margin-top: 14px; }

/* 确认订单视图 */
.account-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--muted);
  background: var(--bg-soft); border-radius: 12px; padding: 10px 16px; margin-bottom: 20px;
}
.account-bar b { color: var(--ink); }
.select-wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: start; }
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pkg {
  position: relative; border: 2px solid var(--border); border-radius: 16px;
  padding: 18px 16px 16px; cursor: pointer; background: #fff; transition: .2s;
}
.pkg:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pkg.selected { border-color: var(--primary); background: #f6f4ff; box-shadow: 0 8px 22px rgba(123, 97, 255, .16); }
.pkg-tag {
  position: absolute; top: -10px; left: 14px;
  font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px;
  background: #efeaff; color: var(--primary);
}
.pkg-tag.hot { background: linear-gradient(90deg, #ff9a5c, #ff7a45); color: #fff; }
.pkg h4 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.pkg .pkg-price { font-size: 34px; font-weight: 900; color: var(--primary); line-height: 1.15; letter-spacing: -.5px; }
.pkg .pkg-price span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.pkg .pkg-price .cur { font-size: 18px; font-weight: 800; color: var(--primary); margin-right: 2px; }
.pkg .pkg-desc { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.55; }
.order-box { background: var(--bg-soft); border-radius: 16px; padding: 22px; }
.ob-title { font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.order-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; padding: 7px 0; }
.order-line span:first-child { color: var(--muted); flex-shrink: 0; }
.order-line b { color: var(--ink); text-align: right; }
.order-line .amount { font-size: 27px; font-weight: 900; color: #e5484d; }
.ob-divider { height: 1px; background: var(--border); margin: 8px 0; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 14px 0; line-height: 1.6; cursor: pointer; }
.agree input { margin-top: 3px; flex-shrink: 0; cursor: pointer; }
.agree a { color: var(--primary); }
.order-box .btn { width: 100%; }
.linklike { background: none; border: none; color: var(--muted); font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.linklike:hover { color: var(--primary); }

/* 支付视图 */
.pay-center { text-align: center; }
.pay-subject { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.pay-amount { font-size: 36px; font-weight: 900; color: #e5484d; margin-top: 4px; }
.qr-wrap {
  position: relative; width: 212px; height: 212px; margin: 18px auto 14px;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: #fff;
}
#qrBox canvas, #qrBox img { width: 200px !important; height: 200px !important; }
.qr-mask {
  position: absolute; inset: 0; background: rgba(255, 255, 255, .96);
  display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center;
  font-size: 14.5px; color: var(--ink); z-index: 2;
}
.pay-status { color: var(--text); font-size: 14px; }
.pay-count { color: var(--muted); font-size: 13px; margin-top: 4px; }
.pay-tips { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.btn-open { margin-top: 12px; background: none; border: none; color: #1677ff; cursor: pointer; font-size: 13.5px; }
.btn-open:hover { text-decoration: underline; }
#btnBack { margin-top: 18px; }

/* 成功视图 */
.success-ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: #22c55e; color: #fff; font-size: 30px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(34, 197, 94, .35);
}
.success-title { font-size: 21px; color: var(--ink); }
.success-lines { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; color: var(--text); }
.success-actions { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 协议弹窗 */
.modal-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 16, 40, .55);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 18px; max-width: 580px; width: 100%;
  max-height: 78vh; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 70px rgba(26, 26, 46, .3);
}
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.modal-head h4 { color: var(--ink); font-size: 16.5px; }
.modal-close {
  background: none; border: none; font-size: 26px; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 0 4px;
}
.modal-close:hover { color: var(--ink); }
.modal-body { padding: 18px 24px; overflow-y: auto; font-size: 13.5px; color: var(--text); }
.modal-body h5 { margin: 14px 0 6px; color: var(--ink); font-size: 14px; }
.modal-body p { margin-bottom: 6px; }
.modal-foot { padding: 14px 24px 20px; }
.modal-foot .btn { width: 100%; }

/* 购买页响应式 */
@media (max-width: 760px) {
  .pay-shell { padding: 26px 18px 32px; }
  .select-wrap { grid-template-columns: 1fr; }
  .pay-steps li:not(:last-child)::after { width: 26px; margin: 0 10px; }
  .pay-steps li { font-size: 12.5px; }
}
@media (max-width: 460px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .pay-steps li .txt { display: none; }
  .pay-steps li:not(:last-child)::after { width: 20px; margin: 0 8px; }
}

.logo-mark-img { width: 40px; height: 40px; border-radius: 11px; object-fit: contain; background: linear-gradient(135deg, #7b61ff, #4b34b8); padding: 5px; box-sizing: border-box; flex: none; }
