@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=JetBrains+Mono:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ============================================================
   ARJ Finance — Main CSS
   ============================================================ */

:root {
  --navy:        #080e1d;
  --navy-2:      #0c1428;
  --navy-3:      #101c36;
  --silver:      #8faac8;
  --silver-2:    #c4d4e6;
  --gold:        #c49020;
  --gold-2:      #e8b840;
  --gold-dim:    #7a5810;
  --text:        #ccdaed;
  --text-dim:    #5a7899;
  --text-faint:  #2e4a6a;
  --border:      rgba(143,170,200,0.1);
  --border-gold: rgba(196,144,32,0.2);
  --red:         #e24b4a;
  --green:       #1d9e75;
  --amber:       #ef9f27;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;

  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 24px rgba(196,144,32,0.15);

  --nav-h:       64px;
  --max-w:       1280px;
  --content-w:   900px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--navy);
  color: var(--text);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body.dark { background-color: var(--navy); }

img, svg { display: block; max-width: 100%; }

a {
  color: var(--gold-2);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--silver-2);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }

code, pre {
  font-family: 'JetBrains Mono', monospace;
  background: var(--navy-3);
  border-radius: var(--radius-sm);
}
code { padding: 2px 6px; font-size: 0.85em; color: var(--gold-2); }
pre  { padding: 1rem; overflow-x: auto; border: 1px solid var(--border); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1   { gap: 0.5rem; }
.gap-2   { gap: 1rem; }
.gap-3   { gap: 1.5rem; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.gold  { color: var(--gold-2); }
.green { color: var(--green); }
.red   { color: var(--red); }
.amber { color: var(--amber); }
.silver{ color: var(--silver-2); }
.dim   { color: var(--text-dim); }
.faint { color: var(--text-faint); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   Navigation
   ============================================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,14,29,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--silver-2);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--gold-2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--silver-2);
  background: var(--border);
}
.nav-links a.active { color: var(--gold-2); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-user {
  position: relative;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  transition: border-color 0.2s;
}
.nav-user-btn:hover { border-color: var(--gold-dim); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: var(--shadow);
  display: none;
  overflow: hidden;
}
.nav-dropdown.open { display: block; }
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: var(--navy-3); color: var(--text); }
.nav-dropdown a.danger { color: var(--red); }
.nav-dropdown hr { margin: 0.25rem 0; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}

/* ============================================================
   Page Shell
   ============================================================ */
.page-shell {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(196,144,32,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(29,158,117,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.15;
  color: var(--silver-2);
  margin-bottom: 1.25rem;
  max-width: 800px;
}
.hero-title .gold { color: var(--gold-2); }

.hero-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search:focus-within {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 0;
}
.hero-search input::placeholder { color: var(--text-faint); }

.hero-search button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.6rem 1.4rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hero-search button:hover { background: var(--gold-2); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.stats-bar .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 3rem;
  border-right: 1px solid var(--border);
  flex: 1;
  min-width: 120px;
}
.stats-bar .stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-2);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* ============================================================
   Section Styles
   ============================================================ */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--navy-2);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--silver-2);
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-2); color: var(--navy); }

.btn-secondary {
  background: transparent;
  color: var(--silver-2);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--silver); color: var(--silver-2); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  padding: 0.4rem 0.8rem;
}
.btn-ghost:hover { color: var(--text); background: var(--border); }

.btn-danger {
  background: var(--red);
  color: #fff;
}
.btn-danger:hover { opacity: 0.85; }

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

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

/* ============================================================
   Pill / Chip
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.pill:hover {
  border-color: var(--gold-dim);
  color: var(--gold-2);
  background: rgba(196,144,32,0.08);
}
.pill.active {
  background: rgba(196,144,32,0.12);
  border-color: var(--gold);
  color: var(--gold-2);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(143,170,200,0.2);
  box-shadow: var(--shadow);
}

.card-gold {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, var(--navy-2), rgba(196,144,32,0.03));
}
.card-gold:hover { border-color: var(--gold-dim); }

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-outline {
  background: transparent;
  border: 1px solid currentColor;
}

.archetype-badge {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid currentColor;
  display: inline-block;
}

.status-stable      { color: var(--green); }
.status-caution     { color: var(--amber); }
.status-opportunity { color: var(--gold-2); }
.status-shift       { color: var(--red); }

/* ============================================================
   Alerts
   ============================================================ */
.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border-left: 3px solid;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}
.alert-danger { border-color: var(--red);   background: rgba(226,75,74,0.07);  }
.alert-warn   { border-color: var(--amber); background: rgba(239,159,39,0.07); }
.alert-info   { border-color: var(--silver);background: rgba(143,170,200,0.07);}

.alert-title {
  font-weight: 600;
  color: var(--silver-2);
  margin-bottom: 0.25rem;
}
.alert-body { color: var(--text-dim); }

/* ============================================================
   Forms
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-control {
  display: block;
  width: 100%;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(196,144,32,0.1);
}
.form-control::placeholder { color: var(--text-faint); }

select.form-control {
  cursor: pointer;
  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='%235a7899' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.35rem;
}

.form-error {
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 0.35rem;
}

/* ============================================================
   Modals
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,14,29,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
  animation: slideUp 0.25s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
}
.modal-close:hover { color: var(--text); }

/* ============================================================
   Toast Notifications
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  min-width: 260px;
  max-width: 380px;
  box-shadow: var(--shadow);
  animation: slideInRight 0.25s ease;
  font-size: 0.85rem;
}
.toast.success { border-color: var(--green); }
.toast.error   { border-color: var(--red); }
.toast.warn    { border-color: var(--amber); }

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.toast.success .toast-dot { background: var(--green); }
.toast.error   .toast-dot { background: var(--red); }
.toast.warn    .toast-dot { background: var(--amber); }
.toast:not(.success):not(.error):not(.warn) .toast-dot { background: var(--silver); }

/* ============================================================
   Spinner / Loading
   ============================================================ */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

.loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand { }
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.82rem; max-width: 240px; }

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.83rem;
  padding: 0.2rem 0;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-2); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(196,144,32,0.04) 0%, transparent 70%),
    var(--navy);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--navy-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--silver-2);
  text-decoration: none;
}

.auth-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4rem;
}
.auth-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.83rem;
  margin-bottom: 2rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-faint);
  font-size: 0.78rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-switch {
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--navy-2);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .stats-bar .stat { padding: 1rem 1.5rem; }

  .hero { padding: 3rem 1rem; }
  .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
  }
  .hero-search input { text-align: center; }
  .hero-search button { width: 100%; }
}
