/* ===== 说虾话 - Styles ===== */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a2e;
  --border: #2a2a3e;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --accent: #ff6b35;
  --accent-light: #ff8c5a;
  --accent-bg: rgba(255, 107, 53, 0.1);
  --green: #34d399;
  --green-bg: rgba(52, 211, 153, 0.1);
  --blue: #60a5fa;
  --blue-bg: rgba(96, 165, 250, 0.1);
  --yellow: #fbbf24;
  --yellow-bg: rgba(251, 191, 36, 0.1);
  --red: #f87171;
  --purple: #a78bfa;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.logo span { color: var(--text); }

.nav-links {
  display: flex;
  gap: 4px;
}

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

.nav-link:hover { color: var(--text); background: var(--bg-elevated); }
.nav-link.active { color: var(--accent); background: var(--accent-bg); }

/* ===== Sections ===== */
.section {
  display: none;
  padding-top: 80px;
  min-height: 100vh;
}

.section.active { display: block; }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-bg);
  border: 1px solid var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-desc p { margin-bottom: 8px; }

/* Hero Insight: Expression Gap Demo */
.hero-insight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.insight-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
  text-align: center;
}

.insight-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
}

.insight-compare {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
}

.insight-col {
  flex: 1;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.insight-cn {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.insight-global {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.insight-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.insight-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}

.insight-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

.insight-arrow {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.insight-product {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.insight-why {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  line-height: 1.6;
}

.insight-why strong {
  color: var(--accent);
}

@media (max-width: 600px) {
  .insight-compare {
    flex-direction: column;
  }
  .insight-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: 4px 0;
  }
}

/* Section hint (for target user clarification) */
.section-hint {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

/* ===== Demo Flow ===== */
.demo-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  min-width: 140px;
}

.demo-icon { font-size: 24px; margin-bottom: 8px; }
.demo-text { font-size: 13px; color: var(--text-muted); }
.demo-arrow { color: var(--accent); font-size: 20px; font-weight: bold; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 14px 28px; font-size: 16px; }

.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Boss Speak ===== */
.boss-input-area {
  max-width: 700px;
  margin: 0 auto 32px;
}

.quick-examples {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-examples .label { font-size: 13px; color: var(--text-muted); }

.input-group {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.input-group textarea {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  resize: none;
}

.input-group textarea:focus { outline: none; border-color: var(--accent); }

/* ===== Result Cards ===== */
.result-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.result-section {
  margin-bottom: 24px;
}

.result-section:last-child { margin-bottom: 0; }

.result-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.highlight-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--accent-light);
  line-height: 1.6;
}

.action-list, .warning-list, .recommendation-list {
  list-style: none;
  padding: 0;
}

.action-list li, .recommendation-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text);
}

.action-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
}

.recommendation-list li::before {
  content: '💡';
  position: absolute;
  left: 0;
}

.warning-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--red);
}

.warning-list li::before {
  content: '❌';
  position: absolute;
  left: 0;
}

/* ===== Product Form ===== */
.product-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.flex-1 { flex: 1; }

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select { cursor: pointer; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sample-products {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sample-products .label { font-size: 13px; color: var(--text-muted); }

/* ===== Competitor Upload ===== */
.competitor-upload-section {
  margin-bottom: 24px;
}

.upload-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.upload-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.upload-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-elevated);
}

.upload-area:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.upload-area.dragover {
  border-color: var(--accent);
  background: var(--accent-bg);
  transform: scale(1.01);
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.upload-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.upload-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.uploaded-images {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.uploaded-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 2px solid var(--border);
}

.uploaded-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uploaded-thumb .remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Progress ===== */
.progress-area {
  margin-bottom: 32px;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
}

.progress-step span {
  font-size: 13px;
  color: var(--text-muted);
}

.progress-step.active span { color: var(--accent); font-weight: 600; }
.progress-step.done span { color: var(--green); }

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-step.active .step-dot {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.progress-step.done .step-dot {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-bg);
}

.progress-line {
  width: 40px;
  height: 2px;
  background: var(--border);
}

/* ===== Result Panels ===== */
.result-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}

.result-panel-highlight {
  border-color: var(--accent);
}

.panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-header h3 { font-size: 18px; font-weight: 600; }

.step-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.panel-body { padding: 24px; }

.result-block {
  margin-bottom: 24px;
}

.result-block:last-child { margin-bottom: 0; }

.result-block h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.tag-need { background: var(--blue-bg); color: var(--blue); }
.tag-point { background: var(--accent-bg); color: var(--accent); }
.tag-trend { background: var(--green-bg); color: var(--green); }
.tag-pain { background: rgba(248, 113, 113, 0.1); color: var(--red); }
.tag-positive { background: var(--green-bg); color: var(--green); }
.tag-scene { background: var(--yellow-bg); color: var(--yellow); }

