.transition-all {
  transition: all 0.4s ease-in-out;
}

/* Estilo da Navbar quando Scrolled */
.navbar.scrolled {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Botão Outline Estilo Glass */
.btn-outline-primary-glass {
  color: #78d8eb !important;
  border: 1px solid rgba(3, 176, 212, 0.45) !important;
  background: rgba(3, 176, 212, 0.05);
}
.btn-outline-primary-glass:hover {
  background: rgba(3, 176, 212, 0.15);
  color: #fff;
}

/* Botão Neon */
.btn-neon {
  background-color: #03b0d4;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(3, 176, 212, 0.4);
  border: none;
}

.btn-neon:hover {
  background-color: #017a94;
  box-shadow: 0 0 25px rgba(3, 176, 212, 0.6);
  transform: translateY(-1px);
}

/* Links da Navbar */
.hover-text-white:hover {
  color: #fff !important;
}
.text-primary-light {
  color: #78d8eb;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
  .navbar-collapse {
    background: rgba(15, 23, 42, 0.95);
    margin-top: 15px;
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.bg-gradient-hero {
  background: radial-gradient(circle at top right, rgba(3, 176, 212, 0.1), transparent 50%);
}
.blur-3xl {
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}
.bg-primary-glow {
  background: #03b0d4;
}
.bg-accent-glow {
  background: #017a94;
}
.z-index-10 {
  z-index: 10;
}

/* Typography */
.gradient-text {
  display: inline-block;
  color: #78d8eb;
  text-shadow: 0 0 18px rgba(3, 176, 212, 0.2);
}
.badge-custom {
  background: rgba(3, 176, 212, 0.15);
  border: 1px solid rgba(3, 176, 212, 0.2);
  color: #78d8eb;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Glass UI */
.glass-pill {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
}
.search-input {
  outline: none;
  font-size: 0.9rem;
}
.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Buttons */
.btn-neon-sm {
  background: #03b0d4;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(3, 176, 212, 0.3);
  transition: 0.3s;
}
.btn-neon-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(3, 176, 212, 0.5);
  color: white;
}

/* Orbital Animation System */
.orbital-container {
  width: 320px;
  height: 320px;
  perspective: 1000px;
}

.orbital-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(3, 176, 212, 0.15);
  border: 1px solid rgba(3, 176, 212, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 3s infinite ease-in-out;
}

.hero-section-content {
  margin-top: 250px;
}

.hero-cta-row .btn {
  min-width: 180px;
}

.hero-triggers .bx {
  font-size: 1.1rem;
}

.hero-schedule {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-schedule strong {
  color: #fff;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.ring-outer {
  width: 260px;
  height: 260px;
}
.ring-inner {
  width: 160px;
  height: 160px;
}

.orbit-item,
.orbit-item-reverse {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-glass {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(var(--radius));
}

/* Keyframes */
@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes orbit-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(3, 176, 212, 0.2);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(3, 176, 212, 0.4);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.orbit-item {
  animation: orbit var(--duration) linear infinite var(--delay);
}
.orbit-item-reverse {
  animation: orbit-reverse var(--duration) linear infinite var(--delay);
}

.dot-online {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

/* Initial Animations */
.animate-fade-in-left {
  animation: fadeInLeft 1s ease-out forwards;
}
.animate-fade-in-right {
  animation: fadeInRight 1s ease-out 0.3s forwards;
  opacity: 0;
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Container Principal */
.search-hero-wrapper {
  perspective: 1000px;
  z-index: 20;
}

/* O "Pill" com Glassmorphism Avançado */
.glass-pill-enhanced {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 6px; /* Espaçamento interno para o botão respirar */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Feedback de Foco (UX) */
.glass-pill-enhanced:focus-within {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.2), 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Input Styling */
.search-input-field {
  background: transparent;
  border: none;
  color: white;
  padding: 10px 15px;
  outline: none;
  font-size: 0.95rem;
  width: 100%;
}

.search-input-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
  transition: opacity 0.3s ease;
}

.search-input-field:focus::placeholder {
  opacity: 0.2;
}

/* Atalho Visual */
.search-shortcut span {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
}

/* Botão com Brilho Neon Ativo */
.btn-search-glow {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-search-glow:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
  filter: brightness(1.1);
}

.btn-search-glow:active {
  transform: scale(0.98);
}

/* Animação do Ícone ao Focar */
.glass-pill-enhanced:focus-within .bx-search {
  color: #60a5fa !important;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.metric-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step-badge {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(59, 130, 246, 0.8));
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.hover-scale {
  transition: transform 0.6s ease;
}
.glass-card:hover .hover-scale {
  transform: scale(1.1);
}

.bg-gradient-courses {
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.05), transparent);
}

/* Utilitários de Texto */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.x-small {
  font-size: 0.75rem;
}

/* Animação de Scroll (jQuery acionará isso) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.scroll-reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.footer-smart {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.logo-box-sm {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.footer-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #3b82f6;
  padding-left: 5px;
}

/* Newsletter Glass Input */
.glass-input-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 4px;
  transition: focus-within 0.3s;
}
.glass-input-group:focus-within {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.btn-neon-icon {
  background: #2563eb;
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.btn-neon-icon:hover {
  background: #1d4ed8;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: 0.3s;
}
.social-link:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
}

.hover-white:hover {
  color: #fff !important;
}

/* Card Base */
.course-glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.course-glass-card:hover {
  transform: translateY(-10px);
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.1);
}

/* Imagem */
.card-image-wrapper {
  position: relative;
  height: 180px;
  margin: 10px;
  border-radius: 18px;
  overflow: hidden;
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-glass-card:hover .course-img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
}

/* Badges e Tags */
.badge-wrapper {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.course-badge {
  background: rgba(37, 99, 235, 0.9);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.duration-tag {
  font-size: 0.75rem;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  padding: 2px 8px;
  border-radius: 8px;
}

/* Tipografia */
.course-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  height: 3.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer do Card */
.card-footer-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price-container {
  display: flex;
  flex-direction: column;
}
.old-price {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}
.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Botão Circular Premium */
.btn-round-neon {
  width: 45px;
  height: 45px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.course-glass-card:hover .btn-round-neon {
  transform: rotate(-45deg);
  background: #3b82f6;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
}
