/* Estilos principales - Cursos de Contabilidad
   Paleta de colores:
   - Fondo principal: #1E1E1E (grafito oscuro)
   - Acentos: #FF6B35 (naranja neón), #30F2D3 (menta profundo)
   - Textos: #FFFFFF (blanco), #BFBFBF (gris-beige)
   - Fondos de bloques: gradiente de #1E1E1E a #2E2E2E
*/

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  background-color: #1E1E1E;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Contenedor principal */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #FF6B35, #30F2D3);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #BFBFBF;
}

a {
  color: #30F2D3;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #FF6B35;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(90deg, #FF6B35, #30F2D3);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #30F2D3;
  color: #30F2D3;
}

.btn-secondary:hover {
  background-color: rgba(48, 242, 211, 0.1);
  transform: translateY(-3px);
}

/* Header */
header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: rgba(30, 30, 30, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: #FFFFFF;
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF6B35, #30F2D3);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Secciones */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Banner principal */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.8));
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1s ease-in-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Tarjetas de cursos */
.courses {
  background: linear-gradient(135deg, #1E1E1E, #2E2E2E);
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.course-card {
  background: linear-gradient(145deg, #1E1E1E, #2E2E2E);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(48, 242, 211, 0.1);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(48, 242, 211, 0.2);
  border: 1px solid rgba(48, 242, 211, 0.3);
}

.course-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.course-content {
  padding: 20px;
}

.course-level {
  display: inline-block;
  padding: 5px 10px;
  background-color: rgba(48, 242, 211, 0.2);
  color: #30F2D3;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.course-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.course-description {
  font-size: 0.9rem;
  color: #BFBFBF;
  margin-bottom: 20px;
}

/* Sección de ventajas */
.features {
  background-color: #1E1E1E;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  padding: 30px;
  background: linear-gradient(145deg, #1E1E1E, #2E2E2E);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #FF6B35;
}

/* Sección de testimonios */
.testimonials {
  background: linear-gradient(135deg, #1E1E1E, #2E2E2E);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  background: linear-gradient(145deg, #2E2E2E, #1E1E1E);
  border-radius: 8px;
  position: relative;
  border: 1px solid rgba(48, 242, 211, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(48, 242, 211, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-position {
  font-size: 0.8rem;
  color: #BFBFBF;
}

/* Sección de pasos de aprendizaje */
.learning-steps {
  background-color: #1E1E1E;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 30px;
  width: calc(100% - 60px);
  height: 2px;
  background: linear-gradient(90deg, #FF6B35, #30F2D3);
  z-index: 0;
}

.step {
  flex: 1;
  min-width: 250px;
  margin: 15px;
  padding: 30px;
  background: linear-gradient(145deg, #1E1E1E, #2E2E2E);
  border-radius: 8px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, #FF6B35, #30F2D3);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin: -50px auto 20px;
}

.step-title {
  text-align: center;
  margin-bottom: 15px;
}

/* FAQ */
.faq {
  background: linear-gradient(135deg, #1E1E1E, #2E2E2E);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(48, 242, 211, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background: linear-gradient(145deg, #1E1E1E, #2E2E2E);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(30, 30, 30, 0.5);
}

.faq-item:target .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Formulario de contacto */
.contact {
  background-color: #1E1E1E;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: linear-gradient(145deg, #1E1E1E, #2E2E2E);
  border-radius: 10px;
  position: relative;
}

.form-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #FF6B35, #30F2D3);
  border-radius: 12px;
  z-index: -1;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(191, 191, 191, 0.2);
  border-radius: 4px;
  color: #FFFFFF;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #30F2D3;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: #BFBFBF;
}

.form-checkbox a {
  color: #30F2D3;
}

/* Footer */
footer {
  background-color: #1A1A1A;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer-description {
  color: #BFBFBF;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 10px;
  color: #FF6B35;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #FF6B35, #30F2D3);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #BFBFBF;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #30F2D3;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(191, 191, 191, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #BFBFBF;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 30, 30, 0.95);
  padding: 15px 0;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para páginas de políticas */
.policy-section {
  padding: 120px 0 60px;
  background-color: #1E1E1E;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.policy-header {
  margin-bottom: 40px;
  text-align: center;
}

.policy-header h1 {
  margin-bottom: 10px;
  color: #FFFFFF;
}

.policy-updated {
  color: #BFBFBF;
  font-style: italic;
}

.policy-content {
  background: linear-gradient(145deg, #1E1E1E, #2E2E2E);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(48, 242, 211, 0.1);
}

.policy-content h2 {
  color: #30F2D3;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.policy-content h2::after {
  display: none;
}

.policy-content h3 {
  color: #FF6B35;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.policy-content p, .policy-content li {
  color: #BFBFBF;
  margin-bottom: 15px;
  line-height: 1.6;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.policy-content li {
  margin-bottom: 8px;
}

/* Estilos para la página de gracias */
.thanks-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #1E1E1E, #2E2E2E);
  width: 100%;
}

.thanks-content {
  max-width: 800px;
  text-align: center;
  padding: 50px;
  background: linear-gradient(145deg, #1E1E1E, #2E2E2E);
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(48, 242, 211, 0.2);
  animation: fadeIn 1s ease-in-out;
  margin: 0 auto;
}

.thanks-icon {
  font-size: 5rem;
  margin-bottom: 20px;
}

.thanks-content h1 {
  margin-bottom: 20px;
  color: #30F2D3;
}

.thanks-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Media queries para diseño responsivo */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
  }
  
  .steps-container::before {
    display: none;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  header {
    padding: 10px 0;
  }
  
  .logo {
    height: 30px;
  }
  
  .policy-section {
    padding: 100px 0 40px;
  }
  
  .policy-content {
    padding: 20px;
  }
  
  .thanks-actions {
    flex-direction: column;
  }
  
  .thanks-section {
    height: auto;
    min-height: 100vh;
  }
}

@media (max-width: 576px) {
  header {
    padding: 8px 0;
  }
  
  .header-container {
    flex-direction: column;
  }
  
  .logo {
    height: 25px;
    margin-bottom: 8px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 3px 8px;
  }
  
  nav a {
    font-size: 0.9rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
} 