:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --accent-purple: #818cf8;
  --accent-green: #34d399;
  --accent-yellow: #fbbf24;
  --accent-red: #ef4444;
  --accent-pink: #f472b6;
  --accent-indigo-light: #a5b4fc;
  --accent-green-light: #6ee7b7;
  --accent-yellow-light: #fde68a;
  --accent-red-light: #fca5a5;
  --accent-pink-light: #f9a8d4;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(129, 140, 248, 0.3);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 24px;
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
}

.nav-logo {
  font-weight: 700; font-size: 15px;
  color: var(--accent-purple);
  white-space: nowrap;
}

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

.step-btn {
  padding: 6px 12px; border-radius: 16px;
  background: transparent; color: var(--text-secondary);
  border: none; cursor: pointer; font-size: 13px;
  transition: all 0.2s; white-space: nowrap;
}
.step-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.step-btn.active { color: var(--text-primary); background: rgba(129,140,248,0.2); }

.lang-btn {
  border: 1px solid rgba(255,255,255,0.2); border-radius: 16px;
  padding: 4px 16px; background: transparent;
  color: var(--text-primary); cursor: pointer;
  font-size: 13px; transition: all 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.08); }

.pages-container {
  margin-top: 60px; margin-bottom: 60px;
  min-height: calc(100vh - 120px);
}

.page {
  display: none; padding: 48px 64px;
  max-width: 1200px; margin: 0 auto;
}
.page.active { display: block; }

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 48px;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 100;
}

.progress-bar {
  flex: 1; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; margin: 0 24px;
}
.progress-fill {
  height: 100%; background: var(--accent-purple);
  border-radius: 2px; transition: width 0.3s ease;
}

.nav-arrow {
  background: none; border: none;
  color: var(--text-primary); font-size: 14px;
  opacity: 0.7; cursor: pointer; padding: 8px 16px;
  transition: opacity 0.2s;
}
.nav-arrow:hover { opacity: 1; }
.nav-arrow[disabled] { opacity: 0.3; cursor: not-allowed; }

/* Utility classes */
.page-step {
  text-align: center; font-size: 13px;
  color: var(--accent-purple); margin-bottom: 8px;
  letter-spacing: 1px;
}
.page-title {
  text-align: center; font-size: 1.4rem;
  font-weight: 700; margin-bottom: 32px;
}
.highlight-number {
  color: var(--accent-yellow); font-weight: 800; font-size: 1.3rem;
}
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 24px;
}
.agent-status {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.status-dot.green { background: var(--accent-green); color: var(--accent-green); }
.status-dot.red { background: var(--accent-red); color: var(--accent-red); }
.status-dot.yellow { background: var(--accent-yellow); color: var(--accent-yellow); }
.status-dot.orange { background: #f97316; color: #f97316; }
.status-dot.purple { background: var(--accent-purple); color: var(--accent-purple); }
