/* ================================
   RetroSuit — RetroWalker Hardware 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;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 5rem 1.5rem 3rem;
    background: linear-gradient(180deg, var(--primary)10, transparent 80%);
    border-radius: 40px;
    text-align: center;
  }
  
  .hardware-hero h1 {
    font-size: 3rem;
  }
  
  .hardware-hero p {
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
    color: var(--text-main);
  }
  
  .hardware-hero .btn {
    background: var(--primary);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(79,140,255,0.5);
    transition: transform var(--transition), box-shadow var(--transition);
  }
  
  .hardware-hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(79,140,255,0.7);
  }
  
  /* ================================
     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);
  }
  
  .retrowalker-img {
    width: 260px;      /* adjust size */
    height: auto;
    border-radius: 14px;   /* smooth corners */
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); /* soft shadow */
    object-fit: contain;
  }
  
  /* ================================
     How It Works Workflow Cards
     ================================ */
  .hardware-how-it-works {
    text-align: center;
  }
  
  .hardware-how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .workflow-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .workflow-cards .card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    width: 250px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
  }
  
  .workflow-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
  }
  
  .workflow-cards .card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  /* ================================
     Device Mockup Section
     ================================ */
  .hardware-mockup {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-top: var(--gap-section);
  }
  
  .hardware-mockup .mockup-image img {
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .hardware-mockup .mockup-info {
    max-width: 450px;
  }
  
  .hardware-mockup .mockup-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hardware-mockup .mockup-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
  }
  
  /* ================================
     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 .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;
    }
    .hardware-mockup {
      flex-direction: column;
    }
    .workflow-cards {
      flex-direction: column;
    }
  }
  
  @media (max-width: 768px) {
    .hardware-hero {
      flex-direction: column;
      text-align: center;
    }
    .hardware-mockup .mockup-info,
    .hardware-mockup .mockup-image img {
      max-width: 100%;
    }
  }

  .hardware-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    background-color: #0e0e12; /* optional: hero background */
    min-height: 500px;
  }
  
  .hero-content {
    max-width: 50%;
    text-align: left;
    color: #fff;
  }
  
  .hero-image img {
    max-width: 400px; /* adjust as needed */
    height: auto;
    border-radius: 20px;
    z-index: 1;
  }
  
  .cta .price {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff; /* adjust depending on your CTA background */
}

.cta .price-subtext {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.hardware-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  /* Reduce the height */
  padding: 2rem 2rem;      /* You can drop this even lower if needed */
}

.overview-text {
  flex: 1;
}

.overview-image {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.retrowalker-img {
  max-width: 260px;        /* Shrink image */
  height: auto;
  border-radius: 12px;     /* optional for smooth look */
}
