/* 聊城市普信商务管理有限公司 · 官网样式
   简约 / 大气 / 浅色商务基调 */

:root {
  --ink: #10263b;
  --ink-2: #1d3852;
  --text: #33465a;
  --muted: #718497;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef3f8;
  --gold: #bd9557;
  --gold-dark: #9a743a;
  --gold-soft: #f7f1e6;
  --green: #2f7d6b;
  --danger: #b4453c;
  --shadow-sm: 0 2px 10px rgba(16, 38, 59, .05);
  --shadow-md: 0 14px 36px rgba(16, 38, 59, .10);
  --shadow-lg: 0 28px 70px rgba(9, 27, 45, .22);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 650; line-height: 1.32; letter-spacing: .01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section.tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: .02em; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.lead { font-size: 17px; color: var(--muted); line-height: 1.95; }
.text-gold { color: var(--gold); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(140deg, var(--ink-2), var(--ink));
  color: #fff; display: grid; place-items: center;
  font-size: 17px; font-weight: 700; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.brand-name { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .08em; line-height: 1.25; }
.brand-sub { font-size: 10px; color: var(--muted); letter-spacing: .19em; text-transform: uppercase; line-height: 1.4; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 8px; font-size: 14.5px; color: var(--text);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--ink); font-weight: 650; background: var(--gold-soft); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 9px; color: var(--ink); font-size: 20px; line-height: 1;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 9px; padding: 11px 22px;
  font-size: 14.5px; font-weight: 600; line-height: 1.5; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(16,38,59,.16); }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 12px 26px rgba(16,38,59,.22); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(189,149,87,.24); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border-color: rgba(16,38,59,.20); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: rgba(16,38,59,.04); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-tint); }
