/* --------------------------
   GLOBAL STYLES
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

/* --------------------------
   NAVBAR
--------------------------- */
.product-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2196f3;
  color: #fff;
  padding: 1rem 2rem;
}

.product-navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.product-navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}




/* --------------------------
   HERO SECTION
--------------------------- */
.product-hero {
  background: url('./images/herobg.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
}

.product-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* --------------------------
   PRODUCT OVERVIEW
--------------------------- */
.product-overview {
  padding: 3rem 2rem;
}

.overview-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.overview-text {
  flex: 1;
}

.overview-image {
  flex: 1;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 25px;
}

.overview-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 25px;
}

/* --------------------------
   FEATURES SECTION
--------------------------- */
.product-features {
  background: #f5f5f5;
  padding: 4rem 2rem;
  text-align: center;
}

.product-features h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-box img {
  width: 50px;
  margin-bottom: 1rem;
}

.feature-box h3 {
  margin-bottom: 0.5rem;
}

/* --------------------------
   HOW IT WORKS
--------------------------- */
.how-it-works {
  padding: 4rem 2rem;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 2rem;
}

.work-container {
  display: flex;
  justify-content: center;
}

.work-image {
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
}

.work-text {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: left;
}

/* --------------------------
   BUY SECTION
--------------------------- */
.product-buy-section {
  background: #f5f6fb;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.buy-card {
  background: #fff;
  color: #333;
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  border-radius: 10px;
}

.buy-card h3.price {
  font-size: 2rem;
  margin: 1rem 0;
  color: #0077cc;
}

.buy-btn {
  display: inline-block;
  background: #0077cc;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background: #005fa3;
}

/* --------------------------
   FOOTER
--------------------------- */
.product-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* --------------------------
   RESPONSIVE DESIGN
--------------------------- */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .overview-content {
    flex-direction: column;
    text-align: center;
  }

  .overview-text,
  .overview-image {
    width: 100%;
  }

  .product-hero-content h1 {
    font-size: 2rem;
  }

  .product-hero-content p {
    font-size: 1rem;
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .product-navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .product-hero {
    display: none;
  }

  .product-hero-content h1 {
    font-size: 1.6rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .buy-card {
    width: 90%;
  }

  .work-text {
    text-align: center;
  }

  .overview-image img {
    max-width: 300px;
  }
}
