/* ============================================================
   ARVAUM Studio — Portal CSS v2
   Brand: #00B2E3 teal · #E6E7E8 light · #585858 mid · #33485F navy
   Background: #080C12
   ============================================================ */

/* ─── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'CocogoosePro';
  src: url('/api/static/fonts/CocogoosePro-Thin.otf') format('opentype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CocogoosePro';
  src: url('/api/static/fonts/CocogoosePro-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CocogoosePro';
  src: url('/api/static/fonts/CocogoosePro-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CocogoosePro';
  src: url('/api/static/fonts/CocogoosePro-SemiBold.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CocogoosePro';
  src: url('/api/static/fonts/CocogoosePro-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  /* ARVAUM brand colors */
  --p-bg:        #080C12;
  --p-surface:   #0F1520;
  --p-surface-2: #161E2C;
  --p-surface-3: #1E2838;
  --p-text:      #E6E7E8;
  --p-text-muted: #7A8A9A;
  --p-border:    rgba(255,255,255,0.07);

  /* Accent */
  --p-accent:       #00B2E3;
  --p-accent-hover: #00A0CC;
  --p-accent-light: rgba(0,178,227,0.1);
  --p-accent-glow:  rgba(0,178,227,0.3);

  /* Semantic */
  --p-success:    #22C55E;
  --p-success-bg: rgba(34,197,94,0.1);
  --p-danger:     #EF4444;
  --p-danger-bg:  rgba(239,68,68,0.1);
  --p-warning:    #F59E0B;
  --p-warning-bg: rgba(245,158,11,0.1);
  --p-info:       #3B82F6;
  --p-info-bg:    rgba(59,130,246,0.1);

  /* Radius & Shadows */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --sh-1: 0 1px 3px rgba(0,0,0,0.5);
  --sh-2: 0 4px 16px rgba(0,0,0,0.5);
  --sh-3: 0 12px 40px rgba(0,0,0,0.6);

  /* Layout */
  --navbar-h: 64px;
  --max-w: 1200px;

  /* Fonts */
  --font-head: 'CocogoosePro', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--p-bg);
  color: var(--p-text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--p-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--p-accent-hover); }
button, input, select, textarea { font-family: inherit; }

/* ─── Navbar ─────────────────────────────────────────────────── */
.portal-navbar {
  height: var(--navbar-h);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--p-border);
}
.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 24px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.navbar-logo {
  width: 36px; height: 36px;
  background: rgba(0,178,227,0.08);
  border: 1px solid rgba(0,178,227,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--p-accent);
  letter-spacing: 0.1em;
}
.navbar-brand-sub {
  font-size: 0.58rem;
  color: var(--p-text-muted);
  letter-spacing: 0.04em;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 auto;
}
.navbar-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--p-text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.navbar-nav a:hover { color: var(--p-text); background: rgba(255,255,255,0.04); }
.navbar-nav a.active {
  color: var(--p-accent);
  background: var(--p-accent-light);
}
.navbar-nav a i { font-size: 0.75rem; opacity: 0.7; }
.navbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-user-info {
  text-align: right;
  display: none;
}
@media (min-width: 900px) { .navbar-user-info { display: block; } }
.navbar-user-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--p-text);
}
.navbar-user-email {
  font-size: 0.7rem;
  color: var(--p-text-muted);
}
.navbar-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--p-accent-light);
  border: 2px solid rgba(0,178,227,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--p-surface-2);
  border: 1px solid var(--p-border);
  border-radius: 8px;
  color: var(--p-text-muted);
  font-size: 0.82rem;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.btn-icon:hover { color: var(--p-text); background: var(--p-surface-3); }

/* ─── Back link ──────────────────────────────────────────────── */
.portal-back-link {
  margin-bottom: 24px;
}
.portal-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--p-text-muted);
  transition: color 0.2s;
  text-decoration: none;
}
.portal-back-link a:hover { color: var(--p-text); }

