/* =============================================
   Homepage V2 — 浅色主题
   从 preview_homepage_v2.html 提取
   ============================================= */

/* ====== VARIABLES ====== */
:root {
  --bg:       #F2F0F8;
  --surface:  #FFFFFF;
  --s2:       #EDE9F6;
  --s3:       #f8f9fe;
  --s4:       #faf8ff;
  --s5:       #f5f3ff;
  --purple:   #6D28D9;
  --p2:       #8B5CF6;
  --p-soft:   #a29bfe;
  --pink:     #DB2777;
  --blue:     #2563EB;
  --green:    #059669;
  --text:     #170F2E;
  --text2:    #4C3D6E;
  --text3:    #9485B8;
  --text-muted:#999;
  --border:   #DDD6EF;
  --border2:  #e2dcf2;
  --grad:     linear-gradient(120deg, #DB2777 0%, #6D28D9 55%, #2563EB 100%);
  --grad-hero:linear-gradient(160deg, #ece8ff 0%, #e0dbff 30%, #f0edff 60%, #f8f6ff 100%);
  --grad-cta: linear-gradient(135deg, #ede9fe 0%, #e8e0ff 50%, #f5f3ff 100%);
  --grad-section:linear-gradient(180deg, #ffffff 0%, #faf8ff 50%, #ffffff 100%);
  --grad-reviews:linear-gradient(180deg, #f8f5ff 0%, #f0edff 100%);
  --grad-sidebar:linear-gradient(160deg, #ece8ff 0%, #e0dbff 50%, #f0edff 100%);
  --shadow:   0 2px 12px rgba(109,40,217,0.09);
  --shadow-lg:0 8px 28px rgba(109,40,217,0.13);
  --shadow-btn:0 2px 10px rgba(109,40,217,0.22);
  --star:     #f5a623;
  --footer-bg:#1a1635;
  --footer-text:rgba(255,255,255,0.5);
  --radius:   14px;
  /* hp- 别名（供 homepage-sections.css 使用） */
  --hp-bg:      var(--bg);
  --hp-surface: var(--surface);
  --hp-s2:      var(--s2);
  --hp-purple:  var(--purple);
  --hp-p2:      var(--p2);
  --hp-pink:    var(--pink);
  --hp-blue:    var(--blue);
  --hp-green:   var(--green);
  --hp-text:    var(--text);
  --hp-text2:   var(--text2);
  --hp-text3:   var(--text3);
  --hp-border:  var(--border);
  --hp-grad:    var(--grad);
  --hp-shadow:  var(--shadow);
  --hp-shadow-lg: var(--shadow-lg);
  --hp-radius:  var(--radius);
}

/* ====== PAGE INDEX BODY ====== */
body.page-index {
  background: var(--bg) !important;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body.page-index a { color: inherit; }

/* ====== HEADER ====== */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 60px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(109,40,217,0.06);
}
.logo {
  font-family: 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-img {
  height: 32px;
  width: auto;
  -webkit-text-fill-color: initial;
}
.header .nav { display: flex; gap: 2px; }
.header .nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  padding: 6px 10px;
  border-radius: 7px;
  transition: all .14s;
  text-decoration: none;
}
.header .nav a:hover { color: var(--purple); background: var(--s2); }
.header .nav a.active { color: var(--purple); background: var(--s2); font-weight: 700; }

/* 导航下拉菜单 */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-trigger {
    font-size: 13px; font-weight: 500; color: var(--text2);
    padding: 6px 13px; border-radius: 7px; transition: all .14s;
    text-decoration: none; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.nav-dropdown-trigger:hover, .nav-dropdown-wrap.open .nav-dropdown-trigger { color: var(--purple); background: var(--s2); }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 8px 0; min-width: 180px;
    box-shadow: 0 8px 30px rgba(109,40,217,0.12);
    opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-8px);
    transition: all 0.2s ease;
    z-index: 200;
}
.nav-dropdown-wrap.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 18px; font-size: 13px; font-weight: 500;
    color: var(--text2); transition: all .14s; text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--s2); color: var(--purple); }
.nav-dropdown-menu a i { width: 18px; text-align: center; font-size: 15px; }

.h-actions { display: flex; gap: 8px; align-items: center; }
.h-btn-outline {
  border: 1.5px solid var(--border);
  background: none;
  color: var(--text2);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all .14s;
  text-decoration: none;
  display: inline-block;
}
.h-btn-outline:hover { border-color: var(--purple); color: var(--purple); }
a.h-btn-primary {
  background: var(--grad);
  border: none;
  color: #fff !important;
  padding: 7px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: opacity .14s;
  text-decoration: none;
  display: inline-block;
}
.h-btn-primary:hover { opacity: .87; color: #fff; }

/* Logged-in user pill */
.h-user-link {
  display: inline-flex; align-items: center; gap: 0;
  text-decoration: none; background: var(--s2); border-radius: 50px;
  padding: 3px; transition: all .2s;
}
.h-user-link:hover { background: var(--border2); }
.h-user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0; text-transform: uppercase;
}
.h-user-name {
  font-size: 12px; font-weight: 600; color: var(--text);
  padding: 0 6px 0 8px; max-width: 90px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.h-user-bal {
  font-size: 11px; font-weight: 700; color: var(--purple);
  background: var(--surface); border-radius: 50px; padding: 4px 10px;
  white-space: nowrap;
}

/* Header language selector */
.header .language-selector { position: relative; }
.header .lang-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 7px;
  border: 1.5px solid var(--border); background: none;
  color: var(--text); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .14s;
}
.header .lang-btn:hover { border-color: var(--purple); color: var(--purple); }
.header .lang-dropdown {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-lg); min-width: 150px; z-index: 300;
  overflow: hidden;
}
.header .lang-dropdown.active { display: block; }
.header .lang-option {
  display: block; padding: 8px 14px; font-size: 13px; color: var(--text2);
  transition: all .1s; text-decoration: none;
}
.header .lang-option:hover { background: var(--s2); color: var(--purple); }
.header .lang-option.active { background: var(--purple); color: #fff; font-weight: 600; }

/* ====== HERO BACKGROUND ====== */
.hero-wrap {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.hero-wrap::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -80px; right: -40px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,106,255,0.28) 0%, rgba(168,85,247,0.14) 40%, transparent 65%);
  animation: hero-glow-1 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-wrap::after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -100px; left: -60px;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,209,137,0.20) 0%, rgba(124,106,255,0.10) 40%, transparent 65%);
  animation: hero-glow-2 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-glow-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  20% { transform: translate(-200px,80px) scale(1.2); }
  40% { transform: translate(-300px,180px) scale(0.9); }
  60% { transform: translate(-150px,250px) scale(1.15); }
  80% { transform: translate(-50px,120px) scale(1.05); }
}
@keyframes hero-glow-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  20% { transform: translate(180px,-60px) scale(1.15); }
  40% { transform: translate(300px,-120px) scale(0.85); }
  60% { transform: translate(200px,-200px) scale(1.1); }
  80% { transform: translate(80px,-80px) scale(1.05); }
}

