/* ============================================================
   Shadowrocket Rental · Apple Store × Vercel 风格
   液态毛玻璃 · 三端自适应 · Gemini/Claude 配色
   ============================================================ */

/* ---------- 字体 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
  /* 配色: Gemini/Claude 风格 - 柔和高级 */
  --bg: #fafaf9;
  --bg-soft: #f5f5f4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 15, 15, 0.08);
  --border-strong: rgba(15, 15, 15, 0.14);
  --text: #1a1a1a;
  --text-soft: #525252;
  --text-mute: #8a8a8a;
  --accent: #1a1a1a;
  --accent-soft: #404040;
  --primary: #0071e3;       /* Apple blue */
  --primary-hover: #0077ed;
  --success: #34c759;
  --warning: #ff9500;
  --danger: #ff3b30;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
  --blur: 24px;
  --maxw: 1120px;
  --font-head: 'Google Sans', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Spectral', 'SF Pro Text', Georgia, serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-soft: #141414;
    --surface: rgba(28, 28, 30, 0.72);
    --surface-strong: rgba(28, 28, 30, 0.92);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text: #f5f5f7;
    --text-soft: #d1d1d6;
    --text-mute: #8e8e93;
    --accent: #f5f5f7;
    --accent-soft: #aeaeb2;
    --primary: #0a84ff;
    --primary-hover: #409cff;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.4s ease, color 0.4s ease;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- 背景液态光斑 ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.bg-aurora::before, .bg-aurora::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.bg-aurora::before {
  width: 50vw; height: 50vw; top: -15vw; left: -10vw;
  background: radial-gradient(circle, #0071e3 0%, transparent 70%);
}
.bg-aurora::after {
  width: 45vw; height: 45vw; bottom: -10vw; right: -10vw;
  background: radial-gradient(circle, #af52ce 0%, transparent 70%);
  animation-delay: -9s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}
@media (prefers-color-scheme: dark) {
  .bg-aurora::before, .bg-aurora::after { opacity: 0.35; }
}

/* ---------- 容器 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(var(--blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--blur));
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-brand .logo-dot {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, #0071e3, #af52ce);
  box-shadow: 0 2px 8px rgba(0,113,227,0.4);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  color: var(--text-soft); transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* 语言切换 */
.lang-switch {
  position: relative;
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-switch:hover { border-color: var(--border-strong); color: var(--text); }
.lang-switch svg { width: 14px; height: 14px; margin-right: 6px; }
.lang-switch select {
  background: transparent; border: none; outline: none;
  font: inherit; color: inherit; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  padding-right: 4px;
}
.lang-switch select option { background: var(--bg); color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52,199,89,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-soft) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 17px; color: var(--text-soft);
  max-width: 640px; margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-price-row {
  display: inline-flex; align-items: baseline; gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap; justify-content: center;
}
.hero-price {
  font-family: var(--font-head); font-size: 48px; font-weight: 700;
  color: var(--text); letter-spacing: -0.03em;
}
.hero-price-usd {
  font-family: var(--font-head); font-size: 24px; font-weight: 500;
  color: var(--text-mute);
}
.hero-price-note {
  width: 100%; font-size: 13px; color: var(--text-mute);
  font-family: var(--font-head);
}
.hero-cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-head); font-size: 15px; font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(0,113,227,0.35);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,113,227,0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: var(--surface-strong); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--border-strong); }
.btn-lg { height: 54px; padding: 0 36px; font-size: 16px; }

/* ---------- 介绍图区 ---------- */
.hero-image-wrap {
  margin: 56px auto 0; max-width: 880px;
  position: relative;
}
.hero-image {
  width: 100%; aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(0,113,227,0.08), rgba(175,82,206,0.08)),
    var(--surface-strong);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-image::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,113,227,0.15), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(175,82,206,0.15), transparent 50%);
  pointer-events: none;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .placeholder {
  text-align: center; color: var(--text-mute);
  font-family: var(--font-head); font-size: 14px;
  position: relative; z-index: 1;
}
.hero-image .placeholder svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: 0.5; }