/* ─── Main Content ───────────────────────────────────────────── */
.portal-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px;
  min-height: calc(100vh - var(--navbar-h) - 80px);
}
.page-header { margin-bottom: 32px; }
.page-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--p-text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.page-subtitle {
  font-size: 0.95rem;
  color: var(--p-text-muted);
}
.accent-text { color: var(--p-accent); }
.balance-badge {
  color: var(--p-accent);
  font-weight: 600;
}

/* ─── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-1);
}
.card-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--p-border);
}
.card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--p-text);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-body { padding: 0; }

/* ─── Stats Grid ─────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,178,227,0.15), transparent);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: rgba(0,178,227,0.15);
}
.stat-card-accent { border-color: rgba(0,178,227,0.2); }
.stat-card-accent::before { background: linear-gradient(90deg, transparent, rgba(0,178,227,0.4), transparent); }
.stat-icon {
  width: 40px; height: 40px;
  background: var(--p-surface-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.stat-icon-credits { background: var(--p-accent-light); color: var(--p-accent); }
.stat-icon-gen     { background: rgba(168,85,247,0.1);  color: #c084fc; }
.stat-icon-history { background: rgba(59,130,246,0.1);  color: #60a5fa; }
.stat-icon-tier    { background: rgba(245,158,11,0.1);  color: #fbbf24; }
.stat-label {
  font-size: 0.72rem;
  color: var(--p-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--p-text);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-value.accent { color: var(--p-accent); }
.stat-info { font-size: 0.8rem; color: var(--p-text-muted); }

/* ─── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-free  { background: var(--p-surface-3); color: var(--p-text-muted); }
.badge-base  { background: var(--p-info-bg);   color: var(--p-info); }
.badge-pro   { background: var(--p-accent-light); color: var(--p-accent); }
.badge-success { background: var(--p-success-bg); color: var(--p-success); }
.badge-warning { background: var(--p-warning-bg); color: var(--p-warning); }
.badge-danger  { background: var(--p-danger-bg);  color: var(--p-danger); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: var(--p-accent);
  color: #fff;
  border: 2px solid var(--p-accent);
}
.btn-primary:hover:not(:disabled) {
  background: #00c8ff;
  border-color: #00c8ff;
  box-shadow: 0 0 20px var(--p-accent-glow);
  transform: translateY(-1px);
  color: #fff;
}
.btn-secondary {
  background: var(--p-surface-2);
  color: var(--p-text);
  border: 1px solid var(--p-border);
}
.btn-secondary:hover:not(:disabled) { background: var(--p-surface-3); color: var(--p-text); }
.btn-outline {
  background: transparent;
  color: var(--p-accent);
  border: 2px solid var(--p-accent);
}
.btn-outline:hover:not(:disabled) {
  background: var(--p-accent);
  color: #fff;
  box-shadow: 0 0 16px var(--p-accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--p-text-muted);
  border: 1px solid var(--p-border);
}
.btn-ghost:hover:not(:disabled) { color: var(--p-text); border-color: rgba(255,255,255,0.15); }
.btn-full { width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

/* ─── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--p-text);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--p-surface-2);
  border: 1px solid var(--p-border);
  border-radius: var(--r-md);
  color: var(--p-text);
  font-size: 0.9375rem;
  transition: all 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(0,178,227,0.5);
  box-shadow: 0 0 0 3px rgba(0,178,227,0.08);
}
.form-input::placeholder { color: var(--p-text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ─── Alerts ─────────────────────────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  display: flex;
  align-items: start;
  gap: 12px;
}
.alert-success { background: var(--p-success-bg); border-left: 3px solid var(--p-success); color: var(--p-success); }
.alert-error   { background: var(--p-danger-bg);  border-left: 3px solid var(--p-danger);  color: var(--p-danger); }
.alert-warning { background: var(--p-warning-bg); border-left: 3px solid var(--p-warning); color: var(--p-warning); }
.alert-info    { background: var(--p-info-bg);    border-left: 3px solid var(--p-info);    color: var(--p-info); }

/* ─── Auth Pages ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,178,227,0.06) 0%, transparent 60%), var(--p-bg);
}
.auth-card {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--r-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--sh-3), 0 0 60px rgba(0,178,227,0.04);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  background: rgba(0,178,227,0.08);
  border: 1px solid rgba(0,178,227,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--p-text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.auth-subtitle { font-size: 0.9rem; color: var(--p-text-muted); }
.auth-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--p-border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--p-text-muted);
}

/* ─── Progress Bar ───────────────────────────────────────────── */
.progress-bar {
  height: 6px;
  background: var(--p-surface-3);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--p-accent), #00D8FF);
  border-radius: 999px;
  transition: width 0.4s;
}

