﻿/* ===== 鍏ㄥ眬鍙橀噺 ===== */
:root {
  --primary: #2E7D32;
  --primary-light: #4CAF50;
  --primary-dark: #1B5E20;
  --accent: #F9A825;
  --accent-dark: #F57F17;
  --bg: #F5F7F4;
  --bg-white: #FFFFFF;
  --text: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --border: #E8E8E8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
}

* {margin:0;padding:0;box-sizing:border-box}
html {font-size:18px;scroll-behavior:smooth}
body {
  font-family:'PingFang SC','Microsoft YaHei',-apple-system,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  padding-top:60px;
  padding-bottom:70px;
  min-height:100vh;
}

/* ===== 甯冨眬 ===== */
.container {max-width:1200px;margin:0 auto;padding:0 16px}
.container-sm {max-width:800px;margin:0 auto;padding:0 16px}
.main-content {padding:20px 0}
.grid {display:grid;gap:16px}
.grid-2 {grid-template-columns:repeat(2,1fr)}
.grid-3 {grid-template-columns:repeat(3,1fr)}
.grid-4 {grid-template-columns:repeat(4,1fr)}
@media(max-width:992px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}

/* ===== 椤堕儴瀵艰埅 ===== */
.topbar {
  position:fixed;top:0;left:0;right:0;height:60px;
  background:linear-gradient(135deg,#1B5E20,#2E7D32);
  display:flex;align-items:center;padding:0 20px;
  z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,0.15)
}
.topbar-logo {
  font-size:1.6rem;font-weight:900;color:#fff;text-decoration:none;
  margin-right:30px;letter-spacing:2px
}
.topbar-logo span {color:var(--accent)}
.topbar-nav {
  display:flex;gap:4px;flex:1
}
.topbar-nav .nav-link {
  color:rgba(255,255,255,0.85);text-decoration:none;
  padding:8px 14px;border-radius:20px;font-size:0.9rem;
  transition:all 0.2s
}
.topbar-nav .nav-link:hover,.topbar-nav .nav-link.active {
  background:rgba(255,255,255,0.2);color:#fff
}
.topbar-actions {display:flex;align-items:center;gap:12px}
.topbar-btn {
  background:var(--accent);color:#333;text-decoration:none;
  padding:8px 18px;border-radius:20px;font-weight:600;
  transition:all 0.2s
}
.topbar-btn:hover {background:var(--accent-dark);transform:translateY(-1px)}
.mobile-menu-btn {
  display:none;background:none;border:none;color:#fff;
  font-size:1.5rem;cursor:pointer;padding:5px
}
@media(max-width:992px){
  .topbar-nav{display:none}
  .mobile-menu-btn{display:block}
}

/* 绉诲姩绔彍鍗?*/
.mobile-nav {
  display:none;position:fixed;top:60px;left:0;right:0;
  background:#fff;box-shadow:var(--shadow);z-index:999;
  flex-direction:column;padding:10px 0
}
.mobile-nav.show {display:flex}
.mobile-nav a {
  color:var(--text);text-decoration:none;padding:14px 20px;
  border-bottom:1px solid var(--border);font-size:1rem
}
.mobile-nav a:hover {background:var(--bg)}

/* ===== 椤甸潰鏍囬 ===== */
.page-header {
  text-align:center;padding:40px 20px;margin-bottom:30px;
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  color:#fff;border-radius:var(--radius);margin:-20px -16px 30px
}
.page-header h1 {font-size:1.8rem;font-weight:700;margin-bottom:8px}
.page-header p {opacity:0.9;font-size:1rem}

