/* Packs Grid - Conversion Optimized */
.grecaptcha-badge { visibility: hidden; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #F7931D;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Navigation Animated Hover Effect - Sliding between items */
/* Desktop only - avoid breaking mobile menu */
@media (min-width: 992px) {
  #navbar ul {
    position: relative;
  }

  #navbar ul li {
    position: relative;
  }

  #navbar ul li a.nav-link {
    position: relative;
    padding: 8px 16px;
    display: inline-block;
    z-index: 2;
  }
}

#navbar ul li a.nav-link {
  transition: color 0.3s ease;
}

/* JS-created sliding background indicator */
.nav-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(247,147,29,0.1), rgba(247,147,29,0.15));
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: left, width, opacity;
}

/* JS-created sliding underline */
.nav-underline {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F7931D, transparent);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: left, width, opacity;
}

/* Desktop navigation hover/active states */
@media (min-width: 992px) {
  #navbar ul li a.nav-link:hover {
    color: #fff;
  }

  #navbar ul li a.nav-link.active {
    color: #fff;
    font-weight: 500;
  }

  /* Keep slider visible on active link even without hover */
  .nav-slider.permanent,
  .nav-underline.permanent {
    opacity: 1 !important;
  }
}

/* Hero H1 styling */
#hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  #hero h1 { font-size: 28px; line-height: 36px; }
}

.packs-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); 
  gap: 48px; 
  margin: 40px 0; 
  /* max-width: 1400px; */
  margin-left: auto;
  margin-right: auto;
}

.pack-card { 
  background: linear-gradient(145deg, #1e1e1e 0%, #161616 100%); 
  border: 2px solid #2a2a2a; 
  border-radius: 16px; 
  overflow: visible; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.pack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  /* background: linear-gradient(90deg, #F7931D 0%, #e67e22 100%); */
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.pack-card:hover { 
  transform: translateY(-6px) scale(1.03); 
  box-shadow: 0 20px 50px rgba(247,147,29,0.3), 0 0 0 2px rgba(247,147,29,0.5); 
  border-color: #F7931D;
  z-index: 10;
}

.pack-card.featured {
  border-color: #F7931D;
  box-shadow: 0 12px 32px rgba(247,147,29,0.25);
  transform: scale(1.02);
}

.pack-card.featured::before { opacity: 1; }

/* Remove featured effect when hovering other cards */
.packs-grid:hover .pack-card.featured:not(:hover) {
  transform: scale(1);
  border-color: #2a2a2a;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.packs-grid:hover .pack-card.featured:not(:hover)::before {
  opacity: 0;
}

/* Subtle scale down for non-hovered cards */
.packs-grid:hover .pack-card:not(:hover) {
  opacity: 0.85;
  transform: scale(0.98);
}

.pack-header { 
  background: linear-gradient(135deg, #242424 0%, #1a1a1a 100%); 
  padding: 24px 26px 20px; 
  border-bottom: 1px solid rgba(255,255,255,0.06); 
  position: relative;
  overflow: visible;
  border-radius: 14px 14px 0 0;
}

.pack-badge { 
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #F7931D 0%, #e67e22 100%); 
  color: #fff; 
  padding: 6px 16px; 
  border-radius: 20px; 
  font-size: 0.72rem; 
  font-weight: 700; 
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(247,147,29,0.4);
  white-space: nowrap; 
}

.pack-badge.premium { background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%); box-shadow: 0 4px 12px rgba(156,39,176,0.4); }
.pack-badge.custom { background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%); box-shadow: 0 4px 12px rgba(33,150,243,0.4); }
.pack-badge.creative { background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%); box-shadow: 0 4px 12px rgba(233,30,99,0.4); }
.pack-badge.support { background: linear-gradient(135deg, #009688 0%, #00796b 100%); box-shadow: 0 4px 12px rgba(0,150,136,0.4); }
.pack-badge.learning { background: linear-gradient(135deg, #607d8b 0%, #455a64 100%); box-shadow: 0 4px 12px rgba(96,125,139,0.4); }

.pack-title { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  margin: 0 0 4px; 
  font-size: 1.35rem; 
  font-weight: 700; 
  color: #fff; 
  line-height: 1.3;
}

.pack-title i { 
  color: #F7931D; 
  background: rgba(247,147,29,0.12); 
  padding: 11px; 
  border-radius: 10px; 
  font-size: 1.2rem; 
  flex-shrink: 0;
}

.pack-subtitle {
  color: #999;
  font-size: 0.88rem;
  margin: 10px 0 0 0;
  font-weight: 400;
}

.pack-body { 
  padding: 26px; 
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pack-description { 
  color: #b8b8b8; 
  margin: 0 0 22px; 
  line-height: 1.65; 
  font-size: 0.94rem; 
  flex-shrink: 0;
}

.pack-features { 
  list-style: none; 
  padding: 0; 
  margin: 0 0 auto;
  flex: 1;
}

.pack-features li { 
  display: flex; 
  align-items: flex-start; 
  gap: 11px; 
  margin: 0 0 10px; 
  color: #d4d4d4; 
  font-size: 0.91rem; 
  line-height: 1.5;
}

.pack-features i { 
  color: #2ecc71; 
  font-size: 1.05rem; 
  margin-top: 2px;
  flex-shrink: 0;
}

.pack-pricing {
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
}

.pack-price { 
  font-size: 2rem; 
  font-weight: 800; 
  color: #F7931D; 
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.pack-price-note {
  font-size: 0.82rem;
  color: #888;
  margin: 6px 0 0;
}

.pack-price .currency { font-size: 1.3rem; font-weight: 700; }
.pack-price .period { font-size: 0.9rem; color: #888; font-weight: 500; }
.pack-price .pack-price-note { text-align: center; }

.pack-cta { 
  background: linear-gradient(135deg, #F7931D 0%, #e67e22 100%); 
  color: #fff; 
  border: none; 
  padding: 14px 28px; 
  border-radius: 10px; 
  font-weight: 700; 
  font-size: 0.96rem;
  text-decoration: none; 
  display: block; 
  width: 100%; 
  text-align: center; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  box-shadow: 0 4px 14px rgba(247,147,29,0.3);
  position: relative;
  overflow: hidden;
}

.pack-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.pack-cta:hover::before {
  width: 300px;
  height: 300px;
}

.pack-cta:hover { 
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(247,147,29,0.45);
  color: #fff; 
}

.pack-cta:active {
  transform: translateY(0);
}

.pack-guarantee {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pack-guarantee i { color: #2ecc71; font-size: 0.9rem; }

@media (max-width: 992px) {
  .packs-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
}

@media (max-width: 768px) {
  .packs-grid { grid-template-columns: 1fr; gap: 20px; }
  .pack-card { margin-top: 20px; }
  .pack-header { padding: 20px 22px 18px; }
  .pack-body { padding: 22px; }
  .pack-card.featured { transform: scale(1); }
  .pack-card:hover { transform: translateY(-4px) scale(1.01); }
  .packs-grid:hover .pack-card:not(:hover) { opacity: 1; transform: scale(1); }
  .pack-title { font-size: 1.2rem; }
  .pack-price { font-size: 1.75rem; }
  .pack-badge { 
    right: 16px; 
    font-size: 0.68rem; 
    padding: 5px 12px; 
  }
}

/* Mobile Navigation - Disable slider effects only */
@media (max-width: 991px) {
  /* Hide navigation slider elements on mobile menu */
  .nav-slider,
  .nav-underline {
    display: none !important;
  }
}