﻿/* =====================================================
   ScanReady — Main Stylesheet
   ===================================================== */

:root {
  --blue:       #2563EB;
  --blue-dark:  #1D4ED8;
  --blue-light: #EFF6FF;
  --text:       #111827;
  --text-muted: #6B7280;
  --border:     #E5E7EB;
  --bg:         #FFFFFF;
  --bg-alt:     #F9FAFB;
  --success:    #10B981;
  --warning:    #F59E0B;
  --danger:     #EF4444;
  --radius:     8px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10);
  --nav-h:      64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

/* ── Container ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.logo-icon { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: var(--blue-light);
  text-decoration: none;
}

.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }

.btn-secondary { background: var(--bg-alt); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--border); }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }

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

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; }

.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ── Alerts / Flash ── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 16px;
  border-left: 4px solid transparent;
}
.alert-success { background: #F0FDF4; color: #166534; border-color: var(--success); }
.alert-error    { background: #FEF2F2; color: #991B1B; border-color: var(--danger); }
.alert-warning  { background: #FFFBEB; color: #92400E; border-color: var(--warning); }
.alert-info     { background: var(--blue-light); color: #1E40AF; border-color: var(--blue); }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
label .required { color: var(--danger); margin-left: 2px; }

input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
textarea { resize: vertical; min-height: 100px; }

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

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.card-title { font-size: 1.1rem; font-weight: 700; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th {
  text-align: left;
  padding: 10px 14px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-alt); }

.table-actions { display: flex; gap: 8px; align-items: center; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
  border-radius: 9999px;
}
.badge-blue    { background: var(--blue-light); color: var(--blue); }
.badge-green   { background: #F0FDF4; color: #166534; }
.badge-gray    { background: var(--bg-alt); color: var(--text-muted); }
.badge-yellow  { background: #FFFBEB; color: #92400E; }
.badge-red     { background: #FEF2F2; color: #991B1B; }

/* ── Page header ── */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  margin-bottom: 32px;
}
.page-header h1 { font-size: 1.75rem; }
.page-header p   { color: var(--text-muted); margin-top: 4px; }

/* ── Section spacing ── */
section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-title { font-size: 2rem; margin-bottom: 12px; }
.section-sub   { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; }

/* ══════════════════════════════════════
   HOMEPAGE
══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  padding: 96px 0 80px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 800px;
  margin: 0 auto 20px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 20px;
  font-size: .8rem;
  color: var(--text-muted);
}

/* Code format demo */
.code-demo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 32px;
  display: inline-block;
  margin: 40px auto 0;
  box-shadow: var(--shadow-md);
}
.code-demo-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 8px; }
.code-demo-value {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
}
.code-demo-value span { color: var(--blue); }
.code-bars {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: 12px;
  height: 32px;
  align-items: flex-end;
}
.code-bars .b { background: var(--text); border-radius: 1px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p   { font-size: .9rem; color: var(--text-muted); }

/* Use cases grid */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.use-case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: box-shadow .15s, transform .15s;
}
.use-case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.use-case-icon { font-size: 2rem; margin-bottom: 8px; }
.use-case-card h3 { font-size: .9rem; margin-bottom: 4px; }
.use-case-card p   { font-size: .8rem; color: var(--text-muted); }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 9999px;
}
.pricing-name { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 6px; }
.pricing-price { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-desc { color: var(--text-muted); font-size: .9rem; margin: 8px 0 20px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  padding: 6px 0;
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* FAQ */
.faq-list { margin-top: 32px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q {
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .95rem;
  user-select: none;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-top: 12px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* Comparison table */
.compare-table th, .compare-table td { padding: 14px 18px; }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross  { color: var(--danger);  font-weight: 700; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.cta-section p   { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1.05rem; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #F0F4FF; color: var(--blue-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ══════════════════════════════════════
   DASHBOARD
══════════════════════════════════════ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-h));
  align-items: start;
}
.sidebar {
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  min-height: calc(100vh - var(--nav-h));
  position: sticky;
  top: var(--nav-h);
}
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.sidebar-link:hover, .sidebar-link.active {
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.sidebar-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  padding: 12px 12px 4px;
  margin-top: 8px;
}
.main-content { padding: 32px; }

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.stat-label { font-size: .8rem; color: var(--text-muted); margin-bottom: 4px; }
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--text); }
.stat-sub   { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }

/* ── Barcode display ── */
.barcode-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: inline-block;
  text-align: center;
  max-width: 100%;
}
.barcode-wrap img,
.barcode-wrap svg { max-width: 100%; height: auto; }
.barcode-code {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-top: 8px;
}
.barcode-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; justify-content: center; }

