/* =========================================
CATTLEMANIA LEARNING SELECTION
2x2 PATH SELECTION
========================================= */

/* MAIN PAGE */

.onboarding-page {
  width: 100%;

  display: flex;

  flex-direction: column;

  gap: 30px;
}

/* =========================================
WELCOME HEADER
========================================= */

.onboarding-banner {
  padding: 30px;

  text-align: center;
}

.onboarding-banner h1 {
  margin-bottom: 15px;
}

.onboarding-banner p {
  line-height: 1.6;
}

/* =========================================
JOURNEY GRID
========================================= */

.learning-journey-map {
  width: 100%;

  max-width: 950px;

  margin: 40px auto;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
}

/* =========================================
PATH CONTAINERS
========================================= */

.journey-path {
  display: flex;
}

/* =========================================
BASE CARDS
========================================= */

.learning-card {
  width: 100%;

  min-height: 360px;

  padding: 25px;

  display: flex;

  flex-direction: column;

  position: relative;

  border-radius: 15px;

  text-align: center;

  transition: 0.3s ease;
}

.learning-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* =========================================
CARD CONTENT
========================================= */

.learning-card h2 {
  font-size: 26px;

  font-weight: 700;

  letter-spacing: 0.3px;

  margin-bottom: 18px;
}

.learning-card p {
  font-size: 15px;

  line-height: 1.7;

  opacity: 0.9;

  max-width: 260px;

  margin: 0 auto;
}

.learning-card ul {
  list-style: none;

  padding: 0;

  margin: 25px 0;
}

.learning-card li {
  background: rgba(15, 23, 42, 0.45);

  padding: 10px 12px;

  margin-bottom: 8px;

  border-radius: 8px;

  font-size: 14px;
}

/* =========================================
BUTTONS
========================================= */

.learning-card .btn {
  margin-top: auto;

  width: 100%;

  padding: 14px;

  font-size: 15px;

  font-weight: 700;

  border-radius: 10px;
}

/* =========================================
BALANCED FEATURE
========================================= */

.recommended {
  min-height: 410px;

  border: 3px solid rgba(220, 38, 38, 0.85);

  box-shadow: 0 0 25px rgba(220, 38, 38, 0.35);
}

.recommended h2 {
  font-size: 28px;
}

.recommended p {
  font-size: 16px;
}

.recommended li {
  background: rgba(220, 38, 38, 0.12);
}

/* BADGE */

.recommended::before {
  content: "⭐ RECOMMENDED";

  position: absolute;

  top: -16px;

  left: 50%;

  transform: translateX(-50%);

  background: #dc2626;

  padding: 6px 18px;

  border-radius: 20px;

  font-size: 12px;

  font-weight: bold;

  white-space: nowrap;
}

/* =========================================
BUTTON COLORS
========================================= */

/* GUIDED + DISCOVERY */

.guided-path .btn,
.discovery-path .btn {
  background: #2563eb;

  border: 1px solid #3b82f6;

  color: white;
}

.guided-path .btn:hover,
.discovery-path .btn:hover {
  background: #1d4ed8;
}

/* BALANCED */

.recommended .btn {
  background: #dc2626;

  border: 1px solid #ef4444;

  color: white;
}

.recommended .btn:hover {
  background: #b91c1c;
}

/* =========================================
SKIP ONBOARDING
========================================= */

.skip-path .btn {
  background: #0f172a;

  border: 1px solid #334155;

  color: white;
}

.skip-path .btn:hover {
  background: #1e293b;
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 900px) {
  .learning-journey-map {
    grid-template-columns: 1fr;
  }

  .recommended {
    min-height: 360px;
  }
}
/* =========================================
PATH LABELS
========================================= */

.path-label {
  display: inline-block;

  margin-bottom: 15px;

  padding: 6px 14px;

  border-radius: 20px;

  font-size: 12px;

  font-weight: bold;

  letter-spacing: 0.5px;

  background: rgba(15, 23, 42, 0.65);
}

/* =========================================
RECOMMENDED BOOST
========================================= */

.recommended {
  transform: scale(1.04);
}

/* =========================================
CARD FEEL
========================================= */

.learning-card {
  overflow: hidden;
}

.learning-card:hover {
  transform: translateY(-8px);
}

/* =========================================
SKIP STYLE
========================================= */

.skip-path .learning-card {
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* =========================================
BOTTOM MESSAGE
========================================= */

.learning-note {
  text-align: center;

  margin: 10px auto 30px;

  padding: 15px;

  max-width: 600px;

  opacity: 0.75;

  font-size: 14px;
}
/* =========================================
ALLOW RECOMMENDED BADGE TO SHOW
========================================= */

.learning-journey-map,
.journey-path,
.learning-card {
  overflow: visible;
}
/* =========================================
RANCHER DASHBOARD COMMAND CENTER
========================================= */

.onboarding-dashboard {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 25px;

  margin-top: 30px;
}

/* =========================================
DASHBOARD COLUMNS
========================================= */

.onboarding-dashboard > div {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

/* =========================================
DASHBOARD CARDS
========================================= */

.onboarding-dashboard .card {
  padding: 25px;

  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.95),
    rgba(30, 41, 59, 0.9)
  );

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);

  transition: 0.3s ease;
}

