/* ===== ARTICLE PAGE SPECIFIC STYLES ===== */

/* ===== HERO SECTION ===== */
.article-hero {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://thumbs.dreamstime.com/b/flat-lay-modern-smart-gadgets-accessories-seamless-flat-lay-various-modern-smart-gadgets-including-smartwatches-360593362.jpg") center/cover no-repeat;
  opacity: 0.15;
}

.article-hero .overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.article-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.article-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #667eea;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: #f8f9fa;
}

.cta-btn.large {
  font-size: 1.2rem;
  padding: 18px 40px;
}

/* ===== MAIN CONTENT AREA ===== */
.article-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  padding: 0 20px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 2.2rem;
  color: #111;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-top: 10px;
}

/* ===== PRODUCT SECTION ===== */
.product-section {
  margin: 80px 0;
}

.secondary-section {
  margin: 60px 0;
  padding: 60px 0;
  background: #fff;
  border-radius: 20px;
}

/* ===== PRODUCT GRID - Main Products ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Product Image Container */
.product-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 25px;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

/* Badge Label */
.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff6b6b;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255,107,107,0.3);
}

/* Product Details */
.product-details {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-details h3 {
  font-size: 1.4rem;
  color: #111;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 700;
}

/* Features List with Checkmarks */
.features-list {
  list-style: none;
  margin: 15px 0;
  padding: 0;
}

.features-list li {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Product Description */
.product-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 15px 0;
  flex-grow: 1;
}

/* Product Footer - Rating & CTA */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
  flex-wrap: wrap;
}

.rating {
  font-size: 0.9rem;
  color: #ff9800;
  font-weight: 600;
}

/* Buy Button */
.buy-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  text-align: center;
}

.buy-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  margin: 80px 0;
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-radius: 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: #667eea;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-author strong {
  color: #111;
  font-size: 1rem;
}

.testimonial-author span {
  color: #999;
  font-size: 0.85rem;
}

/* ===== COMPACT PRODUCT CARDS (for secondary sections) ===== */
.product-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.product-card-compact {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.compact-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compact-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.compact-details {
  padding: 20px;
}

.compact-details h4 {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 10px;
  font-weight: 600;
}

.compact-details p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.compact-btn {
  display: inline-block;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.compact-btn:hover {
  color: #764ba2;
  transform: translateX(3px);
}

/* ===== FINAL CTA SECTION ===== */
.cta-section {
  margin: 80px 0;
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
  font-size: 0.9rem;
  margin: 60px auto 0;
  padding: 25px;
  color: #666;
  text-align: center;
  background: #f8f9fa;
  border-radius: 12px;
  max-width: 800px;
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN FOR ARTICLE PAGE ===== */

/* Tablet Screens */
@media (max-width: 768px) {
  .article-hero h1 {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .product-grid.compact {
    grid-template-columns: 1fr;
  }

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

  .cta-content h2 {
    font-size: 1.8rem;
  }
}

/* Mobile Screens */
@media (max-width: 480px) {
  .article-hero {
    height: 50vh;
    min-height: 350px;
  }

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

  .article-hero p {
    font-size: 0.95rem;
  }

  .cta-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .intro-section {
    font-size: 1rem;
  }

  .product-details h3 {
    font-size: 1.2rem;
  }

  .product-image {
    height: 250px;
  }

  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .buy-btn {
    width: 100%;
    text-align: center;
  }
}