/* ── Code detail ── */
.code-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.meta-item label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 2px; }
.meta-item p { font-weight: 600; }

/* ── Print label ── */
.label-preview {
  width: 3.5in;
  padding: 0.15in 0.2in;
  border: 1px dashed var(--border);
  border-radius: 6px;
  text-align: center;
  background: #fff;
  margin: 0 auto;
}
.label-preview .label-name { font-size: 11px; font-weight: 700; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.label-preview .label-sku  { font-size: 9px; color: var(--text-muted); margin-bottom: 6px; }
.label-preview .label-code { font-family: monospace; font-size: 10px; letter-spacing: .04em; margin-top: 4px; }
.label-preview .label-biz  { font-size: 8px; color: var(--text-muted); margin-top: 2px; }

/* ── Pagination ── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .85rem;
  text-decoration: none;
  transition: background .12s;
}
.page-btn:hover { background: var(--bg-alt); text-decoration: none; }
.page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── Disclaimer banner ── */
.disclaimer-banner {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: .85rem;
  color: #78350F;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.disclaimer-banner strong { flex-shrink: 0; }

/* ── Auth pages ── */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--bg-alt);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 4px; }
.auth-card .auth-sub { text-align: center; color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }
.auth-footer { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: 20px; }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
}
.empty-state h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.empty-state p   { font-size: .9rem; margin-bottom: 20px; }

/* ── Filter row ── */
.filter-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-row .form-group { margin: 0; }
.filter-row input,
.filter-row select { width: auto; min-width: 180px; }

/* ── Plan limit bar ── */
.plan-bar-wrap { margin-bottom: 16px; }
.plan-bar-header { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 4px; }
.plan-bar { height: 8px; background: var(--border); border-radius: 9999px; overflow: hidden; }
.plan-bar-fill { height: 100%; background: var(--blue); border-radius: 9999px; transition: width .4s; }
.plan-bar-fill.warn { background: var(--warning); }
.plan-bar-fill.full { background: var(--danger); }

/* ── Footer ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 48px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { color: #fff; font-size: 1.2rem; font-weight: 800; display: block; margin-bottom: 8px; }
.footer-tagline { font-size: .85rem; line-height: 1.5; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer-col a  { color: rgba(255,255,255,.6); font-size: .9rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-disclaimer { font-size: .8rem; margin-bottom: 6px; line-height: 1.5; }
.footer-copy       { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-sm     { font-size: .85rem; }
.text-mono   { font-family: 'Courier New', monospace; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ══════════════════════════════════════
   PRINT STYLES
══════════════════════════════════════ */
@media print {
  .navbar, .sidebar, .footer, .no-print, .btn { display: none !important; }
  body { font-size: 10pt; }
  .print-label {
    page-break-inside: avoid;
    width: 3.5in;
    height: 1.2in;
    border: 1px solid #000;
    padding: 6pt;
    margin: 4pt;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .print-label .l-name { font-size: 9pt; font-weight: bold; }
  .print-label .l-code { font-family: monospace; font-size: 8pt; letter-spacing: .04em; }
  .print-label .l-biz  { font-size: 7pt; color: #555; }
  .dashboard-layout { display: block; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    align-items: stretch;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
    z-index: 99;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-divider { display: none; }
  .nav-link.active { background: var(--blue-light); }
  .btn-sm { width: 100%; }

  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-content { padding: 20px; }

  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .container, .container-sm { padding: 0 16px; }
  .auth-card { padding: 28px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
