/* Phosphor Icons - Importação das Fontes Locais */
@import url('../phosphor-icons/Fonts/regular/style.css');
@import url('../phosphor-icons/Fonts/bold/style.css');
@import url('../phosphor-icons/Fonts/fill/style.css');

/* GoBoost Planos Premium - Design System & Modern Aesthetics 2026 */
:root {
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.35);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --diamond: #0084ff;
  --diamond-glow: rgba(0, 132, 255, 0.4);
  --silver: #94a3b8;
  --silver-glow: rgba(148, 163, 184, 0.25);
  --bronze: #cd7f32;
  --bronze-glow: rgba(205, 127, 50, 0.3);
  --bg-dark: #060911;
  --card-bg: rgba(13, 19, 34, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Background Gradients & Ambient Lighting */
.bg-glow-radial {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.25) 0%, rgba(99, 102, 241, 0.12) 40%, rgba(6, 9, 17, 0) 75%);
}

.bg-glow-gold {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.16) 0%, rgba(6, 9, 17, 0) 75%);
}

.bg-glow-cyan {
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.14) 0%, rgba(6, 9, 17, 0) 70%);
}

/* Ambient Floating Orbs */
@keyframes floatOrb1 {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(35px, -25px) scale(1.06);
  }
}

@keyframes floatOrb2 {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(-30px, 20px) scale(1.05);
  }
}

.animate-orb-1 {
  animation: floatOrb1 18s ease-in-out infinite;
}

.animate-orb-2 {
  animation: floatOrb2 22s ease-in-out infinite;
}

/* Subtle High-Tech Grid Pattern */
.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 65% 50% at 50% 0%, #000 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 50% at 50% 0%, #000 65%, transparent 100%);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 45px -12px rgba(0, 0, 0, 0.65), 0 0 25px 0 rgba(59, 130, 246, 0.1);
}

/* Plan Specific Cards & Glowing Highlights */
.plan-card-gold {
  border-color: rgba(245, 158, 11, 0.45) !important;
  background: linear-gradient(180deg, rgba(42, 30, 10, 0.85) 0%, rgba(13, 19, 34, 0.92) 100%) !important;
  box-shadow: 0 12px 35px -8px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(255, 230, 130, 0.28) !important;
  position: relative;
}

.plan-card-gold:hover {
  border-color: rgba(245, 158, 11, 0.75) !important;
  box-shadow: 0 24px 50px -10px rgba(245, 158, 11, 0.38), inset 0 1px 0 rgba(255, 230, 130, 0.45) !important;
  transform: translateY(-6px);
}

.plan-card-diamond {
  border-color: rgba(0, 132, 255, 0.45) !important;
  background: linear-gradient(180deg, rgba(14, 28, 55, 0.9) 0%, rgba(13, 19, 34, 0.92) 100%) !important;
  box-shadow: 0 12px 35px -8px rgba(0, 132, 255, 0.24), inset 0 1px 0 rgba(140, 210, 255, 0.28) !important;
  position: relative;
}

.plan-card-diamond:hover {
  border-color: rgba(0, 132, 255, 0.75) !important;
  box-shadow: 0 24px 50px -10px rgba(0, 132, 255, 0.42), inset 0 1px 0 rgba(140, 210, 255, 0.45) !important;
  transform: translateY(-6px);
}

.plan-card-silver {
  border-color: rgba(148, 163, 184, 0.35) !important;
  background: linear-gradient(180deg, rgba(28, 36, 52, 0.82) 0%, rgba(13, 19, 34, 0.88) 100%) !important;
  box-shadow: 0 10px 30px -10px rgba(148, 163, 184, 0.16), inset 0 1px 0 rgba(226, 232, 240, 0.2);
}

.plan-card-silver:hover {
  border-color: rgba(148, 163, 184, 0.6) !important;
  box-shadow: 0 20px 40px -10px rgba(148, 163, 184, 0.28), inset 0 1px 0 rgba(226, 232, 240, 0.32);
  transform: translateY(-5px);
}

.plan-card-bronze {
  border-color: rgba(205, 127, 50, 0.38) !important;
  background: linear-gradient(180deg, rgba(42, 26, 18, 0.82) 0%, rgba(13, 19, 34, 0.88) 100%) !important;
  box-shadow: 0 10px 30px -10px rgba(205, 127, 50, 0.18), inset 0 1px 0 rgba(245, 170, 110, 0.2);
}

.plan-card-bronze:hover {
  border-color: rgba(205, 127, 50, 0.65) !important;
  box-shadow: 0 20px 40px -10px rgba(205, 127, 50, 0.3), inset 0 1px 0 rgba(245, 170, 110, 0.32);
  transform: translateY(-5px);
}

/* Gradient Text */
.text-gradient-primary {
  background: linear-gradient(135deg, #bfdbfe 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-diamond {
  background: linear-gradient(135deg, #bae6fd 0%, #0084ff 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-heading {
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #060911;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Badges */
.badge-popular {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #080c14;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  border: 1px solid rgba(255, 240, 160, 0.6);
}

.badge-vip {
  background: linear-gradient(135deg, #0284c7 0%, #0084ff 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  box-shadow: 0 4px 18px rgba(0, 132, 255, 0.45);
  border: 1px solid rgba(160, 220, 255, 0.5);
}

/* Shimmer Button Sweep Effect */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: all 0.75s ease;
}

.btn-shimmer:hover::after {
  left: 140%;
}

/* Modal and Backdrop Overlay */
.modal-overlay {
  background: rgba(3, 7, 18, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dialog {
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Pulsing Badge & Radar Animation */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.65);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 3s infinite ease-in-out;
}

/* Accordion Animation */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
  opacity: 0;
}

.accordion-item.active {
  border-color: rgba(59, 130, 246, 0.4) !important;
  background: rgba(15, 23, 42, 0.88) !important;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.4);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #60a5fa !important;
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  border-top: 3px solid #3b82f6;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Phosphor Icons Align */
.ph, .ph-bold, .ph-fill, .ph-duotone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsive Table Styling with Sticky Header & First Column */
.table-responsive-container {
  -webkit-overflow-scrolling: touch;
}

.table-sticky-col {
  position: sticky;
  left: 0;
  z-index: 10;
  background-color: #0b1120 !important;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.45);
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.45);
}

/* Mobile Navigation Drawer - Corrigido sem bugs de espaçamento */
#mobile-menu {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

#mobile-menu.menu-hidden {
  opacity: 0;
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none;
  display: none;
}

#mobile-menu.menu-visible {
  opacity: 1;
  max-height: 600px;
  pointer-events: auto;
  display: block;
}

/* Feature expansion styles on pricing cards */
.features-collapsible-wrapper {
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Custom Segmented Billing Switch */
.billing-pill-active {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.4);
}

/* Card Brand Icon Badge inside input */
.card-brand-badge {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 11px;
}

/* Quick Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 10px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  z-index: 100;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
