/* ===== 全局重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a12;
  --surface: #12121e;
  --surface2: #1a1a2e;
  --border: rgba(255,255,255,0.08);
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --user-bubble: #1e1b4b;
  --ai-bubble: #1a1a2e;
  --radius: 20px;
  --radius-sm: 12px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow: hidden;
}

/* ===== 星空背景 ===== */
#stars {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 50%, rgba(139,92,246,0.3) 0%, transparent 100%);
}

/* ===== 主容器 ===== */
#app {
  position: relative; z-index: 1;
  height: 100vh;
  display: flex; flex-direction: column;
  max-width: 480px; margin: 0 auto;
}

/* ===== 页面切换 ===== */
.page { display: none; flex-direction: column; height: 100vh; }
.page.active { display: flex; }

/* ==========================================
   开场页 Landing Page
========================================== */
#landing {
  justify-content: center; align-items: center;
  padding: 40px 32px;
  text-align: center;
}

.landing-glow {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.6) 0%, rgba(139,92,246,0) 70%);
  margin: 0 auto 32px;
  display: flex; align-items: center; justify-content: center;
  animation: pulse 3s ease-in-out infinite;
  font-size: 52px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}

.landing-title {
  font-size: 28px; font-weight: 700;
  background: linear-gradient(135deg, #a78bfa 0%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.3;
}

.landing-subtitle {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 40px; line-height: 1.8;
}

.landing-opening {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  font-size: 15px; line-height: 1.9;
  color: var(--text);
  margin-bottom: 32px;
  text-align: left;
  white-space: pre-line;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
  color: white; font-size: 16px; font-weight: 600;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(139,92,246,0.4);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(139,92,246,0.5); }
.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none;
}

.btn-demo {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 12px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-demo:hover {
  color: var(--text);
  border-color: rgba(139, 92, 246, 0.4);
}

.landing-note {
  margin-top: 16px;
  font-size: 12px; color: var(--text-muted);
}

/* ==========================================
   对话页 Chat Page
========================================== */
#chat { flex-direction: column; }

.chat-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  background: rgba(10,10,18,0.8);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.chat-header-icon { font-size: 24px; }

.chat-header-info h2 { font-size: 15px; font-weight: 600; color: var(--text); }
.chat-header-info p { font-size: 12px; color: var(--text-muted); }

.turn-indicator {
  margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}

.turn-text { font-size: 11px; color: var(--text-muted); }

.turn-bar {
  width: 80px; height: 4px;
  background: var(--border);
  border-radius: 2px; overflow: hidden;
}

.turn-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #f59e0b);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 16px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.msg-row {
  display: flex; gap: 10px;
  animation: msgIn 0.3s ease;
}

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

.msg-row.user { flex-direction: row-reverse; }

.msg-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; align-self: flex-end;
}

.msg-avatar.ai { background: var(--surface2); border: 1px solid var(--border); }
.msg-avatar.user-av { background: var(--user-bubble); border: 1px solid rgba(139,92,246,0.3); }

.msg-bubble {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px; line-height: 1.7;
}

.msg-row.ai .msg-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.msg-row.user .msg-bubble {
  background: var(--user-bubble);
  border: 1px solid rgba(139,92,246,0.25);
  border-bottom-right-radius: 4px;
  color: var(--text);
}

/* 打字动画 */
.typing-indicator {
  display: flex; gap: 4px; align-items: center;
  padding: 14px 16px;
}

.typing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-light);
  animation: typingBounce 1.2s ease infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-area {
  padding: 12px 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(10,10,18,0.9);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.input-row {
  display: flex; gap: 10px; align-items: flex-end;
}

textarea {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: none;
  outline: none;
  min-height: 44px; max-height: 120px;
  line-height: 1.5;
  transition: border-color 0.2s;
}

textarea:focus { border-color: rgba(139,92,246,0.5); }
textarea::placeholder { color: var(--text-muted); }

.send-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}

.send-btn:hover { background: var(--primary-light); }
.send-btn:active { transform: scale(0.95); }
.send-btn:disabled { background: var(--border); cursor: not-allowed; }

/* 最后一轮提示 */
.last-turn-hint {
  text-align: center;
  padding: 8px;
  font-size: 12px;
  color: var(--gold);
}

/* ==========================================
   评估等待页 Assessing Page
========================================== */
#assessing {
  justify-content: center; align-items: center;
  padding: 40px 32px;
  text-align: center;
}

.assessing-orb {
  width: 100px; height: 100px; border-radius: 50%;
  background: conic-gradient(from 0deg, #7c3aed, #a78bfa, #f59e0b, #7c3aed);
  margin: 0 auto 32px;
  animation: orbSpin 2s linear infinite;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.assessing-orb::after {
  content: '🔮';
  font-size: 36px;
  position: absolute;
  background: var(--bg);
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

@keyframes orbSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.assessing-title {
  font-size: 22px; font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}

.assessing-desc {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 32px;
}

.assessing-steps {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 280px;
}

.step-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-muted);
  transition: all 0.4s;
}

.step-item.active { color: var(--text); border-color: rgba(139,92,246,0.4); }
.step-item.done { color: var(--gold); border-color: rgba(245,158,11,0.3); }

.step-icon { font-size: 16px; flex-shrink: 0; }

/* ==========================================
   结果页 Result Page
========================================== */
#result {
  overflow-y: auto;
}

