/* ================================
   RetroSuit — Utilities Tracking CSS
   ================================ */

/* --------- Root Variables --------- */
:root {
    --bg-dark: #0e0e12;
    --bg-card: #121212;
    --bg-accent: #1f1f27;
    --primary: #4f8cff;
    --text-main: #ffffff;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-light: 0 4px 14px rgba(0,0,0,0.3);
    --max-width: 1200px;
    --transition: 0.25s ease;
    --gap-section: 2rem;
    --font-base: "Poppins", sans-serif;
  }
  
  /* --------- Base Styles --------- */
  body {
    font-family: var(--font-base);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
  }
  
  h1,h2,h3,h4 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--text-main);
  }
  
  section {
    padding: 3rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
  }
  
  /* ================================
     Hero Section
     ================================ */
  .features-hero {
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    background: linear-gradient(180deg, #4f8cff14, transparent 80%);
    border-radius: 40px;
  }
  
  .features-hero h1 { font-size: 2.75rem; }
  
  .features-hero p {
    max-width: 680px;
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
    color: var(--text-main);
  }
  
  /* ================================
     Dashboard Section
     ================================ */
  .dashboard-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-section);
  }
  
  .dashboard-text h2 { font-size: 2rem; }
  .dashboard-text p { color: var(--text-main); }
  
  .dashboard-text .muted {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
  }
  
  /* ================================
     Utilities Highlights Section
     ================================ */
  .utilities-highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
  }
  
  .highlight-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-light);
    color: var(--text-main);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    flex: 1 1 220px;
    min-width: 180px;
  }
  
  .highlight-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  .highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  
  /* ================================
     Table Styles
     ================================ */
  .table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }
  
  .table th, .table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .table th {
    background: var(--bg-accent);
    font-weight: 600;
  }
  
  .table tbody tr:hover {
    background: rgba(79,140,255,0.05);
  }
  
  /* ================================
     Buttons
     ================================ */
  .btn, .btn-ghost {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    margin: 0.25rem 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
  }
  
  .btn {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 0 12px rgba(79,140,255,0.6), 0 0 24px rgba(79,140,255,0.3);
  }
  
  .btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(79,140,255,0.8), 0 0 32px rgba(79,140,255,0.45);
  }
  
  .btn-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
  }
  
  .btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(255,255,255,0.15), 0 0 24px rgba(255,255,255,0.1);
  }
  
  /* Active state for table switch buttons */
  .btn.active {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 0 12px rgba(79,140,255,0.6), 0 0 24px rgba(79,140,255,0.3);
  }
  
  .btn-ghost.active {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 0 12px rgba(79,140,255,0.6), 0 0 24px rgba(79,140,255,0.3);
  }
  
  /* ================================
     Dashboard Controls
     ================================ */
  .dashboard-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .search-input {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: none;
    background: var(--bg-card);
    color: #fff;
    flex: 1 1 200px;
  }
  
  /* ================================
     CTA Section
     ================================ */
  .cta {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-top: 3rem;
    background: linear-gradient(0deg, #4f8cff14, transparent 80%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
  }
  
  .cta .btn,
  .cta .btn-ghost {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem;
    border-radius: 10px;
  }
  
  /* ================================
     Responsive Adjustments
     ================================ */
  @media (max-width: 900px) {
    .features-hero h1 { font-size: 2.25rem; }
    .features-hero p { font-size: 1rem; }
    .dashboard-text h2 { font-size: 1.5rem; }
    .highlight-card { flex: 1 1 100%; }
  }
  
  @media (max-width: 768px) {
    .dashboard-section {
      grid-template-columns: 1fr;
    }
  }
  
  /* ================================
     Hidden Utility
     ================================ */
  .hidden {
    display: none !important;
  }
  