/* ================================
   RetroSuit — Hardware Pages CSS
   ================================ */

/* --------- Root Variables --------- */
:root {
    --bg-dark: #0e0e12;
    --bg-card: #121212;
    --bg-accent: #1f1f27;
    --primary: #4f8cff;
    --accent-light: #4f8cff33;
    --text-main: #ffffff;
    --text-muted: #d0d0d0;
    --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);
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  
  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
     ================================ */
  .hardware-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 80px 10%;
    background-color: var(--bg-dark);
    min-height: 500px;
    border-radius: 40px;
  }
  
  .hero-content {
    max-width: 50%;
    text-align: left;
    color: var(--text-main);
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--text-muted);
  }
  
  .hero-image img {
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    z-index: 1;
  }
  
  /* ================================
     Overview Section
     ================================ */
  .hardware-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-section);
    align-items: center;
    background: var(--bg-accent);
    border-radius: var(--radius);
    padding: 3rem 2rem;
  }
  
  .hardware-overview .overview-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hardware-overview .overview-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
  }
  
  .hardware-overview .overview-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .hardware-overview .overview-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.8);
  }
  
  /* ================================
     CTA Section
     ================================ */
  .cta {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-top: 3rem;
    background: linear-gradient(0deg, var(--primary)10, transparent 80%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
  }
  
  .cta p {
    margin-bottom: 1rem;
    color: var(--text-muted);
  }
  
  .cta .btn,
  .cta .btn-ghost {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem;
    border-radius: 10px;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    color: #fff;
  }
  
  .cta .btn {
    background: var(--primary);
    box-shadow: 0 0 12px rgba(79,140,255,0.6);
  }
  
  .cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(79,140,255,0.8);
  }
  
  .cta .btn-ghost {
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.9);
  }
  
  .cta .btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
    color: #fff;
  }
  
  /* ================================
     Responsive Adjustments
     ================================ */
  @media (max-width: 900px) {
    .hardware-overview {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }
  
  @media (max-width: 768px) {
    .hardware-hero {
      flex-direction: column;
      text-align: center;
    }
    .hero-content {
      max-width: 100%;
    }
    .hardware-overview {
      text-align: center;
    }
  }
  