#result::-webkit-scrollbar { width: 4px; }
#result::-webkit-scrollbar-track { background: transparent; }
#result::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.result-hero {
  padding: 40px 20px 24px;
  text-align: center;
  background: linear-gradient(180deg, #1a0a2e 0%, #0f0a1e 100%);
}

.genius-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 20px;
  font-size: 11px; color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
  position: relative;
}

/* MBTI风格卡片 */
.mbti-card {
  display: block;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  border-radius: 20px;
  padding: 28px 32px 24px;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
  animation: mbtiReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  max-width: 320px;
  width: 100%;
}

.mbti-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

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

.mbti-char {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 8px;
  animation: charBounce 1s ease 0.3s both;
}

@keyframes charBounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.mbti-type {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.2;
  margin-bottom: 10px;
}

.mbti-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.genius-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  font-style: italic;
}

.result-section {
  margin: 0 16px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.result-section.highlight {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(168, 85, 247, 0.08) 100%);
  border-color: rgba(124, 58, 237, 0.3);
}

.result-section.growth {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 146, 60, 0.06) 100%);
  border-color: rgba(245, 158, 11, 0.3);
  text-align: center;
}

.section-label {
  font-size: 11px; color: var(--primary-light);
  letter-spacing: 2px; margin-bottom: 12px;
  text-transform: uppercase;
}

.core-desc {
  font-size: 14px; line-height: 1.9; color: var(--text);
}

.hidden-power {
  font-size: 14px; line-height: 1.7;
  color: var(--text);
  padding: 12px 16px;
  background: rgba(139,92,246,0.1);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.peers-list {
  display: flex; gap: 8px; flex-wrap: wrap;
}

.peer-tag {
  padding: 6px 14px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 20px;
  font-size: 13px; color: var(--gold);
}

.growth-hint {
  font-size: 15px; font-weight: 500;
  color: var(--text); line-height: 1.7;
  font-style: italic;
}

/* 雷达图区域 */
.radar-section {
  margin: 0 16px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.dimension-bars {
  display: flex; flex-direction: column; gap: 10px;
}

.dim-row {
  display: flex; align-items: center; gap: 10px;
}

.dim-label {
  width: 80px; font-size: 12px; color: var(--text-muted);
  flex-shrink: 0;
}

.dim-bar-wrap {
  flex: 1; height: 6px;
  background: var(--border);
  border-radius: 3px; overflow: hidden;
}

.dim-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  transition: width 1s ease;
}

.dim-bar-fill.top {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.dim-score {
  width: 24px; font-size: 12px; color: var(--text-muted);
  text-align: right; flex-shrink: 0;
}

/* 分享区 */
.share-section {
  margin: 0 16px 16px;
}

.share-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}

.share-text {
  font-size: 14px; line-height: 1.8; color: var(--text);
}

.share-tag {
  margin-top: 10px;
  font-size: 12px; color: var(--primary-light);
}

.btn-share {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #1a1a2e; font-size: 15px; font-weight: 700;
  border: none; border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.btn-share:hover { transform: translateY(-1px); }

.btn-restart {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--text-muted); font-size: 13px;
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; margin-top: 10px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-restart:hover { border-color: var(--border); color: var(--text); }

/* ===== 工具 ===== */
.hidden { display: none !important; }
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: rgba(139,92,246,0.9); color: white;
  padding: 10px 20px; border-radius: 20px;
  font-size: 13px; z-index: 999;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==========================================
   分享图片卡（html2canvas渲染）
========================================== */
#shareImageCard {
  display: none;
  width: 600px;
  background: linear-gradient(180deg, #1a0a2e 0%, #0f0a1e 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  color: #e2e8f0;
  overflow: hidden;
  user-select: none;
  padding-bottom: 0;
  margin: 0;
  box-sizing: border-box;
}

/* 上格：被低估的能力预告 */
#shareImageCard .power-preview {
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.power-preview-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 32px 24px;
  text-align: center;
}

.power-preview-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.power-preview-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.power-preview-text {
  font-size: 16px;
  line-height: 1.8;
  color: #f1f5f9;
  max-width: 440px;
}

/* 下格：完整报告卡 */
#shareImageCard .share-card-body {
  grid-row: 2;
}

