/* ============================================
   PACOTE WebIA MASTER — Design System & Custom CSS
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #7C3AED;
  --primary-hover: #6D28D9;
  --primary-light: #A78BFA;
  --primary-medium: #8B5CF6;
  --bg-main: #030014;
  --bg-card: #1A1A2E;
  --bg-card-hover: rgba(124, 58, 237, 0.12);
  --text-primary: #FFFFFF;
  --text-secondary: #E5E7EB;
  --text-tertiary: #9CA3AF;
  --accent-yellow: #FBBF24;
  --accent-green: #10B981;
  --glow-color: rgba(124, 58, 237, 0.4);
  --glow-strong: rgba(124, 58, 237, 0.6);
  --transition-fast: 300ms ease;
  --transition-medium: 600ms ease-out;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* --- Background Texture (subtle grid dots) --- */
.bg-grid {
  background-image: radial-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- Glow Effects --- */
.glow-card {
  position: relative;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}
.glow-card:hover::before {
  opacity: 1;
}

.glow-border {
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.glow-border:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.15), 0 0 60px rgba(124, 58, 237, 0.05);
  transform: translateY(-4px);
}

/* --- Gradient Backgrounds --- */
.gradient-hero {
  background: linear-gradient(135deg, #030014 0%, #1E1033 50%, #0A0A0A 100%);
}

.gradient-cta-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.gradient-radial-glow {
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.15), transparent 70%);
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4), 0 0 40px rgba(124, 58, 237, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 60px rgba(124, 58, 237, 0.2);
  }
}

@keyframes pulseBorder {
  0%, 100% {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  }
  50% {
    border-color: var(--primary-light);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.5), 0 0 80px rgba(124, 58, 237, 0.15);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes attentionBounce {
  0%, 100% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-8px);
  }
  20% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
  40% {
    transform: translateY(0);
  }
}

@keyframes ctaShine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scrollDown {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateY(8px);
  }
}

@keyframes whatsappBounce {
  0%, 100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.15);
  }
  30% {
    transform: scale(0.95);
  }
  45% {
    transform: scale(1.05);
  }
}

@keyframes rotateChevron {
  from { transform: rotate(0deg); }
  to { transform: rotate(180deg); }
}

/* --- Animation Utility Classes --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.slide-left {
  transform: translateX(-40px);
}
.animate-on-scroll.slide-left.visible {
  transform: translateX(0);
}
.animate-on-scroll.slide-right {
  transform: translateX(40px);
}
.animate-on-scroll.slide-right.visible {
  transform: translateX(0);
}
.animate-on-scroll.scale-in {
  transform: scale(0.9);
}
.animate-on-scroll.scale-in.visible {
  transform: scale(1);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }
.stagger-6 { transition-delay: 600ms; }

/* --- Floating Animation --- */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* --- Pulse Glow CTA --- */
.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite, attentionBounce 3s ease-in-out infinite;
  animation-delay: 0s, 1s;
  position: relative;
  overflow: hidden;
}
.animate-pulse-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: ctaShine 4s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}

/* --- Pulse Border (Pricing card) --- */
.animate-pulse-border {
  animation: pulseBorder 2s ease-in-out infinite;
}

/* --- Marquee --- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-track-reverse {
  display: inline-flex;
  animation: marqueeReverse 30s linear infinite;
}
.marquee-container:hover .marquee-track,
.marquee-container:hover .marquee-track-reverse {
  animation-play-state: paused;
}

/* --- Shimmer Badge --- */
.shimmer-badge {
  background: linear-gradient(90deg, var(--accent-yellow) 0%, #FDE68A 40%, var(--accent-yellow) 60%, #FDE68A 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shimmer-bg {
  position: relative;
  overflow: hidden;
}
.shimmer-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  animation: scrollDown 2s ease-in-out infinite;
}

/* --- WhatsApp Button --- */
.whatsapp-btn {
  /* animation: whatsappBounce 3s ease-in-out infinite; */
  /* animation-delay: 2s; */
}

/* --- Tabs --- */
.tab-btn {
  position: relative;
  transition: color var(--transition-fast);
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: width var(--transition-fast);
}
.tab-btn.active {
  color: var(--primary-light);
}
.tab-btn.active::after {
  width: 100%;
}

