/* ==========================================================================
   OnlineBoost Ultra - Ultra Modern Clean Minimalist Design System
   Color Palette: Sleek Slate + Vibrant Royal Blue + Emerald Teal
   ========================================================================== */

/* Theme Custom Properties */
:root[data-theme="dark"] {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: #1f2937;
  --bg-card-hover: #2d3748;
  --bg-glass: rgba(17, 24, 39, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: #3b82f6;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-amber: #f59e0b;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.25);
  --modal-overlay-bg: rgba(3, 7, 18, 0.85);
}

:root[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-color: #e2e8f0;
  --border-hover: #2563eb;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent-blue: #2563eb;
  --accent-emerald: #059669;
  --accent-cyan: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-amber: #d97706;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(37, 99, 235, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
  --modal-overlay-bg: rgba(15, 23, 42, 0.6);
}

/* Base Reset & Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Sleek Minimalist Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1e293b, #0f172a);
  border-bottom: 1px solid var(--border-color);
  color: #f8fafc;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 500;
  position: relative;
  z-index: 100;
}
.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.new-badge {
  background: var(--accent-blue);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.725rem;
}
.announcement-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
}
.announcement-link:hover {
  text-decoration: underline;
}

/* Sleek Header Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.1;
}
.brand-name .highlight {
  color: var(--accent-blue);
}
.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Minimalist Search Box */
.search-box {
  position: relative;
  flex: 1;
  max-width: 440px;
}
.search-box input {
  width: 100%;
  padding: 0.6rem 2.8rem 0.6rem 2.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}
.search-box input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.search-shortcut {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 600;
  pointer-events: none;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 340px;
  overflow-y: auto;
  z-index: 200;
  padding: 0.4rem;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--text-primary);
}
.search-item:hover {
  background: var(--bg-card-hover);
}
.search-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 0.85rem;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Clean Minimal Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
}
.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-glow {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.btn-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-blue);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

/* Category Navigation Bar */
.category-nav {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}
.nav-scroll-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-scroll-container::-webkit-scrollbar { display: none; }
.nav-tab {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-tab:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}
.nav-tab.active {
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 600;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 300;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}
.mobile-drawer.hidden {
  display: none !important;
  pointer-events: none;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-search input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
}
.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
}
.drawer-link:hover {
  background: var(--bg-card-hover);
  color: var(--accent-blue);
}

/* Minimalist Hero Section */
.hero-section {
  position: relative;
  padding: 1rem 1.5rem 1.5rem;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}
.hero-glow { display: none; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Minimalist Stats Counter */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-blue);
}
.stat-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Layouts */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.section-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-tag {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-emerald);
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0.2rem;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Clean Minimal App Cards Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-lg);
}

.app-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
}
.gradient-1 { background: #2563eb; }
.gradient-2 { background: #4f46e5; }
.gradient-3 { background: #059669; }
.gradient-4 { background: #d97706; }
.gradient-5 { background: #0284c7; }
.gradient-6 { background: #6366f1; }

.app-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.app-tag {
  align-self: flex-start;
  font-size: 0.675rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
}
.app-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
}
.app-info p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.app-action {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: auto;
}

/* Service Directory Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.15rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.2s ease;
}
.service-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-icon-sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1rem;
}
.bookmark-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
}
.bookmark-toggle:hover, .bookmark-toggle.bookmarked {
  color: var(--accent-amber);
}

.service-card-body h4 {
  font-size: 0.975rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.service-card-body p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-color);
}
.service-cat-badge {
  font-size: 0.675rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: capitalize;
}
.service-link-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

/* Minimalist Jan Seva Spotlight */
.spotlight-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.govt-badge {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.spotlight-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.spotlight-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.925rem;
}
.spotlight-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-primary);
  font-size: 0.85rem;
}
.feature-item i {
  color: var(--accent-emerald);
}

.visual-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
}
.card-header-mock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-blue);
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-color);
}
.portal-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.portal-links-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.portal-links-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.tag-free {
  font-size: 0.625rem;
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-emerald);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 700;
}

/* Jobs Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
}
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.2s ease;
}
.job-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}
.job-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.job-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.type-govt { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.type-remote { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.type-private { background: rgba(59, 130, 246, 0.1); color: #2563eb; }

.job-title { font-size: 1.05rem; font-weight: 700; }
.job-company { font-size: 0.8rem; color: var(--text-muted); }

/* Downloads Grid */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.2s ease;
}
.download-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}
.download-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.download-info h4 { font-size: 0.9rem; font-weight: 600; }
.download-info span { font-size: 0.725rem; color: var(--text-muted); }
.download-btn {
  margin-left: auto;
  color: var(--accent-blue);
  font-size: 0.95rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* Modals System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--modal-overlay-bg);
  backdrop-filter: blur(8px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
}
.modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.modal-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.modal-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.modal-body {
  padding: 1.5rem;
}

/* Tool Forms */
.tool-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.tool-form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
}
.tool-input, .tool-select, .tool-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
}
.tool-input:focus, .tool-select:focus, .tool-textarea:focus {
  border-color: var(--accent-blue);
}

.tool-output-box {
  background: var(--bg-primary);
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-blue);
  color: var(--text-primary);
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
}

/* Footer Styling */
.main-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 1.5rem 1.75rem;
  margin-top: 3rem;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.brand-col p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.85rem 0 1.25rem;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 0.65rem;
}
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--accent-blue);
  color: #ffffff;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-col a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  z-index: 80;
  padding: 0.4rem 1rem;
  justify-content: space-around;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.675rem;
  font-weight: 500;
}
.nav-item i { font-size: 1rem; }
.nav-item.active, .nav-item:hover { color: var(--accent-blue); }

.mobile-only { display: none; }

@media (max-width: 1024px) {
  .hero-title { font-size: 2.2rem; }
  .spotlight-card { grid-template-columns: 1fr; padding: 1.75rem; }
  .footer-container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .search-box { display: none; }
  .mobile-only { display: flex; }
  .hero-title { font-size: 1.85rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .spotlight-features { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .mobile-bottom-nav { display: flex; }
  .main-content { padding-bottom: 4.5rem; }
}
