/* Centered Text Section - Reusable Component */
.text-section {
  background: transparent;
  padding: 80px 20px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Text section heading now uses .section-title class */

.text-section-description {
  font-size: 1.1rem;
  font-weight: 400;
  color: #555;
  margin: 0 auto;
  line-height: 1.6;
  max-width: 800px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive adjustments for text section */
@media (max-width: 768px) {
  .text-section {
    padding: 60px 20px;
    margin-top: 80px !important; /* Add more spacing from video area on device view */
  }
  
  
  .text-section-description {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .text-section {
    padding: 40px 15px;
    margin-top: 60px !important; /* Add more spacing from video area on small device view */
  }
  
  
  .text-section-description {
    font-size: 0.95rem;
    padding: 0;
  }
}

/* Product Card Section - Matching Image Design */
/* Width matches gmail-interface (.gmail-container has margin: 0 20px 20px 20px) */
.product-card {
  background: white;
  border-radius: 16px;
  padding: 50px 40px;
  width: calc(100% - 40px); /* Matches gmail-container width: 100% minus 20px margin on each side */
  margin: 60px 20px 40px 20px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 30px;
  min-height: 400px;
}

.product-card-image {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.product-device-image {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
  object-fit: contain;
}

.product-card-info {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
}

.product-card-name {
  font-size: 2.75rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.product-card-description {
  font-size: 1.15rem;
  font-weight: 400;
  color: #666;
  margin: 0;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.product-card-price {
  font-size: 1.1rem;
  font-weight: 400;
  color: #666;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.product-card-cta {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.btn-learn-more {
  background: #1976d2;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-learn-more:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.3);
}

.btn-contact-us {
  background: white;
  color: #1976d2;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #1976d2;
  cursor: pointer;
  display: inline-block;
}

.btn-contact-us:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for product card */
/* Matches gmail-container responsive margins */
@media (max-width: 768px) {
  .product-card {
    padding: 30px 20px;
    width: calc(100% - 32px); /* Matches gmail-container: 100% minus 16px margin on each side */
    margin: 40px 16px 20px 16px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }
  
  .product-card-image {
    grid-column: 1;
    grid-row: 1;
  }
  
  .product-card-info {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }
  
  .product-card-cta {
    grid-column: 1;
    grid-row: 3;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 20px;
  }
  
  .product-card-name {
    font-size: 2rem;
  }
  
  .product-card-description {
    font-size: 1rem;
  }
  
  .product-device-image {
    width: 200px;
  }
  
  .btn-learn-more,
  .btn-contact-us {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .product-card {
    padding: 25px 15px;
    width: calc(100% - 24px); /* Matches gmail-container: 100% minus 12px margin on each side */
    margin: 30px 12px 20px 12px;
  }
  
  .product-card-name {
    font-size: 1.75rem;
  }
  
  .product-card-description {
    font-size: 0.95rem;
  }
  
  .product-device-image {
    width: 150px;
  }
  
  .product-card-cta {
    flex-direction: column;
  }
  
  .btn-learn-more,
  .btn-contact-us {
    width: 100%;
  }
}