/* Tab button cyan variant (Logic Master) */
.tab-btn-cyan:hover {
  color: #02f1fa !important;
}
.tab-btn-cyan.active {
  color: #02f1fa !important;
}
.tab-btn-cyan::after {
  background: #02f1fa !important;
}

/* Tab button FastAPI green variant */
.tab-btn-fastapi:hover {
  color: #14e1d0 !important;
}
.tab-btn-fastapi.active {
  color: #14e1d0 !important;
}
.tab-btn-fastapi::after {
  background: #14e1d0 !important;
}

/* --- Accordions --- */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.accordion-content.open {
  max-height: 2000px;
}
.accordion-chevron {
  transition: transform 300ms ease;
}
.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

/* FAQ specific */
.faq-icon {
  transition: transform 300ms ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* --- Carousel --- */
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 1.5rem;
  scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* --- Counter Animation (handled by JS) --- */
.counter {
  display: inline-block;
}

/* --- Sticky CTA Mobile --- */
.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(100%);
  transition: transform 400ms ease;
}
.sticky-cta-mobile.visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .sticky-cta-mobile {
    display: none !important;
  }
}

/* --- Line-through animated --- */
.line-through-animated {
  position: relative;
  display: inline;
}
.line-through-animated::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--text-tertiary);
  transition: width 600ms ease;
}
.line-through-animated.visible::after {
  width: 100%;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* --- Logo Text --- */
.logo-pycode {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.logo-br {
  color: var(--primary);
}

/* --- Section divider glow --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

/* --- Bonus Cards --- */
.bonus-value-badge {
  animation: pulseBadge 3s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* --- Price Glow Effect --- */
.price-glow {
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.5), 0 0 60px rgba(124, 58, 237, 0.2);
}

.price-card-premium {
  position: relative;
}
.price-card-premium::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent-yellow), var(--primary-light), var(--primary));
  background-size: 300% 300%;
  animation: gradientBorder 4s ease infinite;
  z-index: -1;
}
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Product Bundle Visual --- */
.bundle-container {
  position: relative;
}
.bundle-container::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 1.25rem;
  border: 2px dashed rgba(124, 58, 237, 0.3);
  pointer-events: none;
}

/* --- Selection color --- */
::selection {
  background: rgba(124, 58, 237, 0.4);
  color: white;
}

/* --- Focus visible for accessibility --- */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================
   OFERTA PREMIUM SECTION — Complete Redesign
   ============================================ */

/* --- Section glow text --- */
.oferta-text-glow {
  text-shadow: 0 0 40px rgba(251, 191, 36, 0.5), 0 0 80px rgba(251, 191, 36, 0.2);
  color: #FBBF24;
}

/* --- Floating Particles --- */
.oferta-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: ofertaFloat linear infinite;
}
.oferta-particle-1 { width: 6px; height: 6px; top: 15%; left: 10%; animation-duration: 8s; animation-delay: 0s; }
.oferta-particle-2 { width: 4px; height: 4px; top: 40%; left: 85%; animation-duration: 10s; animation-delay: 1s; }
.oferta-particle-3 { width: 8px; height: 8px; top: 70%; left: 20%; animation-duration: 12s; animation-delay: 2s; }
.oferta-particle-4 { width: 5px; height: 5px; top: 25%; left: 70%; animation-duration: 9s; animation-delay: 0.5s; }
.oferta-particle-5 { width: 3px; height: 3px; top: 80%; left: 60%; animation-duration: 11s; animation-delay: 3s; }
.oferta-particle-6 { width: 7px; height: 7px; top: 55%; left: 40%; animation-duration: 7s; animation-delay: 1.5s; }

@keyframes ofertaFloat {
  0%, 100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-60px) translateX(20px) scale(1.5);
    opacity: 0.8;
  }
  90% {
    opacity: 1;
  }
}

