/* TENANG NIGHT — Custom styles */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero gradient background */
.hero-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

/* Product visual placeholder */
.product-visual {
  background: linear-gradient(135deg, #1e1b4b, #312e81, #1e1b4b);
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* CTA pulse animation */
.cta-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  50% { box-shadow: 0 0 0 16px rgba(249, 115, 22, 0); }
}

/* Symptom card hover */
.symptom-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.symptom-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
}

/* Benefit card */
.benefit-card {
  transition: transform 0.2s ease, background 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(30, 27, 75, 0.9);
}

/* Pricing card popular badge */
.popular-badge {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Package selection highlight */
.package-card {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.package-card:hover,
.package-card.selected {
  transform: translateY(-4px);
  border-color: #f97316;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.25);
}
.package-card.popular {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.15);
}

/* Testimonial card */
.testimonial-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(15, 23, 42, 0.8));
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer.open {
  max-height: 300px;
}

/* Guarantee badge */
.guarantee-badge {
  background: linear-gradient(135deg, #064e3b, #065f46);
  border: 2px solid rgba(16, 185, 129, 0.4);
}

/* Checkout form */
.form-input {
  width: 100%;
  background: rgba(30, 41, 59, 0.8);
  border: 1.5px solid rgba(71, 85, 105, 0.6);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
.form-input.error {
  border-color: #ef4444;
}
.form-input::placeholder { color: rgba(148, 163, 184, 0.6); }

/* Order bump checkbox card */
.bump-card {
  border: 2px dashed rgba(249, 115, 22, 0.5);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.bump-card.checked {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.08);
}
.bump-card:hover { border-color: #f97316; }

/* Upsell page */
.upsell-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(15, 23, 42, 0.9));
  border: 2px solid rgba(249, 115, 22, 0.4);
}

/* Thank you checkmark */
.checkmark-circle {
  animation: scaleIn 0.5s ease-out;
}
@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Countdown timer */
.countdown-digit {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fbbf24;
  font-variant-numeric: tabular-nums;
}

/* Status badges */
.badge-pending { background: rgba(234, 179, 8, 0.2); color: #fbbf24; border: 1px solid rgba(234, 179, 8, 0.4); }
.badge-processing { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-shipped { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.4); }
.badge-delivered { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-cancelled { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }

/* Admin table */
.admin-table th {
  background: rgba(15, 23, 42, 0.8);
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(71, 85, 105, 0.2);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.875rem;
}
.admin-table tr:hover td { background: rgba(30, 41, 59, 0.4); }

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: rgba(71, 85, 105, 0.6); border-radius: 3px; }

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Section divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

/* Mobile responsive helpers */
@media (max-width: 640px) {
  .hero-headline { font-size: 1.875rem !important; }
  .package-grid { grid-template-columns: 1fr !important; }
}