/* ---------- Section 通用 ---------- */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 12px;
}
.section-sub { color: var(--text-soft); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ---------- 特性卡片 ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,113,227,0.12), rgba(175,82,206,0.12));
  color: var(--primary);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

/* ---------- 流程步骤 ---------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  counter-reset: step;
}
.step-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 15px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }

/* ---------- 购买卡片 ---------- */
.buy-section { padding: 80px 0 100px; }
.buy-card {
  max-width: 560px; margin: 0 auto;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow-lg);
}
.buy-card h2 { font-size: 26px; text-align: center; margin-bottom: 6px; }
.buy-card .buy-desc { text-align: center; color: var(--text-soft); font-size: 14px; margin-bottom: 28px; }

.field { margin-bottom: 22px; }
.field-label {
  display: block; font-family: var(--font-head);
  font-size: 13px; font-weight: 500; color: var(--text-soft);
  margin-bottom: 10px;
}
.payment-methods {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.method {
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  cursor: pointer; text-align: center;
  transition: all 0.2s ease;
  position: relative;
}
.method:hover { border-color: var(--border-strong); }
.method.active {
  border-color: var(--primary);
  background: rgba(0,113,227,0.06);
}
.method .method-icon {
  width: 32px; height: 32px; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}
.method .method-icon svg { width: 28px; height: 28px; }
.method .method-name {
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
}
.method .method-check {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: none; align-items: center; justify-content: center;
}
.method.active .method-check { display: flex; }
.method .method-check svg { width: 12px; height: 12px; }

.price-display {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.price-display .price-label {
  font-family: var(--font-head); font-size: 14px; color: var(--text-soft);
}
.price-display .price-value {
  font-family: var(--font-head); font-size: 32px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
}
.price-display .price-value .currency { font-size: 18px; color: var(--text-mute); margin-left: 4px; }

.input {
  width: 100%; height: 46px; padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  font-size: 15px;
  transition: all 0.2s;
}
.input:focus { outline: none; border-color: var(--primary); background: var(--surface-strong); }
.input::placeholder { color: var(--text-mute); }
.field-hint { font-size: 12px; color: var(--text-mute); margin-top: 6px; font-family: var(--font-head); }

.btn-submit { width: 100%; margin-top: 6px; }
.btn-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* 库存状态 */
.stock-status {
  display: flex; align-items: center; gap: 8px;
  margin: 14px 0 4px;
  font-family: var(--font-head); font-size: 13px;
  color: var(--text-soft);
}
.stock-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(52,199,89,0.18);
  flex-shrink: 0;
}
.stock-status.low .stock-dot {
  background: var(--warning);
  box-shadow: 0 0 0 3px rgba(255,149,0,0.18);
}
.stock-status.out .stock-dot {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(255,59,48,0.18);
}
.stock-status.low .stock-text { color: var(--warning); }
.stock-status.out .stock-text { color: var(--danger); font-weight: 600; }

/* 缺货横幅 */
.out-of-stock-banner {
  display: flex; align-items: center; gap: 14px;
  margin: 12px 0 16px; padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,59,48,0.08);
  border: 1px solid rgba(255,59,48,0.25);
}
.out-of-stock-banner svg { width: 28px; height: 28px; color: var(--danger); flex-shrink: 0; }
.out-of-stock-banner .oos-title {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--danger); margin-bottom: 2px;
}
.out-of-stock-banner .oos-desc {
  font-size: 13px; color: var(--text-soft);
}

.warning-box {
  margin-top: 24px; padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255,149,0,0.08);
  border: 1px solid rgba(255,149,0,0.25);
}
.warning-box .warning-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--warning); margin-bottom: 10px;
}
.warning-box .warning-title svg { width: 16px; height: 16px; }
.warning-box ul { list-style: none; padding: 0; }
.warning-box li {
  font-size: 13px; color: var(--text-soft); line-height: 1.6;
  padding-left: 18px; position: relative; margin-bottom: 6px;
}
.warning-box li::before {
  content: '•'; position: absolute; left: 4px; color: var(--warning);
}
.warning-box li strong { color: var(--text); font-weight: 700; }