/* ===== Hero鍖哄煙 ===== */
.hero {
  background:linear-gradient(135deg,var(--primary-dark),var(--primary),var(--primary-light));
  color:#fff;text-align:center;padding:80px 20px;
  border-radius:var(--radius);margin-bottom:40px;
  position:relative;overflow:hidden
}
.hero::before {
  content:'';position:absolute;top:0;left:0;right:0;bottom:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {position:relative;z-index:1;max-width:800px;margin:0 auto}
.hero h1 {font-size:2.4rem;font-weight:900;margin-bottom:16px;letter-spacing:2px}
.hero p {font-size:1.15rem;opacity:0.95;margin-bottom:30px;line-height:1.8}
.hero-buttons {display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.hero-stats {
  display:flex;justify-content:center;gap:50px;margin-top:50px;flex-wrap:wrap
}
.hero-stat {text-align:center}
.hero-stat-value {font-size:2rem;font-weight:900}
.hero-stat-label {font-size:1rem;color:#FDD835;opacity:1;margin-top:6px;font-weight:600;letter-spacing:1px;text-shadow:0 1px 3px rgba(0,0,0,0.4)}

/* ===== 鍗＄墖 ===== */
.card {
  background:var(--bg-white);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;
  transition:all 0.3s
}
.card:hover {box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.card-header {
  padding:20px 24px;background:var(--bg);
  border-bottom:1px solid var(--border)
}
.card-header h3 {font-size:1.1rem;font-weight:700;color:var(--text)}
.card-body {padding:24px}
.card-footer {padding:16px 24px;background:var(--bg);border-top:1px solid var(--border)}

/* ===== 鎸夐挳 ===== */
.btn {
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 24px;border-radius:var(--radius-sm);font-weight:600;
  font-size:0.95rem;text-decoration:none;border:none;cursor:pointer;
  transition:all 0.2s;gap:6px
}
.btn-sm{padding:8px 16px;font-size:0.85rem}
.btn-lg{padding:14px 32px;font-size:1.05rem}
.btn-block{width:100%}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-accent{background:var(--accent);color:#333}
.btn-accent:hover{background:var(--accent-dark)}
.btn-secondary{background:#E0E0E0;color:var(--text)}
.btn-secondary:hover{background:#D0D0D0}
.btn-outline{background:transparent;border:2px solid #fff;color:#fff}
.btn-outline:hover{background:rgba(255,255,255,0.15)}

/* ===== 寰界珷 ===== */
.badge {
  display:inline-block;padding:4px 10px;border-radius:20px;
  font-size:0.75rem;font-weight:600
}
.badge-primary{background:rgba(46,125,50,0.1);color:var(--primary)}
.badge-success{background:rgba(76,175,80,0.1);color:#4CAF50}
.badge-warning{background:rgba(249,168,37,0.15);color:var(--accent-dark)}
.badge-danger{background:rgba(244,67,54,0.1);color:#F44336}
.badge-info{background:rgba(33,150,243,0.1);color:#2196F3}

/* ===== 鍔熻兘鍗＄墖 ===== */
.feature-card {
  background:var(--bg-white);border-radius:var(--radius);
  padding:28px;box-shadow:var(--shadow);
  transition:all 0.3s;text-align:center
}
.feature-card:hover {transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.feature-icon {font-size:3rem;margin-bottom:16px}
.feature-title {font-size:1.1rem;font-weight:700;margin-bottom:10px;color:var(--text)}
.feature-desc {color:var(--text-secondary);font-size:0.9rem;line-height:1.7}
.features-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:992px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:576px){.features-grid{grid-template-columns:1fr}}

/* ===== 缁熻鍗＄墖 ===== */
.stat-card {
  background:var(--bg-white);border-radius:var(--radius);
  padding:24px;text-align:center;box-shadow:var(--shadow)
}
.stat-value {font-size:1.8rem;font-weight:900;color:var(--primary)}
.stat-label {font-size:0.85rem;color:var(--text-secondary);margin-top:6px}
.stat-card.secondary .stat-value{color:var(--text)}
.stat-card.accent .stat-value{color:var(--accent-dark)}
.stat-card.danger .stat-value{color:#F44336}
.stats-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:768px){.stats-grid{grid-template-columns:repeat(2,1fr)}}

/* ===== 浜у搧鍗＄墖 ===== */
.product-card {
  background:var(--bg-white);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);
  transition:all 0.3s
}
.product-card:hover {transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.product-image {
  background:linear-gradient(135deg,#F0F7F0,#E8F5E9);
  height:140px;display:flex;align-items:center;justify-content:center;
  font-size:4rem
}
.product-info {padding:16px}
.product-name {font-weight:700;font-size:1rem;margin-bottom:4px}
.product-desc {color:var(--text-secondary);font-size:0.85rem;margin-bottom:8px}
.product-tags {display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap}
.product-tag {
  background:rgba(46,125,50,0.08);color:var(--primary);
  padding:3px 10px;border-radius:20px;font-size:0.75rem
}
.product-price {font-size:1.2rem;font-weight:900;color:var(--primary);margin-bottom:10px}

/* ===== 鍒楄〃 ===== */
.list {display:flex;flex-direction:column;gap:12px}
.list-item {
  display:flex;align-items:flex-start;gap:12px;
  padding:12px 16px;background:var(--bg);border-radius:var(--radius-sm)
}
.list-icon {
  width:28px;height:28px;background:rgba(46,125,50,0.1);
  color:var(--primary);border-radius:50%;display:flex;
  align-items:center;justify-content:center;font-size:0.8rem;font-weight:700;
  flex-shrink:0
}
.list-title {font-weight:600;font-size:0.95rem}
.list-meta {color:var(--text-secondary);font-size:0.85rem;margin-top:2px}

/* ===== 鏃堕棿杞?===== */
.timeline {position:relative;padding-left:40px}
.timeline::before {
  content:'';position:absolute;left:15px;top:0;bottom:0;
  width:2px;background:var(--border)
}
.timeline-item {position:relative;margin-bottom:30px}
.timeline-item::before {
  content:'';position:absolute;left:-33px;top:4px;
  width:12px;height:12px;background:var(--primary);
  border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px var(--primary)
}
.timeline-date {font-weight:700;color:var(--primary);margin-bottom:6px}
.timeline-content {background:var(--bg-white);padding:16px;border-radius:var(--radius-sm)}

/* ===== 姝ラ ===== */
.steps {display:flex;justify-content:center;gap:30px;flex-wrap:wrap}
.step {text-align:center;flex:1;min-width:150px;max-width:200px}
.step-number {
  width:50px;height:50px;background:var(--primary);color:#fff;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;font-weight:900;margin:0 auto 12px;
  box-shadow:0 4px 15px rgba(46,125,50,0.3)
}
.step-title {font-weight:700;margin-bottom:4px}
.step-desc {color:var(--text-secondary);font-size:0.85rem}

/* ===== 琛ㄦ牸 ===== */
.table-wrapper {overflow-x:auto;border-radius:var(--radius-sm)}
.table {width:100%;border-collapse:collapse;font-size:0.9rem}
.table th {
  background:var(--primary);color:#fff;padding:14px 16px;
  text-align:left;font-weight:600;white-space:nowrap
}
.table td {padding:14px 16px;border-bottom:1px solid var(--border)}
.table tr:hover td {background:var(--bg)}
.table tr:last-child td {border-bottom:none}

/* ===== 琛ㄥ崟 ===== */
.form-group {margin-bottom:20px}
.form-label {
  display:block;font-weight:600;margin-bottom:8px;
  color:var(--text);font-size:0.9rem
}
.form-input,.form-select,.form-textarea {
  width:100%;padding:12px 16px;border:2px solid var(--border);
  border-radius:var(--radius-sm);font-size:1rem;
  background:var(--bg-white);transition:all 0.2s;
  font-family:inherit
}
.form-input:focus,.form-select:focus,.form-textarea:focus {
  outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(46,125,50,0.1)
}
.form-textarea {min-height:100px;resize:vertical}

/* ===== 鏍囩椤?===== */
.tabs {display:flex;gap:4px;margin-bottom:24px;overflow-x:auto;padding-bottom:4px}
.tab {
  padding:10px 20px;background:var(--bg-white);border:none;
  border-radius:var(--radius-sm);cursor:pointer;font-size:0.95rem;
  font-weight:600;color:var(--text-secondary);white-space:nowrap;
  transition:all 0.2s
}
.tab:hover {color:var(--primary)}
.tab.active {background:var(--primary);color:#fff}
.tab-content {display:none}
.tab-content.active {display:block}

/* ===== 鎻愮ず妗?===== */
.alert {
  padding:14px 18px;border-radius:var(--radius-sm);
  display:flex;align-items:flex-start;gap:12px;
  font-size:0.9rem;line-height:1.6
}
.alert-icon {font-size:1.2rem;flex-shrink:0}
.alert-success {background:rgba(76,175,80,0.1);border-left:4px solid #4CAF50;color:#2E7D32}
.alert-warning {background:rgba(249,168,37,0.1);border-left:4px solid var(--accent-dark);color:#F57F17}
.alert-danger {background:rgba(244,67,54,0.1);border-left:4px solid #F44336;color:#C62828}
.alert-info {background:rgba(33,150,243,0.1);border-left:4px solid #2196F3;color:#1565C0}

/* ===== 杩涘害鏉?===== */
.progress-bar {
  height:8px;background:var(--border);border-radius:4px;overflow:hidden
}
.progress-fill {
  height:100%;background:var(--primary);border-radius:4px;
  transition:width 0.5s ease
}

/* ===== 绌虹姸鎬?===== */
.empty-state {text-align:center;padding:50px 20px}
.empty-icon {font-size:4rem;margin-bottom:16px;opacity:0.5}
.empty-title {font-size:1.2rem;font-weight:700;margin-bottom:8px}
.empty-desc {color:var(--text-secondary)}

/* ===== 寮圭獥 ===== */
.modal-overlay,.modal-box{
  display:none;position:fixed;top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0.5);z-index:2000;
  align-items:center;justify-content:center;padding:20px
}
.modal-overlay.show,.modal-box.show{display:flex}
.modal,.modal-box-content{
  background:#fff;border-radius:var(--radius);width:100%;max-width:500px;
  max-height:90vh;overflow:auto;animation:modalIn 0.3s ease;position:relative;display:block
}
@keyframes modalIn {from{transform:scale(0.9);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes modalIn {from{transform:scale(0.9);opacity:0}to{transform:scale(1);opacity:1}}
.modal-header {
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;border-bottom:1px solid var(--border)
}
.modal-title {font-weight:700;font-size:1.1rem}
.modal-close {
  width:32px;height:32px;background:var(--bg);border:none;
  border-radius:50%;cursor:pointer;font-size:1.2rem;color:var(--text)
}
.modal-body {padding:24px}
.modal-footer {
  padding:16px 24px;border-top:1px solid var(--border);
  display:flex;justify-content:flex-end;gap:12px
}

/* ===== 鎵嬮鐞?===== */
.accordion-header {
  display:flex;justify-content:space-between;align-items:center;
  padding:16px 20px;background:var(--bg);cursor:pointer;
  font-weight:600
}
.accordion-arrow {transition:transform 0.3s;color:var(--text-secondary)}
.accordion-content {display:none;padding:0 20px}
.accordion-item.active .accordion-content {display:block}
.accordion-item.active .accordion-arrow {transform:rotate(180deg)}

/* ===== 寮€鍏?===== */
.toggle {position:relative;width:48px;height:26px}
.toggle input {opacity:0;width:0;height:0}
.toggle-slider {
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:#ccc;border-radius:13px;cursor:pointer;
  transition:0.3s
}
.toggle-slider::before {
  content:'';position:absolute;width:22px;height:22px;
  left:2px;bottom:2px;background:#fff;border-radius:50%;
  transition:0.3s
}
.toggle input:checked + .toggle-slider {background:var(--primary)}
.toggle input:checked + .toggle-slider::before {transform:translateX(22px)}

/* ===== 绔犺妭鏍囬 ===== */
.section {padding:40px 0}
.section-title {text-align:center;margin-bottom:40px}
.section-title h2 {font-size:1.6rem;font-weight:900;margin-bottom:10px;color:var(--text)}
.section-title p {color:var(--text-secondary);font-size:1rem}

/* ===== 杈呭姪绫?===== */
.text-center {text-align:center}
.text-left {text-align:left}
.text-right {text-align:right}
.text-primary {color:var(--primary)}
.text-accent {color:var(--accent-dark)}
.text-secondary {color:var(--text-secondary)}
.text-danger {color:#F44336}
.text-success {color:#4CAF50}
.font-bold {font-weight:700}
.text-lg {font-size:1.1rem}
.text-xl {font-size:1.3rem}
.text-2xl {font-size:1.6rem}
.text-3xl {font-size:2rem}
.text-sm {font-size:0.85rem}
.text-xs {font-size:0.75rem}
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.p-1{padding:8px}.p-2{padding:16px}.p-3{padding:24px}
.flex{display:flex}.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}
.items-center{align-items:center}.items-start{align-items:flex-start}
.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.gap-1{gap:8px}.gap-2{gap:16px}.gap-3{gap:24px}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.ml-1{margin-left:8px}.ml-2{margin-left:16px}
.mr-1{margin-right:8px}.mr-2{margin-right:16px}
.w-full{width:100%}.h-full{height:100%}
.hidden{display:none !important}
.relative{position:relative}.absolute{position:absolute}

/* ===== 搴曢儴瀵艰埅 ===== */
.bottombar {
  position:fixed;bottom:0;left:0;right:0;height:65px;
  background:#fff;box-shadow:0 -2px 10px rgba(0,0,0,0.08);
  display:flex;justify-content:space-around;align-items:center;
  z-index:1000;padding:0 0 calc(env(safe-area-inset-bottom) + 5px)
}
.bottom-item {
  flex:1;display:flex;flex-direction:column;align-items:center;
  gap:4px;text-decoration:none;color:var(--text-secondary);
  padding:8px 0;transition:all 0.2s;font-size:0.7rem
}
.bottom-icon {font-size:1.4rem;transition:transform 0.2s}
.bottom-label {font-weight:500}
.bottom-item.active {color:var(--primary)}
.bottom-item.active .bottom-icon {transform:scale(1.1)}

/* ===== 椤佃剼 ===== */
.footer {
  background:#1B5E20;color:#fff;padding:50px 0 30px;
  margin-top:60px
}
.footer-logo {font-size:1.8rem;font-weight:900;margin-bottom:20px;text-align:center}
.footer-logo span {color:var(--accent)}
.footer-links {
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  margin-bottom:0
}
.footer-links a {color:rgba(255,255,255,0.8);text-decoration:none;font-size:0.9rem}
.footer-links a:hover {color:#fff}
.footer-info {text-align:center;color:rgba(255,255,255,0.7);font-size:0.85rem;margin-bottom:20px}
.footer-copyright {text-align:center;color:rgba(255,255,255,0.5);font-size:0.8rem}

/* ===== 鍔ㄧ敾 ===== */
@keyframes fadeIn {from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.animate {animation:fadeIn 0.5s ease}
.animate-delay-1{animation-delay:0.1s}.animate-delay-2{animation-delay:0.2s}.animate-delay-3{animation-delay:0.3s}

/* ===== Product Design refresh: brand, layout, responsive polish ===== */
:root {
  --qsh-green-950: #062417;
  --qsh-green-900: #0d3a24;
  --qsh-green-800: #145235;
  --qsh-green-700: #1f6a45;
  --qsh-green-100: #e5f1e9;
  --qsh-paper: #fffdf7;
  --qsh-gold: #d7ad3f;
  --qsh-amber: #f0c766;
  --qsh-ink: #1d2a24;
  --qsh-muted: #64736c;
  --qsh-line: rgba(20, 82, 53, 0.16);
  --qsh-shadow: 0 14px 34px rgba(6, 36, 23, 0.12);
  --qsh-shadow-soft: 0 8px 22px rgba(6, 36, 23, 0.08);
  --primary: var(--qsh-green-700);
  --primary-dark: var(--qsh-green-900);
  --accent: var(--qsh-gold);
  --accent-dark: #aa7922;
  --bg: #f4f6f1;
  --text: var(--qsh-ink);
  --text-secondary: var(--qsh-muted);
  --border: var(--qsh-line);
  --radius: 8px;
  --radius-sm: 6px;
}

html { font-size: 17px; }

body {
  background: linear-gradient(180deg, #f7f8f2 0%, #f3f6ef 44%, #eef4ef 100%) !important;
  color: var(--qsh-ink);
  padding-top: 64px !important;
  letter-spacing: 0;
}

body, button, input, select, textarea {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

h1, h2, h3,
.topbar-logo, .footer-brand,
.brand-header h2, .pain-header h2, .product-header h2,
.course-header h2, .agent-header h2, .page-header h1 {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  letter-spacing: 0 !important;
}

section {
  width: 100%;
  max-width: none !important;
  padding: 64px max(22px, calc((100vw - 1280px) / 2 + 24px));
}

.topbar {
  height: 64px !important;
  padding: 0 max(18px, calc((100vw - 1320px) / 2 + 24px)) !important;
  background: rgba(6, 36, 23, 0.94) !important;
  border-bottom: 1px solid rgba(240, 199, 102, 0.2);
  box-shadow: 0 12px 28px rgba(6, 36, 23, 0.18) !important;
  backdrop-filter: blur(18px);
}

.topbar-logo { font-size: 1.38rem !important; color: #fff !important; }
.topbar-logo span, .footer-brand, .footer-title { color: var(--qsh-amber) !important; }
.topbar-links { gap: 4px !important; }

.nav-link {
  min-height: 40px;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff7ce !important;
}

.topbar-btn,
.hero-btn-primary,
.btn-primary,
.btn-buy,
.product-card-btn,
.course-btn,
.agent-card-btn,
.download-btn,
.referral-btn,
.trial-btn,
.exchange-btn,
.use-btn {
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--qsh-gold), var(--qsh-amber)) !important;
  color: #10271a !important;
  box-shadow: 0 10px 22px rgba(170, 121, 34, 0.24);
  font-weight: 800 !important;
  text-decoration: none !important;
}

.topbar-btn:hover,
.hero-btn-primary:hover,
.btn-primary:hover,
.btn-buy:hover,
.product-card-btn:hover,
.course-btn:hover,
.agent-card-btn:hover,
.download-btn:hover,
.referral-btn:hover,
.trial-btn:hover,
.exchange-btn:hover,
.use-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(170, 121, 34, 0.3);
}

.hero-btn-secondary,
.btn-secondary,
.btn-outline,
.btn-detail {
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.36) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.btn-detail {
  border-color: var(--qsh-line) !important;
  background: #f6faf5 !important;
  color: var(--qsh-green-800) !important;
}

.topbar-menu {
  min-height: 40px;
  border-radius: 8px !important;
  padding: 8px 12px !important;
}

.topbar-menu-panel {
  top: 64px !important;
  background: rgba(6, 36, 23, 0.98) !important;
  border-top: 1px solid rgba(240, 199, 102, 0.18);
  box-shadow: 0 18px 40px rgba(6, 36, 23, 0.28) !important;
}

.menu-link {
  min-height: 44px;
  border-radius: 8px !important;
  border-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.menu-link:hover, .menu-link.active {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff7ce !important;
}

.menu-link-cta { color: #10271a !important; }

.hero {
  min-height: 560px !important;
  height: auto;
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 60px 24px 46px !important;
  border-radius: 0 !important;
  background: var(--qsh-green-950) !important;
  isolation: isolate;
}

.hero::before {
  opacity: 1 !important;
  background:
    linear-gradient(90deg, rgba(6, 28, 18, 0.92), rgba(6, 28, 18, 0.68) 48%, rgba(6, 28, 18, 0.36)),
    url("../assets/flatlay_herbs.png") center 58% / cover no-repeat !important;
  transform: scale(1.02);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(6, 36, 23, 0.76));
  z-index: -1;
}

.hero-content { max-width: 760px !important; margin: 0 auto !important; }

.hero-badge {
  border-radius: 8px !important;
  border: 1px solid rgba(240, 199, 102, 0.42) !important;
  background: rgba(6, 36, 23, 0.46) !important;
  padding: 9px 16px !important;
}

.hero h1 {
  font-size: 3.25rem !important;
  line-height: 1.13 !important;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38) !important;
}

.hero-subtitle {
  max-width: 680px !important;
  margin: 0 auto 32px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.08rem !important;
}

.hero-stats {
  gap: 14px !important;
  margin: 0 auto 34px !important;
}

.hero-stat {
  min-width: 148px;
  padding: 14px 18px;
  border: 1px solid rgba(240, 199, 102, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-stat-num { font-size: 2rem !important; }
.hero-stat-label { color: #fff4bf !important; text-shadow: none !important; font-size: 0.9rem !important; }

.brand-section,
.product-section,
.knowledge-section,
.download-section,
.member-section,
.trace-section,
.coupon-section,
.referral-section,
.points-section,
.test-page,
.system-section {
  background: var(--qsh-paper) !important;
}

.pain-section, .course-section, .trial-section {
  background: linear-gradient(180deg, rgba(229, 241, 233, 0.72), rgba(247, 244, 234, 0.92)) !important;
}

.agent-section {
  background: linear-gradient(135deg, var(--qsh-green-950), var(--qsh-green-800)) !important;
}

.brand-header, .pain-header, .product-header, .course-header, .agent-header, .page-header {
  margin-bottom: 34px !important;
}

.page-header {
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 58px 24px 46px !important;
  background:
    linear-gradient(120deg, rgba(6, 36, 23, 0.94), rgba(31, 106, 69, 0.9)),
    url("../assets/hero_bg.png") center 54% / cover no-repeat !important;
  color: #fff !important;
}

.page-header h1 { font-size: 2.25rem !important; line-height: 1.18 !important; }
.page-header p { max-width: 780px; margin: 0 auto; color: rgba(255, 255, 255, 0.88) !important; }

.brand-card,
.pain-card,
.product-card,
.course-card,
.agent-card,
.download-card,
.coupon-card,
.member-profile,
.level-card,
.task-card,
.points-item,
.referral-card,
.trace-card,
.trial-card,
.card,
.test-container,
.result-card,
.system-card,
.func-card,
.order-item,
.lock-section {
  border-radius: 8px !important;
  border: 1px solid var(--qsh-line) !important;
  box-shadow: var(--qsh-shadow-soft) !important;
}

.brand-card:hover,
.pain-card:hover,
.product-card:hover,
.course-card:hover,
.agent-card:hover,
.download-card:hover,
.coupon-card:hover,
.member-profile:hover,
.level-card:hover,
.task-card:hover,
.points-item:hover,
.referral-card:hover,
.trace-card:hover,
.trial-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--qsh-shadow) !important;
}

.brand-card { background: #fff !important; text-align: left !important; }

.brand-card-icon {
  width: 78px !important;
  height: 78px !important;
  border-radius: 8px !important;
  overflow: hidden;
  margin: 0 0 18px !important;
  background: var(--qsh-green-100) !important;
}

.brand-card h3,
.pain-card h3,
.product-card h3,
.course-card h3,
.download-info h3,
.knowledge-card h3,
.trace-content h4 {
  color: var(--qsh-green-900) !important;
  line-height: 1.32;
}

.product-grid,
.product-grid-3,
.brand-cards,
.pain-grid,
.course-grid,
.agent-grid,
.coupon-grid,
.points-grid,
.task-grid,
.download-grid,
.level-grid,
.poster-grid,
.func-grid {
  gap: 22px !important;
}

.product-grid-3, .brand-cards, .pain-grid, .course-grid, .agent-grid {
  max-width: 1180px !important;
}

.product-card, .course-card, .coupon-card, .points-item {
  background: #fff !important;
  overflow: hidden;
}

.product-card-img, .product-img {
  height: auto !important;
  aspect-ratio: 4 / 3;
  background: #e9f1e8 !important;
}

.product-card-img img, .product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.product-card-body, .product-body { padding: 20px !important; }

.product-card-tag,
.product-img .badge,
.course-tag,
.badge,
.tag,
.sys-tag,
.level-tag {
  border-radius: 6px !important;
  background: var(--qsh-green-100) !important;
  color: var(--qsh-green-800) !important;
}

.product-card-price .price,
.product-price .now,
.price-amount,
.course-total-price,
.agent-card-price,
.my-points,
.cost {
  color: #b56f16 !important;
}

.product-card-features li,
.product-features li,
.course-items li,
.course-card ul li {
  color: #53645b !important;
}

.product-actions, .hero-cta, .btn-group { gap: 10px !important; }
.quick-stats, .stats-grid, .member-stats, .lock-stats, .sys-stats { gap: 16px !important; }

.stat, .stat-card, .member-stat, .lock-stat, .sys-stat {
  border-radius: 8px !important;
  border: 1px solid var(--qsh-line);
  background: rgba(255, 255, 255, 0.12);
}

.download-section { max-width: none !important; }
.download-card { align-items: stretch !important; border-left: 0 !important; }
.download-icon { border-radius: 8px !important; color: #10271a !important; }

.content {
  max-width: 940px !important;
  margin: 0 auto !important;
  padding: 44px 24px !important;
  background: transparent !important;
}

.content h2 { color: var(--qsh-green-900) !important; border-bottom-color: var(--qsh-green-100) !important; }
.content h3, .content strong { color: var(--qsh-green-800) !important; }

.form-control,
.form-input,
.form-select,
.form-textarea,
.sys-input,
input,
select,
textarea {
  border-radius: 8px !important;
}

.footer {
  margin-top: 0 !important;
  background: linear-gradient(180deg, var(--qsh-green-950), #04150d) !important;
  border-top: 1px solid rgba(240, 199, 102, 0.16);
}

.footer-grid { max-width: 1280px !important; gap: 26px !important; }
.footer-brand span { color: #fff !important; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.12) !important; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 21, 13, 0.62);
}

.modal-overlay.show,
.modal-overlay[style*="display: flex"],
.modal-overlay[style*="display:flex"] {
  display: flex !important;
}

.modal-overlay .modal-box {
  display: block;
  position: relative;
  inset: auto;
  width: min(520px, 94vw);
  max-height: 88vh;
  overflow: auto;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(4, 21, 13, 0.34);
}

.video-upload-area, .video-preview, .video-detail-box { border-radius: 8px !important; }

.bottombar {
  border-top-color: rgba(20, 82, 53, 0.14) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
}

.bottom-item { color: #6c7b72 !important; }
.bottom-item.active { color: var(--qsh-green-800) !important; }

@media (min-width: 1181px) {
  .topbar-menu, .topbar-menu-panel { display: none !important; }
}

@media (max-width: 1180px) {
  .topbar-links { display: none !important; }
  .topbar-menu { display: block !important; }
  .topbar-btn { display: none !important; }
}

@media (min-width: 769px) {
  body { padding-bottom: 0 !important; }
  .bottombar { display: none !important; }
}

@media (max-width: 1024px) {
  section { padding: 54px 22px; }
  .hero {
    min-height: 520px !important;
    padding: 56px 22px 44px !important;
  }
  .hero h1 { font-size: 2.65rem !important; }
  .product-grid-3,
  .brand-cards,
  .pain-grid,
  .course-grid,
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  body {
    padding-top: 64px !important;
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  .hero {
    min-height: 480px !important;
    padding: 48px 18px 38px !important;
  }

  .hero h1 { font-size: 2rem !important; }
  .hero-subtitle { font-size: 1rem !important; }

  .hero-stats,
  .quick-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
  }

  .hero-stat, .stat {
    min-width: 0;
    padding: 10px 8px;
  }

  .hero-stat-num, .stat-num { font-size: 1.35rem !important; }
  .hero-stat-label, .stat-label {
    font-size: 0.75rem !important;
    padding: 0 !important;
    background: transparent !important;
  }

  section,
  .content,
  .product-section,
  .download-section,
  .test-page {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .brand-cards,
  .pain-grid,
  .product-grid,
  .product-grid-3,
  .course-grid,
  .agent-grid,
  .coupon-grid,
  .points-grid,
  .task-grid,
  .download-grid,
  .level-grid,
  .poster-grid,
  .func-grid {
    grid-template-columns: 1fr !important;
  }

  .download-card {
    display: grid !important;
    grid-template-columns: 52px 1fr;
    gap: 14px !important;
  }

  .download-btn {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
  }

  .product-actions, .hero-cta, .btn-group {
    flex-direction: column !important;
  }

  .hero-btn-primary,
  .hero-btn-secondary,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .btn-detail,
  .btn-buy,
  .product-card-btn,
  .course-btn,
  .agent-card-btn,
  .download-btn,
  .referral-btn,
  .trial-btn,
  .exchange-btn,
  .use-btn {
    width: 100% !important;
    min-height: 44px;
    justify-content: center;
  }

  .footer-grid { grid-template-columns: 1fr !important; }
  .page-header h1 { font-size: 1.8rem !important; }
  .bottombar { display: flex !important; }
}

@media (max-width: 420px) {
  .hero-stats, .quick-stats { grid-template-columns: 1fr !important; }
  .topbar { padding-left: 14px !important; padding-right: 14px !important; }
  .topbar-logo { font-size: 1.18rem !important; }
}

/* ===== Global navigation and logo refresh ===== */
body {
  padding-top: 72px !important;
}

.topbar {
  height: 72px !important;
  padding: 0 clamp(18px, 3vw, 42px) !important;
  display: grid !important;
  grid-template-columns: minmax(124px, 210px) minmax(0, 1fr) minmax(104px, 210px);
  align-items: center !important;
  gap: clamp(14px, 2vw, 28px) !important;
  background:
    linear-gradient(90deg, rgba(5, 35, 23, 0.98), rgba(13, 67, 43, 0.96) 46%, rgba(5, 35, 23, 0.98)) !important;
  border-bottom: 1px solid rgba(245, 198, 73, 0.24) !important;
  box-shadow: 0 16px 38px rgba(2, 25, 15, 0.24) !important;
}

.topbar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 198, 73, 0.82), transparent);
  pointer-events: none;
}

.topbar-logo {
  position: relative;
  min-width: 134px;
  grid-column: 1;
  justify-self: start;
  display: inline-block !important;
  color: #fff8df !important;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif !important;
  font-size: 1.58rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.topbar-logo span {
  color: #f4ca54 !important;
}

.topbar-logo::after {
  content: 'HERBAL CARE';
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  transform: translateX(1px);
}

.topbar-links {
  grid-column: 2;
  justify-self: center;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-link {
  min-height: 38px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #fff8df !important;
  background: rgba(255, 255, 255, 0.09) !important;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #10271a !important;
  background: linear-gradient(135deg, #f4ca54, #f8df86) !important;
  box-shadow: 0 8px 22px rgba(245, 198, 73, 0.22);
}

#userArea {
  grid-column: 3;
  justify-self: end;
  margin-left: 0 !important;
}

.topbar-user {
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(245, 198, 73, 0.46) !important;
  border-radius: 999px;
  background: rgba(245, 198, 73, 0.1) !important;
  color: #ffe49b !important;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none !important;
}

.topbar-user:hover {
  background: rgba(245, 198, 73, 0.2) !important;
  color: #fff4c7 !important;
}

.topbar-btn {
  display: none !important;
}

.topbar-menu {
  grid-column: 3;
  justify-self: end;
  min-height: 40px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(245, 198, 73, 0.3) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff8df !important;
  font-weight: 800 !important;
}

.topbar-menu-panel {
  top: 72px !important;
  background:
    linear-gradient(180deg, rgba(5, 35, 23, 0.99), rgba(9, 55, 34, 0.99)) !important;
}

.menu-link {
  border-radius: 12px !important;
  font-weight: 700 !important;
}

.menu-link-cta {
  display: none !important;
}

@media (max-width: 1280px) {
  .topbar {
    gap: 16px !important;
  }

  .nav-link {
    padding-left: 11px !important;
    padding-right: 11px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 1180px) {
  body {
    padding-top: 64px !important;
  }

  .topbar {
    height: 64px !important;
    grid-template-columns: auto 1fr auto auto;
  }

  .topbar-links {
    display: none !important;
  }

  #userArea {
    grid-column: 3;
  }

  .topbar-menu {
    grid-column: 4;
    display: block !important;
  }

  .topbar-menu-panel {
    top: 64px !important;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 10px !important;
  }

  .topbar-logo {
    min-width: 100px;
    font-size: 1.24rem !important;
    letter-spacing: 0.1em !important;
  }

  .topbar-logo::after {
    display: none;
  }

  .topbar-user {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.76rem;
  }
}

/* ===== Mall page annotation updates ===== */
.mall-page .page-header {
  min-height: 360px;
  padding: 88px 24px 76px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(6, 36, 23, 0.95), rgba(20, 82, 53, 0.86) 52%, rgba(31, 106, 69, 0.82)),
    url("../assets/hero_bg.png") center 48% / cover no-repeat !important;
}

.mall-page .page-header h1 {
  font-size: 3rem !important;
  margin-bottom: 14px !important;
}

.mall-page .page-header p {
  max-width: 720px;
  font-size: 1.05rem !important;
  line-height: 1.8;
}

.mall-page .quick-stats {
  width: min(860px, 92vw);
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px !important;
  margin-top: 34px !important;
}

.mall-page .quick-stats .stat {
  min-height: 94px;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240, 199, 102, 0.2);
  backdrop-filter: blur(12px);
}

.mall-page .quick-stats .stat-num {
  font-size: 1.85rem !important;
}

.mall-page .quick-stats .stat-label {
  margin-top: 8px !important;
  font-size: 0.9rem !important;
  letter-spacing: 0 !important;
}

.mall-page .tabs {
  top: 64px !important;
  padding: 16px 20px !important;
  background: rgba(255, 253, 247, 0.95) !important;
  backdrop-filter: blur(14px);
}

.mall-page .tabs-inner {
  justify-content: center;
  gap: 12px !important;
}

.mall-page .tab-btn {
  min-width: 92px;
  border-radius: 8px !important;
}

.mall-page .product-section {
  padding-top: 76px !important;
  padding-bottom: 72px !important;
  text-align: center;
}

.mall-page .product-section h2,
.mall-page .course-section h2 {
  font-size: 2rem !important;
}

.mall-page .product-section .sub,
.mall-page .course-section .sub {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 36px !important;
}

.mall-page .product-grid-3 {
  width: min(1180px, 100%);
  margin: 0 auto 80px !important;
  grid-template-columns: repeat(3, minmax(0, 360px)) !important;
  justify-content: center;
}

.mall-page .product-grid {
  width: min(860px, 100%);
  margin: 0 auto 80px !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 380px)) !important;
  justify-content: center;
}

.mall-page .spray-grid,
.mall-page .product-grid:has(> .product-card:only-child) {
  width: min(1080px, 100%);
  grid-template-columns: minmax(0, 1fr) !important;
}

.mall-page .spray-grid > .product-card,
.mall-page .product-grid > .product-card:only-child {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 1.08fr);
  align-items: stretch;
}

.mall-page .spray-grid > .product-card .product-img,
.mall-page .product-grid > .product-card:only-child .product-img {
  min-height: 360px;
  height: 100% !important;
  aspect-ratio: auto;
}

.mall-page .spray-grid > .product-card .product-body,
.mall-page .product-grid > .product-card:only-child .product-body {
  min-height: 360px;
  padding: 42px 44px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mall-page .spray-grid > .product-card .product-body h3,
.mall-page .product-grid > .product-card:only-child .product-body h3 {
  font-size: 1.45rem !important;
}

.mall-page .spray-grid > .product-card .product-spec,
.mall-page .product-grid > .product-card:only-child .product-spec {
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.mall-page .spray-grid > .product-card .product-price,
.mall-page .product-grid > .product-card:only-child .product-price {
  margin-bottom: 22px;
}

.mall-page .spray-grid > .product-card .product-features,
.mall-page .product-grid > .product-card:only-child .product-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.mall-page .product-card {
  text-align: left;
}

.mall-page .product-card .product-img {
  aspect-ratio: 16 / 11;
}

.mall-page .product-card[data-category="granule"] .product-img img {
  object-position: center center;
}

.mall-page .course-section {
  padding: 84px max(22px, calc((100vw - 1280px) / 2 + 24px)) 88px !important;
  margin: 0 !important;
}

.mall-page .course-grid {
  width: min(1120px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

.mall-page .course-card {
  min-height: 330px;
  padding: 32px 30px !important;
  text-align: left;
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 247, 0.94) !important;
}

.mall-page .course-card.featured {
  border-color: rgba(215, 173, 63, 0.58) !important;
  transform: translateY(-10px);
}

.mall-page .course-card.featured:hover {
  transform: translateY(-14px);
}

.mall-page .course-card .course-tag {
  width: fit-content;
  margin-bottom: 18px;
}

.mall-page .course-card h3 {
  font-size: 1.32rem !important;
  margin-bottom: 8px !important;
}

.mall-page .price-row {
  margin: 20px 0 18px !important;
  align-items: baseline;
}

.mall-page .course-card ul {
  margin-bottom: 28px !important;
}

.mall-page .product-features li,
.mall-page .course-card ul li {
  padding-left: 32px !important;
}

.mall-page .product-features li::before,
.mall-page .course-card ul li::before {
  content: "" !important;
  position: absolute;
  left: 0 !important;
  top: 50% !important;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--qsh-green-700), var(--qsh-green-800));
  box-shadow: 0 4px 10px rgba(20, 82, 53, 0.16);
}

.mall-page .product-features li::after,
.mall-page .course-card ul li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-62%) rotate(45deg);
}

.mall-page .course-btn {
  margin-top: auto;
  width: 100%;
}

.mall-page .trial-section {
  padding: 76px max(22px, calc((100vw - 1280px) / 2 + 24px)) !important;
  background: var(--qsh-paper) !important;
}

.mall-page .trial-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 0 !important;
  overflow: hidden;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--qsh-green-950), var(--qsh-green-700)) !important;
}

.mall-page .trial-content {
  padding: 54px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mall-page .trial-kicker {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(240, 199, 102, 0.16);
  color: #fff4bf;
  font-weight: 800;
  font-size: 0.88rem;
}

.mall-page .trial-card h2 {
  font-size: 2.1rem !important;
  margin-bottom: 14px !important;
  color: var(--qsh-amber) !important;
}

.mall-page .trial-lead {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.88);
}

.mall-page .trial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.mall-page .trial-meta span {
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
}

.mall-page .trial-price-block {
  margin-bottom: 22px;
}

.mall-page .trial-visual {
  min-height: 320px;
  opacity: 1 !important;
  font-size: 0 !important;
  overflow: hidden;
  background: #efe5cd;
}

.mall-page .trial-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .mall-page .page-header {
    min-height: 330px;
    padding: 72px 22px 60px !important;
  }

  .mall-page .quick-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mall-page .product-grid-3,
  .mall-page .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mall-page .course-card.featured {
    transform: none;
  }

  .mall-page .trial-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mall-page .page-header {
    min-height: 520px;
    padding: 52px 18px 46px !important;
  }

  .mall-page .page-header h1 {
    font-size: 2rem !important;
  }

  .mall-page .quick-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .mall-page .quick-stats .stat {
    min-height: 82px;
  }

  .mall-page .tabs-inner {
    justify-content: flex-start;
  }

  .mall-page .product-section,
  .mall-page .course-section,
  .mall-page .trial-section {
    padding-top: 54px !important;
    padding-bottom: 58px !important;
  }

  .mall-page .product-grid,
  .mall-page .product-grid-3,
  .mall-page .course-grid {
    width: 100%;
    grid-template-columns: 1fr !important;
    margin-bottom: 54px !important;
  }

  .mall-page .spray-grid > .product-card,
  .mall-page .product-grid > .product-card:only-child {
    grid-template-columns: 1fr;
  }

  .mall-page .spray-grid > .product-card .product-img,
  .mall-page .product-grid > .product-card:only-child .product-img {
    min-height: 260px;
  }

  .mall-page .spray-grid > .product-card .product-body,
  .mall-page .product-grid > .product-card:only-child .product-body {
    min-height: auto;
    padding: 24px !important;
  }

  .mall-page .spray-grid > .product-card .product-features,
  .mall-page .product-grid > .product-card:only-child .product-features {
    grid-template-columns: 1fr;
  }

  .mall-page .trial-content {
    padding: 34px 22px;
  }

  .mall-page .trial-card h2 {
    font-size: 1.65rem !important;
  }

  .mall-page .trial-visual {
    min-height: 220px;
  }
}

/* ===== Member center redesign ===== */
.member-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 198, 73, 0.1), transparent 28%),
    linear-gradient(180deg, #fbf8ef 0%, #f4f6ef 100%) !important;
}

.member-page .topbar-user {
  border-color: rgba(245, 198, 73, 0.7) !important;
  background: linear-gradient(135deg, rgba(245, 198, 73, 0.22), rgba(245, 198, 73, 0.08)) !important;
  color: #fff1b6 !important;
}

.member-page .page-header {
  min-height: 320px;
  padding: 92px 24px 82px !important;
  background:
    linear-gradient(115deg, rgba(4, 42, 25, 0.95), rgba(15, 101, 63, 0.86)),
    url('../assets/hero_bg.png') center/cover no-repeat !important;
  overflow: hidden;
}

.member-page .page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem) !important;
  letter-spacing: 0.06em !important;
}

.member-page .page-header p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  letter-spacing: 0.08em;
}

.member-page .member-section {
  max-width: none !important;
  margin: 0 !important;
  padding: 72px max(24px, calc((100vw - 1220px) / 2)) 82px !important;
}

.member-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
  gap: 24px;
  margin-bottom: 34px;
}

.member-page .member-profile,
.member-page .upgrade-bar,
.member-page .level-card,
.member-page .benefit-section,
.member-page .func-area,
.member-page .order-section {
  border: 1px solid rgba(22, 82, 48, 0.12) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(22, 45, 28, 0.12) !important;
}

.member-page .member-profile {
  position: relative;
  min-height: 260px;
  margin: 0 !important;
  padding: 34px !important;
  align-items: flex-end !important;
  background:
    linear-gradient(135deg, rgba(8, 56, 34, 0.98), rgba(20, 110, 68, 0.93)),
    url('../assets/leaf-pattern.svg') right -40px bottom -60px/260px auto no-repeat !important;
  overflow: hidden;
}

.member-page .member-profile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 198, 73, 0.16), transparent 42%);
  pointer-events: none;
}

.member-page .member-avatar {
  position: relative;
  z-index: 1;
  width: 96px !important;
  height: 96px !important;
  border-radius: 28px !important;
  background: linear-gradient(135deg, #f4ca54, #fff1aa) !important;
  color: #12321f;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 2.3rem !important;
  font-weight: 900;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
}

.member-page .member-avatar span {
  display: block;
  transform: translateY(-1px);
}

.member-page .member-info {
  position: relative;
  z-index: 1;
  flex: 1;
}

.member-eyebrow,
.member-section-head span,
.upgrade-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #cfae42;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.member-page .member-info h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.15rem) !important;
  line-height: 1.1;
  margin-bottom: 12px !important;
}

.member-page .level-tag {
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 800;
}

.member-page .member-info p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76) !important;
}

.member-page .member-stats {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px !important;
  margin-left: 0 !important;
}

.member-page .member-stat {
  min-width: 92px;
  padding: 16px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  text-align: left !important;
}

.member-page .member-stat .val {
  color: #f4ca54 !important;
  font-size: 1.65rem !important;
  line-height: 1;
}

.member-page .member-stat .lbl {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem !important;
}

.member-page .upgrade-bar {
  margin: 0 !important;
  padding: 30px !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.upgrade-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.upgrade-head strong {
  color: #0d3a14;
  font-size: 2rem;
  line-height: 1;
}

.member-page .upgrade-bar h3 {
  color: #0d3a14 !important;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.55rem !important;
  line-height: 1.3;
  margin-bottom: 20px !important;
}

.member-page .upgrade-info {
  gap: 14px;
  flex-wrap: wrap;
}

.member-page .upgrade-track {
  height: 10px !important;
  margin: 16px 0 12px !important;
  background: rgba(22, 82, 48, 0.14) !important;
}

.member-page .upgrade-fill {
  background: linear-gradient(90deg, #0d3a14, #2e8b57, #f4ca54) !important;
}

.member-section-head {
  margin: 0 0 18px;
}

.member-section-head h2 {
  color: #0d3a14;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 8px;
}

.member-section-head p {
  color: #66736b;
  font-size: 0.96rem;
}

.member-section-head.compact {
  margin-bottom: 16px;
}

.member-section-head.compact h2 {
  font-size: 1.45rem;
}

.member-page .level-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 28px !important;
}

.member-page .level-card {
  position: relative;
  min-height: 178px;
  padding: 24px !important;
  text-align: left !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-width: 1px !important;
  cursor: default !important;
}

.member-page .level-card.current {
  border-color: rgba(245, 198, 73, 0.56) !important;
  background: linear-gradient(145deg, rgba(249, 245, 221, 0.98), rgba(232, 245, 233, 0.98)) !important;
}

.member-page .level-card.current::after {
  content: '当前等级' !important;
  top: 18px !important;
  right: 18px !important;
  border-radius: 999px !important;
  background: #0d3a14 !important;
}

.level-mark {
  color: rgba(13, 58, 20, 0.18);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 30px;
}

.member-page .level-card .name {
  color: #0d3a14 !important;
  font-size: 1rem !important;
}

.member-page .level-card .discount {
  color: #956a16 !important;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
}

.member-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.member-page .benefit-section,
.member-page .func-area {
  margin: 0 !important;
  padding: 30px !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.member-page .benefit-section {
  background:
    linear-gradient(145deg, rgba(13, 58, 20, 0.95), rgba(28, 111, 68, 0.9)),
    url('../assets/leaf-pattern.svg') right -55px bottom -60px/240px auto no-repeat !important;
}

.member-page .benefit-section .member-section-head h2,
.member-page .benefit-section .member-section-head span {
  color: #fff1b6;
}

.member-page .benefit-list {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.member-page .benefit-list li {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.96rem !important;
}

.member-page .benefit-list li .icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f4ca54;
  flex: 0 0 auto;
}

.member-page .func-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
}

.member-page .func-card {
  min-height: 150px;
  padding: 20px 16px !important;
  border: 1px solid rgba(22, 82, 48, 0.12) !important;
  border-radius: 8px !important;
  background: #fbfcf8 !important;
  text-align: left !important;
  cursor: pointer;
}

.member-page button.func-card {
  font-family: inherit;
}

.member-page .func-card .icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px !important;
  border-radius: 50%;
  background: rgba(22, 82, 48, 0.1);
  color: #0d3a14;
  font-size: 0.88rem !important;
  font-weight: 900;
}

.member-page .func-card h3 {
  color: #0d3a14 !important;
  font-size: 1rem !important;
}

.member-page .func-card .badge {
  background: rgba(245, 198, 73, 0.18) !important;
  color: #7a5411 !important;
}

.member-page .order-section {
  padding: 30px !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.member-page .order-section h3 {
  font-size: 1.35rem !important;
  align-items: center;
}

.member-page .order-section h3 span {
  color: #0d3a14;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.member-page .order-item {
  padding: 16px 0 !important;
}

.member-page .order-icon {
  color: #0d3a14;
  font-size: 0.9rem !important;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .member-dashboard,
  .member-content-grid {
    grid-template-columns: 1fr;
  }

  .member-page .member-profile {
    align-items: flex-start !important;
  }

  .member-page .level-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .member-page .page-header {
    min-height: 250px;
    padding: 60px 20px 58px !important;
  }

  .member-page .member-section {
    padding: 44px 16px 68px !important;
  }

  .member-page .member-profile,
  .member-page .upgrade-bar,
  .member-page .benefit-section,
  .member-page .func-area,
  .member-page .order-section {
    padding: 22px !important;
  }

  .member-page .member-profile {
    flex-direction: column !important;
    text-align: left !important;
  }

  .member-page .member-stats,
  .member-page .func-grid {
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .member-page .level-grid {
    grid-template-columns: 1fr !important;
  }

  .member-page .order-item {
    align-items: flex-start !important;
  }
}

/* ===== Download page redesign ===== */
.download-page {
  background:
    radial-gradient(circle at 10% 18%, rgba(245, 198, 73, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf8ef 0%, #f5f6ee 100%) !important;
}

.download-page .page-header {
  min-height: 320px;
  padding: 92px 24px 82px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(115deg, rgba(4, 42, 25, 0.95), rgba(15, 101, 63, 0.86)),
    url('../assets/hero_bg.png') center/cover no-repeat !important;
}

.download-page .page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem) !important;
  letter-spacing: 0.06em !important;
}

.download-page .page-header p {
  max-width: 720px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  letter-spacing: 0.06em;
}

.download-page .download-section {
  max-width: none !important;
  margin: 0 !important;
  padding: 72px max(24px, calc((100vw - 1180px) / 2)) 82px !important;
}

.download-intro,
.download-guide,
.download-page .download-card {
  border: 1px solid rgba(22, 82, 48, 0.12) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(22, 45, 28, 0.1) !important;
}

.download-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 238, 0.94)),
    url('../assets/leaf-pattern.svg') right 28px center/190px auto no-repeat;
}

.download-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(245, 198, 73, 0.18);
  color: #0d3a14;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.download-intro h2,
.download-guide h2 {
  max-width: 760px;
  color: #0d3a14;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.22;
  margin-bottom: 14px;
}

.download-intro p,
.download-guide p {
  color: #66736b;
  font-size: 1.02rem;
  line-height: 1.9;
}

.download-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(22, 82, 48, 0.13);
}

.download-stats div {
  min-height: 132px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
}

.download-stats strong {
  color: #c69a2e;
  font-size: 2.15rem;
  line-height: 1;
  margin-bottom: 12px;
}

.download-stats span {
  color: #0d3a14;
  font-weight: 900;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.download-page .download-card {
  position: relative;
  min-height: 300px;
  margin: 0 !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0 !important;
  border-left: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  overflow: hidden;
}

.download-page .download-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #0d3a14, #1b5e20, #c9a227);
}

.download-page .download-card.is-member {
  background:
    linear-gradient(150deg, rgba(13, 58, 20, 0.96), rgba(27, 94, 32, 0.92)),
    url('../assets/leaf-pattern.svg') right -60px bottom -70px/230px auto no-repeat !important;
  color: #fff;
}

.download-page .download-icon {
  width: 62px !important;
  height: 62px !important;
  margin-bottom: 30px;
  border-radius: 18px !important;
  background: rgba(22, 82, 48, 0.1) !important;
  color: #0d3a14;
  font-size: 0.86rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.download-page .download-card.is-member .download-icon {
  background: linear-gradient(135deg, #c9a227, #fdd835) !important;
  color: #10271a;
}

.resource-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 82, 48, 0.08);
  color: #0d3a14;
  font-size: 0.74rem;
  font-weight: 900;
}

.download-card.is-member .resource-tag {
  background: rgba(245, 198, 73, 0.2);
  color: #ffe49b;
}

.download-page .download-info {
  flex: 1 !important;
  width: 100%;
}

.download-page .download-info h3 {
  color: #0d3a14 !important;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.55rem !important;
  line-height: 1.25;
  margin-bottom: 12px !important;
}

.download-page .download-card.is-member .download-info h3 {
  color: #fff !important;
}

.download-page .download-info p {
  color: #66736b !important;
  font-size: 0.96rem !important;
  line-height: 1.75;
}

.download-page .download-card.is-member .download-info p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.download-page .download-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 26px;
  padding: 12px 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #c9a227, #fdd835) !important;
  color: #10271a !important;
  box-shadow: 0 14px 26px rgba(199, 146, 42, 0.2) !important;
}

.download-page .download-card.is-member .download-btn {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0d3a14 !important;
}

.download-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 241, 215, 0.92)),
    url('../assets/herb_leaf_1.svg') right 34px center/150px auto no-repeat;
}

.guide-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.guide-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 82, 48, 0.1);
}

.guide-list strong {
  color: #c69a2e;
  font-size: 1.2rem;
}

.guide-list span {
  color: #0d3a14;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .download-intro,
  .download-guide {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .download-page .page-header {
    min-height: 250px;
    padding: 60px 20px 58px !important;
  }

  .download-page .download-section {
    padding: 44px 16px 68px !important;
  }

  .download-intro,
  .download-guide,
  .download-page .download-card {
    padding: 24px !important;
  }

  .download-stats,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-stats div {
    min-height: 96px;
  }
}
