/* =========================================
   HOMEPAGE STYLES
   ========================================= */

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8fdf5 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 20px 0;
}
.hero-content h1 strong {
  color: var(--green);
}
.hero-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 30px;
}
.actions {
  display: flex;
  gap: 15px;
}

/* Hero Visual & Slider */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-orbit {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(109, 191, 58, 0.3);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.drug-slider {
  position: relative;
  width: 400px;
  height: 480px;
  z-index: 3;
}
.drug-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85) rotate(-5deg);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.drug-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) rotate(-5deg);
  animation: float 4s ease-in-out infinite;
}
.drug-slide .slide-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drug-slide .slide-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(118, 42, 120, 0.25)) drop-shadow(0 15px 30px rgba(109, 191, 58, 0.15));
}
.drug-slide .slide-info {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.drug-slide .slide-badge {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
  box-shadow: 0 8px 20px rgba(118, 42, 120, 0.3);
}
.drug-slide .slide-name {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}
.floating-badge {
  position: absolute;
  width: 55px;
  height: 55px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  animation: floatBadge 3s ease-in-out infinite;
  z-index: 5;
}
.badge-1 { top: 10%; right: 8%; animation-delay: 0s; }
.badge-2 { bottom: 20%; left: 5%; animation-delay: 1s; color: var(--purple); }
.badge-3 { top: 50%; right: 0%; animation-delay: 2s; color: #f5a623; }
.slider-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(109, 191, 58, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.slider-dot.active {
  background: var(--green);
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(109, 191, 58, 0.5);
}

/* Trust Bar */
.trust-bar {
  background: var(--navy);
  padding: 30px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 800;
}
.trust-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Video Section */
.home-video-section {
  background: linear-gradient(180deg, #fff 0%, #f8fdf5 100%);
  padding: 80px 0;
}
.video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #000;
}
.aparat-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  background: #000;
  aspect-ratio: 16 / 9;
}
.aparat-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 30px;
}

/* Products Showcase */
.products-showcase {
  background: #fff;
  padding: 80px 0;
}
.product-showcase {
  padding: 60px 0;
  position: relative;
}
.product-showcase.reverse .showcase-grid {
  direction: ltr;
}
.product-showcase.reverse .showcase-grid > * {
  direction: rtl;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase-content {
  padding: 20px 0;
}
.showcase-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), #a04ba3);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(118, 42, 120, 0.3);
}
.showcase-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 15px;
}
.showcase-subtitle {
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 25px;
  padding-right: 15px;
  border-right: 4px solid var(--green);
}
.showcase-description {
  font-size: 1rem;
  line-height: 2;
  color: #555;
  margin-bottom: 25px;
}
.showcase-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.showcase-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: floatDrug 5s ease-in-out infinite;
}
@keyframes floatDrug {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #f8fdf5 0%, #faf5fc 100%);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
}
.stat-box {
  background: #fff;
  border-radius: 25px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}
.stat-box:hover {
  transform: translateY(-10px);
  border-color: var(--green);
  box-shadow: 0 25px 50px rgba(109, 191, 58, 0.15);
}
.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(109, 191, 58, 0.1), rgba(118, 42, 120, 0.08));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: all 0.4s ease;
}
.stat-box:hover .stat-icon {
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: #fff;
  transform: rotateY(360deg);
}
.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.stat-label {
  color: #777;
  font-size: 0.95rem;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.blog-image {
  display: block;
  height: 200px;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-content {
  padding: 25px;
}
.blog-content h3 a {
  color: var(--navy);
  text-decoration: none;
  font-size: 1.1rem;
}
.blog-content p {
  color: #777;
  font-size: 0.9rem;
  margin: 15px 0;
  line-height: 1.8;
}
.read-more {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.blog-more-btn {
  text-align: center;
  margin-top: 50px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .showcase-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .product-orbit { width: 380px; height: 380px; }
  .drug-slider { width: 300px; height: 360px; }
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .floating-badge { display: none; }
  .product-orbit { width: 300px; height: 300px; }
  .drug-slider { width: 250px; height: 300px; }
}