/* Point bars */
.point-bars { display: flex; flex-direction: column; gap: 8px; }

.point-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.point-bar-label {
  font-size: 13px;
  min-width: 180px;
  color: var(--text);
}

.point-bar-track {
  flex: 1;
  height: 24px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
}

.point-bar-fill {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  transition: width 0.5s ease;
}

/* Style cards */
.style-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.style-card {
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.style-card h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.style-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Gap list */
.gap-list { display: flex; flex-direction: column; gap: 12px; }

.gap-item {
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.gap-item-main h5 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.gap-item-main p { font-size: 13px; color: var(--text-muted); }

.gap-importance {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.gap-high { background: rgba(248, 113, 113, 0.15); color: var(--red); }
.gap-medium { background: var(--yellow-bg); color: var(--yellow); }
.gap-low { background: var(--green-bg); color: var(--green); }

/* Expression compare */
.expression-compare { display: flex; flex-direction: column; gap: 12px; }

.expr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.expr-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.expr-text { font-size: 14px; line-height: 1.5; }
.expr-old { color: var(--text-muted); }
.expr-new { color: var(--green); }

/* Platform sections */
.platform-section { position: relative; }

.platform-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.platform-badge.amazon { background: var(--yellow-bg); color: var(--yellow); }
.platform-badge.tiktok { background: rgba(255, 0, 80, 0.1); color: #ff0050; }
.platform-badge.compare { background: var(--blue-bg); color: var(--blue); }

/* Expression Comparison */
.expr-compare-grid {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
}

.expr-compare-col {
  flex: 1;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.expr-compare-col h4 {
  font-size: 13px;
  margin-bottom: 8px;
}

.expr-compare-col p {
  font-size: 14px;
  line-height: 1.6;
}

.expr-cn {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.expr-global {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.expr-compare-arrow {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.expr-gap-explain {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.expr-gap-explain .explain-label {
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 600px) {
  .expr-compare-grid {
    flex-direction: column;
  }
  .expr-compare-arrow {
    transform: rotate(90deg);
    justify-content: center;
  }
}

.listing-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.listing-title, .listing-bullets, .listing-desc {
  margin-bottom: 16px;
}

.listing-title h4, .listing-bullets h4, .listing-desc h4,
.script-block h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  padding: 10px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  border-left: 3px solid var(--yellow);
}

.script-block { margin-bottom: 16px; }

.script-text {
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.7;
}

.script-text.hook {
  border-left: 3px solid #ff0050;
  font-weight: 600;
  font-size: 16px;
}

.script-text.cta {
  border-left: 3px solid var(--accent);
}

.tone-section {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.tone-keyword {
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--purple);
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.tone-tagline {
  padding: 8px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-muted);
}

/* ===== Samples Tab ===== */
.sample-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  justify-content: center;
}

.tab {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.tab:hover { color: var(--text); border-color: var(--accent); }
.tab.active { background: var(--accent); color: white; border-color: var(--accent); }

.sample-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.competitor-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.competitor-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.competitor-brand {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.competitor-title {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg);
  border-radius: 6px;
  border-left: 3px solid var(--yellow);
}

.competitor-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.competitor-bullets li {
  font-size: 13px;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  color: var(--text-muted);
}

.competitor-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.competitor-reviews {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.tiktok-examples {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.tiktok-examples h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.tiktok-item {
  padding: 12px 16px;
  background: rgba(255, 0, 80, 0.05);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 14px;
  border-left: 3px solid #ff0050;
}

/* ===== Loading ===== */
.loading {
  text-align: center;
  padding: 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Error ===== */
.error-area { max-width: 500px; margin: 0 auto; }

.error-card {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.error-card h3 { color: var(--red); margin-bottom: 8px; }
.error-card p { color: var(--text-muted); margin-bottom: 16px; font-size: 14px; }

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer p { font-size: 14px; color: var(--text-muted); }
.footer-sub { font-size: 12px; margin-top: 4px; }

/* ===== Boss Mode Tabs ===== */
.boss-modes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.mode-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-btn:hover { border-color: var(--accent); color: var(--text); }
.mode-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.mode-icon { font-size: 18px; }

/* ===== Toxicity Meter ===== */
.toxicity-section {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.toxicity-header {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.toxicity-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: auto;
}

.toxicity-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.toxicity-max {
  font-size: 14px;
  color: var(--text-muted);
}

.toxicity-bar {
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.toxicity-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--accent), var(--red));
  transition: width 0.8s ease;
  width: 0%;
}

.toxicity-tags {
  display: flex;
  gap: 8px;
}

.speech-type-tag, .speech-scene-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.speech-type-tag {
  background: var(--purple);
  color: white;
}

.speech-scene-tag {
  background: var(--blue-bg);
  color: var(--blue);
}

/* Boss Quote */
.boss-quote {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.boss-quote p {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* Reverse Mode */
.reverse-card {
  border-color: var(--purple);
}

.reverse-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--purple);
}

.analysis-text, .risk-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.risk-text {
  color: var(--yellow);
}

/* ===== Data Source Banner ===== */
.data-source-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--blue-bg);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--blue);
}

.data-source-icon { font-size: 18px; }

/* ===== Screenshot Analysis ===== */
.screenshot-analysis-item {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

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

.screenshot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.screenshot-number {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.screenshot-title {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.screenshot-brand {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.screenshot-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.info-label { font-size: 13px; color: var(--text-muted); }
.info-value { font-size: 13px; font-weight: 600; }

.screenshot-section {
  margin-bottom: 16px;
}

.screenshot-section:last-child { margin-bottom: 0; }

.screenshot-section h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.extracted-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extracted-point {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 6px;
}

.point-text { font-size: 13px; }
.point-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--blue-bg);
  color: var(--blue);
}

.pain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insight-list {
  list-style: none;
  padding: 0;
}

.insight-list li {
  font-size: 13px;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
}

.insight-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
}

.data-source-badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

/* ===== Evidence + Conclusion ===== */
.result-panel-evidence {
  border-color: var(--green);
  margin-bottom: 24px;
}

.result-panel-conclusion {
  border-color: var(--accent);
}

.evidence-badge {
  background: var(--green-bg) !important;
  color: var(--green) !important;
}

.conclusion-badge {
  background: var(--accent-bg) !important;
  color: var(--accent) !important;
}

.data-live-tag {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Evidence Grid */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.evidence-item {
  padding: 14px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
}

.evidence-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evidence-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.evidence-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.evidence-rating {
  font-size: 12px;
  color: var(--yellow);
}

.evidence-badge-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--yellow-bg);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 600;
}

.evidence-summary {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
}

/* Report Sections */
.report-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.report-section:last-child { border-bottom: none; }

.report-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.report-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tag-positive .tag {
  background: var(--green-bg);
  color: var(--green);
}

/* Design Suggestion Cards */
.design-suggestion-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.design-card {
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.design-card h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.design-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .evidence-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .design-suggestion-cards { grid-template-columns: 1fr; }
}

/* ===== Market Overview ===== */
.market-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.market-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.market-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.market-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.market-stat-sub {
  font-size: 12px;
  color: var(--green);
}

/* ===== Sample Sections ===== */
.sample-section {
  margin-bottom: 40px;
}

.sample-section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sample-section-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.sample-section-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Amazon Card ===== */
.amazon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.amazon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.amazon-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.amazon-card-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.amazon-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--yellow);
  color: #000;
}

.amazon-card-body {
  padding: 12px;
}

.amazon-card-brand {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.amazon-card-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.amazon-card-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.stars {
  color: var(--yellow);
  font-size: 12px;
}

.star-count {
  font-size: 12px;
  color: var(--text-muted);
}

.amazon-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.amazon-card-price .cents {
  font-size: 12px;
  vertical-align: super;
}

.amazon-card-old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.card-data-source {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
  opacity: 0.6;
  font-style: italic;
}

/* ===== TikTok Card ===== */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.tiktok-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s;
}

.tiktok-card:hover { transform: translateY(-2px); }

.tiktok-card-thumb {
  width: 100%;
  aspect-ratio: 9/12;
  background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 48px;
}

.tiktok-play {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.tiktok-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 11px;
  color: white;
}

.tiktok-card-body {
  padding: 12px;
}

.tiktok-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tiktok-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.tiktok-username {
  font-size: 12px;
  font-weight: 600;
}

.tiktok-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.tiktok-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.tiktok-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Influencer Card ===== */
.influencer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.influencer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.influencer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.influencer-info {
  flex: 1;
}

.influencer-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.influencer-handle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.influencer-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.influencer-stat {
  text-align: center;
}

.influencer-stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

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

.influencer-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--green-bg);
  color: var(--green);
}

/* ===== Utilities ===== */
.hidden { display: none !important; }

/* ===== Responsive ===== */
/* ===== Research Section (让虾去看) ===== */
.section-research {
  background: var(--bg);
}

.research-modes {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.research-input-area {
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.url-input-row {
  display: flex;
  gap: 12px;
}

.url-input-row input {
  flex: 1;
}

.input-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.action-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

/* Research Results: Dual Column Layout */
.research-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.result-column {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.result-column-evidence {
  border-top: 3px solid var(--green);
}

.result-column-conclusion {
  border-top: 3px solid var(--accent);
}

.column-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.column-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.column-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.column-body {
  padding: 20px;
}

/* Evidence Items */
.evidence-summary-bar {
  display: flex;
  gap: 20px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.evidence-summary-bar strong {
  color: var(--text);
}

.evidence-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.evidence-product-card {
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border-left: 3px solid var(--green);
}

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

.evidence-product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.evidence-product-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
  margin-right: 12px;
}

.evidence-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.evidence-product-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.evidence-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.evidence-product-bullets {
  padding-left: 18px;
  margin: 0;
}

.evidence-product-bullets li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 4px;
}

.evidence-product-reviews {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.evidence-reviews-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.evidence-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.evidence-review-tag {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg);
  font-size: 11px;
  color: var(--text-muted);
}

.evidence-review-tag.positive {
  background: var(--green-bg);
  color: var(--green);
}

.evidence-review-tag.negative {
  background: rgba(248, 113, 113, 0.1);
  color: var(--red);
}

/* Conclusion Sections */
.conclusion-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.conclusion-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.conclusion-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.conclusion-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.conclusion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.conclusion-tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.conclusion-tag.style {
  background: var(--blue-bg);
  color: var(--blue);
}

.conclusion-tag.price {
  background: var(--yellow-bg);
  color: var(--yellow);
}

.conclusion-tag.pain {
  background: rgba(248, 113, 113, 0.1);
  color: var(--red);
}

.conclusion-tag.opportunity {
  background: var(--green-bg);
  color: var(--green);
}

.conclusion-tag.recommendation {
  background: var(--accent-bg);
  color: var(--accent);
}

.conclusion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.conclusion-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.conclusion-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Price Range Chart */
.price-range-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.price-range-bar {
  flex: 1;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  border-radius: 4px;
  position: relative;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Responsive for Research */
@media (max-width: 900px) {
  .research-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 48px; }
  .form-row { flex-direction: column; }
  .style-cards { grid-template-columns: 1fr; }
  .expr-row { grid-template-columns: 1fr; }
  .demo-flow { flex-direction: column; }
  .demo-arrow { transform: rotate(90deg); }
  .nav-links { gap: 0; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .market-overview { grid-template-columns: repeat(2, 1fr); }
  .amazon-grid { grid-template-columns: repeat(2, 1fr); }
  .tiktok-grid { grid-template-columns: repeat(2, 1fr); }
  .influencer-grid { grid-template-columns: 1fr; }
  .boss-modes { flex-direction: column; }
  .research-modes { flex-direction: column; }
  .url-input-row { flex-direction: column; }
  .checkbox-group { flex-direction: column; gap: 8px; }
}

/* ===== 虾老板 (Boss Agent) ===== */
.section-bossagent {
  padding-top: 100px;
  min-height: 100vh;
}

.bossagent-input {
  max-width: 800px;
  margin: 0 auto;
}

.budget-section {
  margin-bottom: 32px;
}

.input-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.budget-options {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.budget-btn {
  flex: 1;
  min-width: 80px;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.budget-btn:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.budget-btn.active {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.custom-budget {
  display: flex;
  align-items: center;
  gap: 8px;
}

.or-text {
  font-size: 13px;
  color: var(--text-muted);
}

.custom-budget input {
  width: 120px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
}

.currency {
  font-size: 13px;
  color: var(--text-muted);
}

.preference-section {
  margin-bottom: 32px;
}

.pref-row {
  display: flex;
  gap: 16px;
}

.pref-group {
  flex: 1;
}

.pref-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.bossagent-start {
  text-align: center;
  padding: 24px 0;
}

.btn-xl {
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 600;
}

.start-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Progress Timeline */
.bossagent-progress {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.progress-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.timeline-step.active {
  opacity: 1;
}

.timeline-step.done {
  opacity: 0.7;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.timeline-step.active .timeline-dot {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.timeline-step.done .timeline-dot {
  border-color: var(--green);
  background: var(--green-bg);
  color: var(--green);
}

.timeline-step.done .timeline-dot::after {
  content: '✓';
}

.timeline-step.done .timeline-dot {
  font-size: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.timeline-line {
  width: 2px;
  height: 16px;
  background: var(--border);
  margin-left: 15px;
}

.progress-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Boss Agent Results */
.bossagent-results {
  max-width: 900px;
  margin: 40px auto 0;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
}

.plan-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.plan-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--accent-bg);
  color: var(--accent);
}

.plan-body {
  padding: 24px;
}

.plan-section {
  margin-bottom: 24px;
}

.plan-section:last-child {
  margin-bottom: 0;
}

.plan-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.plan-section p, .plan-section li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.plan-stat {
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  text-align: center;
}

.plan-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.plan-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-highlight {
  background: var(--green-bg);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 12px;
}

.plan-highlight-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}

.plan-warning {
  background: var(--yellow-bg);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 12px;
}

.plan-warning-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 8px;
}

.plan-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.plan-actions .btn {
  flex: 1;
}