.onboarding-dashboard .card:hover {
  transform: translateY(-5px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* =========================================
CARD TITLES
========================================= */

.onboarding-dashboard h2 {
  text-align: center;

  font-size: 22px;

  font-weight: 800;

  margin-bottom: 20px;
}

/* =========================================
MISSION CARD
========================================= */

.mission-box {
  background: rgba(37, 99, 235, 0.12);

  border: 1px solid rgba(59, 130, 246, 0.35);

  padding: 18px;

  border-radius: 12px;
}

/* =========================================
JOURNEY STEPS
========================================= */

.journey-step {
  padding: 14px;

  margin-bottom: 12px;

  border-radius: 12px;

  background: rgba(15, 23, 42, 0.65);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.journey-step.active {
  background: rgba(37, 99, 235, 0.25);

  border-color: rgba(59, 130, 246, 0.5);
}

.journey-step.complete {
  background: rgba(22, 163, 74, 0.2);

  border-color: rgba(34, 197, 94, 0.4);
}

/* =========================================
SKILLS
========================================= */

.skill-row {
  padding: 14px;

  margin-top: 10px;

  border-radius: 12px;

  background: rgba(15, 23, 42, 0.7);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
UNLOCKS
========================================= */

.unlock-row {
  padding: 14px;

  margin-top: 10px;

  border-radius: 12px;

  background: rgba(15, 23, 42, 0.7);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 900px) {
  .onboarding-dashboard {
    grid-template-columns: 1fr;
  }
}
/* MOBILE */

@media (max-width: 900px) {
  .onboarding-dashboard {
    grid-template-columns: 1fr;
  }
}
/* =========================================
RANCH JOURNEY HEADER
========================================= */

.onboarding-banner {
  padding: 35px;

  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95),
    rgba(30, 41, 59, 0.95)
  );

  border: 1px solid rgba(59, 130, 246, 0.35);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* TITLE */

.onboarding-banner h1 {
  font-size: 34px;

  font-weight: 800;

  letter-spacing: 0.5px;

  margin-bottom: 20px;
}

/* DESCRIPTION */

.onboarding-banner p {
  font-size: 17px;

  line-height: 1.8;

  max-width: 850px;

  margin: 0 auto 10px;

  opacity: 0.9;
}

/* =========================================
PROGRESS BOX
========================================= */

.progress-box {
  margin-top: 30px;

  padding: 25px;

  border-radius: 15px;

  background: rgba(15, 23, 42, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
}

/* PROGRESS TITLE */

.progress-box strong {
  display: block;

  text-align: center;

  font-size: 20px;

  margin-bottom: 15px;
}

/* PROGRESS STATUS */

.mission-progress {
  padding: 18px;

  border-radius: 12px;

  text-align: center;

  font-size: 18px;

  font-weight: 700;

  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.35),
    rgba(59, 130, 246, 0.15)
  );

  border: 1px solid rgba(59, 130, 246, 0.45);
}
/* =========================================
LEARNING STYLE THEMES
========================================= */

/* ===============================
GUIDED - GREEN / BLUE
=============================== */

.onboarding-page.guided .mission-progress {
  background: linear-gradient(
    90deg,
    rgba(34, 197, 94, 0.35),
    rgba(37, 99, 235, 0.25)
  );

  border-color: rgba(34, 197, 94, 0.5);
}

.onboarding-page.guided .card {
  border-color: rgba(34, 197, 94, 0.2);
}

/* ===============================
BALANCED - BLUE / RED
=============================== */

.onboarding-page.balanced .mission-progress {
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.35),
    rgba(220, 38, 38, 0.25)
  );

  border-color: rgba(59, 130, 246, 0.5);
}

.onboarding-page.balanced .card {
  border-color: rgba(59, 130, 246, 0.25);
}

/* ===============================
DISCOVERY - PURPLE / BLUE
=============================== */

.onboarding-page.discovery .mission-progress {
  background: linear-gradient(
    90deg,
    rgba(168, 85, 247, 0.35),
    rgba(37, 99, 235, 0.25)
  );

  border-color: rgba(168, 85, 247, 0.5);
}

.onboarding-page.discovery .card {
  border-color: rgba(168, 85, 247, 0.25);
}

/* ===============================
INDEPENDENT - GOLD / ORANGE
=============================== */

.onboarding-page.skip .mission-progress {
  background: linear-gradient(
    90deg,
    rgba(234, 179, 8, 0.35),
    rgba(249, 115, 22, 0.25)
  );

  border-color: rgba(234, 179, 8, 0.5);
}

.onboarding-page.skip .card {
  border-color: rgba(234, 179, 8, 0.25);
}
/* =====================================
   INVESTMENT SECTION
===================================== */

.investment-section {
  width: 100%;
  margin: 30px auto;
  padding: 10px;
}

