/* ============================================
   COLLEGE CREATURE - PAID TIER STYLES
   Styles for Explorer ($9) and Navigator ($19)
   ============================================ */

/* =========================================
   DISCOVERY RESULTS LAYOUT
   ========================================= */
.results-tier.discovery {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.results-header {
  text-align: center;
  margin-bottom: 2rem;
}

.results-label {
  font-size: 1.1rem;
  color: var(--text-medium, #666);
  display: block;
  margin-bottom: 0.5rem;
}

.creature-name {
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  color: var(--purple, #a855f7);
  margin: 0;
  line-height: 1.2;
}

.creature-tagline {
  font-size: 1.2rem;
  color: var(--text-medium, #666);
  font-style: italic;
  margin-top: 0.5rem;
}

.creature-card-result {
  text-align: center;
  margin: 2rem 0;
}

.creature-img-large {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Trait Badges */
.trait-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.trait-badge {
  background: linear-gradient(135deg, #fdf4ff, #fef3c7);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark, #1e1b4b);
  display: inline-block;
}

.creature-description {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  line-height: 1.7;
  font-size: 1.05rem;
  color: var(--text-medium, #4a4a68);
}

/* =========================================
   SCHOOLS SECTIONS (Dream/Strong/WildCard)
   ========================================= */
.schools-section {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 20px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-emoji {
  font-size: 2rem;
  line-height: 1;
}

.section-header h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-dark, #1e1b4b);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-medium, #666);
  margin: 0.25rem 0 0 0;
}

/* Strong Matches - Green */
.strong-section {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 2px solid #86efac;
}

/* Dream Matches - Yellow/Gold */
.dream-section {
  background: linear-gradient(135deg, #fefce8, #fef3c7);
  border: 2px solid #fde047;
}

/* Wild Card - Purple */
.wildcard-section {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border: 2px solid #c084fc;
}

/* =========================================
   SCHOOL CARDS (Free Tier)
   ========================================= */
.schools-grid-free {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.school-card-free {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  padding-top: 1.75rem; /* Extra space for category badge */
}

.school-card-free:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.category-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple, #a855f7), var(--pink, #ec4899));
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 10;
}

/* CRITICAL: Badge must be block level to not overlap school name */
.school-card-free .match-score-badge {
  display: block !important;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.school-card-free h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.15rem;
  margin: 0 0 0.25rem 0;
  color: var(--text-dark, #1e1b4b);
  display: block;
  clear: both;
}

.school-location-free {
  font-size: 0.9rem;
  color: var(--text-medium, #666);
  margin: 0 0 0.75rem 0;
}

.school-tags-free {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.school-tag-free {
  background: #f3f4f6;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-medium, #666);
}

.match-score-free {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
}

.match-reason-free {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: var(--text-medium, #666);
  line-height: 1.5;
}

/* =========================================
   SURPRISE/WILD CARD
   ========================================= */
.surprise-card-free {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s;
}

.surprise-card-free:hover {
  transform: translateY(-3px);
}

.surprise-school-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  color: var(--text-dark, #1e1b4b);
  margin-bottom: 0.25rem;
}

.surprise-location-free {
  color: var(--text-medium, #666);
  margin: 0 0 1rem 0;
}

.surprise-clash-free {
  margin-bottom: 1rem;
}

.clash-note {
  display: inline-block;
  background: #fef3c7;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #92400e;
}

.surprise-pitch {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-medium, #666);
  margin-bottom: 1rem;
}

.surprise-score-free {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* =========================================
   UPGRADE SECTION
   ========================================= */
.upgrade-section {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #fdf4ff 0%, #f0f9ff 100%);
  border-radius: 24px;
}

.upgrade-section h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.upgrade-intro {
  color: var(--text-medium, #666);
  margin-bottom: 2rem;
}

.tier-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.tier-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
}

.tier-card.featured {
  border: 3px solid var(--purple, #a855f7);
}

.tier-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple, #a855f7), var(--pink, #ec4899));
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.tier-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  color: var(--text-dark, #1e1b4b);
}

.tier-price {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  color: var(--purple, #a855f7);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.tier-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-medium, #4a4a68);
}

.upgrade-btn {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 100px;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--purple, #a855f7), var(--pink, #ec4899));
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* =========================================
   FUN SCHOOL PREVIEW MODAL
   ========================================= */
.school-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 27, 75, 0.7);
  backdrop-filter: blur(4px);
}

.school-preview-fun {
  position: relative;
  background: linear-gradient(135deg, #fdf4ff 0%, #f0f9ff 50%, #f0fdf4 100%);
  border-radius: 24px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(168, 85, 247, 0.3);
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-fun {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: white;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.modal-close-fun:hover {
  transform: scale(1.1);
}

.preview-header-fun {
  text-align: center;
  margin-bottom: 1.5rem;
}

.school-vibe-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
  animation: bounce 2s infinite;
}

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

.preview-header-fun h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  color: var(--purple, #a855f7);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.preview-location-fun {
  color: var(--text-medium, #666);
  font-size: 1rem;
  margin: 0;
}

.preview-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.quick-stat {
  background: white;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-dark, #1e1b4b);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.preview-blurb {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.preview-blurb p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-medium, #4a4a68);
  font-size: 0.95rem;
}

.preview-teaser-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.teaser-stat {
  background: white;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.teaser-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light, #888);
  margin-bottom: 0.25rem;
}

.teaser-value {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  color: var(--purple, #a855f7);
}

.teaser-value.locked {
  opacity: 0.6;
}

.preview-actions-fun {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-preview-primary,
.btn-preview-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 100px;
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-preview-primary {
  background: linear-gradient(135deg, var(--purple, #a855f7), var(--pink, #ec4899));
  color: white;
}

.btn-preview-secondary {
  background: white;
  color: var(--text-dark, #1e1b4b);
  border: 2px solid #e5e7eb;
}

.btn-preview-primary:hover,
.btn-preview-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.unlock-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-medium, #666);
  margin: 0;
}

.unlock-hint .sparkle {
  animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* =========================================
   TIER BADGES
   ========================================= */
.tier-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.explorer-badge {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
}

.navigator-badge {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--text-dark);
}

/* =========================================
   CREATURE PROFILE (EXPANDED)
   ========================================= */
.creature-profile-full {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: linear-gradient(135deg, #fdf4ff, #fef3c7);
  border-radius: 24px;
  padding: 2rem;
  margin: 2rem 0;
}

.profile-main { text-align: center; }

.creature-img-large {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.profile-details h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.profile-details h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.profile-details ul { padding-left: 1.5rem; }
.profile-details li { margin-bottom: 0.5rem; color: var(--text-medium); }

/* =========================================
   PERSONALITY BREAKDOWN
   ========================================= */
.personality-breakdown {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.personality-breakdown h2 {
  font-family: 'Baloo 2', cursive;
  text-align: center;
  margin-bottom: 2rem;
}

.personality-breakdown.comprehensive .analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* MBTI Bars */
.mbti-bars, .mbti-full { display: flex; flex-direction: column; gap: 1.5rem; }
.mbti-bar { width: 100%; }
.bar-labels { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.85rem; }
.bar-label-left, .bar-label-right { font-weight: 700; color: var(--purple); }
.bar-label-center { color: var(--text-medium); }
.bar-track { height: 12px; background: linear-gradient(90deg, var(--purple), #e0e0e0, var(--teal)); border-radius: 6px; position: relative; }
.bar-marker { position: absolute; top: -4px; width: 20px; height: 20px; background: white; border: 3px solid var(--purple); border-radius: 50%; transform: translateX(-50%); }

/* VARK Chart */
.vark-bars { display: flex; flex-direction: column; gap: 1rem; }
.vark-bar { display: flex; align-items: center; gap: 1rem; }
.vark-label { width: 100px; font-size: 0.85rem; font-weight: 600; }
.vark-track { flex: 1; height: 16px; background: #e0e0e0; border-radius: 8px; overflow: hidden; }
.vark-fill { height: 100%; border-radius: 8px; transition: width 0.5s ease; }
.vark-value { width: 40px; text-align: right; font-weight: 700; font-size: 0.85rem; }

/* Strengths Chart */
.strengths-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.strength-bar { display: flex; align-items: center; gap: 0.75rem; }
.strength-label { width: 80px; font-size: 0.75rem; font-weight: 600; }
.strength-track { flex: 1; height: 10px; background: #e0e0e0; border-radius: 5px; overflow: hidden; }
.strength-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--teal)); border-radius: 5px; }

/* =========================================
   WHY YOU MATCH SECTION
   ========================================= */
.why-you-match {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.why-you-match h4 { font-family: 'Baloo 2', cursive; color: var(--teal); margin-bottom: 1rem; }
.match-reasons { display: flex; flex-direction: column; gap: 1rem; }
.match-reason { display: flex; gap: 1rem; background: white; padding: 1rem; border-radius: 12px; }
.reason-icon { font-size: 1.5rem; flex-shrink: 0; }
.reason-content strong { display: block; color: var(--text-dark); margin-bottom: 0.25rem; }
.reason-content p { color: var(--text-medium); font-size: 0.9rem; margin: 0; }

/* =========================================
   HONEST CONS SECTION
   ========================================= */
.honest-cons {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.honest-cons h4 { font-family: 'Baloo 2', cursive; color: var(--orange); margin-bottom: 1rem; }
.cons-list { display: flex; flex-direction: column; gap: 0.75rem; }
.con-item { display: flex; gap: 0.75rem; background: white; padding: 1rem; border-radius: 12px; border-left: 4px solid transparent; }
.con-item.relevant { border-left-color: var(--orange); background: #fffbeb; }

.severity-indicator { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.severity-indicator.significant { background: #ef4444; }
.severity-indicator.moderate { background: #f59e0b; }
.severity-indicator.minor { background: #84cc16; }

.con-content p { margin: 0; color: var(--text-dark); font-size: 0.9rem; }
.affects-you { display: block; margin-top: 0.5rem; font-size: 0.8rem; color: var(--orange); font-weight: 600; }

/* =========================================
   TOP MATCH FEATURED CARD
   ========================================= */
.top-match-featured {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 30px rgba(168, 85, 247, 0.15);
  border: 2px solid var(--purple);
}

.featured-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.rank-badge { background: linear-gradient(135deg, var(--purple), var(--pink)); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.featured-header h3 { flex: 1; font-family: 'Baloo 2', cursive; font-size: 1.6rem; margin: 0; }
.match-score-large { background: linear-gradient(135deg, var(--green), var(--teal)); color: white; padding: 0.5rem 1rem; border-radius: 100px; font-weight: 700; }

.school-profile-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e0e0e0; }
.profile-stat { text-align: center; }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; margin-bottom: 0.25rem; }
.stat-value { font-family: 'Baloo 2', cursive; font-size: 1.1rem; color: var(--text-dark); }

/* =========================================
   SCHOOLS GRID (EXPANDED)
   ========================================= */
.schools-grid.expanded { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }

.school-card-detailed {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.school-card-detailed:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(168, 85, 247, 0.15); }
.school-card-detailed .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.school-card-detailed .rank { background: var(--purple); color: white; padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.8rem; font-weight: 700; }
.school-card-detailed .match-score { background: linear-gradient(135deg, var(--green), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }
.school-card-detailed h4 { font-family: 'Baloo 2', cursive; margin: 0 0 0.25rem; }
.school-card-detailed .location { color: var(--text-light); font-size: 0.85rem; margin: 0 0 0.75rem; }
.school-card-detailed .quick-stats { display: flex; gap: 0.75rem; font-size: 0.8rem; color: var(--text-medium); margin-bottom: 1rem; }

.see-details-btn { width: 100%; background: linear-gradient(135deg, #f3e8ff, #fce7f3); border: none; padding: 0.75rem; border-radius: 8px; font-weight: 600; color: var(--purple); cursor: pointer; transition: all 0.3s ease; }
.see-details-btn:hover { background: linear-gradient(135deg, var(--purple), var(--pink)); color: white; }

/* =========================================
   COMPARISON TOOL (NAVIGATOR)
   ========================================= */
.comparison-tool { background: white; border-radius: 24px; padding: 2rem; margin: 2rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.comparison-tool h2 { font-family: 'Baloo 2', cursive; text-align: center; margin-bottom: 1.5rem; }
.comparison-selector { margin-bottom: 2rem; }
.comparison-selector p { text-align: center; color: var(--text-medium); margin-bottom: 1rem; }
.school-selector { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.school-checkbox { display: flex; align-items: center; gap: 0.5rem; background: #f3f4f6; padding: 0.5rem 1rem; border-radius: 100px; cursor: pointer; transition: all 0.2s ease; }
.school-checkbox.checked, .school-checkbox:has(input:checked) { background: linear-gradient(135deg, var(--purple), var(--pink)); color: white; }
.school-checkbox input { display: none; }

.comparison-table-inner { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.comparison-table-inner th, .comparison-table-inner td { padding: 1rem; text-align: center; border-bottom: 1px solid #e0e0e0; }
.comparison-table-inner th { background: #f9fafb; font-family: 'Baloo 2', cursive; color: var(--purple); }
.comparison-table-inner td:first-child { text-align: left; font-weight: 600; }
.comparison-table-inner td.winner { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }

.dim-icon { margin-right: 0.5rem; }
.score-cell { display: flex; flex-direction: column; align-items: center; }
.score-value { font-family: 'Baloo 2', cursive; font-size: 1.3rem; color: var(--text-dark); }
.score-detail { font-size: 0.75rem; color: var(--text-light); }
.comparison-recommendation { text-align: center; margin-top: 1.5rem; padding: 1rem; background: linear-gradient(135deg, #fdf4ff, #fef3c7); border-radius: 12px; }

/* =========================================
   STUDENTS LIKE YOU (NAVIGATOR)
   ========================================= */
.students-like-you { margin: 2rem 0; }
.students-like-you h2 { font-family: 'Baloo 2', cursive; text-align: center; margin-bottom: 1.5rem; }

.story-card { background: white; border-radius: 24px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 2px solid #e0e0e0; }
.story-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e0e0e0; }
.student-avatar { width: 60px; height: 60px; background: linear-gradient(135deg, var(--purple), var(--pink)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.student-info h4 { font-family: 'Baloo 2', cursive; margin: 0; }
.student-school { color: var(--text-medium); font-size: 0.9rem; }
.creature-badge { display: inline-block; background: linear-gradient(135deg, #f3e8ff, #fce7f3); color: var(--purple); padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; margin-left: 0.5rem; }
.story-text { font-size: 1.1rem; font-style: italic; color: var(--text-dark); line-height: 1.6; margin-bottom: 1.5rem; }
.story-outcome, .story-advice { background: #f9fafb; padding: 1rem; border-radius: 12px; margin-bottom: 1rem; }
.story-outcome strong, .story-advice strong { color: var(--purple); display: block; margin-bottom: 0.5rem; }

/* =========================================
   ALL SCHOOLS LIST (NAVIGATOR)
   ========================================= */
.all-schools-ranked { background: white; border-radius: 24px; padding: 2rem; margin: 2rem 0; }
.all-schools-ranked h2 { font-family: 'Baloo 2', cursive; text-align: center; margin-bottom: 1.5rem; }
.schools-controls { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.school-search { flex: 1; padding: 0.75rem 1rem; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 1rem; }
.school-search:focus { outline: none; border-color: var(--purple); }
.school-filter { padding: 0.75rem 1rem; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 1rem; background: white; }
.schools-list-full { max-height: 600px; overflow-y: auto; }

.school-row { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-bottom: 1px solid #f0f0f0; transition: background 0.2s ease; }
.school-row:hover { background: #f9fafb; }
.school-row.top-tier { background: linear-gradient(90deg, #fdf4ff, transparent); }
.school-row.mid-tier { background: linear-gradient(90deg, #f0fdf4, transparent); }
.school-row .rank { width: 40px; height: 40px; background: #f3f4f6; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-medium); }
.school-row.top-tier .rank { background: linear-gradient(135deg, var(--purple), var(--pink)); color: white; }
.school-row .school-info { flex: 1; }
.school-row .school-info h4 { margin: 0; font-family: 'Baloo 2', cursive; }
.school-row .school-info .location { font-size: 0.85rem; color: var(--text-light); }
.school-row .school-stats { display: flex; gap: 1rem; align-items: center; }
.school-row .match-score { font-weight: 700; color: var(--teal); }
.school-row .school-type { font-size: 0.8rem; color: var(--text-light); background: #f3f4f6; padding: 0.25rem 0.5rem; border-radius: 4px; }
.school-row .expand-btn { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #e0e0e0; background: white; cursor: pointer; font-size: 1.2rem; color: var(--text-medium); }
.school-row .expand-btn:hover { border-color: var(--purple); color: var(--purple); }

/* =========================================
   FINANCIAL FIT (NAVIGATOR)
   ========================================= */
.financial-fit { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-radius: 24px; padding: 2rem; margin: 2rem 0; }
.financial-fit h2 { font-family: 'Baloo 2', cursive; text-align: center; margin-bottom: 0.5rem; }
.financial-note { text-align: center; color: var(--text-medium); margin-bottom: 2rem; }
.financial-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fin-category { background: white; border-radius: 16px; padding: 1.5rem; }
.fin-category h4 { font-family: 'Baloo 2', cursive; margin-bottom: 0.5rem; }
.fin-category > p { font-size: 0.85rem; color: var(--text-medium); margin-bottom: 1rem; }
.financial-list { list-style: none; padding: 0; margin: 0; }
.financial-list li { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; }

/* =========================================
   EXPORT OPTIONS
   ========================================= */
.export-options { text-align: center; margin: 2rem 0; padding: 2rem; background: #f9fafb; border-radius: 24px; }
.export-options h3 { font-family: 'Baloo 2', cursive; margin-bottom: 1.5rem; }
.export-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.export-btn { padding: 0.75rem 1.5rem; border: 2px solid var(--purple); border-radius: 12px; background: white; color: var(--purple); font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.export-btn:hover { background: var(--purple); color: white; }

/* =========================================
   UPGRADE CTAs
   ========================================= */
.upgrade-cta { background: linear-gradient(135deg, #fdf4ff, #fef3c7); border-radius: 24px; padding: 2rem; text-align: center; margin: 2rem 0; }
.upgrade-cta h3 { font-family: 'Baloo 2', cursive; margin-bottom: 1.5rem; }
.locked-preview { margin-bottom: 1.5rem; }
.locked-items { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.locked-item { background: white; padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.9rem; }
.upgrade-btn { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .creature-profile-full { grid-template-columns: 1fr; text-align: center; }
  .personality-breakdown.comprehensive .analysis-grid { grid-template-columns: 1fr; }
  .school-profile-summary { grid-template-columns: repeat(2, 1fr); }
  .schools-grid.expanded { grid-template-columns: 1fr; }
  .financial-categories { grid-template-columns: 1fr; }
  .comparison-table-inner { font-size: 0.85rem; }
  .comparison-table-inner th, .comparison-table-inner td { padding: 0.5rem; }
}

/* =========================================
   ADMISSION CATEGORY BADGES & SECTIONS
   ========================================= */
.admission-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admission-badge.reach {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.admission-badge.target {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  border: 1px solid #fcd34d;
}

.admission-badge.safety {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #059669;
  border: 1px solid #6ee7b7;
}

/* Category Sections */
.category-section {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 16px;
}

.category-section.reach-section {
  background: linear-gradient(135deg, #fef2f2, #fff);
  border-left: 4px solid #dc2626;
}

.category-section.target-section {
  background: linear-gradient(135deg, #fffbeb, #fff);
  border-left: 4px solid #f59e0b;
}

.category-section.safety-section {
  background: linear-gradient(135deg, #ecfdf5, #fff);
  border-left: 4px solid #10b981;
}

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

.category-emoji {
  font-size: 1.5rem;
}

.category-header h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  margin: 0;
  color: var(--text-dark);
}

.category-desc {
  width: 100%;
  margin: 0;
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* School cards with category styling */
.school-card-detailed.category-reach { border-left: 3px solid #dc2626; }
.school-card-detailed.category-target { border-left: 3px solid #f59e0b; }
.school-card-detailed.category-safety { border-left: 3px solid #10b981; }

/* Surprise picks for Explorer */
.surprise-section-explorer {
  background: linear-gradient(135deg, #faf5ff, #fdf4ff);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
}

.surprise-section-explorer .surprise-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.surprise-section-explorer h3 {
  font-family: 'Baloo 2', cursive;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.surprise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.surprise-card-explorer {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.surprise-card-explorer h4 {
  font-family: 'Baloo 2', cursive;
  margin: 0 0 0.25rem 0;
  color: var(--text-dark);
}

.surprise-location {
  color: var(--text-medium);
  font-size: 0.85rem;
  margin: 0 0 0.75rem 0;
}

.surprise-clash {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.clash-tag {
  background: #fef3c7;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  font-size: 0.75rem;
  color: #92400e;
}

.surprise-why {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0 0 0.5rem 0;
}

.surprise-match {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Discovery tier school teasers */
.school-teaser {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.school-upgrade-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-medium);
}

.lock-icon {
  font-size: 1rem;
}

/* ============================================
   SCHOOL PREVIEW MODAL (Free Tier)
   ============================================ */
.school-preview-modal,
.upgrade-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #e5e7eb;
  color: #374151;
}

/* School Preview Content */
.school-preview-content {
  padding: 2rem;
}

.preview-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.preview-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.preview-location {
  color: #6b7280;
  font-size: 0.95rem;
}

.preview-stats-visible {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 12px;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

/* Locked Preview Section */
.preview-stats-locked {
  position: relative;
  margin: 1.5rem 0;
  border-radius: 16px;
  overflow: hidden;
}

.stats-blurred {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: #f3f4f6;
  filter: blur(4px);
  opacity: 0.5;
}

.locked-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.lock-icon-large {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.locked-overlay p {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.locked-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  text-align: left;
}

.locked-overlay li {
  padding: 0.25rem 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.locked-overlay li::before {
  content: "•";
  margin-right: 0.5rem;
  color: #7c3aed;
}

.preview-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.preview-actions .btn-secondary {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.2s;
}

.preview-actions .btn-secondary:hover {
  background: #e5e7eb;
}

/* Upgrade Modal */
.upgrade-content {
  padding: 2rem;
  text-align: center;
}

.upgrade-header {
  margin-bottom: 1.5rem;
}

.upgrade-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #1f2937;
}

.upgrade-price {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #7c3aed;
  margin-top: 0.5rem;
}

.upgrade-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.upgrade-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.coming-soon-note {
  background: #fef3c7;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Free Tier School Cards */
.schools-grid-free {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.school-card-free {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border: 2px solid transparent;
}

.school-card-free:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #7c3aed;
}

.school-card-free.top-match {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.top-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-score-badge {
  background: #10b981;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.match-score-badge .confidence-big {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
}

.match-score-badge .confidence-small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.2;
}

.school-name-free {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.school-location-free {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.school-preview-info {
  margin-bottom: 1rem;
}

.info-visible {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.info-item {
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #6b7280;
}

.quick-match-reason {
  font-size: 0.9rem;
  color: #7c3aed;
  font-style: italic;
  line-height: 1.5;
}

.info-locked {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.lock-icon {
  font-size: 0.9rem;
}

.card-footer-free {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.view-more {
  color: #7c3aed;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Upgrade Section */
.upgrade-section {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 24px;
  color: white;
  text-align: center;
}

.upgrade-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.upgrade-intro {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.tier-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.tier-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  position: relative;
  color: #1f2937;
}

.tier-card.featured {
  border: 3px solid #f97316;
  transform: scale(1.02);
}

.tier-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f97316;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.tier-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #7c3aed;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.tier-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.upgrade-btn {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
}

.navigator-btn {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

/* Surprise Section Free */
.surprise-section-free {
  margin-top: 2rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 20px;
  padding: 1.5rem;
}

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

.surprise-emoji {
  font-size: 1.5rem;
}

.surprise-header-free h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: #92400e;
  margin: 0;
}

.surprise-card-free {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
}

.surprise-school-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.surprise-location-free {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0.25rem 0 1rem;
}

.surprise-clash-free {
  margin-bottom: 0.75rem;
}

.clash-note {
  display: inline-block;
  background: #fef3c7;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #92400e;
}

.surprise-pitch {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.surprise-score-free {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Explorer Results Specific */
.schools-list-explorer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.school-row-explorer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.school-row-explorer:hover {
  background: #f9fafb;
  transform: translateX(4px);
}

.school-row-explorer .rank {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #7c3aed;
  min-width: 2.5rem;
}

.school-row-explorer .school-info {
  flex: 1;
}

.school-row-explorer .school-info h4 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.school-row-explorer .location {
  font-size: 0.85rem;
  color: #6b7280;
}

.school-meta-explorer {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.school-type {
  font-size: 0.8rem;
  color: #9ca3af;
}

.school-row-explorer .match-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #10b981;
}

.school-row-explorer .arrow {
  color: #9ca3af;
}

/* Upgrade to Navigator */
.upgrade-to-navigator {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 16px;
  text-align: center;
}

.upgrade-to-navigator h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: #92400e;
}

.upgrade-to-navigator p {
  color: #78350f;
  margin-bottom: 1rem;
}

/* ============================================
   CATEGORIZED RESULTS SECTIONS
   ============================================ */

.schools-section {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-emoji {
  font-size: 2rem;
  line-height: 1;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  margin: 0;
  color: #1f2937;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0.25rem 0 0;
}

/* Dream Section */
.dream-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 20%, #fefbf6 100%);
  border: 2px solid #fbbf24;
}

.dream-section .section-header h2 {
  color: #92400e;
}

/* Strong Section */
.strong-section {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 20%, #f0fdf4 100%);
  border: 2px solid #10b981;
}

.strong-section .section-header h2 {
  color: #065f46;
}

/* Wild Card Section */
.wildcard-section {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 20%, #faf5ff 100%);
  border: 2px solid #8b5cf6;
}

.wildcard-section .section-header h2 {
  color: #5b21b6;
}

/* Category badges on cards */
.category-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.dream-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
}

.strong-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

/* Dream card styling */
.school-card-free.dream-card {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.school-card-free.dream-card:hover {
  border-color: #f59e0b;
}

/* Strong card styling */
.school-card-free.strong-card {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
}

.school-card-free.strong-card:hover {
  border-color: #059669;
}

/* Match score badge variations */
.dream-card .match-score-badge {
  background: #f59e0b;
}

.strong-card .match-score-badge {
  background: #10b981;
}

/* Adjust grid for 3-column layout */
.schools-section .schools-grid-free {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 800px) {
  .schools-section .schools-grid-free {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Guidebook-style extras (summary + majors + clubs) ===== */
.guidebook-extras {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(254,243,199,0.55), rgba(253,244,255,0.55));
  border: 1px solid rgba(168, 85, 247, 0.12);
}

.guidebook-extras .mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.guidebook-extras .mini-links a {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);
  text-decoration: none;
  color: var(--text-medium);
  font-size: 0.85rem;
}

.guidebook-extras .mini-links a:hover {
  transform: translateY(-1px);
}

.guidebook-extras h4 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.guidebook-summary {
  margin: 0;
  color: #4a4a68;
  line-height: 1.6;
}

.mini-bullets {
  margin: 0.35rem 0 0.6rem 1.1rem;
  padding: 0;
  color: #4a4a68;
}

.mini-bullets li {
  margin: 0.15rem 0;
}

.tiny-note {
  margin: 0.2rem 0 0.7rem;
  font-size: 0.85rem;
  color: rgba(74, 74, 104, 0.75);
}

/* ===== COMPLETE CREATURE PROFILE STYLES ===== */
.creature-profile-complete {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-header-section {
  text-align: center;
  padding: 1rem;
}

.archetype-badge {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.creature-motto {
  font-size: 1.1rem;
  color: #6b7280;
  font-style: italic;
}

.profile-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.15rem;
  margin: 0 0 0.75rem 0;
  color: #1f2937;
}

.profile-card p {
  margin: 0;
  line-height: 1.6;
  color: #4b5563;
  font-size: 0.95rem;
}

/* Mythology Card */
.myth-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(251, 191, 36, 0.2);
}

.myth-card h3 { color: #92400e; }

.myth-story {
  margin-bottom: 0.75rem !important;
}

.fun-fact {
  background: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* Why You Card */
.why-you-card {
  background: linear-gradient(135deg, #fdf4ff 0%, #faf5ff 100%);
  border-color: rgba(168, 85, 247, 0.15);
}

.why-you-card h3 { color: #7c3aed; }

/* Famous People Card */
.famous-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: rgba(34, 197, 94, 0.2);
}

.famous-card h3 { color: #166534; }

.famous-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.famous-person-card {
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.famous-name {
  font-weight: 700;
  color: #166534;
  margin-bottom: 0.25rem;
}

.famous-why {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.4;
}

/* Learning Style Card */
.learning-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: rgba(59, 130, 246, 0.2);
}

.learning-card h3 { color: #1d4ed8; }

.learning-type {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.learning-desc {
  margin-bottom: 0.75rem !important;
}

.learning-tips, .learning-warning {
  background: rgba(255, 255, 255, 0.6);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.learning-warning {
  background: rgba(251, 191, 36, 0.15);
}

/* Strengths Card */
.strengths-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.strengths-card h3 { color: #047857; }

.strengths-grid, .blindspots-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.strength-item, .blindspot-item {
  background: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.strength-name, .blindspot-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #047857;
}

.strength-desc, .blindspot-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.4;
}

/* Blindspots Card */
.blindspots-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.blindspots-card h3 { color: #b91c1c; }
.blindspot-name { color: #b91c1c; }

/* Majors Card */
.majors-card {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border-color: rgba(234, 179, 8, 0.2);
}

.majors-card h3 { color: #a16207; }

.majors-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.major-item {
  background: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.major-name {
  font-weight: 700;
  color: #a16207;
  margin-bottom: 0.25rem;
}

.major-why {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.4;
}

/* Careers Card */
.careers-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: rgba(14, 165, 233, 0.2);
}

.careers-card h3 { color: #0369a1; }

.careers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-tag {
  background: rgba(14, 165, 233, 0.15);
  color: #0369a1;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== FIXED SCHOOL CARD STYLES ===== */
.school-card-free {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  border: 2px solid transparent;
}

.school-card-free:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.school-card-free.dream-card {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.school-card-free.strong-card {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
}

.category-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 1;
}

.dream-badge {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.strong-badge {
  background: linear-gradient(135deg, #10b981, #34d399);
}

/* Badge is now inline, not absolute */
.match-score-badge {
  background: #10b981;
  color: white;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.dream-card .match-score-badge {
  background: #f59e0b;
}

.match-score-badge .confidence-big {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.match-score-badge .confidence-small {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.2;
}

.school-name-free {
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

/* =========================================
   STUDY INTEREST QUESTION STYLES
   ========================================= */
.study-certainty-btn {
  width: 100%;
  text-align: left;
}

.study-input-wrapper {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(168, 85, 247, 0.2);
}

.study-input-label {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark, #1e1b4b);
  margin-bottom: 0.75rem;
}

.study-interest-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.study-interest-input:focus {
  outline: none;
  border-color: var(--purple, #a855f7);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.study-interest-input::placeholder {
  color: #9ca3af;
  font-style: italic;
}

.study-input-hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-medium, #6b7280);
  font-style: italic;
}

.study-continue-btn {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--purple, #a855f7), var(--pink, #ec4899));
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.study-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.study-continue-btn:active {
  transform: translateY(0);
}

/* Study Interest Display in Results */
.study-interest-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border-left: 4px solid #f59e0b;
}

.study-certainty-display {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.certainty-emoji {
  font-size: 1.5rem;
  line-height: 1.4;
}

.certainty-message {
  font-size: 1rem;
  color: #92400e;
  line-height: 1.5;
}

.study-interest-display {
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #1e1b4b;
}

.study-interest-note {
  font-size: 0.85rem;
  color: #78716c;
  font-style: italic;
  margin: 0;
}

/* Study Fit Badges in School Cards */
.study-fit-excellent {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  color: #92400e !important;
  font-weight: 600;
}

.study-fit-good {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
  color: #065f46 !important;
}

/* =========================================
   PERSONALITY + CAREER BLEND STYLES
   ========================================= */
.personality-career-blend {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(168, 85, 247, 0.2);
}

.personality-career-blend h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  color: #7c3aed;
  margin: 0 0 0.75rem 0;
}

.blend-insight {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(124, 58, 237, 0.05);
  border-radius: 10px;
}

.career-suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.primary-paths, .secondary-paths {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.paths-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
}

.path-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.career-tag.primary {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
}

.career-tag.secondary {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

/* School card insight badges */
.creative-approach-badge {
  background: linear-gradient(135deg, #fce7f3 0%, #fdf4ff 100%) !important;
  color: #9333ea !important;
  font-weight: 600;
}

.flexibility-badge {
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%) !important;
  color: #4f46e5 !important;
  font-weight: 600;
}
