/* VARIABLES */
:root {
  --cv-black: #1f2126;
  --cv-yellow: #f2a71b;
  --cv-gold: #bf871f;
  --cv-gray: #bfc3cc;
  --cv-dark-card: #282a30;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--cv-black);
  color: #fff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* NAVBAR */
.navbar {
  background: rgba(22, 24, 28, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242, 167, 27, 0.08);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: rgba(22, 24, 28, 1);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.03);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--cv-yellow);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 60%;
}

/* BOTONES */
.btn-cta {
  background: var(--cv-yellow);
  color: #000;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(242, 167, 27, 0.25);
  font-size: 0.95rem;
  letter-spacing: -0.3px;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(242, 167, 27, 0.4);
  color: #000;
  background: #ffb732;
}

.btn-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-3px);
}

/* HERO SECTION */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1d24 0%, #1f2126 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(242, 167, 27, 0.08),
    transparent 70%
  );
  border-radius: 50%;
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(191, 135, 31, 0.06),
    transparent 70%
  );
  border-radius: 50%;
  animation: pulseGlow 10s ease-in-out infinite reverse;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2) rotate(5deg);
    opacity: 0.6;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.8s ease;
}

.hero-highlight {
  color: var(--cv-yellow);
  display: block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--cv-gray);
  margin-bottom: 1.5rem;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.2s backwards;
  line-height: 1.5;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.badge-hero {
  background: rgba(242, 167, 27, 0.12);
  border: 1px solid rgba(242, 167, 27, 0.25);
  padding: 0.6rem 1.3rem;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--cv-yellow);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.badge-hero i {
  font-size: 1.1rem;
}

.badge-hero:hover {
  background: rgba(242, 167, 27, 0.18);
  transform: translateY(-2px);
  border-color: rgba(242, 167, 27, 0.4);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-image-container {
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease 0.4s backwards;
}

.hero-main-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 1px solid rgba(242, 167, 27, 0.1);
}

.hero-main-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.hero-main-image:hover img {
  transform: scale(1.05);
}

/* ICONOS FLOTANTES */
.floating-tech-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--cv-dark-card), #1a1d22);
  border: 2px solid rgba(242, 167, 27, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: floatSpin 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.floating-tech-icon i {
  font-size: 2rem;
  color: var(--cv-yellow);
}

.tech-icon-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.tech-icon-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 2s;
}

.tech-icon-3 {
  top: 40%;
  right: -8%;
  animation-delay: 4s;
  width: 60px;
  height: 60px;
}

