/* ============================================================
   MetriTek — Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variabili ──────────────────────────────────────────────── */
:root {
  --primary:       #2563EB;
  --primary-dark:  #1D4ED8;
  --primary-light: #EFF6FF;
  --indigo:        #4F46E5;
  --accent:        #F59E0B;
  --success:       #10B981;
  --danger:        #EF4444;
  --dark:          #0A0F1E;
  --dark-800:      #111827;
  --dark-700:      #1F2937;
  --dark-600:      #374151;
  --gray-400:      #9CA3AF;
  --gray-300:      #D1D5DB;
  --gray-200:      #E5E7EB;
  --gray-100:      #F3F4F6;
  --gray-50:       #F9FAFB;
  --text:          #111827;
  --text-muted:    #6B7280;
  --white:         #FFFFFF;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 20px 48px rgba(0,0,0,.14);
  --transition:    .2s ease;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ── Utilità ────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 15px; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-yellow { background: #FEF3C7; color: #92400E; }
.badge-red { background: #FEE2E2; color: #991B1B; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,235,.1); color: var(--primary);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .3px; margin-bottom: 16px;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.navbar__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--primary);
  text-decoration: none;
}
.navbar__logo-icon {
  width: 36px; height: 36px; background: var(--primary); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.navbar__logo-icon svg { width: 20px; height: 20px; }
.navbar__nav { display: flex; align-items: center; gap: 8px; }
.navbar__link {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 500; color: var(--text-muted); transition: var(--transition);
}
.navbar__link:hover, .navbar__link.active { color: var(--primary); background: var(--primary-light); }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
.navbar__toggle { display: none; padding: 8px; border-radius: var(--radius-sm); }
.navbar__toggle svg { width: 24px; height: 24px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  background-image: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.15) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(79,70,229,.12) 0%, transparent 60%);
  padding: 100px 0 80px; overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero__content { color: var(--white); }
.hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -1px;
}
.hero__title .gradient {
  background: linear-gradient(135deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 18px; color: rgba(255,255,255,.70); line-height: 1.7;
  margin-bottom: 36px; max-width: 480px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: 13px;
}
.hero__trust-divider { width: 1px; height: 12px; background: rgba(255,255,255,.2); }

/* App Mockup */
.hero__mockup {
  background: var(--dark-800); border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.mockup-titlebar {
  background: var(--dark-700); padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-titlebar-text {
  margin-left: 8px; font-size: 12px; color: rgba(255,255,255,.3);
  flex: 1; text-align: center;
}
.mockup-toolbar {
  background: var(--dark-800); padding: 8px 16px;
  display: flex; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-toolbar-btn {
  background: var(--dark-700); color: rgba(255,255,255,.5);
  padding: 4px 10px; border-radius: 4px; font-size: 11px;
}
.mockup-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.mockup-table th {
  background: rgba(37,99,235,.15); color: rgba(255,255,255,.5);
  padding: 7px 10px; text-align: left; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06); font-size: 10px; text-transform: uppercase;
}
.mockup-table td {
  padding: 6px 10px; color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mockup-table tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.mockup-table .amount { color: #60A5FA; font-weight: 600; text-align: right; }
.mockup-footer {
  padding: 8px 16px; background: rgba(37,99,235,.1);
  display: flex; justify-content: flex-end; gap: 16px;
  border-top: 1px solid rgba(255,255,255,.06); font-size: 11px;
}
.mockup-total { color: rgba(255,255,255,.5); }
.mockup-total strong { color: #60A5FA; font-size: 13px; }

/* ── Stats bar ───────────────────────────────────────────────── */
.stats {
  background: var(--primary); padding: 28px 0;
}
.stats__inner {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
}
.stats__item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 40px; color: white;
}
.stats__item + .stats__item { border-left: 1px solid rgba(255,255,255,.25); }
.stats__num { font-size: 28px; font-weight: 800; }
.stats__label { font-size: 13px; opacity: .85; line-height: 1.3; }

/* ── Sezioni generali ────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--gray { background: var(--gray-50); }
.section__header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; color: var(--text); letter-spacing: -.5px; margin-bottom: 12px; }
.section__subtitle { font-size: 17px; color: var(--text-muted); line-height: 1.7; }

/* ── Features ────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--primary); }
.feature-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.feature-icon { margin: 0 auto 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── How it works ────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 28px; left: 15%; right: 15%; height: 2px;
  background: var(--gray-200); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: white; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 0 0 6px var(--primary-light);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 48px;
}
.pricing-toggle span { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.pricing-toggle span.active { color: var(--text); }
.toggle-switch {
  position: relative; width: 52px; height: 28px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--primary);
  border-radius: 999px; cursor: pointer; transition: var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute; width: 20px; height: 20px;
  background: white; border-radius: 50%; top: 4px; left: 4px;
  transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }
.pricing-save { background: var(--success); color: white; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.pricing-card {
  background: var(--white); border: 2px solid var(--gray-200);
  border-radius: var(--radius); padding: 36px; position: relative;
  transition: var(--transition);
}
.pricing-card--popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.pricing-popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; padding: 4px 16px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.pricing-card__name { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.pricing-card__price { margin-bottom: 4px; }
.pricing-card__amount { font-size: 48px; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-card__period { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.pricing-card__yearly-note { font-size: 13px; color: var(--success); font-weight: 500; margin-bottom: 20px; min-height: 18px; }
.pricing-card__desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }
.pricing-card__features { margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 1px; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 28px;
}
.stars { color: var(--accent); font-size: 16px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: white; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  background: var(--dark);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.2) 0%, transparent 70%);
  padding: 100px 0; text-align: center; color: white;
}
.cta-section h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -.5px; }
.cta-section p { font-size: 18px; opacity: .7; margin-bottom: 36px; }
.cta-section__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--dark-800); color: rgba(255,255,255,.6); padding: 60px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand { }
.footer__brand-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: white; margin-bottom: 12px; }
.footer__brand-desc { font-size: 13px; line-height: 1.7; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer__link { display: block; font-size: 14px; padding: 4px 0; transition: color var(--transition); }
.footer__link:hover { color: white; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer__copy { font-size: 13px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 13px; }
.footer__legal a:hover { color: white; }

/* ── Dashboard ───────────────────────────────────────────────── */
.dashboard { min-height: 100vh; background: var(--gray-50); }
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 68px); }
.dashboard-sidebar {
  background: var(--white); border-right: 1px solid var(--gray-200);
  padding: 24px 0;
}
.sidebar-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 24px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); transition: var(--transition); cursor: pointer;
}
.sidebar-nav-item:hover, .sidebar-nav-item.active {
  color: var(--primary); background: var(--primary-light);
}
.sidebar-nav-item svg { width: 18px; height: 18px; }
.sidebar-section { padding: 8px 24px 4px; font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .5px; margin-top: 8px; }
.dashboard-main { padding: 32px; overflow: auto; }
.dashboard-header { margin-bottom: 28px; }
.dashboard-header h1 { font-size: 24px; font-weight: 800; color: var(--text); }
.dashboard-header p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 20px 24px;
}
.stat-card__label { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
.stat-card__value { font-size: 28px; font-weight: 800; color: var(--text); }

.license-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 24px; margin-bottom: 16px;
}
.license-card__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.license-key {
  font-family: monospace; font-size: 18px; font-weight: 700;
  color: var(--primary); letter-spacing: 1px;
  background: var(--primary-light); padding: 6px 14px; border-radius: var(--radius-sm);
  cursor: pointer; user-select: all;
}
.license-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.license-meta-item { font-size: 13px; }
.license-meta-item label { font-weight: 600; color: var(--text-muted); }
.license-meta-item span { color: var(--text); margin-left: 4px; }

.machines-list { }
.machine-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--gray-100);
}
.machine-item:last-child { border-bottom: none; }
.machine-info { display: flex; align-items: center; gap: 10px; }
.machine-icon {
  width: 32px; height: 32px; background: var(--gray-100); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.machine-icon svg { width: 16px; height: 16px; color: var(--text-muted); }
.machine-name { font-size: 14px; font-weight: 600; }
.machine-date { font-size: 12px; color: var(--text-muted); }
.machine-remove { color: var(--danger); font-size: 13px; font-weight: 500; background: none; border: none; cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.machine-remove:hover { background: #FEE2E2; }

/* ── Form / Auth ─────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gray-50); padding: 24px; }
.auth-card { background: var(--white); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 28px; }
.auth-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: white;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-error { display: none; font-size: 12px; color: var(--danger); margin-top: 4px; }
.form-error.show { display: block; }
.form-link { font-size: 13px; color: var(--primary); }
.form-link:hover { text-decoration: underline; }
.form-footer { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 20px; }
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px;
  margin-bottom: 18px; display: none;
}
.alert.show { display: block; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.btn-block { width: 100%; justify-content: center; }

/* ── Download page ───────────────────────────────────────────── */
.download-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 32px; text-align: center;
  max-width: 500px; margin: 0 auto;
}
.download-icon { font-size: 56px; margin-bottom: 16px; }
.version-badge { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }

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

/* ── Toast ───────────────────────────────────────────────────── */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--dark-800); color: white; padding: 12px 18px;
  border-radius: var(--radius-sm); font-size: 14px; box-shadow: var(--shadow-lg);
  animation: slideUp .25s ease; min-width: 220px;
  display: flex; align-items: center; gap: 8px;
}
.toast--success { border-left: 4px solid var(--success); }
.toast--error { border-left: 4px solid var(--danger); }
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__mockup { display: none; }
  .hero { padding: 64px 0 56px; }
  .stats__inner { gap: 0; }
  .stats__item { padding: 12px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .stat-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: white;
    border-bottom: 1px solid var(--gray-200); padding: 12px;
    box-shadow: var(--shadow);
  }
}
