/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(to right, rgba(11, 17, 26, 0.95) 0%, rgba(11, 17, 26, 0.7) 100%),
              url('https://images.unsplash.com/photo-1556228578-0d85b1a4d571?q=80&w=1920') no-repeat center center/cover;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--color-bg-dark));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.hero-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(242, 98, 82, 0.15);
  color: var(--color-accent);
  border-radius: var(--border-radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(242, 98, 82, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Sections Globais */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features / Como Funciona */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--color-bg-surface);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-10px);
  background: var(--color-bg-elevated);
}

.step-number {
  width: 60px;
  height: 60px;
  background: rgba(242, 98, 82, 0.1);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.step-card p {
  color: var(--color-text-muted);
}

/* Vitrine de Cursos (Estilo Netflix Carousel) */
.catalog-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scrollbar-width: none; /* Firefox */
}

.catalog-carousel::-webkit-scrollbar {
  display: none; /* Chrome */
}

.course-card {
  min-width: 280px;
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
}

.course-card:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.course-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.course-card-body {
  padding: 1.5rem;
}

/* Modifier para Square Cards (Usado na Landing Page) */
#render-catalogo {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; 
}

.course-card.square-card {
  aspect-ratio: 1 / 1;
  width: 320px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid rgba(255,255,255,0.05);
  background: none;
  display: block; /* Remove flex da original pra estabilizar absolute */
}

.course-card.square-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  border-color: var(--color-accent);
}

.course-card.square-card .course-card-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  transition: transform 0.5s ease;
}

.course-card.square-card:hover .course-card-img {
  transform: scale(1.05);
}

.course-card.square-card .course-card-body {
  position: absolute;
  bottom: -2px; /* Cobrir fresta */
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
  padding: 4rem 1.5rem 1.5rem; /* Mais respiro sup */
}

.course-card.square-card h4 {
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  font-weight: 700;
  line-height:1.3;
}

.course-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.course-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--color-gold);
  transform: scale(1.05);
  background: linear-gradient(180deg, var(--color-bg-elevated) 0%, var(--color-bg-surface) 100%);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #000;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.price span {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.pricing-features {
  margin: 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.pricing-features li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: linear-gradient(to top, #05080c, rgba(11,17,26,0.9));
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .pricing-card.popular { transform: none; }
  .hero-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
}

/* Animações Modernas e Ambientação Neon */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-fade-in-up-delay {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  opacity: 0;
}

.text-neon {
  color: #fff;
  text-shadow: 
    0 0 10px rgba(242, 98, 82, 0.6),
    0 0 20px rgba(242, 98, 82, 0.8),
    0 0 40px rgba(242, 98, 82, 1);
  animation: neonPulse 3s infinite alternate;
  display: inline-block;
  font-weight: 700;
}

@keyframes neonPulse {
  from { text-shadow: 0 0 5px rgba(242, 98, 82, 0.5), 0 0 10px rgba(242, 98, 82, 0.6), 0 0 20px rgba(242, 98, 82, 0.8); }
  to { text-shadow: 0 0 10px rgba(255, 128, 115, 0.7), 0 0 25px rgba(255, 128, 115, 0.9), 0 0 50px rgba(255, 128, 115, 1); }
}