.format-box {
  margin-top: 16px; padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  text-align: center;
}
.format-box .format-label {
  font-family: var(--font-head); font-size: 12px; color: var(--text-mute);
  margin-bottom: 4px;
}
.format-box .format-value {
  font-family: var(--font-mono); font-size: 14px; color: var(--text);
  font-weight: 500;
}

/* ---------- 发货弹层 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; transition: opacity 0.3s;
}
.modal-mask.show { display: flex; opacity: 1; }
.modal {
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transform: scale(0.96); transition: transform 0.3s;
}
.modal-mask.show .modal { transform: scale(1); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.modal-title { font-size: 22px; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--text-soft);
  transition: all 0.2s;
}
.modal-close:hover { background: var(--border); color: var(--text); }

.delivery-status {
  text-align: center; padding: 24px 0;
}
.delivery-status .spinner {
  width: 40px; height: 40px; margin: 0 auto 16px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.delivery-status .status-text {
  font-family: var(--font-head); font-size: 15px; color: var(--text-soft);
}

.delivery-content { display: none; }
.delivery-content.show { display: block; }
.delivery-success-msg {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-head); font-size: 15px; color: var(--success);
  margin-bottom: 20px;
}
.delivery-success-msg svg { width: 20px; height: 20px; }

.delivery-text-box {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,113,227,0.06), rgba(175,82,206,0.06));
  border: 1.5px solid var(--border);
  text-align: center;
  margin-bottom: 16px;
}
.delivery-text-box .delivery-text {
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 600;
  color: var(--text);
  word-break: break-all;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.delivery-text-box .delivery-label {
  font-family: var(--font-head); font-size: 12px;
  color: var(--text-mute); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

.delivery-actions {
  display: flex; gap: 10px; margin-bottom: 20px;
}
.delivery-actions .btn { flex: 1; height: 44px; font-size: 14px; }

.delivery-warning {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,59,48,0.08);
  border: 1px solid rgba(255,59,48,0.25);
  font-size: 13px; color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}
.delivery-warning strong { color: var(--danger); }

.delivery-image-wrap {
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0,113,227,0.08), rgba(175,82,206,0.08)),
    var(--bg-soft);
  border: 1px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.delivery-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.delivery-image-wrap .placeholder {
  text-align: center; color: var(--text-mute);
  font-family: var(--font-head); font-size: 13px;
}
.delivery-image-wrap .placeholder svg { width: 36px; height: 36px; margin: 0 auto 8px; opacity: 0.5; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 2000;
  padding: 12px 20px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: all 0.3s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--danger); color: #fff; }
.toast.success { background: var(--success); color: #fff; }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0; text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-mute); font-size: 13px;
  font-family: var(--font-head);
}

/* ============================================================
   移动端悬浮查询按钮
   ============================================================ */
.mobile-query-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0071e3, #00a86b);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.35), 0 2px 8px rgba(0,0,0,0.15);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mobile-query-fab:active {
  transform: scale(0.95);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.4);
}
.mobile-query-fab svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .mobile-query-fab { display: inline-flex; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 56px 0; }
  .buy-section { padding: 56px 0 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .buy-card { padding: 24px 20px; }
  .payment-methods { grid-template-columns: 1fr; }
  .method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; }
  .method .method-icon { margin: 0; }
  .modal { padding: 24px 20px; }
  .delivery-text-box .delivery-text { font-size: 18px; }
  .hero-price { font-size: 40px; }
  .nav-inner { height: 52px; }
  .nav-brand { font-size: 16px; }
}

/* iPad 竖屏 */
@media (min-width: 641px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   动画
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }

/* ============================================================
   图片大图查看器
   ============================================================ */
