/* =====================================================
   PRICING & PROGRAM DETAILS CSS
===================================================== */

/* ==========================================================
   PRICING HERO
========================================================== */
.pricing-hero {
  position: relative;
  background: #090b0e;
  padding: 140px 0 70px;
  overflow: hidden;
  isolation: isolate;
  background-image: url('../../assets/images/hero/pricing-hero-1.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 11, 14, 0.75) 0%,
    rgba(9, 11, 14, 0.85) 75%,
    rgba(9, 11, 14, 1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.pricing-hero .container {
  position: relative;
  z-index: 2;
}

.pricing-hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pricing-hero-copy {
  text-align: left;
}

.hero-pricing-pill {
  margin: 0 0 16px 0;
  display: inline-table;
}

.hero-pricing-title {
  text-align: left !important;
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-pricing-title span {
  color: var(--primary);
}

.hero-pricing-desc {
  text-align: left !important;
  margin: 0 0 28px 0;
  max-width: 520px;
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1.6;
}

.pricing-hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(36, 180, 126, 0.1);
  border: 1px solid rgba(36, 180, 126, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}

.hero-stat-item h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hero-stat-item p {
  color: #a1a1aa;
  font-size: 12px;
  margin: 0;
}

.pricing-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pricing-hero-visual img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

/* ==========================================================
   PRICING CARDS SECTION
========================================================== */
.pricing-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  isolation: isolate;
  background: #090b0e url('../../assets/images/pricing/price-cards-background.png') center center / cover no-repeat;
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 11, 14, 0.15);
  z-index: 0;
  pointer-events: none;
}

.pricing-section .container {
  position: relative;
  z-index: 1;
}

.pricing-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.pricing-section-eyebrow {
  display: block;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-section-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
}

.pricing-section-title span {
  color: var(--primary);
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}


.pricing-plan-card {
  position: relative;
  padding-top: 38px;
}

.pricing-plan-card-inner {
  background: rgba(6, 20, 14, 0.55);
  border: 1px solid rgba(36, 180, 126, 0.4);
  padding: 56px 40px 40px;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}

.pricing-plan-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 20, 14, 0.95);
  border: 1px solid rgba(36, 180, 126, 0.6);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 0 24px rgba(36, 180, 126, 0.45);
  color: var(--primary);
  font-size: 28px;
  z-index: 2;
}

.pricing-plan-card h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  margin: 20px 0 6px;
}

.pricing-plan-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 26px;
}

.pricing-plan-price {
  color: var(--primary);
  font-size: 52px;
  font-weight: 800;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 26px;
}

.pricing-plan-price .currency {
  font-size: 26px;
  margin-top: 10px;
}

.pricing-plan-divider {
  height: 1px;
  max-width: 220px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, transparent 0%, rgba(36, 180, 126, 0.6) 50%, transparent 100%);
  position: relative;
}

.pricing-plan-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(36, 180, 126, 0.8);
  transform: translate(-50%, -50%);
}

.pricing-plan-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto 32px;
}

.pricing-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  border: 1px solid rgba(36, 180, 126, 0.6);
  border-radius: 40px;
  padding: 14px 20px;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.pricing-plan-btn:hover {
  background: rgba(36, 180, 126, 0.1);
}

.btn-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #06341f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

@media (max-width: 900px) {
  .pricing-plan-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-section-title {
    font-size: 40px;
  }
}

/* ==========================================================
   BENEFITS SECTION
========================================================== */
.benefits-section {
  padding: 70px 0;
  background: var(--bg-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 24px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 180, 126, 0.3);
  background: rgba(36, 180, 126, 0.04);
}

.benefit-card i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 14px;
}

.benefit-card h4 {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   PROGRAM DETAILS HERO & CURRICULUM
========================================================== */
.program-detail-hero {
  position: relative;
  background: var(--bg-dark);
  padding: 160px 0 80px;
  overflow: hidden;
}

.program-detail-hero .container {
  position: relative;
  z-index: 2;
}

.program-hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.program-hero-image img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(36, 180, 126, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.curriculum-section {
  position: relative;
  padding: 90px 0;
  background: var(--bg-dark) url('../../assets/images/all_programs/background-program-curriculum.png') center center / cover no-repeat;
  overflow: hidden;
}

.curriculum-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.1);
  z-index: 0;
}

.curriculum-section .container {
  position: relative;
  z-index: 1;
}

.curriculum-container {
  max-width: 980px;
  margin: 48px auto 0;
}

.curriculum-module {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: rgba(6, 20, 14, 0.55);
  border: 1px solid rgba(36, 180, 126, 0.25);
  border-radius: 20px;
  margin-bottom: 28px;
  padding: 36px 40px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.curriculum-module:hover {
  border-color: rgba(36, 180, 126, 0.5);
}

.curriculum-icon-box {
  flex-shrink: 0;
  width: 94px;
  height: 94px;
  border-radius: 20px;
  background: rgba(36, 180, 126, 0.1);
  border: 1px solid rgba(36, 180, 126, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.curriculum-icon-box i {
  font-size: 22px;
  color: var(--primary);
}

.curriculum-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.curriculum-dot {
  flex-shrink: 0;
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 34px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--bg-dark);
}

.curriculum-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
}

.curriculum-dot::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 2px;
  height: 72px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(36, 180, 126, 0.5) 0,
    rgba(36, 180, 126, 0.5) 4px,
    transparent 4px,
    transparent 8px
  );
  transform: translateX(-50%);
}

.curriculum-content {
  flex: 1;
  min-width: 0;
}

.curriculum-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--primary-light);
  background: rgba(36, 180, 126, 0.15);
  border: 1px solid rgba(36, 180, 126, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.curriculum-content h4 {
  font-size: 25px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.curriculum-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
}

.curriculum-toggle {
  flex-shrink: 0;
  align-self: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(36, 180, 126, 0.5);
  background: rgba(36, 180, 126, 0.08);
  color: var(--primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.curriculum-toggle:hover {
  background: rgba(36, 180, 126, 0.2);
  box-shadow: 0 0 16px rgba(36, 180, 126, 0.4);
}

.curriculum-toggle i {
  transition: transform 0.3s ease;
}

.curriculum-module.active .curriculum-toggle i {
  transform: rotate(45deg);
}

.curriculum-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
}

.curriculum-body ul {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.curriculum-body li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.curriculum-body li i {
  color: var(--primary);
}

.curriculum-module.active .curriculum-body {
  max-height: 400px;
}

@media (max-width: 640px) {
  .curriculum-module {
    flex-wrap: wrap;
    padding: 22px;
  }

  .curriculum-dot {
    display: none;
  }

  .curriculum-toggle {
    position: absolute;
    top: 22px;
    right: 22px;
  }
}

/* ==========================================================
   RESPONSIVE PRICING
========================================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .program-hero-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
