/* ============================================================
   Hero Section – DEVPATH reference design
   ============================================================ */

/* ---------- Header styling managed in navbar.css ---------- */

/* Login, Logout & Enroll buttons in navbar */
.btn-login,
.btn-logout,
#logout-btn,
.nav-auth .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #3b7de8 0%, #2563eb 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(59, 125, 232, 0.35);
}

.btn-login:hover,
.btn-logout:hover,
#logout-btn:hover,
.nav-auth .btn-secondary:hover {
  background: linear-gradient(135deg, #4b8df8 0%, #1d4ed8 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(59, 125, 232, 0.55);
}

.btn-enroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #3b7de8 0%, #2563eb 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(59, 125, 232, 0.35);
}

.btn-enroll:hover {
  background: linear-gradient(135deg, #4b8df8 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(59, 125, 232, 0.55);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #030a1e;
  background-image: url('../assets/images/hero_banner_new.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Gradient overlay – dark overlay on left 45% for high contrast typography against mountain background */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(3, 10, 30, 0.75) 0%,
      rgba(3, 10, 30, 0.52) 35%,
      rgba(3, 10, 30, 0.15) 55%,
      rgba(3, 10, 30, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Hero Body (main content container) ---------- */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px 60px 40px;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  max-width: 650px;
  width: 100%;
}

/* ---------- Hero Placement Course Headline Section ---------- */
.hero-path-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-path-title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(52px, 6.8vw, 88px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.02em;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.hero-path-title .title-white {
  color: #ffffff;
  text-transform: uppercase;
}

.hero-path-title .title-blue {
  color: #3b82f6;
  text-transform: uppercase;
}

.hero-path-divider {
  width: 48px;
  height: 2.5px;
  background-color: #3b82f6;
  border-radius: 2px;
  margin: 16px 0 16px 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

.hero-path-desc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-path-desc .text-blue {
  color: #3b82f6;
  font-weight: 700;
}

/* ---------- Key Retention Value Chips ---------- */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.chip-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- CTA Button & Social Trust Line ---------- */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b7de8 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 35px rgba(59, 125, 232, 0.65), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-hero-cta:hover {
  background: linear-gradient(135deg, #4b8df8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(75, 141, 248, 0.85), 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero-trust-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-stars {
  color: #fbbf24;
  font-size: 13.5px;
  letter-spacing: 2px;
}

.hero-trust-badge span {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.btn-hero-cta .btn-arrow {
  transition: transform 0.2s ease;
  font-size: 18px;
}

.btn-hero-cta:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Bottom Tagline Bar ---------- */
.hero-bottom-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 80px;
  background: rgba(3, 10, 30, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bottom-left {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  font-weight: 500;
}

.hero-bottom-left span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

.hero-bottom-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
  margin: 0 20px;
  max-width: 480px;
}

.hero-bottom-right {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.65;
  text-align: right;
  color: #5b9df5;
  margin: 0;
  white-space: nowrap;
}

/* ---------- Hero Floating Course Card ---------- */
.hero-card-wrapper {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

.hero-course-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 30px 32px;
  width: 430px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), 0 0 40px rgba(59, 125, 232, 0.2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 125, 232, 0.3);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #3b7de8;
  text-transform: uppercase;
}

.hero-card-price-tag {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #d97706;
  background: rgba(245, 158, 11, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.price-old {
  font-size: 12px;
  font-weight: 500;
  color: #8fa0b5;
  text-decoration: line-through;
  margin-left: 4px;
}

.hero-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #092b4c;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Flow Nodes */
.hero-card-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.flow-pill {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.flow-pill-highlight {
  color: #2563eb;
  background: rgba(59, 125, 232, 0.12);
  border-color: rgba(59, 125, 232, 0.3);
}

.flow-arrow {
  color: #94a3b8;
}

.hero-card-divider {
  height: 1px;
  background: rgba(9, 43, 76, 0.10);
  margin: 4px 0;
}

/* Features Grid */
.hero-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(59, 125, 232, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #092b4c;
}

.feature-text span {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #64748b;
}

/* Card CTA Button */
.hero-card-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-card-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b7de8 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(59, 125, 232, 0.35);
}

.btn-card-enroll:hover {
  background: linear-gradient(135deg, #4b8df8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 125, 232, 0.5);
}

.card-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-body {
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 48px 50px 48px;
    gap: 40px;
  }

  .hero-card-wrapper {
    width: 100%;
  }

  .hero-course-card {
    width: 100%;
    max-width: 440px;
  }

  .hero-bottom-bar {
    padding: 20px 48px;
  }
}

@media (max-width: 768px) {
  .hero-body {
    padding: 110px 28px 40px 28px;
    max-width: 100%;
  }

  .hero-headline {
    font-size: 44px;
  }

  .hero-bottom-bar {
    padding: 20px 28px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-bottom-divider {
    display: none;
  }

  .hero-bottom-right {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 36px;
  }

  .hero-course-card {
    padding: 24px 24px;
  }

  .btn-hero-cta {
    padding: 14px 28px;
    font-size: 15px;
  }
}