/* Hero decorative geometries */
.hero-decor { position: absolute; pointer-events: none; z-index: 0; }
.hero-decor-1 { top:12%;left:8%;width:160px;height:160px;border-radius:50%;border:2px solid rgba(124,106,255,0.18);animation:hero-ring 10s linear infinite; }
.hero-decor-2 { top:18%;right:15%;width:80px;height:80px;border-radius:14px;background:rgba(168,85,247,0.08);animation:hero-shape-spin 8s ease-in-out infinite; }
.hero-decor-3 { bottom:25%;right:6%;width:120px;height:120px;border-radius:50%;border:2px solid rgba(71,209,137,0.15);animation:hero-ring 14s linear infinite reverse; }
.hero-decor-4 { top:55%;left:3%;width:18px;height:18px;border-radius:50%;background:var(--p-soft);opacity:0.35;animation:hero-dot-float 4s ease-in-out infinite; }
.hero-decor-5 { bottom:15%;left:25%;width:60px;height:60px;border-radius:10px;border:2px solid rgba(124,106,255,0.12);animation:hero-shape-spin 12s ease-in-out infinite reverse; }
.hero-decor-6 { top:30%;left:45%;width:12px;height:12px;border-radius:50%;background:rgba(168,85,247,0.3);animation:hero-dot-float 3s ease-in-out infinite 0.5s; }
.hero-decor-7 { bottom:35%;right:25%;width:14px;height:14px;border-radius:2px;background:rgba(71,209,137,0.25);animation:hero-dot-float 5s ease-in-out infinite 1s; }
.hero-decor-8 { top:65%;right:40%;width:200px;height:200px;border-radius:50%;border:1.5px solid rgba(124,106,255,0.10);animation:hero-ring 18s linear infinite; }

@keyframes hero-ring {
  0% { transform: rotate(0deg) translate(40px,0) scale(1); }
  50% { transform: rotate(180deg) translate(40px,0) scale(1.2); }
  100% { transform: rotate(360deg) translate(40px,0) scale(1); }
}
@keyframes hero-shape-spin {
  0%,100% { transform: rotate(0deg) translate(0,0); }
  25% { transform: rotate(90deg) translate(-40px,30px); }
  50% { transform: rotate(180deg) translate(20px,60px); }
  75% { transform: rotate(270deg) translate(30px,20px); }
}
@keyframes hero-dot-float {
  0%,100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.15; }
  50% { transform: translateY(-35px) rotate(180deg) scale(1.5); opacity: 0.45; }
}

/* ====== HERO ====== */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 40px 24px;
  position: relative;
  z-index: 1;
}
.hero-text {
  display: flex;
  flex-direction: column;
}

/* 搜索框 */
.hero-search {
  display: flex;
  align-items: stretch;
  max-width: 520px;
  width: 100%;
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(109,40,217,0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-search:focus-within {
  border-color: var(--p2);
  box-shadow: 0 2px 12px rgba(109,40,217,0.10);
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  background: transparent;
}
.hero-search-input::placeholder { color: var(--text3); }
.hero-search-btn {
  padding: 10px 20px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0;
  transition: opacity 0.3s;
}
.hero-search-btn:hover { opacity: 0.9; }

/* 推广轮播 */
.hero-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 20px;
  position: relative;
  z-index: 1;
}
.promo-carousel { position: relative; overflow: hidden; border-radius: 16px; }
.promo-track { display: flex; transition: transform 0.5s ease; }
.promo-track .hero-promo-card { min-width: 100%; flex-shrink: 0; border-radius: 0; }
.promo-dots {
  position: absolute; bottom: 14px; right: 20px;
  display: flex; gap: 6px;
}
.promo-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.3s;
}
.promo-dot.active { background: #fff; transform: scale(1.3); }
.hero-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #1a1a2e 100%);
  border-radius: 16px;
  padding: 14px 36px;
  overflow: hidden;
  position: relative;
}
.promo-card-left { position: relative; z-index: 1; }
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,92,246,0.25);
  border: 1px solid rgba(139,92,246,0.4);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 8px;
}
.promo-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.promo-price { color: #facc15; }
.promo-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.promo-btn {
  display: inline-block;
  padding: 6px 18px;
  background: var(--grad);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.promo-btn:hover { opacity: 0.9; }
.promo-card-right {
  position: relative; z-index: 1;
}
.promo-icon {
  font-size: 80px;
  color: rgba(139,92,246,0.3);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(109,40,217,0.08);
  border: 1px solid rgba(109,40,217,0.18);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 16px;
  align-self: flex-start;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 29px; font-weight: 600; }
.hero-sub {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.7;
}

.trust-badges { display: flex; gap: 24px; flex-wrap: wrap; }
.t-item { display: flex; align-items: center; gap: 9px; }
.t-ico {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--s2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--purple);
  flex-shrink: 0;
}
.t-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.t-item span { font-size: 11px; color: var(--text3); }

/* ====== BANNER CAROUSEL (全宽) ====== */
.banner-zone {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 40px;
  position: relative;
  z-index: 1;
}
.banner-viewport {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.banner-track {
  display: flex;
  transition: transform .48s cubic-bezier(.4,0,.2,1);
}
.banner-slide {
  width: 100%;
  min-width: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 6 / 1;
}
.banner-slide a { display: block; width: 100%; height: 100%; }
.banner-img { width: 100%; height: 100%; display: block; object-fit: cover; }

.banner-content { position: relative; z-index: 2; max-width: 560px; }
.b-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,.92);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.b-title {
  font-size: 24px; font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 6px;
}
.b-title em {
  font-style: normal;
  background: linear-gradient(90deg,#fde68a,#fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.b-sub { font-size: 12px; color: rgba(255,255,255,.62); margin-bottom: 16px; }
.b-btn {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.38);
  color: #fff;
  padding: 7px 22px;
  border-radius: 8px;
  transition: all .14s;
  cursor: pointer;
}
.b-btn:hover { background: rgba(255,255,255,0.28); }
.b-deco {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  font-size: 110px; opacity: .15; pointer-events: none; line-height: 1;
  filter: blur(1.5px);
}

.b-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  color: var(--purple); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: all .14s;
  z-index: 10;
  cursor: pointer;
}
.b-arrow:hover { box-shadow: 0 4px 16px rgba(109,40,217,.18); background: var(--surface); }
.b-arrow.prev { left: -14px; }
.b-arrow.next { right: -14px; }

.b-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.bdot {
  width: 6px; height: 6px; border-radius: 100px;
  background: var(--border); cursor: pointer; transition: all .2s;
}
.bdot.on { width: 22px; background: var(--purple); }

/* ====== SECTION ====== */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 40px 48px;
  position: relative;
  z-index: 1;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-size: 17px; font-weight: 900;
  display: flex; align-items: center; gap: 8px;
  color: var(--text);
}
.section-title::before {
  content: '';
  width: 4px; height: 18px;
  background: var(--grad);
  border-radius: 2px;
  flex-shrink: 0;
}
.see-more {
  font-size: 12px; color: var(--purple); font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid rgba(109,40,217,.18);
  transition: all .13s;
  text-decoration: none;
}
.see-more:hover { background: var(--s2); }

/* ====== PRIMARY TABS (平台组) ====== */
.cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
  padding-bottom: 4px;
}
.cat-tabs:not(.expanded) .cat-tab:nth-child(n+9):not(.cat-tab-expand) { display: none; }
.cat-tab-expand {
  border: 1px dashed var(--border) !important; color: var(--text3) !important;
  background: transparent !important;
}
.cat-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-size: 14px; font-weight: 600;
  transition: all .14s;
  cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.cat-tab:hover { border-color: var(--p2); color: var(--purple); background: rgba(109,40,217,.05); }