/* ─── Grid Layouts ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ─── Info Table (dashboard) ─────────────────────────────────── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--p-border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 12px 4px; font-size: 0.875rem; }
.info-label {
  color: var(--p-text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 40%;
  padding-right: 16px;
}

/* ─── Pricing Grid (credits) ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.pricing-card {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-color: rgba(0,178,227,0.2);
}
.pricing-card.featured {
  border-color: rgba(0,178,227,0.45);
  background: linear-gradient(160deg, rgba(0,178,227,0.07) 0%, var(--p-surface) 100%);
  box-shadow: 0 0 0 1px rgba(0,178,227,0.15);
}
.pricing-pack-icon {
  width: 52px; height: 52px;
  background: var(--p-surface-2);
  border: 1px solid var(--p-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-text-muted);
  font-size: 1.1rem;
  margin: 0 auto 16px;
}
.pricing-pack-icon-accent {
  background: var(--p-accent-light);
  border-color: rgba(0,178,227,0.25);
  color: var(--p-accent);
}
.pricing-name {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--p-text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-credits-big {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--p-text);
  line-height: 1;
}
.pricing-credits-label {
  font-size: 0.72rem;
  color: var(--p-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--p-accent);
  margin-bottom: 2px;
}
.pricing-per-credit {
  font-size: 0.75rem;
  color: var(--p-text-muted);
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}
.pricing-features li {
  padding: 7px 0;
  color: rgba(230,231,232,0.65);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--p-border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--p-accent); font-size: 0.7rem; flex-shrink: 0; }

/* ─── Credits Info Bar ───────────────────────────────────────── */
.credits-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 36px;
  padding: 18px 28px;
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--r-lg);
}
.credits-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 0.82rem;
  color: var(--p-text-muted);
}
.credits-info-divider {
  width: 1px;
  height: 24px;
  background: var(--p-border);
}
@media (max-width: 640px) {
  .credits-info-bar { flex-direction: column; }
  .credits-info-divider { width: 100%; height: 1px; }
}

/* ─── Image Gallery ──────────────────────────────────────────── */
.generation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.generation-card {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.generation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}
.generation-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--p-surface-2);
}
.generation-info { padding: 16px; }
.generation-prompt {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--p-text);
  margin-bottom: 8px;
}
.generation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--p-text-muted);
}

/* ─── Table ──────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--p-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--p-border);
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--p-text);
  font-size: 0.875rem;
}
tr:last-child td { border-bottom: none; }

/* ─── Spinner ────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Empty State ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 56px 24px; }
.empty-icon { font-size: 3rem; color: var(--p-text-muted); margin-bottom: 16px; opacity: 0.4; }
.empty-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--p-text); margin-bottom: 8px; }
.empty-text { font-size: 0.9rem; color: var(--p-text-muted); margin-bottom: 24px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.portal-footer {
  background: rgba(6,9,14,0.9);
  border-top: 1px solid var(--p-border);
  padding: 24px;
  margin-top: 64px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-text { font-size: 0.8rem; color: var(--p-text-muted); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 0.8rem; color: var(--p-text-muted); }
.footer-links a:hover { color: var(--p-text); }

/* ─── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--p-text-muted); }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-brand-sub { display: none; }
  .page-title { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .portal-main { padding: 24px 16px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
