﻿/* ============================================
   鲸号坊 - 精致版主题
   青绿主色 + 克制留白 + 统一规范
   ============================================ */

:root {
    --primary: #0FB5A0;
    --primary-dark: #0A9182;
    --primary-light: #E6F7F4;
    --secondary: #1E6FE8;
    --ink: #10202B;
    --text-1: #1A2B36;
    --text-2: #55687A;
    --text-3: #8A9AAA;
    --bg: #E9EEF3;
    --surface: #FFFFFF;
    --surface-tint: #F2F6FA;
    --line: #E1E8EF;
    --price: #E8552B;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 3px rgba(16,32,43,0.05), 0 4px 12px rgba(16,32,43,0.05);
    --shadow-md: 0 6px 20px rgba(16,32,43,0.08);
    --shadow-lg: 0 14px 36px rgba(16,32,43,0.12);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1140px;
    --space-section: 44px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-1);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 22px; border-radius: var(--radius-sm); font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all 0.2s var(--ease);
    border: none; letter-spacing: 0.2px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1.5px solid var(--line); color: var(--text-1); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.link-danger { color: var(--price); }

/* ========== Top Bar ========== */
.topbar {
    background: var(--ink); color: rgba(255,255,255,0.75);
    font-size: 13px; padding: 9px 0;
}
.topbar-text { opacity: 0.85; }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links a { color: rgba(255,255,255,0.75); }
.topbar-links a:hover { color: var(--primary); }
.hotline { color: var(--primary); font-weight: 600; }

/* ========== Header ========== */
.main-header {
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 18px 0; position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }
.logo-icon { font-size: 24px; }
.logo-text { color: var(--ink); letter-spacing: -0.5px; }

.header-actions { display: flex; gap: 12px; margin-left: auto; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; }

/* ========== Category Nav ========== */
.category-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.nav-list { display: flex; gap: 4px; }
.nav-list li a {
    display: block; padding: 15px 18px; font-size: 15px;
    color: var(--text-2); font-weight: 500; position: relative;
}
.nav-list li a:hover, .nav-list li a.active { color: var(--primary); }
.nav-list li a.active::after {
    content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
    height: 2px; background: var(--primary); border-radius: 2px;
}

/* ========== Hero ========== */
.hero-section {
    background: var(--ink);
    padding: 56px 0; position: relative; overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute; top: -40%; right: -5%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(15,181,160,0.12) 0%, transparent 65%);
}
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; }
.hero-title { font-size: 38px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.5px; line-height: 1.25; }
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 480px; }
.hero-stats { display: flex; gap: 48px; }
.hero-stat-item { text-align: right; }
.hero-stat-num { font-size: 34px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ========== Section ========== */
.section { padding: var(--space-section) 0; }
.section-tint { background: var(--surface-tint); }
.section-header { margin-bottom: 28px; text-align: center; }
.section-title { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }
.section-desc { font-size: 15px; color: var(--text-3); margin-top: 10px; }

/* Dark band variant */
.section-dark { background: var(--ink); position: relative; overflow: hidden; }
.section-dark::before {
    content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(15,181,160,0.10) 0%, transparent 60%);
    pointer-events: none;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,0.5); }