.cat-tab.active { border-color: var(--purple); color: var(--purple); background: rgba(109,40,217,.08); }
.cat-tab .em { font-size: 16px; }

/* ====== 筛选面板（二级+三级） ====== */
.filter-panel { margin-bottom: 20px; }
.filter-group { margin-bottom: 8px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
  font-size: 12px; color: var(--text3); font-weight: 600;
  width: 100%; margin-bottom: 4px;
}
/* 二级：灰色背景面板 */
.filter-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: rgba(237,233,246,0.55); border-radius: 12px; padding: 12px 16px;
}
.filter-tag {
  padding: 6px 18px; border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  color: var(--text2);
  font-size: 13px; font-weight: 600;
  transition: all .14s;
  cursor: pointer;
}
.filter-tag:hover { color: var(--purple); border-color: var(--p2); }
.filter-tag.active {
  color: #fff; background: var(--purple); border-color: var(--purple);
}
/* 三级：白色背景+底线 */
.filter-tags-spec {
  background: var(--surface); border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 16px;
}
.spec-tag {
  padding: 5px 16px; border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text2);
  font-size: 13px; font-weight: 600;
  transition: all .14s;
  cursor: pointer;
}
.spec-tag:hover { color: var(--purple); }
.spec-tag.active {
  color: var(--purple); border-color: var(--purple);
  background: rgba(109,40,217,.06);
}

/* ====== PRODUCT GROUP ====== */
.product-group { display: none; }
.product-group.active { display: block; }

/* ====== PRODUCT CARDS ====== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeUp .4s ease both;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  border-color: var(--p2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; position: relative; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--s2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.card-name { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--text); }
.card-type { font-size: 11px; color: var(--text3); margin-top: 2px; }
.card-badge {
  position: absolute; bottom: 0; left: 0;
  background: #ef4444; color: #fff;
  font-size: 9px; font-weight: 700; padding: 2px 8px;
  border-radius: 0 8px 0 var(--radius);
}
.card-badge.new { background: var(--blue); }
.card-badge.green { background: var(--green); }

.card-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 12px; }
.price-sym { font-size: 14px; color: var(--text2); font-weight: 700; }
.price-num {
  font-size: 28px; font-weight: 900; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-unit { font-size: 12px; color: var(--text3); margin-left: 2px; }

.card-divider { display: none; }
.card-footer { display: flex; align-items: center; justify-content: space-between; background: var(--surface); margin-top: auto; }
.card-sold { font-size: 11px; color: var(--text3); }
.card-stock { font-size: 11px; color: var(--green); font-weight: 600; }
.card-buy {
  background: var(--grad); border: none; color: #fff;
  padding: 4px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(109,40,217,.2);
  transition: opacity .13s;
  cursor: pointer;
}
.card-buy:hover { opacity: .84; }

@keyframes fadeUp { from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)} }
.product-card:nth-child(1){animation-delay:.04s}
.product-card:nth-child(2){animation-delay:.08s}
.product-card:nth-child(3){animation-delay:.12s}
.product-card:nth-child(4){animation-delay:.16s}
.product-card:nth-child(5){animation-delay:.20s}
.product-card:nth-child(6){animation-delay:.24s}
.product-card:nth-child(7){animation-delay:.28s}
.product-card:nth-child(8){animation-delay:.32s}

/* ====== STATS BAR ====== */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 22px; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl { font-size: 11px; color: var(--text3); margin-top: 2px; font-weight: 500; }

/* ====== V1 SECTIONS (营销模块) ====== */
.container-v1 { max-width:1240px; margin:0 auto; padding:0 40px; }
.section-v1 { padding:90px 0; position:relative; overflow:hidden; }
.section-alt { background:var(--s3); }

/* Section backgrounds */
.section-noise {
  position:relative;
  background:var(--s4);
  overflow:hidden;
}
.section-noise::before {
  content:''; position:absolute;
  width:600px; height:600px; border-radius:50%;
  top:-200px; left:-200px;
  background: radial-gradient(circle, rgba(109,40,217,0.12) 0%, rgba(109,40,217,0.04) 40%, transparent 65%);
  animation: deco-drift-1 20s ease-in-out infinite;
}
.section-noise::after {
  content:''; position:absolute;
  width:400px; height:400px; border-radius:50%;
  bottom:-100px; right:-100px;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, rgba(139,92,246,0.03) 40%, transparent 70%);
  animation: deco-drift-2 25s ease-in-out infinite;
}
@keyframes deco-drift-1 {
  0%,100% { transform:translate(0,0) scale(1); }
  25% { transform:translate(120px,60px) scale(1.15); }
  50% { transform:translate(80px,120px) scale(0.95); }
  75% { transform:translate(-30px,80px) scale(1.1); }
}
@keyframes deco-drift-2 {
  0%,100% { transform:translate(0,0) scale(1); }
  25% { transform:translate(-100px,-50px) scale(1.1); }
  50% { transform:translate(-60px,-100px) scale(0.9); }
  75% { transform:translate(40px,-60px) scale(1.05); }
}
.bg-shape { position:absolute; pointer-events:none; z-index:0; }
.bg-shape-1 { width:120px; height:120px; border-radius:50%; border: 2px solid rgba(109,40,217,0.12); top:15%; right:8%; animation: shape-float-1 18s ease-in-out infinite; }
.bg-shape-2 { width:80px; height:80px; border-radius:12px; background: rgba(139,92,246,0.06); bottom:20%; left:5%; transform: rotate(30deg); animation: shape-float-2 15s ease-in-out infinite; }
.bg-shape-3 { width:60px; height:60px; border-radius:50%; background: rgba(5,150,105,0.08); top:60%; right:20%; animation: shape-float-3 12s ease-in-out infinite; }
.bg-shape-ring { width:200px; height:200px; border-radius:50%; border: 2px solid rgba(109,40,217,0.10); bottom:10%; left:5%; animation: ring-spin 35s linear infinite; }
@keyframes shape-float-1 { 0%,100% { transform:translate(0,0) rotate(0deg); } 25% { transform:translate(-30px,20px) rotate(45deg); } 50% { transform:translate(-15px,40px) rotate(90deg); } 75% { transform:translate(20px,15px) rotate(135deg); } }
@keyframes shape-float-2 { 0%,100% { transform:rotate(30deg) translate(0,0); } 33% { transform:rotate(60deg) translate(40px,-20px); } 66% { transform:rotate(15deg) translate(-20px,30px); } }
@keyframes shape-float-3 { 0%,100% { transform:scale(1); opacity:0.08; } 50% { transform:scale(1.5); opacity:0.15; } }
.section-noise > .container-v1 { position:relative; z-index:1; }

/* Section Header */
.section-header { text-align:center; margin-bottom:56px; }
.section-tag { display:inline-block; background:var(--s2); color:var(--purple); font-size:12px; font-weight:700; padding:5px 14px; border-radius:16px; margin-bottom:14px; letter-spacing:2px; text-transform:uppercase; }
.section-header h2 { font-size:34px; font-weight:800; margin-bottom:12px; letter-spacing:-0.5px; display:inline-block; position:relative; }
.section-header h2::after {
  content:''; position:absolute; bottom:-6px; left:50%;
  width:50px; height:3px; border-radius:2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width 0.4s;
}
.section-header:hover h2::after { width:90px; }
.section-header p { font-size:16px; color:var(--text2); max-width:550px; margin:0 auto; }