.investment-card {
  background: linear-gradient(145deg, #0b132b, #111827);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 16px;

  padding: 30px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

  text-align: center;
}

.investment-card h2 {
  color: #ffffff;

  font-size: 28px;

  margin-bottom: 12px;
}

.investment-card p {
  color: #cbd5e1;

  line-height: 1.6;

  max-width: 750px;

  margin: 0 auto 25px;
}

/* =====================================
   INVESTMENT OPTIONS
===================================== */

.investment-options {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 25px;

  margin-top: 25px;
}

.investment-option {
  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 14px;

  padding: 25px;

  transition: all 0.25s ease;
}

.investment-option:hover {
  transform: translateY(-5px);

  border-color: #38bdf8;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.investment-option h3 {
  color: #38bdf8;

  font-size: 22px;

  margin-bottom: 15px;
}

.investment-option p {
  font-size: 15px;

  color: #d1d5db;
}

.investment-option ul {
  text-align: left;

  margin: 20px 0;

  padding-left: 20px;
}

.investment-option li {
  color: #e5e7eb;

  margin-bottom: 10px;
}

/* =====================================
   INVESTMENT HIGHLIGHT
===================================== */

.investment-option:first-child {
  border: 2px solid #22c55e;

  background: linear-gradient(
    145deg,
    rgba(34, 197, 94, 0.12),
    rgba(11, 19, 43, 0.9)
  );
}

.investment-option:first-child h3 {
  color: #22c55e;
}

/* =====================================
   PATH LABEL
===================================== */

.investment-card .path-label {
  display: inline-block;

  padding: 8px 18px;

  border-radius: 30px;

  background: rgba(56, 189, 248, 0.15);

  color: #38bdf8;

  font-weight: bold;

  font-size: 14px;

  margin-bottom: 15px;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {
  .investment-card {
    padding: 20px;
  }

  .investment-card h2 {
    font-size: 24px;
  }

  .investment-options {
    grid-template-columns: 1fr;
  }

  .investment-option {
    padding: 20px;
  }
}
/* Bigger radio buttons */

input[type="radio"] {
  transform: scale(1.5);

  margin-right: 12px;

  cursor: pointer;
}
/* NEXT STEP CALLOUT */

.onboarding-next-step {
  margin: 25px auto 10px;

  padding: 15px 25px;

  max-width: 700px;

  background: linear-gradient(
    145deg,
    rgba(56, 189, 248, 0.15),
    rgba(15, 23, 42, 0.8)
  );

  border: 2px solid #38bdf8;

  border-radius: 12px;

  color: #ffffff;

  font-size: 17px;

  font-weight: bold;

  text-align: center;

  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);

  animation: pulseStep 2.5s infinite;
}

@keyframes pulseStep {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}
/* =====================================
   RANCHER JOURNEY START BUTTON
===================================== */

.rancher-start-btn {
  background: linear-gradient(145deg, #dc2626, #991b1b);

  color: #ffffff;

  border: 2px solid rgba(255, 255, 255, 0.15);

  padding: 16px 35px;

  font-size: 20px;

  font-weight: bold;

  border-radius: 12px;

  cursor: pointer;

  text-transform: none;

  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);

  transition: all 0.25s ease;

  display: block;

  margin: 35px auto;
}

.rancher-start-btn:hover {
  transform: translateY(-4px);

  background: linear-gradient(145deg, #ef4444, #b91c1c);

  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.55);
}

.rancher-start-btn:active {
  transform: translateY(1px);
}
/* =====================================
   LEARNING CHOICE HEADER
===================================== */

.learning-choice-header {
  width: 100%;

  max-width: 900px;

  margin: 45px auto 25px;

  padding: 25px 30px;

  text-align: center;

  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.95),
    rgba(11, 19, 43, 0.95)
  );

  border: 2px solid rgba(56, 189, 248, 0.35);

  border-radius: 16px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.learning-choice-header h2 {
  color: #ffffff;

  font-size: 30px;

  margin-bottom: 12px;
}

.learning-choice-header p {
  color: #cbd5e1;

  font-size: 17px;

  line-height: 1.6;

  margin: 0 auto;

  max-width: 700px;
}

/* Small transition icon feel */

.learning-choice-header h2::before {
  content: "📚 ";
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {
  .learning-choice-header {
    padding: 20px 15px;

    margin-top: 30px;
  }

  .learning-choice-header h2 {
    font-size: 24px;
  }

  .learning-choice-header p {
    font-size: 15px;
  }
}

/* =====================================
   RANCHER ACADEMY STATUS CARD
===================================== */

.card.core h3 {
  text-align: center;

  font-size: 24px;

  margin-bottom: 20px;

  font-weight: 800;
}

/* Investment Active Text */

.card.core p:first-of-type strong {
  color: #22c55e;

  font-size: 18px;
}

/* Investment Active Card Glow */

.card.core:has(strong) {
  border: 1px solid rgba(34, 197, 94, 0.35);

  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

/* Normal Text */

.card.core p {
  line-height: 1.7;

  text-align: center;

  color: #cbd5e1;
}

/* Add spacing between paragraphs */

.card.core p + p {
  margin-top: 15px;
}

/* Reward Highlight */

.card.core strong {
  font-weight: 800;
}

/* Mobile */

@media (max-width: 768px) {
  .card.core h3 {
    font-size: 21px;
  }
}
