/* ============================================================
   PEPTILUX MODERNIZATION LAYER
   Add this after styles.css in index.html
   ============================================================ */

/* ── Enhanced Navbar ── */
.navbar {
  background: rgba(10,10,10,.92) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-links a {
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ── Modern Product Cards ── */
.product-card {
  border-radius: 16px !important;
  transition: all 0.4s var(--ease) !important;
}

.product-card:hover {
  border-color: rgba(201,151,58,.3) !important;
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,151,58,.1) !important;
}

.product-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201,151,58,.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover .product-img-wrap::before {
  opacity: 1;
}

/* Remove arrow from View Details button */
.overlay-actions .btn-view-compound::after {
  display: none !important;
}

.overlay-actions .btn-view-compound {
  border-radius: 6px !important;
  padding: 12px 18px !important;
  transition: all 0.3s var(--ease) !important;
}

.overlay-actions .btn-view-compound:hover {
  background: rgba(201,151,58,.15) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
}

.overlay-actions .btn-add-cart {
  border-radius: 6px !important;
  padding: 12px 18px !important;
  box-shadow: 0 4px 12px rgba(201,151,58,0.2);
  transition: all 0.3s var(--ease) !important;
}

.overlay-actions .btn-add-cart:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(201,151,58,0.4) !important;
  opacity: 1 !important;
}

/* ── Enhanced Why Section ── */
.why-grid {
  gap: 16px !important;
  padding: 8px;
  border: none !important;
  background: transparent !important;
}

.why-item {
  padding: 32px 28px !important;
  background: rgba(255,255,255,.02) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.05) !important;
  transition: all 0.4s var(--ease) !important;
  position: relative;
  overflow: hidden;
}

.why-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,151,58,.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.why-item:hover {
  background: rgba(255,255,255,.04) !important;
  transform: translateY(-4px);
  border-color: rgba(201,151,58,.2) !important;
}

.why-item:hover::before {
  opacity: 1;
}

.why-icon {
  transition: transform 0.3s;
}

.why-item:hover .why-icon {
  transform: scale(1.1);
}

/* ── Enhanced Blog Cards ── */
.blog-card {
  border-radius: 16px !important;
  transition: all 0.4s var(--ease) !important;
  position: relative;
}

.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201,151,58,.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: 16px;
}

.blog-card:hover {
  border-color: rgba(201,151,58,.25) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.4) !important;
}

.blog-card:hover::after {
  opacity: 1;
}

/* ── Enhanced FAQ - Questions Only Visible ── */
.faq-section {
  padding: 40px 0 80px !important;
}

.faq-item {
  background: transparent !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  transition: all 0.3s var(--ease);
}

.faq-item:hover {
  background: transparent !important;
  border-color: rgba(201,151,58,.15) !important;
}

.faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,.07) !important;
}

.faq-question {
  padding: 18px 0 !important;
}

.faq-answer {
  padding: 0 !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 16px 0 !important;
}

/* ── Enhanced Buttons ── */
.btn-nav {
  padding: 10px 22px !important;
  border-radius: 6px !important;
  transition: all 0.3s var(--ease) !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,151,58,0.3);
}

.btn-telegram {
  border-radius: 6px !important;
  transition: all 0.3s var(--ease) !important;
}

.btn-telegram:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(201,151,58,0.35) !important;
}
.blog-section .btn-telegram:hover {
  box-shadow: none !important;
}

/* ── Enhanced Newsletter ── */
.newsletter-form {
  gap: 12px;
}

#newsletterEmail {
  border-radius: 8px;
  transition: all 0.3s;
}

#newsletterEmail:focus {
  border-color: rgba(201,151,58,.4);
  box-shadow: 0 0 0 3px rgba(201,151,58,.1);
}

.btn-newsletter {
  border-radius: 8px !important;
  transition: all 0.3s var(--ease) !important;
}

.btn-newsletter:hover {
  box-shadow: none;
}

/* ── Enhanced Science Cards ── */
.science-card {
  border-radius: 12px !important;
  transition: all 0.4s var(--ease) !important;
  position: relative;
  overflow: hidden;
}

.science-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,151,58,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.science-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.science-card:hover::before {
  opacity: 1;
}

/* ── Enhanced Modals ── */
.modal-box {
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.btn-modal-cart {
  border-radius: 8px !important;
  transition: all 0.3s var(--ease) !important;
}

.btn-modal-cart:hover {
  box-shadow: 0 8px 24px rgba(201,151,58,0.35) !important;
}

/* ── Enhanced GENIQ Section ── */
.plan-section {
  position: relative;
}

.plan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 40% 50%, rgba(201,151,58,.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Smooth Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeInUp 0.8s var(--ease) backwards;
}

/* ── Enhanced Trust Bar ── */
.trust-item {
  transition: transform 0.3s;
}

.trust-item:hover {
  transform: translateY(-4px);
}

/* ── Mobile Responsive Enhancements ── */
@media (max-width: 968px) {
  .why-grid {
    grid-template-columns: 1fr !important;
  }
  
  .why-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
    padding: 24px !important;
  }
  
  .why-item:last-child {
    border-bottom: none !important;
  }
}