/* ====== 核心服务 — 2大+6小 ====== */
.services-featured { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.service-card-lg {
  background:var(--surface); border:1px solid var(--border); border-radius:20px;
  padding:36px 32px; display:flex; gap:24px; align-items:flex-start;
  transition:all 0.3s; cursor:pointer; position:relative; overflow:hidden;
}
.service-card-lg::after {
  content:''; position:absolute; top:0; right:0;
  width:120px; height:120px; border-radius:50%;
  background:var(--s2); opacity:0.5;
  transform:translate(40px,-40px);
}
.service-card-lg:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.service-card-lg .sc-icon { width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:26px; flex-shrink:0; position:relative; z-index:1; transition: transform 0.3s; }
.service-card-lg:hover .sc-icon { transform: scale(1.12); }
.service-card-lg .sc-body { position:relative; z-index:1; }
.service-card-lg h3 { font-size:19px; font-weight:700; margin-bottom:10px; }
.service-card-lg .sc-desc { font-size:14px; color:var(--text2); line-height:1.7; margin-bottom:14px; }
.service-card-lg .sc-tags { display:flex; flex-wrap:wrap; gap:6px; }
.service-card-lg .sc-tags span { background:var(--s3); border:1px solid var(--border); padding:4px 12px; border-radius:8px; font-size:12px; color:var(--text2); font-weight:500; transition: all 0.2s; }
.service-card-lg .sc-tags span:hover { background:var(--s2); border-color:var(--p2); color:var(--purple); }
.service-card-lg .service-card-link { margin-top:14px; }

.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card-sm {
  background:var(--surface); border:1px solid var(--border); border-radius:16px;
  padding:28px 24px; transition:all 0.3s; cursor:pointer;
}
.service-card-sm:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.service-card-icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:14px; transition: transform 0.3s; }
.service-card-sm:hover .service-card-icon { transform: scale(1.15) rotate(-5deg); }
.service-card-sm h3 { font-size:16px; font-weight:700; margin-bottom:6px; }
.service-card-sm .sc-intro { font-size:12px; color:var(--text3); margin:0 0 10px; line-height:1.5; }
.service-card-sm ul { list-style:none; margin-bottom:14px; padding:0; }
.service-card-sm ul li { font-size:13px; color:var(--text2); padding:3px 0; }
.service-card-sm ul li::before { content:"✓ "; color:var(--purple); font-weight:700; }
body.page-index a.service-card-link { font-size:13px; color:var(--purple); text-decoration:none; font-weight:600; display:inline-flex; align-items:center; gap:6px; transition:gap 0.2s, color 0.2s; }
body.page-index a.service-card-link:hover { gap:10px; color:#A78BFA; text-decoration:underline; }

.icon-telegram { background:linear-gradient(135deg,#e0f4ff,#b3e5fc); color:#229ED9; }
.icon-twitter { background:linear-gradient(135deg,#e8f4fd,#d1ecf9); color:#1da1f2; }
.icon-tiktok { background:linear-gradient(135deg,#f5f5f5,#e0e0e0); color:#000; }
.icon-facebook { background:linear-gradient(135deg,#e3f2fd,#bbdefb); color:#1877f2; }
.icon-instagram { background:linear-gradient(135deg,#fce4ec,#f8bbd0); color:#e4405f; }
.icon-youtube { background:linear-gradient(135deg,#ffebee,#ffcdd2); color:#ff0000; }
.icon-email { background:linear-gradient(135deg,#e8f5e9,#c8e6c9); color:#34a853; }
.icon-premium { background:linear-gradient(135deg,#f3e5f5,#e1bee7); color:var(--purple); }

/* ====== 数据统计 ====== */
.stats-section-v1 { padding:90px 0; position:relative; overflow:hidden; background:var(--s4); }
.stats-section-v1 > .container-v1 { position:relative; z-index:1; }
.stats-grid-v1 { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.stat-card-v1 {
  background:var(--surface); border:1px solid var(--border); border-radius:16px;
  padding:32px 16px 28px; text-align:center;
  transition:all 0.3s; cursor:default; position:relative; overflow:hidden;
}
.stat-card-v1:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--p2); }
.stat-card-icon-v1 {
  width:48px; height:48px; border-radius:50%;
  background:var(--s2); display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px; font-size:20px; color:var(--purple); transition:all 0.3s;
}
.stat-card-v1:hover .stat-card-icon-v1 { background:var(--grad); color:white; box-shadow:0 4px 15px rgba(109,40,217,0.3); transform:rotateY(180deg); }
.stat-num-v1 { font-size:34px; font-weight:900; background:var(--grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1.2; }
.stat-label-v1 { font-size:14px; color:var(--text); font-weight:600; margin-top:6px; }
.stat-desc-v1 { font-size:12px; color:var(--text3); margin-top:6px; line-height:1.5; }

/* ====== Why Us — 左右分栏 ====== */
.section-glow { position:relative; background: var(--s5); overflow: hidden; }
.section-glow::before {
  content:''; position:absolute; width:500px; height:500px; border-radius:50%;
  top:50%; left:-150px; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(109,40,217,0.14) 0%, rgba(109,40,217,0.05) 40%, transparent 65%);
  animation: glow-wander-1 22s ease-in-out infinite;
}
.section-glow::after {
  content:''; position:absolute; width:300px; height:300px; border-radius:50%;
  top:20%; right:-50px; border: 2px solid rgba(109,40,217,0.12);
  animation: ring-spin 30s linear infinite;
}
@keyframes glow-wander-1 { 0%,100% { transform:translateY(-50%) translate(0,0); } 33% { transform:translateY(-50%) translate(200px,-60px); } 66% { transform:translateY(-50%) translate(100px,80px); } }
@keyframes ring-spin { 0% { transform:rotate(0deg) scale(1); } 50% { transform:rotate(180deg) scale(1.2); } 100% { transform:rotate(360deg) scale(1); } }
.bg-shape-why-1 { width:100px; height:100px; border-radius:50%; border: 2px solid rgba(139,92,246,0.10); top:25%; right:15%; animation: shape-float-1 20s ease-in-out infinite; }
.bg-shape-why-2 { width:60px; height:60px; border-radius:8px; background: rgba(109,40,217,0.06); bottom:15%; left:8%; transform: rotate(20deg); animation: shape-float-2 16s ease-in-out infinite; }
.section-glow > .container-v1 { position:relative; z-index:1; }

.why-layout { display:flex; gap:60px; align-items:flex-start; }
.why-left-v1 { flex:1; }
.why-left-v1 h2 { font-size:34px; font-weight:800; margin-bottom:16px; line-height:1.3; letter-spacing:-0.5px; }
.why-left-v1 p { font-size:14px; color:var(--text2); line-height:1.8; margin-bottom:20px; }
.why-right-v1 { flex:1; display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.why-card-v1 { padding:28px 22px; background:var(--surface); border-radius:16px; border:1px solid var(--border); transition:all 0.3s; }
.why-card-v1:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.why-card-v1:nth-child(2) { transform:translateY(20px); }
.why-card-v1:nth-child(4) { transform:translateY(20px); }
.why-card-v1:nth-child(2):hover { transform:translateY(16px); }
.why-card-v1:nth-child(4):hover { transform:translateY(16px); }
.why-card-icon {
  width:48px; height:48px; border-radius:14px;
  background:var(--grad); display:flex; align-items:center; justify-content:center;
  margin-bottom:14px; font-size:20px; color:white;
  box-shadow:0 4px 15px rgba(109,40,217,0.25); transition: transform 0.4s, box-shadow 0.4s;
}
.why-card-v1:hover .why-card-icon { transform: rotateY(180deg); box-shadow: 0 6px 20px rgba(109,40,217,0.35); }
.why-card-v1 h3 { font-size:15px; font-weight:700; margin-bottom:8px; }
.why-card-v1 p { font-size:13px; color:var(--text2); line-height:1.6; margin-bottom:6px; }
.why-card-v1 p:last-child { margin-bottom:0; }

/* ====== 购买流程 — 横向时间线 ====== */
.section-grid-v1 { position:relative; background: var(--grad-section); overflow: hidden; }
.section-grid-v1::before {
  content:''; position:absolute; inset:-50px; opacity:0.7; pointer-events:none;
  background-image: linear-gradient(rgba(109,40,217,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(109,40,217,0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 60% 60% at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, black 30%, transparent 75%);
  animation: grid-scroll 12s linear infinite;
}
@keyframes grid-scroll { 0% { background-position: 0 0; } 100% { background-position: 50px 50px; } }
.section-grid-v1 > .container-v1 { position:relative; z-index:1; }

.timeline { display:flex; justify-content:space-between; position:relative; padding:0 40px; }
.timeline::before { content:''; position:absolute; top:32px; left:100px; right:100px; height:3px; background:var(--border); border-radius:2px; }
.timeline::after { content:''; position:absolute; top:32px; left:100px; width:70%; height:3px; background:var(--grad); border-radius:2px; }
.timeline-step { text-align:center; position:relative; z-index:2; flex:1; }
.timeline-dot {
  width:64px; height:64px; border-radius:50%;
  background:var(--surface); border:3px solid var(--purple);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px; font-size:24px; color:var(--purple);
  box-shadow:0 4px 15px rgba(109,40,217,0.15); transition:all 0.3s; position:relative;
}
.timeline-dot::after {
  content:''; position:absolute; inset:-6px; border-radius:50%;
  border: 2px solid var(--purple); animation: dot-ripple 3s ease-out infinite; opacity:0;
}
.timeline-step:nth-child(2) .timeline-dot::after { animation-delay:0.5s; }
.timeline-step:nth-child(3) .timeline-dot::after { animation-delay:1s; }
.timeline-step:nth-child(4) .timeline-dot::after { animation-delay:1.5s; }
@keyframes dot-ripple { 0% { transform:scale(0.8); opacity:0.6; } 50% { transform:scale(1.3); opacity:0; } 100% { transform:scale(0.8); opacity:0; } }
.timeline-step:hover .timeline-dot { background:var(--grad); color:white; border:3px solid transparent; box-shadow:0 8px 25px rgba(109,40,217,0.35); transform:scale(1.1); }
.timeline-step h3 { font-size:16px; font-weight:700; margin-bottom:6px; }
.timeline-step p { font-size:13px; color:var(--text2); max-width:160px; margin:0 auto; }

/* ====== 客户评价 — 错落排列 ====== */
.section-reviews-bg { position:relative; background: var(--grad-reviews); overflow: hidden; }
.section-reviews-bg::before { content:''; position:absolute; width:450px; height:450px; border-radius:50%; top:-150px; right:10%; background: radial-gradient(circle, rgba(139,92,246,0.13) 0%, rgba(139,92,246,0.04) 45%, transparent 70%); animation: deco-drift-2 18s ease-in-out infinite; }
.section-reviews-bg::after { content:''; position:absolute; width:250px; height:250px; border-radius:50%; bottom:-60px; left:15%; background: radial-gradient(circle, rgba(5,150,105,0.10) 0%, transparent 60%); animation: deco-drift-1 22s ease-in-out infinite; }
.bg-shape-rev-ring { width:180px; height:180px; border-radius:50%; border: 2px solid rgba(139,92,246,0.08); bottom:10%; left:8%; animation: ring-spin 28s linear infinite reverse; }
.section-reviews-bg > .container-v1 { position:relative; z-index:1; }

/* .reviews-masonry removed — replaced by .reviews-carousel in homepage-sections.css */
.review-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:30px; position:relative; transition:all 0.3s; }
.review-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.review-card.featured { border-color:var(--p2); box-shadow:var(--shadow-lg); }
.review-card .quote-mark { position:absolute; top:16px; right:20px; font-size:52px; color:var(--s2); font-weight:900; line-height:1; font-family:Georgia,serif; transition: all 0.4s; }
.review-card:hover .quote-mark { transform: rotate(-8deg) scale(1.15); color: var(--p2); }
.review-header { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.review-avatar { width:46px; height:46px; border-radius:14px; background:var(--grad); color:white; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:17px; }
.review-name { font-weight:700; font-size:15px; }
.review-platform { font-size:12px; color:var(--text3); }
.review-stars { color:var(--star); font-size:13px; margin-bottom:14px; display:flex; gap:2px; }
.review-text { font-size:14px; color:var(--text2); line-height:1.8; }

/* ====== FAQ — 左右分栏 ====== */
.section-faq-v1 { position:relative; background: var(--surface); overflow: hidden; }
.section-faq-v1::before {
  content:''; position:absolute; inset:0; opacity:0.5; pointer-events:none;
  background-image: radial-gradient(circle, rgba(109,40,217,0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 50% 60% at 70% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 70% 40%, black 20%, transparent 70%);
  animation: dots-drift 20s linear infinite;
}
@keyframes dots-drift { 0% { background-position: 0 0; } 100% { background-position: 60px 60px; } }
.section-faq-v1::after { content:''; position:absolute; width:350px; height:350px; border-radius:50%; top:-100px; right:-100px; background: radial-gradient(circle, rgba(109,40,217,0.08) 0%, transparent 60%); animation: deco-drift-1 24s ease-in-out infinite; }
.section-faq-v1 > .container-v1 { position:relative; z-index:1; }
.faq-layout { display:flex; gap:60px; align-items:flex-start; }
.faq-left { flex:0 0 320px; position:sticky; top:100px; }
.faq-left h2 { font-size:30px; font-weight:800; margin-bottom:14px; line-height:1.3; }
.faq-left p { font-size:15px; color:var(--text2); line-height:1.7; margin-bottom:20px; }
.faq-right { flex:1; }

.faq-item-v1 { border:1px solid var(--border); border-radius:14px; margin-bottom:10px; overflow:hidden; background:var(--surface); transition:all 0.3s; }
.faq-item-v1:hover { border-color:var(--p2); }
.faq-item-v1.active { border-color:var(--purple); box-shadow:0 2px 12px rgba(109,40,217,0.08); }
.faq-question-v1 { padding:18px 24px; font-weight:600; font-size:15px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.faq-question-v1:hover { color:var(--purple); }
.faq-answer-v1 { padding:0 24px 18px; font-size:14px; color:var(--text2); line-height:1.8; display:none; }
.faq-item-v1.active .faq-answer-v1 { display:block; }
.faq-item-v1.active .faq-toggle-v1 { transform:rotate(180deg); color:var(--purple); }
.faq-toggle-v1 { transition:all 0.3s; color:var(--text3); }

/* ====== CTA Banner (v1 style) ====== */
.cta-banner-v1 { padding:80px 0; text-align:center; position:relative; overflow:hidden; background: var(--grad-cta); }
.cta-banner-v1::before { content:''; position:absolute; width:300px; height:300px; border-radius:50%; top:-80px; right:-30px; background: radial-gradient(circle, rgba(109,40,217,0.18) 0%, transparent 65%); animation: deco-drift-2 16s ease-in-out infinite; }
.cta-banner-v1::after { content:''; position:absolute; width:250px; height:250px; border-radius:50%; bottom:-80px; left:5%; background: radial-gradient(circle, rgba(5,150,105,0.12) 0%, transparent 60%); animation: deco-drift-1 20s ease-in-out infinite; }
.cta-banner-v1 .container-v1 { position:relative; z-index:2; }
.cta-banner-v1 h2 { font-size:34px; font-weight:800; margin-bottom:14px; color:var(--text); }
.cta-banner-v1 p { font-size:16px; color:var(--text2); margin-bottom:32px; }
.btn-v1 { display:inline-flex; align-items:center; gap:8px; padding:14px 32px; border-radius:12px; font-size:15px; font-weight:600; text-decoration:none; transition:all 0.25s; border:none; cursor:pointer; }
.btn-v1.primary { background:var(--grad); color:white; box-shadow:0 4px 20px rgba(109,40,217,0.3); padding:16px 40px; font-size:16px; position:relative; overflow:hidden; }
.btn-v1.primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(109,40,217,0.4); }
.btn-v1.primary::after { content:''; position:absolute; top:0; left:-100%; width:60%; height:100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); animation: btn-shine-v1 4s ease-in-out infinite; }
@keyframes btn-shine-v1 { 0%,70% { left:-100%; } 85% { left:150%; } 100% { left:150%; } }
.btn-v1.outline { background:var(--surface); color:var(--text); border:2px solid var(--border); }
.btn-v1.outline:hover { border-color:var(--purple); color:var(--purple); }

/* ====== Footer (v1 style) ====== */
.footer-v1 { background: var(--footer-bg); color:var(--footer-text); padding:40px 0 24px; position:relative; overflow:hidden; }
.footer-v1::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,rgba(109,40,217,0.4),rgba(139,92,246,0.3),transparent); background-size:200% 100%; animation: footer-line-flow 4s linear infinite; }
@keyframes footer-line-flow { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.footer-glow-1 { width:400px; height:400px; border-radius:50%; top:-150px; right:-100px; background: radial-gradient(circle, rgba(109,40,217,0.15) 0%, transparent 60%); animation: deco-drift-2 25s ease-in-out infinite; }
.footer-glow-2 { width:300px; height:300px; border-radius:50%; bottom:-100px; left:10%; background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 60%); animation: deco-drift-1 20s ease-in-out infinite; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr; gap:32px; margin-bottom:28px; }
.footer-brand-v1 { font-size:20px; font-weight:800; color:white; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.footer-brand-v1 .brand-dot { width:8px; height:8px; background:var(--grad); border-radius:50%; }
.footer-desc { font-size:14px; line-height:1.8; margin-bottom:20px; color:rgba(255,255,255,0.55); }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.4); font-size:16px; transition:all 0.3s; text-decoration:none; }
.footer-social a:hover { background:rgba(109,40,217,0.2); color:white; transform:translateY(-2px); }
.footer-v1 h4 { color:white; font-size:14px; font-weight:700; margin-bottom:18px; }
.footer-acc-icon { display: none; }
.footer-v1 ul { list-style:none; padding:0; }
.footer-v1 ul li { margin-bottom:10px; }
.footer-v1 ul a { color:rgba(255,255,255,0.6); text-decoration:none; font-size:13px; transition:all 0.2s; }
.footer-v1 ul a:hover { color:white; }
.footer-bottom-v1 { border-top:1px solid rgba(255,255,255,0.06); padding-top:16px; display:flex; justify-content:space-between; align-items:center; font-size:13px; }
.footer-payments { display:flex; gap:10px; }
.footer-payments span { background:rgba(255,255,255,0.06); padding:5px 14px; border-radius:6px; font-size:12px; color:rgba(255,255,255,0.35); }

/* ====== 侧边导航 ====== */
.side-nav-v1 { position:fixed; right:20px; top:50%; transform:translateY(-50%); z-index:999; display:flex; flex-direction:column; gap:4px; opacity:0; pointer-events:none; transition: opacity 0.3s; }
.side-nav-v1.visible { opacity:1; pointer-events:auto; }
.side-nav-item-v1 { display:flex; align-items:center; justify-content:flex-end; gap:8px; cursor:pointer; padding:6px 10px; border-radius:20px; transition:background 0.2s; text-decoration:none; color:var(--text-muted); }
.side-nav-item-v1:hover { background:rgba(109,40,217,0.08); }
.side-nav-label-v1 { font-size:12px; white-space:nowrap; opacity:0; transform:translateX(8px); transition:opacity 0.2s, transform 0.2s; pointer-events:none; color:var(--text2); }
.side-nav-item-v1:hover .side-nav-label-v1 { opacity:1; transform:translateX(0); }
.side-nav-dot-v1 { width:8px; height:8px; border-radius:50%; background:var(--border); flex-shrink:0; transition:background 0.2s, transform 0.2s; }
.side-nav-item-v1.active .side-nav-dot-v1 { background:var(--grad); transform:scale(1.5); }
.side-nav-item-v1.active .side-nav-label-v1 { opacity:1; transform:translateX(0); color:var(--purple); font-weight:600; }

/* ====== SEO CONTENT SECTIONS ====== */
.seo-zone {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 40px;
}
.seo-title {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}
.seo-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.seo-sub {
  font-size: 14px;
  color: var(--text3);
  text-align: center;
  margin-bottom: 40px;
}

/* Why Us Grid (simple) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.why-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .2s;
}
.why-card:hover {
  border-color: var(--p2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.why-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--s2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--purple);
  margin-bottom: 16px;
}
.why-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.why-card p { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* How It Works (simple) */
.steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  position: relative;
}
.step {
  flex: 1;
  max-width: 220px;
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 18px; font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
}
.step h4 { font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.step p { font-size: 12px; color: var(--text3); line-height: 1.6; }
.step-line {
  position: absolute;
  top: 24px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background: var(--border);
  z-index: 1;
}
.step:last-child .step-line { display: none; }

/* FAQ (simple) - scoped to homepage only */
.section-faq-simple .faq-section {
  max-width: 760px;
  margin: 0 auto;
}
.section-faq-simple .faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all .2s;
}
.section-faq-simple .faq-item:hover { border-color: var(--p2); }
.section-faq-simple .faq-q {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  color: var(--text);
}
.section-faq-simple .faq-q i {
  font-size: 12px;
  color: var(--text3);
  transition: transform .2s;
}
.section-faq-simple .faq-item.open .faq-q i { transform: rotate(180deg); }
.section-faq-simple .faq-a {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  display: none;
}
.section-faq-simple .faq-item.open .faq-a { display: block; }

/* ====== CTA BANNER ====== */
.cta-banner {
  max-width: 1240px;
  margin: 0 auto 56px;
  padding: 0 40px;
}
.cta-inner {
  background: var(--grad);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -100px; right: -60px;
  pointer-events: none;
}
.cta-inner h2 {
  font-size: 26px; font-weight: 900;
  color: #fff; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.cta-inner p {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.cta-btn {
  display: inline-block;
  background: var(--surface);
  color: var(--purple);
  font-size: 15px; font-weight: 800;
  padding: 12px 36px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: all .14s;
  position: relative; z-index: 1;
  text-decoration: none;
  cursor: pointer;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,.2); }

/* ====== FOOTER ====== */
.footer-v2 {
  background: var(--footer-bg);
  padding: 48px 40px 20px;
  color: var(--footer-text);
}
.footer-v2-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-v2-brand .logo {
  font-size: 20px;
  margin-bottom: 12px;
}
.footer-v2-brand p {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
}
.footer-v2-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}
.footer-v2-col a {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
  transition: color .14s;
  text-decoration: none;
}
.footer-v2-col a:hover { color: rgba(255,255,255,.8); }
.footer-v2-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.35);
}
.f-pay { display: flex; gap: 6px; }
.fpay {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 3px 9px;
  border-radius: 5px;
}

/* ====== Homepage announcement card override (浅色) ====== */
body.page-index .card {
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  backdrop-filter: none !important;
}
body.page-index .card-header {
  background: var(--s2) !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
}
body.page-index .card-title {
  color: var(--text) !important;
}
body.page-index .card-block {
  color: var(--text2) !important;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-v2-inner { grid-template-columns: 1fr 1fr; }
  .why-layout { flex-direction: column; }
  .why-left-v1 { text-align: center; }
  .section-faq-v1 { padding: 36px 0; }
  .faq-layout { flex-direction: column; gap: 0; }
  .faq-left { position: static; text-align: center; flex: none; width: 100%; margin-bottom: 16px; padding-bottom: 0; }
  .faq-left p { margin-bottom: 8px; }
  .faq-right { width: 100%; }
}
@media (max-width: 1024px) {
  .header { padding: 0 20px; }
  .header .nav { gap: 0; }
  .header .nav a { font-size: 12px; padding: 5px 7px; }
  .nav-dropdown-trigger { font-size: 12px !important; padding: 5px 7px !important; }
  .logo { font-size: 19px; }
  .logo-img { height: 28px; }
}
@media (max-width: 900px) {
  .header .nav { display: none; }
}
@media (max-width: 768px) {
  .header { padding: 0 16px; height: 52px; }
  .hero { padding: 28px 16px 20px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 14px; }
  .hero-search { max-width: 100%; margin-top: 10px; border-radius: 8px; }
  .hero-search-input { padding: 8px 12px; font-size: 13px; }
  .hero-search-btn { padding: 8px 14px; font-size: 12px; }
  .hero-bottom { grid-template-columns: 1fr; padding: 0 16px 16px; }
  .hero-promo-card { padding: 10px 16px; }
  .promo-title { font-size: 14px; margin-bottom: 2px; }
  .promo-desc { font-size: 11px; margin-bottom: 4px; }
  .promo-tag { padding: 2px 8px; font-size: 10px; margin-bottom: 4px; }
  .promo-btn { padding: 4px 12px; font-size: 11px; }
  .promo-icon { font-size: 32px; }
  .banner-zone { padding: 0 16px; margin-top: 20px; }
  .banner-slide { padding: 0; }
  .b-arrow { display: none; }
  .section { padding: 24px 16px 36px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { padding: 12px; }
  .price-num { font-size: 22px; }
  /* hero-badge: 手机端满宽横条贴导航下方 */
  .hero-badge {
    display: flex;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -28px;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(109,40,217,0.10);
    background: rgba(109,40,217,0.06);
    font-size: 13px;
  }
  /* trust-badges: 手机端横向一排平铺 */
  .trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .t-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .t-ico {
    width: 36px; height: 36px;
    border-radius: 50%;
  }
  .t-item strong { font-size: 12px; }
  .t-item span { font-size: 10px; }
  .cat-tabs {
    gap: 6px; flex-wrap: wrap; padding-bottom: 4px;
    position: relative;
  }
  .cat-tabs:not(.expanded) .cat-tab:nth-child(n+4):not(.cat-tab-expand) { display: none; }
  .cat-tabs.expanded .cat-tab-expand .expand-text::after { content: '收起'; }
  .cat-tab { padding: 6px 12px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
  .cat-tab-expand {
    border: 1px dashed var(--border); color: var(--text3); background: transparent;
  }
  .filter-tags { padding: 10px 12px; gap: 6px; }
  .filter-tag { padding: 5px 12px; font-size: 12px; }
  .filter-tags-spec { padding: 8px 12px; }
  .spec-tag { padding: 4px 12px; font-size: 12px; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; gap: 20px; }
  .step-line { display: none; }
  .footer-v2 { padding: 32px 16px 16px; }
  .footer-v2-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-v2-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .seo-zone { padding: 40px 16px; }
  .cta-banner { padding: 0 16px; margin-bottom: 40px; }
  .cta-inner { padding: 32px 24px; }
  /* v1 sections responsive */
  .services-featured { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-right-v1 { grid-template-columns: 1fr; }
  .why-card-v1:nth-child(2), .why-card-v1:nth-child(4) { transform: none; }
  .why-card-v1:nth-child(2):hover, .why-card-v1:nth-child(4):hover { transform: translateY(-4px); }
  .timeline { flex-direction: column; gap: 32px; padding: 0; }
  .timeline::before, .timeline::after { display: none; }
  /* .reviews-masonry removed */
  .stats-grid-v1 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats-grid-v1 .stat-card-v1:last-child { grid-column: auto; }
  .stat-card-v1 { padding: 18px 12px 16px; }
  .stat-card-icon-v1 { width: 36px; height: 36px; font-size: 16px; margin-bottom: 10px; }
  .stat-num-v1 { font-size: 24px; }
  .stat-label-v1 { font-size: 12px; }
  .stat-desc-v1 { font-size: 11px; }
  .stats-section-v1 { padding: 40px 0; }
  .section-v1 { padding: 60px 0; }
  .section-faq-v1.section-v1 { padding: 36px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-v1 { padding: 32px 16px 18px; }
  .side-nav-v1 { display: none; }
  /* 手风琴 */
  .footer-acc-toggle {
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; margin-bottom: 0; border-bottom: 1px solid rgba(255,255,255,0.08);
    user-select: none; -webkit-tap-highlight-color: transparent;
  }
  .footer-acc-icon { display: inline-block; font-size: 12px; transition: transform 0.3s; color: rgba(255,255,255,0.3); }
  .footer-acc-toggle.open .footer-acc-icon { transform: rotate(180deg); }
  .footer-acc-body {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    padding: 0; margin: 0;
  }
  .footer-acc-body li:first-child { margin-top: 10px; }
  .footer-acc-body li:last-child { margin-bottom: 10px; }
  .flat-product-name { font-size: 18px; }
  .flat-info-item { min-width: 0; }
  .flat-description-content { font-size: 12px; }
  .flat-description-content h1, .flat-description-content h2, .flat-description-content h3 { font-size: 15px !important; }
  .flat-description-content h4, .flat-description-content h5, .flat-description-content h6 { font-size: 13px !important; }
  .flat-description-content p, .flat-description-content span, .flat-description-content strong, .flat-description-content b { font-size: 12px !important; }
  .flat-description-content img { max-width: 100%; height: auto; }
  .flat-field-group { flex-wrap: wrap; }
  .flat-field-qty { min-width: 100%; }
  .flat-badge { padding: 4px 10px; font-size: 11px; }
}
@media (max-width: 640px) {
  .promo-title { font-size: 16px; }
  .promo-desc { font-size: 12px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-v2-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-v1 { flex-direction: column; gap: 10px; text-align: center; }
  /* 小屏两列卡片：紧凑布局，名称全显示 */
  .product-card { padding: 8px; }
  .card-top { gap: 5px; margin-bottom: 6px; }
  .card-icon { width: 28px; height: 28px; border-radius: 6px; font-size: 14px; }
  .card-icon img { width: 18px !important; height: 18px !important; }
  .card-name { font-size: 10px; word-break: break-word; line-height: 1.3; }
  .card-type { font-size: 9px; }
  .card-price { margin-bottom: 6px; }
  .price-num { font-size: 16px; }
  .price-sym { font-size: 10px; }
  .price-unit { font-size: 9px; }
  .card-footer { flex-direction: column; gap: 4px; align-items: stretch; margin-top: 0; }
  .card-stock { font-size: 9px; }
  .card-buy { font-size: 10px; padding: 4px 8px; width: 100%; text-align: center; }
}
@media (max-width: 400px) {
  .header { padding: 0 10px; }
  .h-actions { gap: 5px; }
  .h-btn-outline { padding: 5px 10px; font-size: 12px; }
  a.h-btn-primary { padding: 6px 12px; font-size: 12px; }
  .header .lang-btn { padding: 5px 8px; font-size: 11px; }
  .header .lang-btn span { display: none; }
  .logo { font-size: 18px; letter-spacing: -0.5px; }
  .logo-img { height: 26px; }
}

/* ====== Mobile Menu (浅色主题适配) ====== */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px; height: 24px;
    background: transparent; border: none;
    cursor: pointer; padding: 0;
    z-index: 10001; position: relative;
  }
  .mobile-menu-btn span {
    width: 100%; height: 3px;
    background: var(--text2); border-radius: 2px;
    transition: all .15s ease; transform-origin: center;
  }
  .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translateY(10px); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translateY(-10px); }

  .mobile-sidebar-overlay {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 9999;
    opacity: 0; transition: opacity .15s ease;
  }
  .mobile-sidebar-overlay.active { display: block; opacity: 1; }

  .mobile-sidebar {
    position: fixed; top: 0; right: -100%;
    width: 280px; max-width: 85%; height: 100%;
    background: var(--surface); z-index: 10000;
    transition: right .2s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; overflow-x: visible;
    box-shadow: -4px 0 24px rgba(109,40,217,0.12);
  }
  .mobile-sidebar.active { right: 0; }

  .mobile-sidebar-header {
    padding: 24px 20px; background: var(--grad-sidebar);
    color: var(--text); display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-sidebar-header img { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--border); }
  .mobile-sidebar-title { font-size: 17px; font-weight: 800; letter-spacing: 0.5px; color: var(--purple); }

  .mobile-sidebar-nav { padding: 8px 12px; }
  .mobile-sidebar-nav .nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; color: var(--text);
    font-size: 15px; font-weight: 700;
    transition: all .15s; text-decoration: none;
    border-radius: 10px; margin-bottom: 2px;
  }
  .mobile-sidebar-nav .nav-link:hover,
  .mobile-sidebar-nav .nav-link:active { background: var(--s2); color: var(--purple); }
  .mobile-sidebar-nav .nav-link i {
    font-size: 15px; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--s2); border-radius: 8px; color: var(--purple);
    flex-shrink: 0;
  }
  .mobile-sidebar-nav .nav-link:hover i,
  .mobile-sidebar-nav .nav-link:active i { background: rgba(109,40,217,0.12); }
  .mobile-sidebar-nav .sidebar-divider {
    height: 1px; background: var(--border); margin: 8px 14px;
  }

  .mobile-sidebar .language-selector { padding: 12px; }
  .mobile-sidebar .lang-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 10px;
    border: 1.5px solid var(--border); background: var(--s2);
    color: var(--text); font-size: 13px; font-weight: 600; width: 100%;
    cursor: pointer; transition: all .15s;
  }
  .mobile-sidebar .lang-btn:hover { border-color: var(--purple); }
  .mobile-sidebar .lang-dropdown {
    display: none; margin-top: 6px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 12px rgba(109,40,217,0.08);
  }
  .mobile-sidebar .lang-dropdown.active { display: block; }
  .mobile-sidebar .lang-option {
    display: block; padding: 10px 14px; font-size: 13px;
    color: var(--text2); text-decoration: none; transition: all .1s;
    font-weight: 500;
  }
  .mobile-sidebar .lang-option:hover { background: var(--s2); color: var(--purple); }
  .mobile-sidebar .lang-option.active { background: var(--purple); color: #fff; font-weight: 600; }
}

/* ====== Query / 查询订单 ====== */
.query-page {
    min-height: calc(100vh - 160px);
    padding-top: 20px;
}
.query-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}
.query-card-header {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.query-card-header i {
    color: var(--purple);
    font-size: 14px;
}
.query-card-body {
    padding: 20px;
}
.query-input-group {
    display: flex;
    gap: 10px;
}
.query-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.query-input:focus {
    border-color: var(--purple);
}
.query-input::placeholder {
    color: var(--text3);
}
.query-submit {
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    font-family: inherit;
}
.query-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.query-order-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.query-order-item:last-child {
    border-bottom: none;
}
.query-order-row {
    font-size: 13px;
    color: var(--text2);
    padding: 5px 0;
    line-height: 1.6;
}
.query-order-row b {
    color: var(--text);
    font-weight: 600;
}
.query-order-row.hidden {
    display: none;
}
.query-service-btn {
    display: inline-block;
    padding: 2px 8px;
    margin: 0 3px;
    font-size: 12px;
    border-radius: 6px;
    color: var(--purple) !important;
    background: var(--s2);
    text-decoration: none;
    transition: all 0.2s;
}
.query-service-btn:hover {
    background: var(--purple);
    color: #fff !important;
}
.query-service-btn.pink {
    color: var(--pink) !important;
}
.query-service-btn.pink:hover {
    background: var(--pink);
    color: #fff !important;
}
.query-pass-input {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 8px;
    height: 24px;
    width: 130px;
    font-size: 12px;
    outline: none;
}
.query-pass-input:focus {
    border-color: var(--purple);
}
.query-view-card-btn {
    color: var(--purple) !important;
    cursor: pointer;
    font-weight: 600;
}
.query-view-card-btn:hover {
    text-decoration: underline;
}
.query-card-textarea {
    width: 100%;
    height: 420px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    color: var(--text);
    resize: vertical;
    outline: none;
    font-family: monospace;
}
.query-card-textarea:focus {
    border-color: var(--purple);
}
@media (max-width: 576px) {
    .query-input-group {
        flex-direction: column;
    }
    .query-submit {
        width: 100%;
    }
}
