/* ============================================
   iEarnBot Mobile PWA — app.css
   Mobile-first, dark theme, max-width 480px
   ============================================ */

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

:root {
  --bg-primary: #080c14;
  --bg-card: #131c2e;
  --bg-nav: #0d1220;
  --border: #1e2d45;
  --accent: #f97316;
  --accent-dim: rgba(249, 115, 22, 0.15);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --radius-card: 16px;
  --radius-sm: 8px;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── App Shell ── */
#app {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* ── Top Status Bar ── */
.top-bar {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding-top: max(12px, env(safe-area-inset-top));
}

.top-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.top-bar__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.3px;
}

.top-bar__status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.3s;
}

.status-dot.running {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-green 2s infinite;
}

.status-dot.stopped {
  background: var(--red);
}

.status-dot.connecting {
  background: var(--yellow);
  animation: pulse-yellow 1s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50% { box-shadow: 0 0 12px var(--green); }
}

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

.balance-display {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.balance-display span {
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Page Content ── */
#page-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

/* ── Tab Bar ── */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 100;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 10px;
  gap: 4px;
  cursor: pointer;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.tab-item:active {
  opacity: 0.7;
}

.tab-item.active {
  color: var(--accent);
}

.tab-item .icon {
  font-size: 22px;
  line-height: 1;
}

.tab-item .label {
  line-height: 1;
}

.tab-item .tab-label {
  line-height: 1;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-bottom: 12px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-title {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ── Big Numbers ── */
.big-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.big-num.positive { color: var(--green); }
.big-num.negative { color: var(--red); }

.sub-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── P&L Row ── */
.pnl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.pnl-item {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 16px;
}

/* ── Position Cards ── */
.position-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-bottom: 10px;
  border-left: 3px solid transparent;
}

.position-card.long { border-left-color: var(--green); }
.position-card.short { border-left-color: var(--red); }

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.position-market {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.position-side {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.position-side.long {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.position-side.short {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
}

.position-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.position-pnl {
  font-size: 15px;
  font-weight: 700;
  margin-top: 6px;
}

/* ── Log Items ── */
.log-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.4;
}

.log-item:last-child { border-bottom: none; }

.log-time {
  color: var(--text-muted);
  flex-shrink: 0;
  font-family: monospace;
  font-size: 11px;
  padding-top: 1px;
}

.log-level {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  height: fit-content;
}

.log-level.info { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.log-level.warn { background: rgba(234, 179, 8, 0.2); color: var(--yellow); }
.log-level.error { background: rgba(239, 68, 68, 0.2); color: var(--red); }
.log-level.success { background: rgba(34, 197, 94, 0.2); color: var(--green); }

.log-msg { color: var(--text-secondary); }

/* ── Strategy Page ── */
.strategy-textarea {
  width: 100%;
  min-height: 120px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  padding: 12px;
  resize: none;
  outline: none;
  font-family: inherit;
  line-height: 1.5;
}

.strategy-textarea:focus {
  border-color: var(--accent);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); opacity: 0.85; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

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

/* ── Settings Form ── */
.form-group {
  margin-bottom: 16px;
}

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

.form-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  padding: 12px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--accent);
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Section Title ── */
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.empty-state p {
  font-size: 14px;
  line-height: 1.6;
}

/* ── Loading Spinner ── */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}

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

/* ── Toast ── */
.toast-container {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  z-index: 200;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--accent); }

/* ── Pill Badge ── */
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}

.badge-green { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.badge-orange { background: rgba(249, 115, 22, 0.15); color: var(--accent); }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ── Stat Row ── */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.stat-row:last-child { border-bottom: none; }
.stat-row .key { color: var(--text-muted); }
.stat-row .val { font-weight: 600; color: var(--text-primary); }

/* ============================================
   Module C — Strategy & Settings (v0.4)
   ============================================ */

/* ── Mobile Inputs ── */
.mobile-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-primary);
  font-size: .95rem;
  margin: 8px 0;
  outline: none;
  font-family: inherit;
  transition: border-color .2s;
  box-sizing: border-box;
}
.mobile-input:focus { border-color: var(--accent); }

.mobile-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-primary);
  font-size: .9rem;
  resize: vertical;
  font-family: inherit;
  margin: 8px 0;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.mobile-textarea:focus { border-color: var(--accent); }

.mobile-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-primary);
  font-size: .95rem;
  margin: 8px 0;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.generate-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity .2s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.generate-btn:active { transform: scale(0.98); opacity: 0.85; }
.generate-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.fetch-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .85rem;
  cursor: pointer;
  margin: 4px 0;
  transition: border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.fetch-btn:hover { border-color: var(--accent); color: var(--accent); }
.fetch-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.divider-text {
  text-align: center;
  color: var(--text-muted);
  font-size: .8rem;
  margin: 12px 0;
  position: relative;
}
.divider-text::before,
.divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--border);
}
.divider-text::before { left: 0; }
.divider-text::after  { right: 0; }

.input-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-secondary);
  margin-top: 12px;
  margin-bottom: 2px;
}

.input-section { padding-bottom: 4px; }

/* ── Strategy Result ── */
.result-header {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border-left: 3px solid var(--accent);
}
.result-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.result-desc {
  color: var(--text-secondary);
  font-size: .85rem;
  margin-top: 4px;
  line-height: 1.5;
}

.param-section,
.risk-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.param-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 12px;
}
.risk-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--red);
  margin-bottom: 12px;
}
.param-grid,
.risk-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.param-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: .875rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.param-row:last-child { border-bottom: none; }
.param-row span:last-child {
  text-align: right;
  word-break: break-word;
  max-width: 60%;
}