@keyframes floatSpin {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(5deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* TRUST BAR */
.trust-bar {
  background: linear-gradient(135deg, #282a30, #23252b);
  border-top: 1px solid rgba(242, 167, 27, 0.08);
  border-bottom: 1px solid rgba(242, 167, 27, 0.08);
  padding: 3rem 0;
}

.trust-item {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 1.2rem;
  background: var(--cv-yellow);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(242, 167, 27, 0.25);
}

.trust-item:hover .trust-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(242, 167, 27, 0.4);
}

.trust-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.trust-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* SECCIONES */
.section-padding {
  padding: 100px 0;
}

.section-soft {
  background: linear-gradient(135deg, #1a1c20, #1f2126);
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.section-title-highlight {
  color: var(--cv-yellow);
}

/* AREA CARDS */
.area-card {
  background: linear-gradient(135deg, var(--cv-dark-card), #23252b);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(242, 167, 27, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
}

.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cv-yellow), var(--cv-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-card:hover {
  transform: translateY(-12px);
  border-color: rgba(242, 167, 27, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.area-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.area-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(31, 33, 38, 0.95)
  );
}

.area-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.area-card:hover .area-card-image img {
  transform: scale(1.15);
}

.area-card-content {
  padding: 2rem;
  position: relative;
}

.area-icon {
  width: 65px;
  height: 65px;
  background: var(--cv-yellow);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #000;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(242, 167, 27, 0.3);
}

.area-card:hover .area-icon {
  transform: scale(1.1) rotate(8deg);
}

.area-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.area-card p {
  color: var(--cv-gray);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.area-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.area-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cv-yellow);
}

/* CURSOS DESTACADOS */
.curso-card {
  background: linear-gradient(135deg, var(--cv-dark-card), #23252b);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(242, 167, 27, 0.1);
  transition: all 0.4s ease;
  display: flex;
  gap: 2rem;
  height: 100%;
  align-items: center;
}

.curso-card:hover {
  border-color: rgba(242, 167, 27, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.curso-image {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(242, 167, 27, 0.15);
}

.curso-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.curso-card:hover .curso-image img {
  transform: scale(1.15);
}

.curso-content {
  flex: 1;
}

.curso-content h5 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.curso-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--cv-gray);
  flex-wrap: wrap;
}

.curso-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.curso-description {
  color: var(--cv-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.curso-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.curso-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cv-yellow);
  letter-spacing: -1px;
}

/* COMO FUNCIONA */
.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--cv-yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  box-shadow: 0 8px 20px rgba(242, 167, 27, 0.3);
}

.step-card h5 {
  font-size: 1.3rem;
  margin: 1rem 0 0.8rem;
  font-weight: 800;
}

.step-card p {
  color: var(--cv-gray);
  font-size: 0.95rem;
}

/* PLANES */
.plan-card {
  background: linear-gradient(135deg, var(--cv-dark-card), #23252b);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  border: 2px solid rgba(242, 167, 27, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  height: 100%;
}

.plan-card:hover {
  border-color: rgba(242, 167, 27, 0.4);
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.plan-card.featured {
  border-color: var(--cv-yellow);
  background: linear-gradient(135deg, #2d3035, var(--cv-dark-card));
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(242, 167, 27, 0.15);
}

.plan-card.featured:hover {
  transform: scale(1.08) translateY(-15px);
}

.badge-plan {
  background: var(--cv-yellow);
  color: #000;
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(242, 167, 27, 0.3);
}

.plan-icon {
  width: 90px;
  height: 90px;
  background: var(--cv-yellow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: #000;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(242, 167, 27, 0.3);
}

.plan-card:hover .plan-icon {
  transform: rotate(360deg) scale(1.1);
}

.plan-card h5 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.plan-card > p {
  color: var(--cv-gray);
  margin-bottom: 1.5rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--cv-yellow);
  margin: 1.5rem 0;
  letter-spacing: -2px;
}

.plan-price small {
  font-size: 1.2rem;
  color: var(--cv-gray);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.plan-features li {
  padding: 0.8rem 0;
  color: var(--cv-gray);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features i {
  color: var(--cv-yellow);
  margin-top: 0.2rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* BLOG CARDS */
.blog-card {
  background: linear-gradient(135deg, var(--cv-dark-card), #23252b);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(242, 167, 27, 0.1);
  transition: all 0.4s ease;
  height: 100%;
}

.blog-card:hover {
  border-color: rgba(242, 167, 27, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.blog-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 2rem;
}

.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(242, 167, 27, 0.12);
  border: 1px solid rgba(242, 167, 27, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--cv-yellow);
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-content h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.blog-content p {
  color: var(--cv-gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* TESTIMONIOS */
.testimonial-card {
  background: linear-gradient(135deg, var(--cv-dark-card), #23252b);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(242, 167, 27, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  text-align: center;
}

.testimonial-card:hover {
  border-color: rgba(242, 167, 27, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.testimonial-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid var(--cv-yellow);
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(242, 167, 27, 0.3);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.15);
  border-width: 5px;
}

.testimonial-stars {
  color: var(--cv-yellow);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
}

.testimonial-text {
  font-style: italic;
  color: var(--cv-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

/* CTA FINAL */
.cta-final {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, #1a1d24, #1f2126);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(242, 167, 27, 0.1), transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 10s ease-in-out infinite;
}

.cta-final-content {
  position: relative;
  z-index: 2;
}

.cta-final h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

/* FOOTER */
footer {
  background: #16181c;
  color: var(--cv-gray);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(242, 167, 27, 0.08);
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cv-yellow);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(242, 167, 27, 0.1);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-yellow);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(242, 167, 27, 0.2);
}

.social-icon:hover {
  background: var(--cv-yellow);
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 167, 27, 0.3);
}

.footer-section h6 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--cv-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--cv-yellow);
  padding-left: 5px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(242, 167, 27, 0.1);
  margin: 2rem 0 1.5rem;
}

.footer-copyright {
  text-align: center;
  font-size: 0.9rem;
  padding-top: 1rem;
}

/* CAROUSEL */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(242, 167, 27, 0.15);
  border: 2px solid rgba(242, 167, 27, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--cv-yellow);
  border-color: var(--cv-yellow);
}

.carousel-control-prev {
  left: -80px;
}

.carousel-control-next {
  right: -80px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .curso-card {
    flex-direction: column;
  }

  .curso-image {
    width: 100%;
    height: 220px;
  }
  .floating-tech-icon {
    display: none;
  }
  .carousel-control-prev {
    left: 10px;
  }
  .carousel-control-next {
    right: 10px;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .plan-card.featured {
    transform: scale(1);
  }
  .plan-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .btn-cta,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .cta-final h2 {
    font-size: 2rem;
  }
}
/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}
