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

:root {
  --brand-1: #6366f1;
  --brand-2: #8b5cf6;
  --brand-3: #ec4899;
  --accent: #f59e0b;
  --bg: #0f0a1e;
  --bg-soft: #f7f8fc;
  --text: #1f2937;
  --text-soft: #6b7280;
  --line: rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 4px 12px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 20px 50px rgba(99, 102, 241, 0.18);
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Roboto, sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部导航：磨砂玻璃 ===== */
.header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 4px 20px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2) 50%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-icon {
  font-size: 26px;
  filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.4));
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--brand-1);
  background: rgba(99, 102, 241, 0.06);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.32);
}

/* ===== Hero 主视觉：深色渐变 + 网格 + 光斑 ===== */
.banner {
  position: relative;
  background: radial-gradient(120% 120% at 10% 0%, #4338ca 0%, #6d28d9 35%, #be185d 100%);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

/* 网格背景 */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(80% 80% at 50% 30%, #000 0%, transparent 100%);
  mask: radial-gradient(80% 80% at 50% 30%, #000 0%, transparent 100%);
  z-index: -2;
}

/* 光斑 */
.banner::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  background: #f59e0b;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  top: -160px; right: -100px;
  z-index: -1;
  animation: float 14s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

.banner-content {
  text-align: center;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
  animation: fadeUp 0.7s ease both;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.82) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.7s ease 0.1s both;
}

.banner-content p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.banner-content p strong {
  color: #fbbf24;
  font-weight: 700;
  font-size: 20px;
}

.banner-features {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.banner-features span {
  font-size: 13px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.4s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 数据指标条：悬浮卡片 ===== */
.stats-bar {
  position: relative;
  margin-top: -40px;
  z-index: 5;
  padding-bottom: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.1);
  border: 1px solid var(--line);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 36px;
  background: var(--line);
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-unit {
  font-size: 15px;
  font-weight: 600;
  margin-left: 2px;
  -webkit-text-fill-color: var(--text-soft);
}

.stat-label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

/* ===== 公告框 ===== */
#noticeBox {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 20px;
}

#noticeBox > div {
  background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 100%);
  border: 1px solid #fcd34d;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: #b45309;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

/* ===== 主体 / 商品区 ===== */
.main {
  padding: 60px 0 80px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-title {
  font-size: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.section-title.center {
  justify-content: center;
}

.section-sub {
  color: var(--text-soft);
  font-size: 15px;
}

.title-icon {
  font-size: 30px;
  filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.4));
}

/* 分类标签 */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.category-tab {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.category-tab:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--brand-1);
  transform: translateY(-1px);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

/* ===== 商品卡片 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
  animation: cardIn 0.5s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(99,102,241,0.5), rgba(236,72,153,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(99, 102, 241, 0.22);
}

.product-card:hover::before { opacity: 1; }

.product-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fae8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.6), transparent 50%);
  pointer-events: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img { transform: scale(1.06); }

.product-body {
  padding: 18px 18px 20px;
  position: relative;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 14px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-price .original {
  color: var(--text-soft);
  font-size: 13px;
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
  -webkit-text-fill-color: var(--text-soft);
}

.product-stock {
  font-size: 12px;
  color: #10b981;
  font-weight: 500;
}

.product-stock.low { color: var(--accent); }
.product-stock.out { color: #ef4444; }

.buy-btn {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.buy-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 22px rgba(99, 102, 241, 0.42);
}

.buy-btn:active { transform: translateY(0) scale(1); }

.buy-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== 特性区 ===== */
.features {
  padding: 70px 0;
  background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.15);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  font-size: 38px;
  margin-bottom: 14px;
  display: inline-block;
  filter: drop-shadow(0 6px 14px rgba(139, 92, 246, 0.35));
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ===== 信任区 ===== */
.trust {
  padding: 60px 0;
}

.trust-inner {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #be185d 100%);
  border-radius: 26px;
  padding: 50px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(99, 102, 241, 0.3);
}

.trust-inner::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  background: #f59e0b;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  top: -120px; right: -80px;
}

.trust-text { position: relative; }

.trust-text h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.trust-text p {
  font-size: 15px;
  opacity: 0.92;
}

.trust .btn-lg { position: relative; }

/* ===== 底部 ===== */
.footer {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
  padding: 48px 0 28px;
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.35), transparent 60%);
  pointer-events: none;
}