.btn-text { background: transparent; color: var(--muted); padding-left: 8px; padding-right: 8px; }
.btn-text:hover { color: var(--danger); transform: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f5f9; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1000px 520px at 85% 18%, rgba(66,104,143,.42), transparent 60%),
              linear-gradient(130deg, #0d2237 0%, #15314c 58%, #1c3e5c 100%);
  color: #dce7f0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -190px;
  border: 1px solid rgba(189,149,87,.24); border-radius: 50%; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1; min-height: 620px;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px;
  padding-top: 78px; padding-bottom: 78px;
}
.hero .eyebrow { color: #e0c393; }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.22; letter-spacing: .015em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-desc { margin-top: 24px; max-width: 520px; color: #b9cbdb; font-size: 16.5px; line-height: 1.95; }
.hero .btn-row { margin-top: 38px; }
.hero-points { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 26px; }
.hero-point { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #b9cbdb; }
.hero-point .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* CSS 绘制的手机设备视觉 */
.hero-visual { position: relative; height: 420px; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(189,149,87,.18), transparent 70%); filter: blur(8px);
}
.device {
  position: absolute; border-radius: 30px; border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(160deg, #2a435d, #0f253b);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.device::before {
  content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.22);
}
.device-screen {
  position: absolute; inset: 9px; border-radius: 23px;
  background: linear-gradient(165deg, #fdfdfd 0%, #f1f5f9 48%, #e6edf4 100%);
  padding: 40px 20px 20px;
}
.device-screen .screen-kicker { font-size: 8px; letter-spacing: .22em; color: var(--gold-dark); text-transform: uppercase; }
.device-screen .screen-title { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.device-screen .screen-line { margin-top: 12px; height: 4px; border-radius: 3px; background: #dfe7ee; }
.device-screen .screen-line.short { width: 62%; }
.device-screen .screen-card {
  margin-top: 18px; border-radius: 10px; padding: 12px;
  background: linear-gradient(120deg, var(--ink), var(--ink-2)); color: #fff;
}
.device-screen .screen-card b { display: block; font-size: 15px; }
.device-screen .screen-card span { font-size: 8.5px; color: #b9cbdb; letter-spacing: .08em; }
.device-screen .screen-chips { margin-top: 16px; display: flex; gap: 6px; }
.device-screen .screen-chips i { width: 26px; height: 20px; border-radius: 5px; background: #e2eaf1; }
.device-screen .screen-chips i:first-child { background: var(--gold); }
.device-back { width: 208px; height: 400px; transform: translate(-96px, 8px) rotate(-11deg); opacity: .78; }
.device-front { width: 218px; height: 418px; transform: translate(78px, -12px) rotate(8deg); }
.float-tag {
  position: absolute; z-index: 2; background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 12.5px;
  display: flex; align-items: center; gap: 10px;
}
.float-tag b { font-size: 15px; }
.float-tag .tag-ico {
  width: 28px; height: 28px; border-radius: 8px; background: var(--gold-soft);
  color: var(--gold-dark); display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.float-tag.one { top: 42px; right: 4px; }
.float-tag.two { bottom: 46px; left: 0; }

/* ---------------- Stat strip ---------------- */
.stat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-item .k { color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.stat-item .v { margin-top: 4px; color: var(--muted); font-size: 13.5px; }

/* ---------------- Generic cards / grids ---------------- */
.grid { display: grid; gap: 22px; }
.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: 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3dde7; }
.card-num {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold-dark);
}
.card-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dark); font-size: 20px; font-weight: 700;
  margin-bottom: 22px;
}
.card h3 { font-size: 19px; }
.card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.85; }

/* ---------------- Products ---------------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px; transition: all .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-top { padding: 28px 28px 22px; border-bottom: 1px solid var(--line); }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-cat { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.badge {
  font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-dark); font-weight: 650;
}
.product-card h3 { margin-top: 16px; font-size: 21px; }
.product-card .summary { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 48px; line-height: 1.8; }
.product-body { padding: 22px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.product-body ul { display: grid; gap: 9px; margin-bottom: 24px; }
.product-body li { font-size: 13.5px; color: var(--text); display: flex; align-items: flex-start; gap: 9px; }
.product-body li::before { content: "✓"; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; }
.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price-num { font-size: 25px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.price-unit { font-size: 12.5px; color: var(--muted); margin-left: 5px; }
.loading, .empty-state {
  grid-column: 1 / -1; text-align: center; padding: 44px 20px;
  color: var(--muted); background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius);
  font-size: 14.5px;
}

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px; background: #d7e0e9; }
.step { position: relative; text-align: center; padding: 0 18px; }
.step .num {
  position: relative; z-index: 1; width: 54px; height: 54px; margin: 0 auto 22px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gold-dark); font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 17px; }
.step p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------------- CTA ---------------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #10263b, #1b3a57);
  color: #dbe7f0; border-radius: 20px; padding: 64px 64px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
}
.cta::after { content: ""; position: absolute; width: 340px; height: 340px; right: -80px; bottom: -220px; border: 1px solid rgba(189,149,87,.28); border-radius: 50%; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta p { margin-top: 14px; color: #b8cad9; max-width: 620px; line-height: 1.9; }
.cta .btn-row { justify-content: flex-end; position: relative; z-index: 1; }

/* ---------------- About / generic content ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-panel {
  border-radius: 18px; min-height: 360px; padding: 44px;
  background: linear-gradient(150deg, #eef3f8, #f7f9fc);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.split-panel::before { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(189,149,87,.35); border-radius: 50%; right: -90px; top: -90px; }
.quote-mark { font-size: 72px; line-height: 1; color: var(--gold); font-family: Georgia, serif; }
.split-panel blockquote { margin: 4px 0 0; font-size: 22px; line-height: 1.7; color: var(--ink); font-weight: 600; }
.split-panel .sub { margin-top: 26px; font-size: 14px; color: var(--muted); }
.value-list { display: grid; gap: 16px; margin-top: 28px; }
.value-item { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.value-item .idx { color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .1em; padding-top: 2px; }
.value-item h4 { font-size: 16px; }
.value-item p { margin-top: 5px; font-size: 13.5px; color: var(--muted); }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.info-row .k { color: var(--muted); font-size: 14px; }
.info-row .v { color: var(--ink); font-size: 15px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: #fff; border: 0; padding: 20px 24px; display: flex; justify-content: space-between; gap: 18px; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.faq-q .sign { color: var(--gold-dark); font-size: 19px; line-height: 1; }
.faq-a { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.9; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.note-box { background: var(--gold-soft); border: 1px solid #ecdfc6; border-radius: 12px; padding: 18px 22px; color: #7a5c2c; font-size: 14px; line-height: 1.85; }

/* ---------------- Forms ---------------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: block; }
.field span { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.field span .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
  font-size: 14.5px;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(189,149,87,.14); }
.field input::placeholder, .field textarea::placeholder { color: #a6b4c1; }
.field.full { grid-column: 1 / -1; }
.field-hint { margin-top: 7px; font-size: 12px; color: var(--muted); }
.field-error { color: var(--danger); font-size: 12.5px; min-height: 18px; margin: 6px 0 0; }
.form-foot { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-msg { font-size: 13.5px; min-height: 20px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--danger); }
.file-drop {
  border: 1px dashed #cdd8e3; border-radius: 10px; padding: 18px; background: var(--bg-soft);
  font-size: 13.5px; color: var(--muted);
}
.file-drop input { display: block; margin-top: 10px; font-size: 13px; width: 100%; }
.auth-tabs { display: flex; gap: 4px; margin: 20px 0 16px; border-bottom: 1px solid var(--line); }
.auth-tab { flex: 1; padding: 10px 6px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.auth-tab:hover { color: var(--ink); }
.auth-tab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--gold); }
.auth-help { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.modal .btn-block + .btn-block { margin-top: 8px; }
.otp-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }

/* ---------------- Account ---------------- */
.account-hero { background: var(--bg-tint); border-bottom: 1px solid var(--line); padding: 56px 0; }
.account-hero h1 { font-size: clamp(28px, 3.2vw, 40px); }
.account-hero p { margin-top: 12px; color: var(--muted); }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: sticky; top: 100px; }
.user-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(140deg, var(--ink-2), var(--ink));
  color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 700; margin-bottom: 16px;
}
.side-card .u-name { color: var(--ink); font-weight: 650; font-size: 16px; }
.side-card .u-meta { color: var(--muted); font-size: 12.5px; margin-top: 4px; word-break: break-all; }
.side-divider { height: 1px; background: var(--line); margin: 22px 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin-bottom: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.panel-head h2 { font-size: 20px; }
.panel-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.record { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; }
.record:last-child { margin-bottom: 0; }
.record-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.record-top b { color: var(--ink); font-size: 15px; }
.status-pill { font-size: 11.5px; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-dark); }
.status-pill.done { background: #e8f4ef; color: var(--green); }
.record p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.record .meta { margin-top: 8px; font-size: 12px; color: #94a3b1; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.file-row:last-child { border-bottom: 0; }
.file-name { font-size: 13.5px; color: var(--ink); word-break: break-all; }
.file-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.check-list { display: grid; gap: 8px; margin-top: 16px; font-size: 13.5px; }
.check-list div { padding: 10px 14px; border-radius: 8px; background: var(--bg-soft); }
.check-list .ok { color: var(--green); }
.check-list .fail { color: var(--danger); }
.signed-out {
  display: grid; place-items: center; text-align: center; padding: 80px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
.signed-out h2 { font-size: 24px; }
.signed-out p { margin: 14px 0 26px; color: var(--muted); max-width: 440px; }

/* ---------------- Footer ---------------- */
.site-footer { background: #0e2236; color: #a9bdce; padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #7f97ab; }
.site-footer .brand-mark { background: linear-gradient(140deg, #2c4a68, #17314a); }
.footer-about { margin-top: 18px; font-size: 13.5px; line-height: 1.9; max-width: 300px; color: #92a9bb; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: #92a9bb; padding: 5px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7790a4; }

/* ---------------- Modal / toast ---------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(9, 24, 39, .58); backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 36px; box-shadow: 0 30px 80px rgba(6,20,34,.35);
}
.modal-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; }
.modal-close:hover { color: var(--ink); }
.modal-brand { font-size: 11.5px; letter-spacing: .16em; color: var(--gold-dark); font-weight: 700; }
.modal h2 { margin-top: 10px; font-size: 25px; }
.modal-sub { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.modal form { margin-top: 26px; display: grid; gap: 12px; }
.modal .btn-block { margin-top: 6px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: #a6b4c1; font-size: 12px; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.modal-note { margin-top: 14px; font-size: 12.5px; min-height: 18px; color: var(--muted); line-height: 1.65; }
.modal-note.err { color: var(--danger); }
.modal-note.ok { color: var(--green); }
#toastHost { position: fixed; z-index: 200; top: 92px; left: 50%; transform: translateX(-50%); display: grid; gap: 10px; pointer-events: none; }
.toast {
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 13.5px;
  box-shadow: var(--shadow-md); animation: toastIn .24s ease-out;
}
.toast.error { background: var(--danger); }
.toast.ok { background: var(--green); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; padding-bottom: 40px; gap: 20px; }
  .hero-visual { height: 340px; }
  .device-back { transform: translate(-90px, 10px) rotate(-11deg) scale(.85); }
  .device-front { transform: translate(80px, -10px) rotate(8deg) scale(.85); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .account-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
}
@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .section { padding: 68px 0; }
  .section.tight { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 16px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-right .btn { padding: 8px 12px; }
  .header-inner { height: 68px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4, .product-grid, .split, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .step { padding-bottom: 26px; }
  .cta { grid-template-columns: 1fr; padding: 42px 28px; }
  .cta .btn-row { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { height: 300px; }
  .device-back { transform: translate(-70px, 10px) rotate(-11deg) scale(.72); }
  .device-front { transform: translate(60px, -10px) rotate(8deg) scale(.72); }
  .float-tag.one { top: 8px; right: 0; }
  .float-tag.two { bottom: 8px; left: 0; }
  .modal { padding: 28px 22px; }
}