/* ===== 各维度专属色 ===== */
/* 内省型 - 靛蓝 */
.dim-intrapersonal .mbti-card,
.dim-intrapersonal .si-card,
.dim-intrapersonal .result-hero { background: linear-gradient(180deg, #1e1b4b 0%, #0f0a1e 100%); }
.dim-intrapersonal .mbti-card,
.dim-intrapersonal .si-card { background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%); }
.dim-intrapersonal .genius-badge,
.dim-intrapersonal .si-badge { color: #818cf8; border-color: rgba(129,140,248,0.4); background: rgba(79,70,229,0.15); }

/* 语言型 - 天蓝 */
.dim-linguistic .result-hero { background: linear-gradient(180deg, #0c4a6e 0%, #0f0a1e 100%); }
.dim-linguistic .mbti-card,
.dim-linguistic .si-card { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); }
.dim-linguistic .genius-badge,
.dim-linguistic .si-badge { color: #38bdf8; border-color: rgba(56,189,248,0.4); background: rgba(2,132,199,0.15); }

/* 逻辑型 - 靛青 */
.dim-logical .result-hero { background: linear-gradient(180deg, #1e1b4b 0%, #0f0a1e 100%); }
.dim-logical .mbti-card,
.dim-logical .si-card { background: linear-gradient(135deg, #4f46e5 0%, #a78bfa 100%); }
.dim-logical .genius-badge,
.dim-logical .si-badge { color: #a78bfa; border-color: rgba(167,139,250,0.4); background: rgba(79,70,229,0.15); }

/* 空间型 - 青色 */
.dim-spatial .result-hero { background: linear-gradient(180deg, #134e4a 0%, #0f0a1e 100%); }
.dim-spatial .mbti-card,
.dim-spatial .si-card { background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%); }
.dim-spatial .genius-badge,
.dim-spatial .si-badge { color: #22d3ee; border-color: rgba(34,211,238,0.4); background: rgba(8,145,178,0.15); }

/* 音乐型 - 粉紫 */
.dim-musical .result-hero { background: linear-gradient(180deg, #500724 0%, #0f0a1e 100%); }
.dim-musical .mbti-card,
.dim-musical .si-card { background: linear-gradient(135deg, #db2777 0%, #f472b6 100%); }
.dim-musical .genius-badge,
.dim-musical .si-badge { color: #f472b6; border-color: rgba(244,114,182,0.4); background: rgba(219,39,119,0.15); }

/* 肢体型 - 橙色 */
.dim-bodily .result-hero { background: linear-gradient(180deg, #431407 0%, #0f0a1e 100%); }
.dim-bodily .mbti-card,
.dim-bodily .si-card { background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%); }
.dim-bodily .genius-badge,
.dim-bodily .si-badge { color: #fb923c; border-color: rgba(251,146,60,0.4); background: rgba(234,88,12,0.15); }

/* 社交型 - 珊瑚红 */
.dim-interpersonal .result-hero { background: linear-gradient(180deg, #4c0519 0%, #0f0a1e 100%); }
.dim-interpersonal .mbti-card,
.dim-interpersonal .si-card { background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%); }
.dim-interpersonal .genius-badge,
.dim-interpersonal .si-badge { color: #fb7185; border-color: rgba(251,113,133,0.4); background: rgba(225,29,72,0.15); }

/* 博物型 - 翠绿 */
.dim-naturalist .result-hero { background: linear-gradient(180deg, #14532d 0%, #0f0a1e 100%); }
.dim-naturalist .mbti-card,
.dim-naturalist .si-card { background: linear-gradient(135deg, #16a34a 0%, #4ade80 100%); }
.dim-naturalist .genius-badge,
.dim-naturalist .si-badge { color: #4ade80; border-color: rgba(74,222,128,0.4); background: rgba(22,163,74,0.15); }

/* 默认（紫粉渐变兜底） */
.result-hero:not([class*="dim-"]) { background: linear-gradient(180deg, #1a0a2e 0%, #0f0a1e 100%); }
.mbti-card:not([class*="dim-"]),
.si-card:not([class*="dim-"]) { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%); }
.genius-badge:not([class*="dim-"]),
.si-badge:not([class*="dim-"]) { color: #f59e0b; border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.15); }

.si-hero {
  padding: 48px 40px 36px;
  text-align: center;
}

.si-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 20px;
  font-size: 12px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.si-card {
  display: block;
  margin: 0 auto;
  max-width: 340px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  border-radius: 20px;
  padding: 28px 40px 24px;
  box-shadow: 0 8px 32px rgba(124,58,237,0.5);
  position: relative;
  text-align: center;
}

.si-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.si-char { font-size: 56px; line-height: 1; margin-bottom: 8px; }
.si-type { font-size: 34px; font-weight: 900; color: #fff; letter-spacing: 2px; margin-bottom: 10px; }
.si-label { font-size: 12px; color: rgba(255,255,255,0.8); letter-spacing: 3px; text-transform: uppercase; }

.si-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  font-style: italic;
}

.si-section {
  margin: 0 32px 16px;
  background: rgba(26,26,46,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
}

.si-section.highlight {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.3);
}

.si-label-small {
  font-size: 11px;
  color: #a78bfa;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.si-desc { font-size: 14px; line-height: 1.9; color: #e2e8f0; }
.si-power { font-size: 13px; line-height: 1.7; color: #e2e8f0; }

.si-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 28px;
}

.si-brand { font-size: 13px; color: rgba(255,255,255,0.4); }
.si-qr-wrap { text-align: center; }
.si-qr-label { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 4px; }
