/* ========================================
   ACADEMIA & CAREER PAGE STYLES
   ======================================== */

/* Hero Section */
.academy-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.academy-hero-inner {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.academy-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.academy-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.academy-hero-sub {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.academy-cta {
  font-size: 1.1rem;
  padding: 15px 35px;
  display: inline-block;
}

/* Quiz Section */
.quiz-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.quiz-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.quiz-card:hover {
  transform: translateY(-5px);
  border-color: #c8102e;
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.15);
}

.quiz-card.active {
  border-color: #c8102e;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.2);
}

.quiz-card.active::before {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  background: #c8102e;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.quiz-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.quiz-card h3 {
  font-size: 1.25rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.quiz-card p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Quiz Result Section */
.quiz-result {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.result-header h3 {
  font-size: 1.2rem;
  color: #28a745;
  margin-bottom: 0.5rem;
}

.result-header h2 {
  font-size: 2rem;
  color: #c8102e;
  font-weight: 700;
}

/* Journey Steps */
.result-journey {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.journey-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.journey-step {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.journey-step::after {
  content: '→';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #c8102e;
  font-weight: bold;
}

.journey-step:last-child::after {
  display: none;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: #666;
}

/* Result Extras */
.result-extras {
  background: #fff;
  border-left: 4px solid #c8102e;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.result-extras h4 {
  color: #c8102e;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.result-extras ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-extras li {
  padding: 0.5rem 0;
  color: #333;
  font-size: 1rem;
}

/* Result Pricing */
.result-pricing {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #c8102e 0%, #a00d24 100%);
  color: white;
  border-radius: 12px;
  margin: 2rem 0;
}

.result-pricing h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.result-pricing .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.result-pricing .price-note {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Result Actions */
.result-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Packs Grid */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pack-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pack-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a2e;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.pack-badge:has([data-i18n="pack_recommended"]) {
  background: linear-gradient(135deg, #c8102e 0%, #a00d24 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.pack-card h3 {
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.pack-subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.pack-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pack-features li {
  padding: 0.75rem 0;
  color: #333;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.pack-features li:last-child {
  border-bottom: none;
}

.pack-price {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 2rem;
}

.price-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #c8102e;
}

.price-currency {
  font-size: 1.2rem;
  color: #666;
  margin-left: 0.5rem;
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.module-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.module-card:hover {
  border-color: #c8102e;
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(200, 16, 46, 0.2);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c8102e 0%, #a00d24 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module-card:hover::before {
  opacity: 1;
}

.module-icon {
  font-size: 3.5rem;
  margin: 2rem 0 1rem;
  display: block;
  text-align: center;
}

.module-card h4 {
  font-size: 1.4rem;
  color: #1a1a2e;
  margin: 0 2rem 0.75rem;
  text-align: center;
  font-weight: 700;
}

.module-card > p {
  color: #666;
  font-size: 1rem;
  margin: 0 2rem 1.5rem;
  text-align: center;
  line-height: 1.5;
}

/* Module Details Section */
.module-details {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 1.5rem 2rem 2rem;
  border-top: 2px solid #e0e0e0;
  text-align: left;
}

.module-details p {
  margin: 0.75rem 0;
  color: #444;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.module-details p strong:first-child {
  color: #1a1a2e;
  font-weight: 600;
  min-width: fit-content;
}

.module-details ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.module-details li {
  padding: 0.4rem 0;
  color: #666;
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.module-details li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: #c8102e;
  font-weight: bold;
}

.module-details li strong {
  color: #c8102e;
  font-weight: 700;
  font-size: 1rem;
}

.module-details > p:last-child {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

.module-price {
  font-size: 1.1rem;
  color: #c8102e;
  font-weight: 600;
}

.module-price strong {
  font-size: 1.3rem;
}

/* FAQ Section */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #c8102e;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: #666;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

/* CTA Section */
.academy-cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
}

.academy-cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.academy-cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.academy-cta-box > p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-email {
  background: white;
  color: #1a1a2e;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-email:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
  color: #1a1a2e;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.academy-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.academy-contact-form input,
.academy-contact-form select,
.academy-contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.academy-contact-form input:focus,
.academy-contact-form select:focus,
.academy-contact-form textarea:focus {
  outline: none;
  border-color: #c8102e;
}

.academy-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.academy-contact-form button {
  width: 100%;
  margin-top: 1rem;
}

/* Detailed Timeline Visualization */
.detailed-timeline {
  margin: 2rem 0;
}

.timeline-phase {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-phase:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 80px;
  bottom: -3rem;
  width: 3px;
  background: linear-gradient(to bottom, #c8102e 0%, rgba(200, 16, 46, 0.3) 100%);
}

.timeline-marker {
  flex-shrink: 0;
  text-align: center;
  width: 80px;
}

.timeline-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.timeline-month {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8102e;
  background: #fff5f5;
  padding: 0.5rem;
  border-radius: 20px;
}

.timeline-content {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #c8102e;
}

.timeline-content h4 {
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.timeline-duration {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 600;
}

.timeline-desc {
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.timeline-price {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.timeline-price strong {
  color: #c8102e;
  font-size: 1.1rem;
}

.timeline-price div {
  padding: 0.25rem 0;
}

.timeline-price span {
  font-size: 0.9rem;
  color: #666;
  margin-left: 0.5rem;
}

/* Timeline Parallel Activities */
.timeline-parallel {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  border: 2px solid #c8102e;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: start;
}

.parallel-marker {
  font-size: 2rem;
  flex-shrink: 0;
}

.parallel-content {
  flex: 1;
}

.parallel-content strong {
  display: block;
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.parallel-content p {
  color: #666;
  margin-bottom: 0.5rem;
}

.parallel-timing {
  font-size: 0.9rem;
  color: #c8102e !important;
  font-weight: 600;
  margin: 0.5rem 0 !important;
}

.parallel-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c8102e;
  margin-top: 0.5rem;
}

/* Timeline Substeps */
.timeline-substeps {
  margin-top: 1.5rem;
  border-top: 2px dashed #e0e0e0;
  padding-top: 1.5rem;
}

.substep {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.substep:hover {
  border-color: #c8102e;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.1);
}

.substep.conditional {
  border-style: dashed;
  background: #f8f9fa;
}

.substep-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.substep-label {
  background: #1a1a2e;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.substep-header strong {
  color: #1a1a2e;
  font-size: 1.1rem;
}

.condition-badge {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a2e;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: auto;
}

.substep p {
  color: #666;
  margin: 0.5rem 0;
  line-height: 1.5;
}

.substep-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c8102e;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
}

/* Return Home Section */
.return-home-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 0;
}

.return-home-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.return-home-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  border-color: #c8102e;
}

.return-home-box h3 {
  font-size: 1.75rem;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.return-home-box p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  padding: 15px 35px;
  transition: all 0.3s ease;
}

.btn-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

.btn-home span:first-child {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.btn-home:hover span:first-child {
  transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Timeline responsive */
  .detailed-timeline {
    margin: 1rem 0;
  }

  .timeline-phase {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .timeline-phase:not(:last-child)::after {
    left: 40px;
    top: 100px;
  }

  .timeline-marker {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .timeline-icon {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .timeline-month {
    flex: 1;
    text-align: left;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .timeline-content h4 {
    font-size: 1.25rem;
  }

  .timeline-parallel {
    flex-direction: column;
    padding: 1rem;
  }

  .substep-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .condition-badge {
    margin-left: 0;
  }

  .return-home-section {
    padding: 3rem 0;
  }

  .return-home-box {
    padding: 2rem;
  }

  .return-home-box h3 {
    font-size: 1.5rem;
  }

  .return-home-box p {
    font-size: 1rem;
  }

  .btn-home {
    width: 100%;
    justify-content: center;
  }

  .academy-hero h1 {
    font-size: 2rem;
  }

  .academy-hero-sub {
    font-size: 1rem;
  }

  .quiz-cards {
    grid-template-columns: 1fr;
  }

  .quiz-result {
    padding: 1.5rem;
  }

  .result-header h2 {
    font-size: 1.5rem;
  }

  .journey-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .journey-step {
    width: 100%;
    max-width: 300px;
  }

  .journey-step::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1.5rem;
    transform: translateX(-50%);
  }

  .journey-step:last-child::after {
    display: none;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-actions .btn {
    width: 100%;
  }

  .packs-grid {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .academy-contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .academy-cta-box h2 {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-whatsapp,
  .btn-email {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .academy-hero {
    padding: 100px 15px 60px;
  }

  .academy-icon {
    font-size: 3rem;
  }

  .academy-hero h1 {
    font-size: 1.75rem;
  }

  .quiz-icon {
    font-size: 2.5rem;
  }

  .quiz-card h3 {
    font-size: 1.1rem;
  }

  .pack-card {
    padding: 1.5rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