/* ========== Buy/Acquire banner ========== */
.buy-banner {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center;
    background: linear-gradient(135deg, #0FB5A0 0%, #0A9182 55%, #10202B 130%);
    border-radius: 20px; padding: 44px 48px; position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.buy-banner::after {
    content: ''; position: absolute; top: -40%; right: 28%; width: 420px; height: 420px;
    border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.buy-banner-content { position: relative; z-index: 1; }
.buy-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #0A9182; background: #fff; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; letter-spacing: 0.5px; }
.buy-title { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.5px; }
.buy-desc { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 460px; margin-bottom: 20px; }
.buy-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.buy-point { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #fff; }
.buy-point span { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.22); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.buy-banner-action { position: relative; z-index: 1; }
.buy-action-card { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 28px; backdrop-filter: blur(6px); text-align: center; }
.buy-action-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.buy-action-card .btn { width: 100%; background: #fff; color: #0A9182; }
.buy-action-card .btn:hover { background: #f0fffb; }
.buy-action-link { display: inline-block; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.85); }
.buy-action-link:hover { color: #fff; }

/* ========== Category Cards ========== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
    background: var(--surface); border-radius: var(--radius); padding: 32px 20px;
    text-align: center; transition: all 0.25s var(--ease); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); user-select: none;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary-light); }
.cat-icon { margin-bottom: 14px; }
.cat-icon img { width: 52px; height: 52px; border-radius: 13px; margin: 0 auto; }
.cat-name { font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.cat-count { font-size: 13px; color: var(--text-3); }
.cat-count span { color: var(--primary); font-weight: 700; font-size: 16px; }

/* ========== Account Cards ========== */
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.account-card {
    background: var(--surface); border-radius: var(--radius);
    padding: 24px; transition: all 0.25s var(--ease); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); display: flex; flex-direction: column;
}
.account-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.card-avatar {
    width: 44px; height: 44px; border-radius: 12px; background: var(--bg);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}
.card-avatar img { width: 26px; height: 26px; }
.card-title { font-size: 15px; font-weight: 700; color: var(--text-1); line-height: 1.5; }
.card-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
    margin-bottom: 20px;
}
.spec { background: var(--surface); padding: 12px 14px; }
.spec-label { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.spec-value { font-size: 14px; font-weight: 700; color: var(--text-1); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-price { font-size: 22px; font-weight: 800; color: var(--price); letter-spacing: -0.5px; }
.card-price span { font-size: 14px; font-weight: 700; margin-right: 1px; }
.card-price .price-hint { font-size: 11px; font-weight: 500; color: var(--text-3); font-style: normal; margin-left: 6px; letter-spacing: 0; }

/* ========== Tabs ========== */
.tab-nav { display: flex; gap: 6px; justify-content: center; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab-item {
    padding: 13px 22px; font-size: 15px; font-weight: 600;
    color: var(--text-2); cursor: pointer; position: relative; transition: color 0.2s var(--ease);
}
.tab-item:hover { color: var(--primary); }
.tab-item.active { color: var(--primary); }
.tab-item.active::after { content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px; height: 2px; background: var(--primary); border-radius: 2px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ========== Trust bar ========== */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; }
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon img { width: 26px; height: 26px; display: block; }
.trust-title { font-size: 16px; font-weight: 700; color: var(--text-1); }
.trust-desc { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ========== Steps ========== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step-card { text-align: center; padding: 28px 24px; background: rgba(255,255,255,0.04); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(4px); transition: all 0.25s var(--ease); }
.step-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(15,181,160,0.4); transform: translateY(-3px); }
.step-num { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.step-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ========== News ========== */
.news-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.news-item {
    display: flex; align-items: center; gap: 18px;
    padding: 18px 22px; background: var(--surface); border-radius: var(--radius);
    transition: all 0.2s var(--ease); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.news-item:hover { box-shadow: var(--shadow-md); }
.news-date { flex-shrink: 0; text-align: center; width: 48px; }
.news-date .day { font-size: 22px; font-weight: 800; color: var(--primary); }
.news-date .month { font-size: 12px; color: var(--text-3); }
.news-content { flex: 1; }
.news-title { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 4px; }
.news-item:hover .news-title { color: var(--primary); }
.news-summary { font-size: 13px; color: var(--text-3); }

/* ========== Footer ========== */
.main-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-about h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.footer-about p { font-size: 13px; line-height: 1.9; max-width: 320px; }
.footer-contact { color: var(--primary); margin-top: 12px; font-weight: 600; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 13px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.35); }

/* ========== Chat Widget ========== */
.chat-widget { position: fixed; bottom: 28px; right: 28px; z-index: 9999; }
.chat-fab {
    width: 58px; height: 58px; border-radius: 50%; background: var(--primary);
    color: #fff; border: none; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(15,181,160,0.35); transition: all 0.2s var(--ease);
}
.chat-fab:hover { transform: scale(1.08); }
.chat-panel {
    position: absolute; bottom: 74px; right: 0; width: 380px; height: 520px;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
}
.chat-panel.open { display: flex; }
.chat-header { padding: 18px 20px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.chat-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; opacity: 0.8; }
.chat-body { flex: 1; padding: 18px; overflow-y: auto; background: var(--bg); }
.chat-welcome { text-align: center; color: var(--text-3); font-size: 14px; padding: 20px 0; }
.chat-welcome p { margin-bottom: 6px; }
.chat-msg { margin-bottom: 12px; display: flex; }
.chat-msg.visitor { justify-content: flex-end; }
.chat-msg.agent, .chat-msg.system { justify-content: flex-start; }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.chat-msg.visitor .chat-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.agent .chat-bubble { background: var(--surface); color: var(--text-1); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-msg.system .chat-bubble { background: #fff3e6; color: #e67e22; font-size: 12px; }
.chat-bubble.typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 16px; }
.chat-bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); display: inline-block; animation: typingBlink 1.2s infinite ease-in-out; }
.chat-bubble.typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBlink { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-input-area { display: flex; padding: 14px; border-top: 1px solid var(--line); gap: 8px; background: var(--surface); }
.chat-input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 22px; font-size: 14px; outline: none; transition: border-color 0.2s var(--ease); }
.chat-input:focus { border-color: var(--primary); }
.chat-send { padding: 11px 20px; background: var(--primary); color: #fff; border: none; border-radius: 22px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chat-send:hover { background: var(--primary-dark); }

/* ========== Pagination ========== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.page-btn { padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); background: var(--surface); }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-dots { padding: 8px 4px; color: var(--text-3); }

/* ========== Detail ========== */
.detail-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.detail-main, .detail-sidebar { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.detail-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.detail-avatar { width: 56px; height: 56px; border-radius: 14px; background: var(--surface-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-avatar img { width: 32px; height: 32px; }
.detail-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.detail-title { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.detail-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.detail-info-item { background: var(--surface); padding: 16px; }
.detail-info-item .label { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.detail-info-item .value { font-size: 15px; font-weight: 700; color: var(--text-1); }
.detail-desc { padding-top: 20px; border-top: 1px solid var(--line); }
.detail-desc h3 { font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 12px; }
.detail-desc p { font-size: 14px; color: var(--text-2); line-height: 1.9; }
.detail-meta { margin-top: 20px; font-size: 13px; color: var(--text-3); }
.sidebar-label { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.sidebar-price { font-size: 34px; font-weight: 800; color: var(--price); margin-bottom: 22px; letter-spacing: -1px; }
.sidebar-price span { font-size: 20px; }
.sidebar-price .price-hint { font-size: 13px; font-weight: 500; color: var(--text-3); font-style: normal; margin-left: 8px; letter-spacing: 0; }
.sidebar-btns { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.sidebar-btns .btn { width: 100%; justify-content: center; }
.sidebar-terms { background: var(--surface-tint); border-radius: 12px; padding: 20px; }
.sidebar-terms h4 { font-size: 14px; font-weight: 700; color: var(--text-1); margin-bottom: 14px; }
.sidebar-terms ul li { font-size: 13px; color: var(--text-2); line-height: 2.2; }

/* ========== Forms ========== */
.form-page { max-width: 640px; margin: 0 auto; }
.form-card { background: var(--surface); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
    border-radius: var(--radius-sm); font-size: 14px; outline: none; transition: border-color 0.2s var(--ease); background: var(--surface);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ========== Content pages ========== */
.content-page { max-width: 800px; margin: 0 auto; }
.content-card { background: var(--surface); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.content-card h1 { font-size: 26px; margin-bottom: 22px; color: var(--ink); font-weight: 800; }
.content-card h2 { font-size: 18px; margin: 26px 0 12px; color: var(--primary); font-weight: 700; }
.content-card p { font-size: 15px; color: var(--text-2); line-height: 1.9; margin-bottom: 12px; }

/* ========== Breadcrumb ========== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--text-3); }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ========== Mobile ========== */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(16,32,43,0.45); z-index: 200; }
.mobile-menu { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: var(--surface); z-index: 201; transition: right 0.3s var(--ease); padding: 20px; overflow-y: auto; }
.mobile-menu.open { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-close { background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text-2); }
.mobile-menu ul li a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

@media (max-width: 768px) {
    :root { --space-section: 36px; }
    .header-inner { flex-wrap: wrap; }
    .header-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-list { overflow-x: auto; }
    .nav-list li a { white-space: nowrap; padding: 13px 14px; font-size: 14px; }
    .hero-inner { flex-direction: column; align-items: flex-start; }
    .hero-title { font-size: 26px; }
    .hero-stats { gap: 28px; width: 100%; }
    .hero-stat-item { text-align: left; }
    .hero-stat-num { font-size: 26px; }
    .section-title { font-size: 22px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .buy-banner { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
    .buy-title { font-size: 22px; }
    .account-grid { grid-template-columns: 1fr; }
    .trust-bar { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-page { grid-template-columns: 1fr; }
    .topbar-links { display: none; }
    .chat-panel { width: 92vw; right: -12px; }
}

@media (max-width: 480px) {
    .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ========== 微信二维码弹窗 ========== */
.qr-modal {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(16,32,43,0.55); backdrop-filter: blur(3px);
    align-items: center; justify-content: center; padding: 20px;
}
.qr-modal.open { display: flex; }
.qr-modal-box {
    position: relative; background: #fff; border-radius: 16px;
    padding: 28px 32px; text-align: center; max-width: 340px; width: 100%;
    box-shadow: var(--shadow-lg); animation: qrPop 0.25s var(--ease);
}
@keyframes qrPop { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.qr-modal-close {
    position: absolute; top: 10px; right: 14px; background: none; border: none;
    font-size: 26px; line-height: 1; color: var(--text-3); cursor: pointer;
}
.qr-modal-close:hover { color: var(--text-1); }
.qr-modal-title { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 16px; }
.qr-modal-img { width: 220px; height: 220px; object-fit: contain; margin: 0 auto; border-radius: 8px; }
.qr-modal-tip { font-size: 13px; color: var(--text-3); margin-top: 14px; }
.qr-fab { background: #07C160; }
.qr-fab:hover { background: #06ad56; }