/* ==========================================================================
   SahaayaNet - Sahaaya Career Product Page Stylesheet (career.css)
   Extends style.css for AI Career Companion, horizontal journey timeline,
   animated career dashboard metrics, screenshot lightbox, and FAQ accordion.
   ========================================================================== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--text-light);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #2563EB;
  font-weight: 700;
}

/* Hero Meta Badges */
.product-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.meta-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
}

/* Career Hero Phone & Illustration Stage */
.career-hero-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.career-glow-backdrop {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

.career-phone-frame {
  position: relative;
  width: 265px;
  height: 500px;
  background: #0F172A;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 25px 60px -12px rgba(37, 99, 235, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
  z-index: 5;
}

/* Floating Badges on Hero Phone */
.resume-floating-badge {
  position: absolute;
  top: 14%;
  right: -14%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.22);
  z-index: 10;
  animation: floatOrbit 5s ease-in-out infinite;
}

.interview-floating-badge {
  position: absolute;
  bottom: 14%;
  left: -12%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.22);
  z-index: 10;
  animation: floatOrbit 6s ease-in-out infinite alternate;
}

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

/* Career Journey Horizontal Timeline */
.journey-section-cr {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(37, 99, 235, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.journey-track-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  padding: 2rem 0 3rem 0;
  scrollbar-width: thin;
  scrollbar-color: #2563EB var(--bg-subtle);
}

.journey-track-wrapper::-webkit-scrollbar {
  height: 6px;
}

.journey-track-wrapper::-webkit-scrollbar-thumb {
  background: #2563EB;
  border-radius: 10px;
}

.journey-track {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  min-width: 1200px;
  position: relative;
  padding: 0 1rem;
}

.journey-line-bg {
  position: absolute;
  top: 40px;
  left: 3rem;
  right: 3rem;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #6366F1, #10B981, #F59E0B);
  border-radius: 2px;
  z-index: 1;
}

.journey-step-card {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 130px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.journey-step-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #2563EB;
  color: #2563EB;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
  transition: var(--transition-fast);
  margin-bottom: 1rem;
  cursor: pointer;
}

.journey-step-card:hover .journey-step-node {
  background: linear-gradient(135deg, #2563EB, #10B981);
  color: #FFFFFF;
  transform: scale(1.15) rotate(5deg);
  border-color: #FFFFFF;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
}

.journey-step-content {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1rem 0.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  width: 100%;
  transition: var(--transition-normal);
}

.journey-step-card:hover .journey-step-content {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #2563EB;
}

.journey-step-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.journey-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* Feature Cards Grid (12 Premium Cards) */
.feature-card-cr {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card-cr:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: #2563EB;
}

.cr-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.1));
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.feature-card-cr:hover .cr-feature-icon {
  background: linear-gradient(135deg, #2563EB, #6366F1);
  color: #FFFFFF;
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

/* Career Dashboard Preview Card */
.dashboard-preview-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
}

.metric-gauge-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-normal);
}

.metric-gauge-box:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
}

.metric-val-large {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0 0.2rem 0;
  background: linear-gradient(135deg, #38BDF8, #4ADE80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-lbl-sub {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Progress bar inside preview */
.cr-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.6rem;
}

.cr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38BDF8, #4ADE80);
  border-radius: 4px;
  transition: width 1.5s ease-in-out;
}

/* Screenshot Grid & Lightbox */
.screenshot-grid-cr {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .screenshot-grid-cr {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .screenshot-grid-cr {
    grid-template-columns: repeat(6, 1fr);
  }
}

.screenshot-card-cr {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 0.6rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.screenshot-card-cr:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-hover);
  border-color: #2563EB;
}

.screenshot-box-cr {
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border-radius: 14px;
  height: 320px;
  display: flex;
  flex-direction: column;
  padding: 0.9rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.screenshot-overlay-cr {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: var(--transition-fast);
  font-weight: 700;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.screenshot-card-cr:hover .screenshot-overlay-cr {
  opacity: 1;
}

/* Why Students Love Cards */
.love-card-cr {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.love-card-cr:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #10B981;
}

.love-icon-cr {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Future Features Cards */
.future-grid-cr {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .future-grid-cr {
    grid-template-columns: repeat(4, 1fr);
  }
}

.future-card-cr {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px dashed var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.future-card-cr:hover {
  border-style: solid;
  border-color: #2563EB;
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.future-icon-cr {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* FAQ Accordion */
.faq-container-cr {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item-cr {
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question-cr {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.faq-icon-cr {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.faq-item-cr.active .faq-icon-cr {
  transform: rotate(45deg);
  background: rgba(37, 99, 235, 0.15);
  color: #2563EB;
}

.faq-answer-cr {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: all 0.3s cubic-bezier(0, 1, 0, 1);
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item-cr.active .faq-answer-cr {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: all 0.3s ease-in-out;
}
