/* ======================================================
   Orbitrex Peptides — Homepage Styles
   ====================================================== */

/* ======================================================
   HERO SECTION
   ====================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f0faf4 0%, #e8f7ee 30%, #eaf8f5 60%, #e6f3fa 100%);
  overflow: hidden;
  padding: 60px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: end;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 520px;
}

/* Value props columns */
.hero-props {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 80px;
}

.hero-prop {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #1a3c28;
}

.hero-prop-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.hero-prop-icon svg {
  width: 100%;
  height: 100%;
  color: #209d50;
}

/* Hero center */
.hero-center {
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: #209d50;
  color: #fff;
  padding: 10px 28px;
  border-radius: 200px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-heading {
  font-size: 28px;
  font-weight: 600;
  color: #1a3c28;
  margin-bottom: 24px;
}

.hero-vials {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* ======================================================
   DEDICATION SECTION
   ====================================================== */
.dedication {
  padding: 80px 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.dedication h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a3c28;
  margin-bottom: 24px;
}

.dedication h2 .accent { color: #209d50; }

.dedication p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* ======================================================
   PRODUCT FEATURES (vial close-up)
   ====================================================== */
.product-features {
  position: relative;
  background: linear-gradient(135deg, #f5fbf8 0%, #eef8f2 50%, #f0f9f5 100%);
  padding: 80px 0;
  overflow: hidden;
}

.product-features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: center;
}

.pf-text-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pf-item h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1a3c28;
  margin-bottom: 8px;
}

.pf-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.pf-visual {
  position: relative;
  text-align: center;
}

.pf-visual .vial-img {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 16px;
}

.pf-qr {
  position: absolute;
  bottom: -10px;
  right: 10px;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.pf-qr img { width: 100%; height: 100%; }

/* ======================================================
   MOLECULAR DOTS TRANSITION
   ====================================================== */
.molecular-transition {
  height: 200px;
  background: linear-gradient(180deg, #f0f9f5 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.molecular-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(32,157,80,0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
}

/* ======================================================
   BEST SELLING PRODUCTS
   ====================================================== */
.best-sellers {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a3c28;
}

.section-header h2 .accent { color: #209d50; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-card-image {
  position: relative;
  aspect-ratio: 5/6;
  overflow: hidden;
  background: #f9f9f9;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.product-card-atc {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 10px;
  background: #209d50;
  color: #fff;
  border-radius: 200px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.product-card:hover .product-card-atc {
  opacity: 1;
  transform: translateY(0);
}

.product-card-atc:hover { background: #1a8443; }

.product-card-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a3c28;
  margin-bottom: 6px;
}

.product-card-info .price {
  font-size: 18px;
  font-weight: 700;
  color: #209d50;
  margin-top: auto;
}

/* ======================================================
   WHAT SETS APART — CAROUSEL
   ====================================================== */
.sets-apart {
  padding: 80px 24px;
  background: #f7fbf9;
}

.sets-apart .section-header {
  justify-content: center;
  text-align: center;
}

.carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: #eaf5ef;
  border-radius: 16px;
}

.carousel-slide-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1a3c28;
  margin-bottom: 16px;
}

.carousel-slide-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.carousel-slide-image {
  border-radius: 12px;
  overflow: hidden;
}

.carousel-slide-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Carousel controls */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #209d50;
  background: transparent;
  transition: background 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: #209d50;
}

/* ======================================================
   FAQ SECTION
   ====================================================== */
.faq-section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-section .section-header {
  justify-content: center;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-item:first-child { border-top: 1px solid #e5e5e5; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a3c28;
  text-align: left;
  gap: 16px;
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #209d50;
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.faq-answer-inner a {
  color: #209d50;
  text-decoration: underline;
}

/* ======================================================
   RESPONSIVE — HOME
   ====================================================== */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 0;
  }

  .hero-props {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 0;
  }

  .hero-props:first-child { order: 1; }
  .hero-center { order: 0; }
  .hero-props:last-child { order: 2; }

  .hero-props .btn {
    align-self: center;
  }

  .product-features-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pf-visual { order: -1; }

  .carousel-slide {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .carousel-slide-image img { height: 240px; }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h2 { font-size: 28px; }
  .dedication h2 { font-size: 28px; }

  .hero-heading { font-size: 22px; }
  .hero-prop { font-size: 13px; padding: 12px 14px; }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-props { flex-direction: column; align-items: stretch; }
  .carousel-slide { padding: 20px; }
  .carousel-slide-text h3 { font-size: 22px; }
}