.image-viewer {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  animation: fadeIn 0.25s ease;
}
.image-viewer.show { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.image-viewer .iv-close {
  position: absolute; top: 24px; left: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.image-viewer .iv-close svg { width: 20px; height: 20px; }
.image-viewer .iv-close:hover { background: rgba(255,255,255,0.22); transform: scale(1.05); }
.image-viewer .iv-content {
  max-width: 90vw; max-height: 85vh;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.image-viewer .iv-content img { display: block; max-width: 90vw; max-height: 85vh; object-fit: contain; }
.image-viewer .iv-content .iv-placeholder {
  color: rgba(255,255,255,0.5); text-align: center; padding: 80px 40px;
  font-family: var(--font-head); font-size: 15px;
}

/* 可点击图片的视觉提示 */
[data-zoomable] { cursor: zoom-in; transition: transform 0.3s; }
[data-zoomable]:hover { transform: scale(1.01); }

/* ============================================================
   订单查询弹窗
   ============================================================ */
.modal-lg { max-width: 640px; width: 92%; max-height: 85vh; overflow-y: auto; }
.query-desc { color: var(--text-soft); font-size: 14px; margin-bottom: 16px; }
.query-input-row { display: flex; gap: 10px; margin-bottom: 20px; }
.query-input-row .input { flex: 1; }
.query-input-row .btn { height: 48px; padding: 0 24px; white-space: nowrap; }
.query-results { display: flex; flex-direction: column; gap: 12px; }
.query-result-card {
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px solid var(--border);
}
.query-result-card .qrc-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; flex-wrap: wrap; gap: 8px;
}
.query-result-card .qrc-oid {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-soft);
  word-break: break-all;
}
.query-result-card .qrc-status {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
}
.query-result-card .qrc-status.paid { background: rgba(52,199,89,0.15); color: var(--success); }
.query-result-card .qrc-status.pending { background: rgba(255,149,0,0.15); color: var(--warning); }
.query-result-card .qrc-status.failed { background: rgba(255,59,48,0.15); color: var(--danger); }
.query-result-card .qrc-body {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.query-result-card .qrc-delivery {
  font-family: var(--font-mono); font-size: 13px; color: var(--text);
  background: var(--surface-strong); padding: 8px 12px; border-radius: 8px;
  word-break: break-all; flex: 1; min-width: 0;
}
.query-result-card .qrc-delivery.empty { color: var(--text-mute); font-style: italic; }
.query-result-card .qrc-meta { font-size: 11px; color: var(--text-mute); margin-top: 8px; }
.query-result-card .qrc-download {
  height: 36px; padding: 0 16px; font-size: 13px; white-space: nowrap;
  flex-shrink: 0;
}
.query-empty { text-align: center; color: var(--text-mute); padding: 40px 20px; font-size: 14px; }

/* ============================================================
   语言建议弹窗（底部圆角）
   ============================================================ */
.lang-suggest-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2500;
  display: none; justify-content: center;
  padding: 0 16px 24px;
  pointer-events: none;
}
.lang-suggest-sheet.show { display: flex; animation: slideUp 0.4s cubic-bezier(0.16,1,0.3,1); }
@keyframes slideUp { from { transform: translateY(120%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.lang-suggest-sheet .ls-card {
  pointer-events: auto;
  max-width: 440px; width: 100%;
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--surface-strong);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.08);
}
.lang-suggest-sheet .ls-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.lang-suggest-sheet .ls-head svg { width: 20px; height: 20px; color: var(--primary); }
.lang-suggest-sheet .ls-title {
  font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--text);
}
.lang-suggest-sheet .ls-desc {
  font-size: 14px; color: var(--text-soft); line-height: 1.5; margin-bottom: 18px;
}
.lang-suggest-sheet .ls-actions { display: flex; gap: 10px; }
.lang-suggest-sheet .ls-actions .btn { flex: 1; height: 44px; font-size: 14px; }

@media (max-width: 640px) {
  .image-viewer { padding: 20px; }
  .image-viewer .iv-close { top: 16px; left: 16px; }
  .query-input-row { flex-direction: column; }
  .query-input-row .btn { width: 100%; }
  .lang-suggest-sheet .ls-card { border-radius: 20px; }
}