.footer-top {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 20px;
  position: relative;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-desc {
  font-size: 13px;
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  position: relative;
}

/* ===== 弹窗 ===== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1000;
  display: none;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 10, 30, 0.55);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 22px;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: popIn 0.35s cubic-bezier(.2,.8,.2,1);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.modal-close {
  background: rgba(0,0,0,0.04);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--text-soft);
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0,0,0,0.08);
  color: var(--text);
}

.modal-body { padding: 26px; }
.modal-footer {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
}

/* 表单 */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.25s;
  font-family: inherit;
  background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* 数量选择器 */
.quantity-selector {
  display: flex;
  align-items: center;
  width: 150px;
}

.quantity-selector button {
  width: 40px; height: 40px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.quantity-selector button:hover {
  background: var(--brand-1);
  color: #fff;
  border-color: var(--brand-1);
}

.quantity-selector button:first-child { border-radius: 12px 0 0 12px; }
.quantity-selector button:last-child { border-radius: 0 12px 12px 0; }

.quantity-selector input {
  flex: 1;
  height: 40px;
  border: 1.5px solid #e5e7eb;
  border-left: none;
  border-right: none;
  text-align: center;
  border-radius: 0;
  background: #fff;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 订单商品 */
.order-product {
  background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 100%);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(139, 92, 246, 0.12);
}

.product-info h4 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

.product-info .product-price {
  font-size: 18px;
}

/* 订单合计 */
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.order-total span:first-child {
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 500;
}

.total-price {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.36);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.46);
}

.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  color: var(--brand-1);
  border: 1.5px solid var(--brand-1);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.06);
}

.btn-block {
  display: block;
  width: 100%;
}

/* 支付弹窗 */
.pay-modal .modal-content { max-width: 400px; }

.pay-info {
  text-align: center;
  margin-bottom: 22px;
}

.pay-amount {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.pay-order {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 6px;
}

.qrcode-box {
  position: relative;
  width: 210px; height: 210px;
  margin: 0 auto;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.qrcode-box img { width: 100%; height: 100%; }

.qrcode-mask {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.pay-success { text-align: center; }

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
  animation: pop 0.4s ease;
}

@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.pay-success p {
  font-size: 18px;
  color: #059669;
  font-weight: 700;
}

.pay-tip {
  text-align: center;
  color: var(--text-soft);
  margin-top: 18px;
  font-size: 14px;
}

.pay-actions {
  text-align: center;
  margin-top: 18px;
}

.order-link {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-soft);
}

.order-link a {
  color: var(--brand-1);
  text-decoration: none;
  font-weight: 500;
}

.order-link a:hover { text-decoration: underline; }

/* 查询页面 */
.query-page {
  min-height: calc(100vh - 66px - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(100% 100% at 50% 0%, #f5f3ff 0%, var(--bg-soft) 60%);
}

.query-card {
  background: #fff;
  border-radius: 22px;
  padding: 44px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.query-card h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.query-card .subtitle {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 32px;
  font-size: 14px;
}

.query-icon {
  font-size: 52px;
  text-align: center;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 16px rgba(139, 92, 246, 0.4));
}

/* 订单结果 */
.order-result {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.order-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.status-badge {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.status-badge.pending {
  background: #fef3c7;
  color: #b45309;
}

.status-badge.success {
  background: #d1fae5;
  color: #059669;
}

.status-badge.failed {
  background: #fee2e2;
  color: #dc2626;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
}

.order-detail-row .label { color: var(--text-soft); }
.order-detail-row .value { color: var(--text); font-weight: 500; }

/* 卡密区域 */
.card-section {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  padding: 18px;
  margin-top: 18px;
}

.card-section h4 {
  color: #059669;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
}

.card-item {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  font-family: 'SF Mono', 'Cascadia Code', Consolas, monospace;
  font-size: 14px;
  word-break: break-all;
  border: 1px solid #d1fae5;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.card-item:last-child { margin-bottom: 0; }

.download-link {
  display: block;
  margin-top: 14px;
  padding: 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.32);
}

.download-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(99, 102, 241, 0.42);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .banner { padding: 50px 0 70px; }
  .banner-content h1 { font-size: 30px; }
  .banner-content p { font-size: 15px; }
  .banner-content p strong { font-size: 17px; }
  .banner-features { gap: 8px; }
  .banner-features span { padding: 6px 12px; font-size: 12px; }
  .hero-cta .btn { width: 100%; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
    padding: 22px 16px;
  }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-num { font-size: 26px; }

  .main { padding: 40px 0 50px; }
  .section-title { font-size: 22px; }
  .features { padding: 50px 0; }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card { padding: 22px 18px; }

  .trust-inner { padding: 32px 24px; text-align: center; justify-content: center; }
  .trust-text h2 { font-size: 24px; }
  .trust-inner .btn-lg { width: 100%; }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .product-image { height: 120px; font-size: 40px; }
  .product-body { padding: 14px; }
  .product-name { font-size: 15px; }
  .product-price { font-size: 17px; }
  .buy-btn { padding: 7px 14px; font-size: 12px; }

  .modal-content { width: 95%; border-radius: 16px; }
  .query-card { padding: 28px; }

  .nav { gap: 4px; }
  .nav-link { padding: 6px 10px; font-size: 13px; }
}
