/* ============================================================
   Confere.com.br — Design System & Custom Styles
   Mobile-first · Dark sidebar · Clean modern UI
   ============================================================ */

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

/* ---- CSS Custom Properties (Palette) ---- */
:root {
  /* Primary */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --primary-50: #eff6ff;

  /* Sidebar */
  --sidebar-bg: #0f172a;
  --sidebar-hover: #1e293b;
  --sidebar-text: #94a3b8;
  --sidebar-active: #3b82f6;
  --sidebar-width: 260px;

  /* Surfaces */
  --bg: #f1f5f9;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Status */
  --success: #22c55e;
  --success-bg: #dcfce7;
  --warning: #f59e0b;
  --warning-bg: #fef3c7;
  --danger: #ef4444;
  --danger-bg: #fee2e2;
  --info: #06b6d4;
  --info-bg: #cffafe;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Sidebar Layout ---- */
.wrapper {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-brand .brand-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sidebar-brand .brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--sidebar-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-brand .brand-icon-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: contain;
}

.sidebar-brand .brand-logo {
  height: 22px;
  object-fit: contain;
  display: block;
}

/* Sidebar Nav */
.sidebar-nav {
  flex: 1;
  padding: 12px 12px;
  list-style: none;
  margin: 0;
}

.sidebar-nav .nav-label {
  padding: 16px 12px 6px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sidebar-text);
  opacity: 0.5;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 2px;
  color: var(--sidebar-text);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.sidebar-nav li a:hover {
  background: var(--sidebar-hover);
  color: #e2e8f0;
}

.sidebar-nav li a.active,
.sidebar-nav li a.active-link {
  background: rgba(59, 130, 246, 0.12);
  color: var(--sidebar-active);
}

.sidebar-nav li a i,
.sidebar-nav li a .fa {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Sidebar Footer / User */
.sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  color: var(--sidebar-text);
}

.sidebar-user .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-user .user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user .user-info .name {
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user .user-info .role {
  font-size: 0.7rem;
  color: var(--sidebar-text);
}

/* Content Area */
.content-area {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Bar (mobile heading area) */
.top-bar {
  display: none;
  background: var(--card-bg);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1020;
}

/* Page Content */
.page-content {
  flex: 1;
  padding: 24px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Container inside page-content should fill width */
.page-content .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ---- Overlay (mobile sidebar) ---- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1035;
}

.sidebar-overlay.show { display: block; }

/* ---- Hamburger ---- */
.hamburger {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- Cards ---- */
.card {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.card:hover { box-shadow: var(--shadow); }

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.card-body { padding: 20px; }

.card-footer {
  background: transparent;
  border-top: 1px solid var(--border);
  padding: 12px 20px;
}

/* ---- Buttons ---- */
.btn {
  font-weight: 500;
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

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

.btn-success {
  background: var(--success);
  border-color: var(--success);
}

.btn-warning {
  background: var(--warning);
  border-color: var(--warning);
  color: #fff;
}

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

.btn-info {
  background: var(--info);
  border-color: var(--info);
  color: #fff;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-sm { padding: 5px 12px; font-size: 0.78rem; }
.btn-lg { padding: 12px 28px; font-size: 1rem; }

/* ---- Forms ---- */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: 0.85rem;
  font-family: var(--font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--danger);
}

.form-label {
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

/* ---- Tables ---- */
.table {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.table th {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
  padding: 10px 8px;
}

.table td {
  padding: 10px 8px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.table-striped tbody tr:nth-of-type(odd) {
  background: rgba(0,0,0,0.015);
}

.table-responsive { border-radius: var(--radius); }

/* ---- Badges ---- */
.badge {
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
}

.badge-success { background: var(--success-bg); color: #15803d; }
.badge-warning { background: var(--warning-bg); color: #92400e; }
.badge-danger  { background: var(--danger-bg); color: #b91c1c; }
.badge-info    { background: var(--info-bg); color: #0e7490; }
.badge-primary { background: var(--primary-light); color: #1d4ed8; }

/* ---- Card helpers (Bootstrap 4 lacks gap) ---- */
.gap-1 { gap: 0.25rem !important; }
.gap-3 { gap: 1rem !important; }

.min-width-0 { min-width: 0; }

/* ---- Batch Cards ---- */
.card-batch {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card-batch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.card-batch-danger::before  { background: var(--danger); }
.card-batch-critical::before { background: var(--danger); }
.card-batch-warning::before  { background: var(--warning); }
.card-batch-ok::before       { background: var(--success); }

.card-batch .card-body {
  padding-left: 20px;
}

.card-batch-code {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.card-batch-product {
  font-size: 0.85rem;
}

.card-batch .border-top {
  border-color: var(--border) !important;
}

/* Acoes em linha sem quebra */
.card-batch .gap-1 {
  gap: 0.25rem !important;
}

.card-batch .gap-3 {
  gap: 1rem !important;
}

/* ---- Pagination Modern ---- */
.pagination-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-modern .page-item { margin: 0; }

.pagination-modern .page-link {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 100px;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.pagination-modern .page-link:hover {
  color: var(--text);
  background: var(--bg);
  border-color: var(--border);
}

.pagination-modern .page-item.active .page-link {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.pagination-modern .page-item.disabled .page-link {
  opacity: 0.35;
  pointer-events: none;
  background: transparent;
}

.pagination-modern .page-link-dots {
  border: none !important;
  background: transparent !important;
  letter-spacing: 2px;
  color: var(--text-secondary);
  padding: 8px 6px;
}

.pagination-modern .page-item:first-child .page-link,
.pagination-modern .page-item:last-child .page-link {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* Compact prev/next on mobile — just icon */
@media (max-width: 575.98px) {
  .pagination-modern .page-link {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .pagination-modern .page-link-prev,
  .pagination-modern .page-link-next {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

/* ---- Alerts ---- */
.alert {
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.alert-success { background: var(--success-bg); color: #15803d; }
.alert-warning { background: var(--warning-bg); color: #92400e; }
.alert-danger  { background: var(--danger-bg); color: #b91c1c; }
.alert-info    { background: var(--info-bg); color: #0e7490; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: transparent;
  padding: 0 0 16px;
  margin: 0;
}

.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-secondary); }

/* ---- Cards dashboard status ---- */
.card.bg-danger,
.card.bg-warning,
.card.bg-success,
.card.bg-info {
  border-radius: var(--radius-lg);
}

.card.bg-danger { background: var(--danger) !important; }
.card.bg-warning { background: var(--warning) !important; color: #1e293b !important; }
.card.bg-success { background: var(--success) !important; }
.card.bg-info { background: var(--info) !important; }

/* ---- Login Page ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 20px;
}

.login-card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

.login-card .login-header {
  padding: 32px 32px 0;
  text-align: center;
}

.login-card .login-header .logo {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.login-card .login-header h4 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.login-card .login-header p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.login-card .login-body {
  padding: 24px 32px 32px;
}

.login-card .form-control {
  padding: 11px 14px;
  font-size: 0.9rem;
}

.login-card .btn {
  padding: 12px;
  font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .content-area {
    margin-left: 0;
  }

  .top-bar {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .top-bar .page-title {
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-content {
    padding: 12px;
  }

  /* Hide columns marked for desktop-only */
  .hide-mobile { display: none !important; }

  .card-body { padding: 14px; }
  .card-header { padding: 12px 14px; }

  .display-4 { font-size: 1.8rem; }

  /* Bottom nav padding */
  .content-area {
    padding-bottom: 72px;
  }

  /* Force table rows inside .row grid to not overflow */
  .row [class*="col-"].text-center {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 768px) {
  .sidebar {
    transform: translateX(0) !important;
  }

  .hamburger { display: none; }
  .sidebar-overlay { display: none !important; }
  .top-bar { display: none !important; }
}

/* ---- Scrollbar ---- */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* ---- Page title helper ---- */
.page-title-text {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* ---- Small tweaks ---- */
hr { border-color: var(--border); }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
.text-muted { color: var(--text-secondary) !important; }
textarea.form-control { min-height: 80px; }
select.form-control { -webkit-appearance: auto; }
.img-thumbnail { border-color: var(--border); border-radius: var(--radius); }

/* ============================================================
   PUBLIC PAGES — Home, Planos, Contatos
   ============================================================ */

/* Navbar pública */
.public-navbar {
  background: rgba(15, 23, 42, 0.98);
  padding: 0 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.public-navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.public-navbar .nav-brand .brand-icon-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.public-navbar .nav-brand .brand-logo {
  height: 28px;
  object-fit: contain;
}
.public-navbar .nav-brand .brand-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.public-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.public-navbar .nav-links a {
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.public-navbar .nav-links a:hover,
.public-navbar .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.public-navbar .nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero Section */
.public-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: left;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  padding: 80px 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.public-hero[style*="background-image"] {
  background-blend-mode: overlay;
  background-color: #343d52;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1;
}

.public-hero > div {
  position: relative;
  z-index: 2;
}

.public-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.public-hero h1 span {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.public-hero p {
  font-size: 1.15rem;
  color: #dadcde;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.public-hero .hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.public-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.public-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: 1.4rem;
}

.feature-card h5 { font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1.5px solid var(--border);
  transition: box-shadow 0.2s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
  transform: scale(1.03);
}

.pricing-card .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-card h3 { font-weight: 700; margin-bottom: 4px; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; color: var(--text); }
.pricing-card .price small { font-size: 0.9rem; font-weight: 400; color: var(--text-secondary); }
.pricing-card .description { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.pricing-card ul li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.pricing-card ul li i {
  color: var(--success);
  width: 20px;
  margin-right: 8px;
}

/* Contact Form */
.contact-section {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto;
}

.contact-section .form-group {
  margin-bottom: 20px;
}

/* Footer */
.public-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 24px;
  text-align: center;
  font-size: 0.82rem;
}

.public-footer a { color: #e2e8f0; }
.public-footer a:hover { color: #fff; }

/* Mobile */
@media (max-width: 767.98px) {
  .public-navbar .nav-links { display: none; }
  .public-navbar .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0f172a;
    padding: 12px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .public-hero { padding: 100px 16px 40px; }
  .public-hero h1 { font-size: 1.8rem; }
  .public-hero p { font-size: 1rem; }
  .public-section { padding: 48px 16px; }
  .public-section h2 { font-size: 1.5rem; margin-bottom: 32px; }
  .pricing-card.featured { transform: none; }
  .contact-section { padding: 24px; }
}

/* ---- Mobile Bottom Nav ---- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--sidebar-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px 0 env(safe-area-inset-bottom, 4px);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 4px 4px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 500;
  transition: color 0.15s;
  min-width: 0;
  flex: 1;
  position: relative;
}

.bottom-nav-item i {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.15s;
}

.bottom-nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 0.55rem;
  letter-spacing: 0.02em;
}

.bottom-nav-item:hover,
.bottom-nav-item:focus {
  color: #e2e8f0;
  text-decoration: none;
}

.bottom-nav-item:hover i {
  transform: translateY(-1px);
}

.bottom-nav-item.active {
  color: #fff;
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 0 0 2px 2px;
}

.bottom-nav-item.active i {
  transform: translateY(-1px);
}

