/* 
   tutor-ia-landing.css 
   Estilos específicos para la landing page de TutorIA 
*/

#solicitar-acceso {
  margin-top: 40px !important;
}

.section-top-margin {
  margin-top: 80px;
}

body {
  background-color: #fff;
}

.hero-ia {
  padding-top: 180px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #f8faff 0%, #eef2f7 100%);
  position: relative;
  overflow: hidden;
}

.hero-ia::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(27, 57, 106, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.ia-gradient-text {
  background: linear-gradient(-145deg, #1B396A 0%, #dc3545 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  font-weight: 800;
  text-shadow: 0 10px 20px rgba(27, 57, 106, 0.1);
}

.hero-text-p {
  font-size: 17px;
  line-height: 1.8;
  margin-top: 25px;
  color: #555;
}

.hero-text-p-secondary {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.hero-ia-buttons {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.ia-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(27, 57, 106, 0.1);
  color: var(--tecnm-azul-profundo, #1B396A);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  padding-left: 50px;
}

.hero-image-wrap img {
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(27, 57, 106, 0.15);
  border: 8px solid white;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.icon-wrap-ia {
  background: #1B396A;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin-bottom: 25px;
}

.icon-wrap-ia i {
  color: white;
  font-size: 24px;
}

.benefits-row {
  background: #f8faff;
}

.footnote-ia {
  font-size: 13px;
  color: #888;
  font-style: italic;
  opacity: 0.8;
  margin-top: 20px;
}

.ia-card {
  backdrop-filter: blur(10px);
  padding: 45px 35px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(27, 57, 106, 0.05);
  height: 100%;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.ia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(27, 57, 106, 0.12);
  border-color: rgba(27, 57, 106, 0.2);
}

.ia-card .icon-wrap {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--tecnm-azul-profundo, #1B396A) 0%, var(--tecnm-azul-medio, #122a50) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(27, 57, 106, 0.2);
  color: #fff;
  font-size: 30px;
}

.ia-card h4 {
  font-weight: 800;
  margin-bottom: 20px;
  color: #111;
  font-size: 20px;
}

.ia-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

/* Section Heading Emph */
.section-heading h4 em {
  color: var(--tecnm-azul-profundo, #1B396A);
  font-style: normal;
  background: linear-gradient(to right, var(--tecnm-azul-profundo, #1B396A), var(--tecnm-rojo, #dc3545));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-box-ia {
  background: linear-gradient(135deg, var(--tecnm-azul-profundo, #1B396A) 0%, #1a3461 50%, var(--tecnm-azul-medio, #122a50) 100%);
  padding: 100px 50px;
  border-radius: 40px;
  color: #fff;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(27, 57, 106, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box-ia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(220, 53, 69, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.cta-box-ia::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

.cta-box-ia h2,
.cta-box-ia p,
.cta-box-ia .main-button-gradient {
  position: relative;
  z-index: 2;
}

.cta-box-ia h2 {
  color: #fff;
  font-weight: 900;
  margin-bottom: 25px;
  font-size: 42px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-box-ia p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  margin-bottom: 45px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.ia-pulse {
  width: 12px;
  height: 12px;
  background: #2ECC71;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

/* Credits Section Styles */
.credits-section {
  margin-top: 0px !important;
  padding: 80px 0;
  background: #fff;
}

.credits-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 30px 60px rgba(27, 57, 106, 0.08);
  position: relative;
  transition: all 0.4s ease;
}

.credits-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(27, 57, 106, 0.08);
  border-color: rgba(27, 57, 106, 0.1);
}

.credits-img-wrap {
  position: relative;
  padding: 20px;
}

.credits-img-wrap img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 40px 80px rgba(27, 57, 106, 0.12);
}

.credits-img-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #dc3545;
  color: white;
  padding: 12px 25px;
  border-radius: 15px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.credits-info-wrap {
  padding-left: 50px;
}

.credits-text-p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

.credits-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 35px;
}

.badge-google { background: rgba(27, 57, 106, 0.05); color: #1B396A; }
.badge-heart { background: rgba(220, 53, 69, 0.05); color: #dc3545; }

.student-pride-box {
  font-size: 17px;
  color: #1B396A;
  font-weight: 800;
  border-top: 2px solid #1B396A;
  display: inline-block;
  padding-top: 15px;
  letter-spacing: -0.5px;
  margin: 0;
}

.credits-icon-box {
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, var(--tecnm-azul-profundo, #1B396A) 0%, var(--tecnm-azul-medio, #122a50) 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 55px;
  flex-shrink: 0;
  box-shadow: 0 20px 40px rgba(27, 57, 106, 0.2);
  position: relative;
}

.credits-icon-box::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  top: 0;
  left: 0;
}

.credits-content h2 {
  font-weight: 800;
  font-size: 36px;
  margin-bottom: 20px;
  color: #111;
}

.credits-content h6 {
  font-size: 13px;
  text-transform: uppercase;
  color: #7a7a7a;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  letter-spacing: 1px;
}

/* Reducir margen inferior del formulario en esta página */
.form-constancia-wrap {
  margin-bottom: 0 !important;
}

.team-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}

.team-badge {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(27, 57, 106, 0.1);
  padding: 10px 22px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1B396A;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.team-badge:hover {
  background: var(--tecnm-azul-profundo, #1B396A);
  color: #fff;
  transform: translateY(-2px);
}

.team-badge i {
  color: var(--tecnm-azul-profundo, #1B396A);
  transition: all 0.3s ease;
}

.team-badge:hover i {
  color: #fff;
}

@media (max-width: 991px) {
  .hero-ia {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero-ia .hero-ia-buttons {
    justify-content: center;
  }

  .section-top-margin {
    margin-top: 40px !important;
  }

  .right-image {
    padding-left: 0 !important;
    margin-top: 40px;
  }

  .credits-section {
    padding: 20px 0 !important;
  }

  .credits-content-wrap {
    padding: 30px 20px !important;
    text-align: center;
  }

  .credits-content-wrap .section-heading {
    text-align: center !important;
  }

  .credits-content-wrap .team-badge-wrap {
    justify-content: center;
  }

  .ia-card {
    padding: 30px 20px;
  }

  .section-heading h4 {
    font-size: 28px;
  }
}

@media (max-width: 575px) {

  .btn-ia-primary,
  .btn-ia-secondary {
    width: 100%;
    text-align: center;
  }

  .cta-box-ia h2 {
    font-size: 30px;
  }
}

/* Custom Buttons for Landing */
.btn-ia-primary {
  padding: 15px 45px;
  font-size: 16px;
  border-radius: 50px;
  background: linear-gradient(-145deg, var(--tecnm-azul-profundo, #1B396A) 0%, var(--tecnm-azul-medio, #122a50) 100%);
  box-shadow: 0 15px 30px rgba(27, 57, 106, 0.25);
  border: none;
  color: #fff !important;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-block;
}

.btn-ia-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(27, 57, 106, 0.35);
  opacity: 1;
}

.btn-ia-secondary {
  padding: 15px 35px;
  font-size: 16px;
  border-radius: 50px;
  background: #fff;
  color: var(--tecnm-azul-profundo, #1B396A) !important;
  border: 2px solid var(--tecnm-azul-profundo, #1B396A);
  font-weight: 700;
  transition: all 0.3s;
  display: inline-block;
}

.btn-ia-secondary:hover {
  background: rgba(27, 57, 106, 0.05);
  transform: translateY(-2px);
}

.btn-ia-white {
  background: #fff !important;
  color: var(--tecnm-azul-profundo, #1B396A) !important;
  padding: 16px 45px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  text-transform: none;
}

.btn-ia-white:hover {
  background: #f0f4f8 !important;
  transform: translateY(-3px);
  color: var(--tecnm-azul-medio, #122a50) !important;
}