/**
 * public/css/polish.css — visual polish and modern enhancements.
 * Gradients, transitions, hover effects, and color pop across the site.
 */

/* ===== CARD ENHANCEMENTS ===== */
.card-enhanced {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
}

.card-enhanced:hover {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, transparent 100%);
}

.card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.4), transparent);
}

/* ===== PRICING CARD POLISH ===== */
.pricing-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(10, 10, 15, 0.5) 100%);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.3), transparent);
}

.pricing-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(10, 10, 15, 0.6) 100%);
}

.pricing-card--highlight {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 2px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.pricing-card--highlight:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2);
  border-color: rgba(167, 139, 250, 0.6);
}

/* ===== PLAN CTA BUTTON ENHANCEMENT ===== */
.btn-plan {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.btn-plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.4s ease;
}

.btn-plan:hover::before {
  left: 100%;
}

.btn-plan--primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
  font-weight: 600;
}

.btn-plan--primary:hover {
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
  transform: translateY(-3px);
}

.btn-plan--secondary {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.btn-plan--secondary:hover {
  background: rgba(167, 139, 250, 0.25);
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 8px 20px rgba(167, 139, 250, 0.2);
  transform: translateY(-3px);
}

/* ===== INPUT ENHANCEMENTS ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: #f1f5f9;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.2);
  background: rgba(31, 41, 55, 0.8);
}

/* ===== TRANSPARENCY SECTION POLISH ===== */
.transparency-section {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.transparency-icon {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.3) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(167, 139, 250, 0.5);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

/* ===== PAY-PER-VIDEO CALLOUT POLISH ===== */
.ppv-callout {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.ppv-callout:hover {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
}

.ppv-price-badge {
  background: linear-gradient(135deg, var(--primary-light) 0%, #7c3aed 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  font-weight: 700;
}

/* ===== SECTION DIVIDERS ===== */
section {
  position: relative;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.2), transparent);
  opacity: 0.5;
}

/* ===== ADMIN PANEL ENHANCEMENTS ===== */
.admin-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, transparent 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
}

.admin-badge {
  background: linear-gradient(135deg, var(--primary-light) 0%, #7c3aed 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.admin-status-active {
  background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
}

.admin-status-inactive {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

/* ===== TABLE POLISH ===== */
table {
  border-collapse: separate;
  border-spacing: 0;
}

table tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

table tbody tr:hover {
  background: rgba(124, 58, 237, 0.05);
}

table td {
  padding: 12px 16px;
}

table th {
  background: rgba(124, 58, 237, 0.08);
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid rgba(167, 139, 250, 0.2);
}

/* ===== SCROLLBAR POLISH ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(124, 58, 237, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 4px;
  transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
  }
}

.pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slide-up 0.4s ease-out;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
  .pricing-card:hover,
  .card-enhanced:hover {
    transform: translateY(-4px);
  }

  .btn-plan--primary:hover,
  .btn-plan--secondary:hover {
    transform: translateY(-2px);
  }

  section::after {
    width: 95%;
  }
}
