/* ==========================================================================
   ZYNIC HOSTING - UIX COMPONENTS
   Buttons, Cards, Sliders, Badges, Tabs, Switches, and Interactive Controls
   ========================================================================== */

/* ==========================================================================
   BUTTONS UIX
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn i {
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}

/* Primary Glowing Button */
.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Glass Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-heading);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Discord Themed Button */
.btn-discord {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: linear-gradient(135deg, #6775f5 0%, #5865f2 100%);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Outline Cyan Button */
.btn-outline-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.btn-outline-cyan:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   BADGES & PILLS
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-discord {
  background: rgba(88, 101, 242, 0.14);
  color: #7289da;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-red {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--grad-primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   INTERACTIVE BILLING SWITCH
   ========================================================================== */

.billing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
}

.billing-switch-container {
  background: #0f131f;
  border: 1px solid #1c2438;
  padding: 4px;
  border-radius: 10px;
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.billing-option {
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.billing-option:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.billing-option.active {
  background: #182033;
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.discount-chip {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.billing-option.active .discount-chip {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.3);
}

/* ==========================================================================
   INTERACTIVE RANGE SLIDER UIX
   ========================================================================== */

.range-slider-wrapper {
  width: 100%;
  padding: 24px 0 10px;
}

.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  position: relative;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.8), 0 2px 6px rgba(0, 0, 0, 0.4);
  cursor: grab;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 25px rgba(0, 242, 254, 1);
}

.custom-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.25);
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}

.range-ticks span.active {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   TABS COMPONENT
   ========================================================================== */

.tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  padding: 6px;
  border-radius: var(--radius-pill);
  max-width: max-content;
  margin: 0 auto 40px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
  border-color: rgba(0, 242, 254, 0.5);
  background: rgba(13, 20, 36, 0.9);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-cyan);
  color: var(--bg-deep);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px 24px;
}

/* ==========================================================================
   PREMIUM SOCIAL PROOF LIVE ACTIVITY TOAST
   ========================================================================== */
/* ==========================================================================
   PREMIUM SOCIAL PROOF LIVE ACTIVITY TOAST (Matches Screenshot Image 1)
/* ==========================================================================
   LIVE SALES & ACTIVITY TOAST - SAAS ENTERPRISE GRADE
   ========================================================================== */
#live-sales-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(6, 12, 24, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.28);
  border-radius: 16px;
  padding: 10px 14px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 242, 254, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 9999;
  max-width: 360px;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  overflow: hidden;
  pointer-events: auto;
}

#live-sales-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-avatar-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.toast-pulse-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #060c18;
  box-shadow: 0 0 10px #10b981;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.toast-content-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.toast-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
}

.toast-username {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.toast-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.toast-verified-tag i {
  font-size: 0.60rem;
}

.toast-action-text {
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-action-verb {
  color: #94a3b8;
  font-weight: 500;
}

.toast-service-highlight {
  color: #00f2fe !important;
  font-weight: 700;
}

.toast-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-meta-divider {
  color: #475569;
  font-size: 0.65rem;
}

.toast-meta-row i {
  color: #00f2fe;
  font-size: 0.70rem;
}

.toast-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  margin-left: 2px;
}

.toast-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  transform: rotate(90deg);
}

.toast-avatar-box svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
}

.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  z-index: 40;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.toast-progress-line {
  display: block !important;
  height: 100%;
  width: 100%;
  background: #00f2fe !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.95);
  transform-origin: left center;
}

#live-sales-toast:not(.show) .toast-progress-line {
  animation: none !important;
  width: 100% !important;
  opacity: 1 !important;
}

#live-sales-toast.show .toast-progress-line {
  animation: toastCooldown 6.5s linear forwards;
}

#live-sales-toast:hover .toast-progress-line {
  animation-play-state: paused !important;
}

@keyframes toastCooldown {
  0% {
    width: 100%;
    opacity: 1;
  }
  98% {
    width: 2%;
    opacity: 1;
  }
  100% {
    width: 0%;
    opacity: 0.5;
  }
}

@media (max-width: 640px) {
  #live-sales-toast {
    left: 12px;
    right: 12px;
    bottom: 78px; /* Leave space above WhatsApp floating button */
    max-width: calc(100% - 24px);
    width: auto;
    padding: 9px 12px 11px;
  }
}