.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.action-btn {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.action-btn:active { transform: scale(0.97); opacity: 0.85; }
.action-btn.primary {
  background: var(--accent);
  color: #fff;
}
.action-btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ── Settings ── */
.settings-list { padding-bottom: 8px; }

.settings-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.settings-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 8px;
}
.settings-hint {
  color: var(--text-muted);
  font-size: .78rem;
  margin-top: 4px;
  line-height: 1.5;
}
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  color: var(--text-primary);
}
.toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.test-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .85rem;
  cursor: pointer;
  margin-top: 8px;
  transition: border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.test-btn:hover { border-color: var(--accent); color: var(--accent); }
.test-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.save-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 12px;
  transition: opacity .2s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.save-btn:active { transform: scale(0.98); opacity: 0.85; }

.danger-btn {
  width: 100%;
  background: rgba(239, 68, 68, .1);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, .3);
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: .9rem;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.danger-btn:active { background: rgba(239, 68, 68, .2); }

.app-version {
  text-align: center;
  color: var(--text-muted);
  font-size: .75rem;
  margin-top: 24px;
  padding-bottom: 8px;
}

/* ════════════════════════════════════════════════
   Module B — Dashboard + Positions + Logs (v0.4)
   ════════════════════════════════════════════════ */

/* ── Status Bar ── */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.balance { font-size: 1.1rem; font-weight: 700; }
.unit    { color: var(--text-muted); font-size: .75rem; font-weight: 400; }

/* ── KPI Grid ── */
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }

.kpi-card {
  background: #131c2e;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #1e2d45;
}

.kpi-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.kpi-value {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4px;
}

.kpi-value.green { color: #22c55e; }

/* ── Position Cards (new spec) ── */
.position-card {
  background: #131c2e;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #1e2d45;
  margin-bottom: 12px;
}

.pos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pos-market { font-weight: 600; font-size: .95rem; }

.pos-side {
  padding: 2px 10px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
}

.pos-side.yes { background: rgba(34,197,94,.15); color: #22c55e; }
.pos-side.no  { background: rgba(239,68,68,.15);  color: #ef4444; }

.pos-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: .875rem;
}

.pos-label { color: #64748b; }
.pos-val.green { color: #22c55e; }

.pos-actions  { display: flex; gap: 8px; margin-top: 12px; }

.btn-sm {
  flex: 1;
  padding: 6px;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-sm.danger  { background: rgba(239,68,68,.15); color: #ef4444; }
.btn-sm.success { background: rgba(34,197,94,.15); color: #22c55e; }

/* ── Log Viewer ── */
.log-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-btn {
  background: #131c2e;
  border: 1px solid #1e2d45;
  color: #64748b;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn.active { border-color: #f97316; color: #f97316; }

.log-container {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  line-height: 1.8;
  background: #080c14;
  border-radius: 12px;
  padding: 12px;
  height: calc(100vh - 220px);
  overflow-y: auto;
}

/* ── Action Row ── */
.action-row  { display: flex; gap: 12px; margin: 16px 0; }

.action-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: .9rem;
}

.action-btn.danger  {
  background: rgba(239,68,68,.15);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.3);
}

.action-btn.primary {
  background: rgba(249,115,22,.15);
  color: #f97316;
  border: 1px solid rgba(249,115,22,.3);
}

/* ── Empty state (text-only variant) ── */
.empty-state:not(:has(.empty-icon)) {
  text-align: center;
  color: #475569;
  padding: 40px 20px;
  font-size: .9rem;
}

/* ── Language Selector ─────────────────────────────────────────────────── */
.lang-selector{position:relative}
.lang-btn{display:flex;align-items:center;gap:3px;background:transparent;border:1px solid var(--border);color:var(--text-muted);padding:4px 8px;border-radius:6px;cursor:pointer;font-size:.75rem;white-space:nowrap}
.lang-btn:hover{border-color:var(--accent);color:var(--accent)}
.lang-menu{display:none;position:absolute;right:0;top:calc(100% + 6px);background:#131c2e;border:1px solid var(--border);border-radius:10px;overflow:hidden;min-width:130px;z-index:200;box-shadow:0 8px 24px rgba(0,0,0,.5)}
.lang-menu.open{display:block}
.lang-option{padding:9px 13px;cursor:pointer;font-size:.85rem;display:flex;align-items:center;gap:8px;transition:background .15s}
.lang-option:hover{background:rgba(249,115,22,.1);color:#f97316}

/* ── Pricing Modal Cards ── */
.pricing-card{background:#131c2e;border:1px solid #1e2d45;border-radius:16px;padding:18px;margin-bottom:12px;cursor:pointer;transition:border-color .2s;position:relative}
.pricing-card:hover,.pricing-card.popular{border-color:#f97316}
.pricing-card.popular{background:#1a1f2e}
.popular-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#f97316;color:#fff;font-size:.7rem;font-weight:700;padding:2px 12px;border-radius:99px;white-space:nowrap}
.pricing-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.tier-name{font-weight:800;font-size:1.1rem}
.tier-price{font-size:1.2rem;font-weight:800;color:#f97316}
.tier-period{font-size:.75rem;color:#94a3b8;font-weight:400}
.tier-features{list-style:none;font-size:.82rem;color:#94a3b8;line-height:2;padding:0;margin:0}
.btn-tier{width:100%;background:rgba(249,115,22,.1);color:#f97316;border:1px solid rgba(249,115,22,.3);padding:10px;border-radius:10px;font-weight:700;cursor:pointer;margin-top:12px;font-size:.875rem}
.popular-btn{background:#f97316;color:#fff;border-color:#f97316}
