/* ─── Reset & Variables ─────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #0a0a0a;
  --chalk: #fafaf9;
  --accent: #e85d04;
  --accent-hover: #d45303;
  --accent-light: #fef0e6;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --border: #e5e5e5;
  --surface: #f5f5f4;
  --success: #16a34a;
  --success-light: #dcfce7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --sidebar-w: 260px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--chalk);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ─── Layout ───────────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.3s;
}

.sidebar-logo {
  padding: 28px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.sidebar-link.active {
  background: rgba(232,93,4,0.15);
  color: var(--accent);
}

.sidebar-link .icon {
  width: 20px;
  font-size: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-spacer { flex: 1; }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-user {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-logout {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.sidebar-logout:hover { color: var(--danger); }

.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 40px;
  min-height: 100vh;
  max-width: calc(100vw - var(--sidebar-w));
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.page-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─── Auth Pages ───────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chalk);
  padding: 24px;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.auth-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

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

.auth-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* ─── Forms ────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder { color: var(--muted-light); }

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--danger-light);
  border-radius: var(--radius-sm);
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

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

.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--border); }

.btn-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.btn-danger:hover { background: #fca5a5; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
}

.btn-ghost:hover { color: var(--ink); background: var(--surface); }

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block { width: 100%; }

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Cards ────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.card-dark {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

/* ─── Stat Cards ───────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat-value.green { color: var(--success); }
.stat-value.orange { color: var(--accent); }

.stat-change {
  font-size: 0.8rem;
  margin-top: 4px;
  color: var(--success);
}

.stat-change.negative { color: var(--danger); }

/* ─── Chart ────────────────────────────────────────────── */
.chart-container {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

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

.chart-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.chart-legend {
  display: flex;
  gap: 16px;
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.chart-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 160px;
  padding-top: 8px;
}

.chart-bar-group {
  flex: 1;
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 100%;
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transition: height 0.3s, opacity 0.2s;
  cursor: pointer;
}

.chart-bar.revenue {
  background: var(--accent);
  opacity: 0.9;
}

.chart-bar.spend {
  background: rgba(255,255,255,0.2);
}

.chart-bar:hover { opacity: 1; }

.chart-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── Campaign Cards ───────────────────────────────────── */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.campaign-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all 0.2s;
}

.campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.campaign-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.campaign-card h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.campaign-card-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Space Grotesk', sans-serif;
}

.badge-active { background: var(--success-light); color: var(--success); }
.badge-draft { background: var(--surface); color: var(--muted); }
.badge-paused { background: var(--warning-light); color: var(--warning); }

.campaign-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.campaign-card-stat .label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Space Grotesk', sans-serif;
}

.campaign-card-stat .value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ─── Campaign Detail ──────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}

.ad-preview {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
}

.ad-preview-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
}

.ad-preview-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.ad-preview-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ad-preview-copy {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ad-preview-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
}

.targeting-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: 'Space Grotesk', sans-serif;
}

.strategy-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
}

.strategy-block h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.strategy-text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-line;
}

.variants-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.variant-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.variant-angle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.variant-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.variant-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── Onboarding ───────────────────────────────────────── */
.onboarding-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chalk);
  padding: 24px;
}

.onboarding-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.onboarding-step {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.onboarding-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.onboarding-card .subtitle {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  margin-bottom: 32px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.3s;
}

/* ─── Empty States ─────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px;
  color: var(--muted);
}

/* ─── AI Generation ────────────────────────────────────── */
.ai-generating {
  text-align: center;
  padding: 48px 24px;
}

.ai-pulse {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  animation: ai-breathe 2s ease-in-out infinite;
}

@keyframes ai-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232,93,4,0.2); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(232,93,4,0); }
}

.ai-generating h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ai-generating p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── Toast ────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  animation: toast-in 0.3s ease;
  max-width: 380px;
}

.toast-success { background: var(--success); color: #fff; }
.toast-error { background: var(--danger); color: #fff; }
.toast-info { background: var(--ink); color: #fff; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── Back Link ────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.15s;
}

.back-link:hover { color: var(--ink); }

/* ─── Metrics Table ────────────────────────────────────── */
.metrics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.metrics-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border);
}

.metrics-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}

.metrics-table tr:hover td {
  background: var(--surface);
}

/* ─── Sidebar Plan Badge ──────────────────────────────── */
.sidebar-plan-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sidebar-user-row .sidebar-user {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.sidebar-free-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.sidebar-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-upgrade-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
}

.sidebar-upgrade-link:hover {
  color: #ff7b2e;
}

/* ─── Upgrade Banner (Dashboard) ──────────────────────── */
.upgrade-banner {
  background: linear-gradient(135deg, #fef0e6 0%, #fff7f0 50%, #fef0e6 100%);
  border: 1px solid #f5d4b8;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.upgrade-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), #ff9a56);
  border-radius: 4px 0 0 4px;
}

.upgrade-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.upgrade-banner-text h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.upgrade-banner-text p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.upgrade-banner-cta {
  flex-shrink: 0;
  text-decoration: none;
}

/* ─── Billing Page ────────────────────────────────────── */
.billing-current-plan {
  max-width: 640px;
  margin-bottom: 24px;
}

.billing-plan-header {
  margin-bottom: 20px;
}

.billing-plan-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 6px;
}

.billing-plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.billing-plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.billing-feature {
  font-size: 0.9rem;
  color: var(--ink);
}

.billing-feature.muted {
  color: var(--muted-light);
}

.billing-pro-card {
  max-width: 640px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 4px;
  position: relative;
  overflow: hidden;
}

.billing-pro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #ff9a56, var(--accent));
}

.billing-pro-inner {
  padding: 32px 28px;
}

.billing-pro-header {
  margin-bottom: 24px;
}

.billing-pro-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}

.billing-pro-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.billing-pro-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
}

.billing-pro-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.billing-pro-feature {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.billing-upgrade-btn {
  text-decoration: none;
}

/* ─── Responsive ───────────────────────────────────────── */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 24px; padding-top: 72px; max-width: 100vw; }
  .detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .campaign-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-card, .onboarding-card { padding: 32px 24px; }
  .upgrade-banner-content { flex-direction: column; align-items: flex-start; }
  .billing-pro-card, .billing-current-plan { max-width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
