/* ==========================================================================
   IRONCORE - RESPONSIVE STYLES & MOBILE BOTTOM NAVIGATION
   ========================================================================== */

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
  flex: 1;
  padding: 6px 0;
  transition: var(--transition);
}
.bottom-nav-item i {
  font-size: 1.15rem;
}
.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--accent);
}

/* Tablet Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    max-width: 480px;
    margin: 0 auto;
  }
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }

  .nav-links {
    display: none;
  }

  .app-sidebar {
    transform: translateX(-100%);
    width: 260px;
  }
  .app-sidebar.show {
    transform: translateX(0);
  }

  .header-toggle-btn {
    display: block;
  }

  .app-main {
    margin-left: 0;
    padding-bottom: 72px; /* space for bottom nav */
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .page-body {
    padding: 20px 16px;
  }

  .app-header {
    padding: 0 16px;
  }

  .auth-container {
    grid-template-columns: 1fr;
  }
  .auth-banner {
    display: none;
  }
  .auth-form-side {
    padding: 32px 20px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