/* --- Animated Gradient Border on Card --- */
.oferta-card-glow-border {
  background: linear-gradient(135deg, #FBBF24, #F59E0B, #7C3AED, #A78BFA, #FBBF24, #F59E0B);
  background-size: 400% 400%;
  animation: ofertaBorderGradient 4s ease infinite;
  filter: blur(2px);
}

@keyframes ofertaBorderGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Card Elevation & Hover --- */
.oferta-card-premium {
  transition: transform 400ms ease;
  filter: drop-shadow(0 25px 60px rgba(124, 58, 237, 0.3)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}
.oferta-card-premium:hover {
  transform: translateY(-6px);
}

/* --- Ribbon Shine Effect --- */
.oferta-ribbon-shine {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: ofertaRibbonShine 3s ease-in-out infinite;
}
@keyframes ofertaRibbonShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- Price Number Pulse --- */
.oferta-price-number {
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
  animation: ofertaPricePulse 3s ease-in-out infinite;
}
@keyframes ofertaPricePulse {
  0%, 100% {
    text-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 4px 30px rgba(124, 58, 237, 0.5), 0 0 60px rgba(124, 58, 237, 0.15);
    transform: scale(1.02);
  }
}

/* --- CTA Button Premium --- */
.oferta-cta-btn {
  box-shadow:
    0 8px 30px rgba(124, 58, 237, 0.4),
    0 4px 15px rgba(124, 58, 237, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: ofertaCtaPulse 2.5s ease-in-out infinite;
}
.oferta-cta-btn:hover {
  box-shadow:
    0 12px 40px rgba(124, 58, 237, 0.5),
    0 6px 20px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@keyframes ofertaCtaPulse {
  0%, 100% {
    box-shadow:
      0 8px 30px rgba(124, 58, 237, 0.4),
      0 4px 15px rgba(124, 58, 237, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow:
      0 12px 45px rgba(124, 58, 237, 0.55),
      0 6px 25px rgba(124, 58, 237, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

/* --- CTA Shine Sweep --- */
.oferta-cta-shine {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: ofertaCtaShineSweep 4s ease-in-out infinite;
  animation-delay: 1s;
}
@keyframes ofertaCtaShineSweep {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(200%); }
}

/* --- Guarantee Strip Shine --- */
.oferta-guarantee-strip {
  position: relative;
  overflow: hidden;
}
.oferta-guarantee-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: ofertaGuaranteeShine 5s ease-in-out infinite;
}
@keyframes ofertaGuaranteeShine {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* --- Gold Shimmer Card (Atualizações Vitalícias) --- */
.gold-shimmer-card {
  position: relative;
  overflow: hidden;
}
.gold-shimmer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.08), transparent);
  animation: goldShimmerSweep 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes goldShimmerSweep {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* --- Value Table Shadow --- */
.oferta-value-table {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   HERO CARDS - ANIMAÇÕES PREMIUM
   ============================================ */

/* --- IA Master Card (Roxo) --- */
.hero-card-ia {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: heroCardPulseIA 4s ease-in-out infinite;
}

.hero-card-ia::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.6), rgba(167, 139, 250, 0.6));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(10px);
}

.hero-card-ia:hover::before {
  opacity: 1;
}

.hero-card-ia::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(167, 139, 250, 0.15) 50%, transparent 70%);
  animation: heroCardShineIA 3s ease-in-out infinite;
  pointer-events: none;
}

.hero-card-ia:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 25px 60px rgba(124, 58, 237, 0.4),
    0 15px 30px rgba(124, 58, 237, 0.3);
}

@keyframes heroCardPulseIA {
  0%, 100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
  }
}

@keyframes heroCardShineIA {
  0% {
    transform: rotate(0deg) translateX(-100%);
  }
  100% {
    transform: rotate(0deg) translateX(100%);
  }
}

/* --- Logic Master Card (Ciano) --- */
.hero-card-logic {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: heroCardPulseLogic 4s ease-in-out infinite;
  animation-delay: 0.5s;
}

.hero-card-logic::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(2, 241, 250, 0.6), rgba(51, 244, 251, 0.6));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(10px);
}

.hero-card-logic:hover::before {
  opacity: 1;
}

.hero-card-logic::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(2, 241, 250, 0.15) 50%, transparent 70%);
  animation: heroCardShineLogic 3s ease-in-out infinite;
  animation-delay: 0.5s;
  pointer-events: none;
}

.hero-card-logic:hover {
  transform: translateY(-8px) scale(1.05) rotate(-4deg);
  box-shadow:
    0 25px 60px rgba(2, 241, 250, 0.4),
    0 15px 30px rgba(2, 241, 250, 0.3);
}

@keyframes heroCardPulseLogic {
  0%, 100% {
    box-shadow: 0 0 20px rgba(2, 241, 250, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(2, 241, 250, 0.6);
  }
}

@keyframes heroCardShineLogic {
  0% {
    transform: rotate(0deg) translateX(-100%);
  }
  100% {
    transform: rotate(0deg) translateX(100%);
  }
}

/* --- FastAPI Card (Verde) --- */
.hero-card-fastapi {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: heroCardPulseFastAPI 4s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-card-fastapi::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(20, 225, 208, 0.6), rgba(68, 234, 217, 0.6));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(10px);
}

.hero-card-fastapi:hover::before {
  opacity: 1;
}

.hero-card-fastapi::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(20, 225, 208, 0.15) 50%, transparent 70%);
  animation: heroCardShineFastAPI 3s ease-in-out infinite;
  animation-delay: 1s;
  pointer-events: none;
}

.hero-card-fastapi:hover {
  transform: translateY(-8px) scale(1.05) rotate(5deg);
  box-shadow:
    0 25px 60px rgba(20, 225, 208, 0.4),
    0 15px 30px rgba(20, 225, 208, 0.3);
}

@keyframes heroCardPulseFastAPI {
  0%, 100% {
    box-shadow: 0 0 20px rgba(20, 225, 208, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(20, 225, 208, 0.6);
  }
}

@keyframes heroCardShineFastAPI {
  0% {
    transform: rotate(0deg) translateX(-100%);
  }
  100% {
    transform: rotate(0deg) translateX(100%);
  }
}

/* ============================================
   COURSE CARDS (Detalhes) - ANIMAÇÕES PREMIUM
   ============================================ */

/* --- IA Master Course Card --- */
.course-card-ia {
  transition: all 0.5s ease;
  animation: courseCardFloat 6s ease-in-out infinite;
}

.course-card-glow-ia {
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.3), transparent 70%);
  filter: blur(40px);
  transition: opacity 0.5s ease;
}

.course-card-ia:hover {
  transform: translateY(-12px) scale(1.08);
  box-shadow:
    0 30px 80px rgba(124, 58, 237, 0.5),
    0 20px 40px rgba(124, 58, 237, 0.4),
    inset 0 0 60px rgba(124, 58, 237, 0.1);
}

.course-card-ia:hover .course-card-glow-ia {
  opacity: 1;
}

/* --- FastAPI Course Card --- */
.course-card-fastapi {
  transition: all 0.5s ease;
  animation: courseCardFloat 6s ease-in-out infinite;
  animation-delay: 1s;
}

.course-card-glow-fastapi {
  background: radial-gradient(circle at center, rgba(20, 225, 208, 0.3), transparent 70%);
  filter: blur(40px);
  transition: opacity 0.5s ease;
}

.course-card-fastapi:hover {
  transform: translateY(-12px) scale(1.08) rotate(2deg);
  box-shadow:
    0 30px 80px rgba(20, 225, 208, 0.5),
    0 20px 40px rgba(20, 225, 208, 0.4),
    inset 0 0 60px rgba(20, 225, 208, 0.1);
}

.course-card-fastapi:hover .course-card-glow-fastapi {
  opacity: 1;
}

/* --- Logic Master Course Card --- */
.course-card-logic {
  transition: all 0.5s ease;
  animation: courseCardFloat 6s ease-in-out infinite;
  animation-delay: 2s;
}

.course-card-glow-logic {
  background: radial-gradient(circle at center, rgba(2, 241, 250, 0.3), transparent 70%);
  filter: blur(40px);
  transition: opacity 0.5s ease;
}

.course-card-logic:hover {
  transform: translateY(-12px) scale(1.08) rotate(-2deg);
  box-shadow:
    0 30px 80px rgba(2, 241, 250, 0.5),
    0 20px 40px rgba(2, 241, 250, 0.4),
    inset 0 0 60px rgba(2, 241, 250, 0.1);
}

.course-card-logic:hover .course-card-glow-logic {
  opacity: 1;
}

/* --- Floating Animation for Course Cards --- */
@keyframes courseCardFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
