/* ============================================
   COLLEGE CREATURE - MAIN STYLESHEET
   Playful, whimsical design with mythical vibes
   ============================================ */

:root {
  --pink: #ff6b9d;
  --purple: #a855f7;
  --blue: #3b82f6;
  --teal: #14b8a6;
  --yellow: #fbbf24;
  --orange: #fb923c;
  --green: #4ade80;
  --bg-cream: #fffbf5;
  --bg-pink: #fff0f5;
  --text-dark: #2d1b4e;
  --text-medium: #5c4a7a;
  --shadow-soft: 0 4px 20px rgba(168, 85, 247, 0.15);
  --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ============================================
   BACKGROUND ELEMENTS
   ============================================ */

.bg-floaties {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floaty {
  position: absolute;
  font-size: 2rem;
  opacity: 0.5;
  animation: floaty 15s ease-in-out infinite;
}

.floaty:nth-child(1) { top: 10%; left: 5%; }
.floaty:nth-child(2) { top: 20%; right: 10%; animation-delay: -3s; }
.floaty:nth-child(3) { top: 60%; left: 8%; animation-delay: -6s; }
.floaty:nth-child(4) { top: 70%; right: 15%; animation-delay: -9s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Rainbow bar */
.rainbow-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--teal), var(--blue), var(--purple), var(--pink));
  background-size: 200% 100%;
  animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-creatures {
  display: flex;
  position: relative;
}

.logo-creature {
  font-size: 2rem;
  animation: logo-bounce 0.6s ease-in-out infinite;
}

.logo-creature:nth-child(2) { margin-left: -8px; animation-delay: 0.1s; }
.logo-creature:nth-child(3) { margin-left: -8px; animation-delay: 0.2s; }

@keyframes logo-bounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.logo-sparkle {
  position: absolute;
  font-size: 0.8rem;
  animation: twinkle 1s infinite;
}

.logo-sparkle:nth-child(4) { top: -8px; left: 8px; }
.logo-sparkle:nth-child(5) { top: -5px; right: -8px; animation-delay: 0.3s; }

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.logo-text {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.logo-text-top {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text-bottom {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.2rem;
}

.logo-poop {
  -webkit-text-fill-color: initial;
  animation: wiggle 2s infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--purple);
}

.btn-signin {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-weight: 700;
}

/* ============================================
   HERO / LANDING SECTION
   ============================================ */

.hero {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-cream), var(--bg-pink));
}

.animation-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 220px;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: 24px;
  border: 4px solid white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.scene-quad {
  background: linear-gradient(180deg, #87ceeb, #b0e0e6);
}

.scene-quad .ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, #4ade80, #22c55e);
}

.creature-img {
  position: absolute;
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  z-index: 10;
}

.creature-img.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.prop {
  position: absolute;
  font-size: 1.5rem;
}

.hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.highlight {
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -5%;
  width: 110%;
  height: 30%;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-medium);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.btn-badge {
  background: rgba(255, 255, 255, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-size: 0.75rem;
}

.btn-secondary {
  background: white;
  color: var(--purple);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--purple);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--purple);
  color: white;
}

.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================
   QUIZ SECTION
   ============================================ */

.quiz-section {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 100px);
  min-height: calc(100dvh - 100px);
  padding: 2rem;
  background: linear-gradient(180deg, var(--bg-pink), var(--bg-cream));
}

.quiz-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.quiz-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  height: 12px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--orange));
  background-size: 200% 100%;
  animation: rainbow 3s linear infinite;
  border-radius: 100px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-medium);
}

#section-label {
  font-weight: 600;
  color: var(--purple);
}

/* Question Card */
.question-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  animation: cardAppear 0.4s ease;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =============================
   Confidence + outcome explainer
   ============================= */
.confidence-explainer {
  margin: 18px 0 10px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.confidence-explainer h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.confidence-explainer p {
  margin: 6px 0 0;
  line-height: 1.4;
  opacity: 0.95;
}

.question-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.question-text {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.question-subtitle {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

/* Options */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-btn {
  background: linear-gradient(135deg, #fdf4ff, #faf5ff);
  border: 3px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.option-btn:hover {
  transform: translateX(8px);
  border-color: var(--purple);
  box-shadow: var(--shadow-soft);
}

.option-btn.selected {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  border-color: transparent;
  transform: translateX(8px);
}

.option-btn .option-sub {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* Likert Scale */
.likert-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.likert-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-medium);
}

.likert-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(168, 85, 247, 0.2);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-medium);
}

.likert-btn:hover {
  transform: scale(1.1);
  border-color: var(--purple);
}

.likert-btn.selected {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  border-color: transparent;
  transform: scale(1.15);
}

/* Quiz Navigation */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-back, .btn-skip {
  background: transparent;
  border: none;
  color: var(--text-medium);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.btn-back:hover, .btn-skip:hover {
  color: var(--purple);
}

/* ============================================
   RESULTS SECTION
   ============================================ */

.results-section {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background: linear-gradient(180deg, var(--bg-pink), var(--bg-cream));
  min-height: 100vh;
  min-height: 100dvh;
}

.results-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Confetti */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.results-header {
  margin-bottom: 2rem;
  animation: resultReveal 0.8s ease;
}

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

.results-label {
  font-size: 1.1rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.creature-name {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0;
}

.creature-tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-medium);
}

.results-creature-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
  animation: cardAppear 0.6s ease 0.2s both;
}

.result-creature-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.creature-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

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

.results-description {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
  text-align: left;
  line-height: 1.8;
  animation: cardAppear 0.6s ease 0.4s both;
}

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

.results-description p {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

/* Schools Grid */
.results-schools {
  margin-bottom: 2rem;
  animation: cardAppear 0.6s ease 0.6s both;
}

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

.schools-subtitle {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

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

.school-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
  cursor: pointer;
  border: 3px solid transparent;
}

.school-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
}

.school-card .match-score {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.school-card h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.school-card .school-location {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.school-card .school-creature {
  font-size: 0.85rem;
  color: var(--purple);
}

/* Results CTA */
.results-cta {
  background: linear-gradient(135deg, #fdf4ff, #fef3c7);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  animation: cardAppear 0.6s ease 0.8s both;
}

.results-cta h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.results-cta p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Share Section */
.share-section {
  animation: cardAppear 0.6s ease 1s both;
}

.share-section p {
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  background: white;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-btn:hover {
  background: var(--purple);
  color: white;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg-pink), var(--bg-cream));
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-medium);
  font-size: 1.1rem;
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.step:nth-child(1) .step-bubble { background: linear-gradient(135deg, var(--green), var(--teal)); }
.step:nth-child(2) .step-bubble { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.step:nth-child(3) .step-bubble { background: linear-gradient(135deg, var(--pink), var(--orange)); }

.step-content h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.free-badge {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.step-content p {
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================
   CREATURES SECTION
   ============================================ */

.creatures-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  background: white;
}

.creatures-carousel {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.creatures-track {
  display: flex;
  gap: 1rem;
  animation: scroll 80s linear infinite;
  width: max-content;
}

.creatures-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.creature-card-mini {
  flex-shrink: 0;
  width: 120px;
  background: linear-gradient(135deg, #fdf4ff, #faf5ff);
  border: 3px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.creature-card-mini:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--purple);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.creature-card-mini img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.25rem;
}

.creature-card-mini h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dark);
}

.creatures-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

.creature-card {
  background: linear-gradient(135deg, #fdf4ff, #faf5ff);
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid transparent;
}

.creature-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
  border-color: var(--purple);
}

.creature-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem;
}

.creature-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.creature-card p {
  color: var(--text-medium);
  font-size: 0.85rem;
}

.more-creatures {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-medium);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-cream);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  border: 3px solid transparent;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #fdf4ff, #fef3c7);
  border-color: var(--purple);
  transform: scale(1.03);
}

.pricing-card.premium {
  background: linear-gradient(135deg, #fef3c7, #ffe4e6);
  border-color: var(--orange);
}

.pricing-card::before {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card.featured::before {
  content: '⭐ Most Popular';
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
}

.pricing-card.premium::before {
  content: '👑 Best Value';
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--text-dark);
}

.pricing-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-card .price {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--purple);
}

.pricing-card.premium .price {
  color: var(--orange);
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-medium);
  font-weight: 500;
}

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

.pricing-features li {
  padding: 0.4rem 0;
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.pricing-features li.locked {
  opacity: 0.5;
}

.pricing-features li.locked::before {
  content: '○';
  color: var(--text-medium);
}

.pricing-features li.highlight {
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.15), transparent);
  margin: 0.25rem -0.5rem;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.pricing-features li.highlight::before {
  content: '🎁';
}

.pricing-card .btn-primary {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  background: var(--bg-cream);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--purple);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .nav-links a:not(.btn-signin) {
    display: none;
  }
  
  .logo-creature {
    font-size: 1.5rem;
  }
  
  .animation-stage {
    height: 180px;
  }
  
  .creature-img {
    width: 80px;
    height: 80px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .pricing-card.featured,
  .pricing-card.premium {
    transform: none;
  }
  
  .question-card {
    padding: 1.5rem;
  }
  
  .likert-btn {
    width: 50px;
    height: 50px;
  }
  
  .schools-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   WILD CARD / SURPRISE PICK SECTION (Free Tier)
   ============================================= */

.surprise-section-free {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 16px;
  border: 2px dashed #f59e0b;
}

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

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

.surprise-header-free h3 {
  margin: 0;
  color: #92400e;
  font-size: 1.1rem;
}

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

.surprise-school-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

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

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

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

.surprise-pitch {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.75rem 0;
  font-style: italic;
}

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

/* Explorer tier surprise section enhancements */
.surprise-section-explorer {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-radius: 16px;
}

.surprise-header h3 {
  color: #5b21b6;
}

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

.clash-tag {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.surprise-why {
  font-style: italic;
  color: #4b5563;
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.surprise-match {
  color: #059669;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Quick match reason for free tier top match */
.quick-match-reason {
  font-size: 0.9rem;
  color: #4b5563;
  font-style: italic;
  margin: 0.5rem 0 0 0;
  line-height: 1.4;
}

/* Teaser for locked match reasons */
.match-reason-teaser {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0.5rem 0 0 0;
  cursor: pointer;
}

.match-reason-teaser:hover {
  color: #6366f1;
}

/* =============================
   Confidence + outcome explainer
   ============================= */
.confidence-explainer {
  margin: 18px 0 10px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.confidence-explainer h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.confidence-explainer p {
  margin: 0 0 8px;
  color: #374151;
  line-height: 1.45;
}

.confidence-explainer p:last-child {
  margin-bottom: 0;
}

/* ============================================
   V10 - FUN RESULTS PAGE OVERHAUL
   More animations, wider cards, Poopicorn vibes
   ============================================ */

/* Fun Animations */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.6); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes confetti-pop {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
  100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

.bounce { animation: bounce-slow 2s ease-in-out infinite; }
.bounce-slow { animation: bounce-slow 3s ease-in-out infinite; }
.wiggle { animation: wiggle 1s ease-in-out infinite; }
.sparkle { animation: sparkle 1.5s ease-in-out infinite; }
.pulse { animation: pulse-glow 2s ease-in-out infinite; }
.animate-in { animation: slide-up 0.6s ease-out forwards; }

/* Confidence Explainer - Fun Version */
.confidence-explainer-fun {
  background: linear-gradient(135deg, #fef3c7 0%, #fdf4ff 100%);
  border-radius: 20px;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 3px dashed var(--purple);
}

.explainer-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.explainer-toggle:hover {
  background: rgba(139, 92, 246, 0.1);
}

.explainer-icon {
  font-size: 1.5rem;
  animation: bounce-slow 2s ease-in-out infinite;
}

.explainer-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  color: var(--purple);
  flex: 1;
}

.explainer-arrow {
  transition: transform 0.3s;
  color: var(--purple);
}

.confidence-explainer-fun.expanded .explainer-arrow {
  transform: rotate(180deg);
}

.explainer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.confidence-explainer-fun.expanded .explainer-content {
  max-height: 300px;
}

.explainer-grid {
  display: grid;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.explainer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.explainer-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Fun Section Headers */
.section-header-fun {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  border-radius: 16px;
  border-left: 5px solid var(--purple);
}

.section-header-fun h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  margin: 0;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header-fun .section-emoji {
  font-size: 2.5rem;
}

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

/* WIDER School Cards Grid */
.schools-grid-fun {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .schools-grid-fun {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Fun School Cards */
.school-card-free {
  background: white;
  border-radius: 20px;
  padding: 1.75rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.school-card-free::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--teal), var(--coral));
  opacity: 0;
  transition: opacity 0.3s;
}

.school-card-free:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
  border-color: var(--purple);
}

.school-card-free:hover::before {
  opacity: 1;
}

/* Strong/Dream Card Variants */
.school-card-free.strong-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #86efac;
}

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

/* Category Badges */
.category-badge {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.strong-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  animation: pulse-glow 2s ease-in-out infinite;
}

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

/* Match Score Badge - Fun Version */
.match-score-badge {
  background: linear-gradient(135deg, var(--teal), #0d9488);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.confidence-big {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.confidence-small {
  font-size: 0.7rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* School Name & Info */
.school-name-free {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin: 0.5rem 0 0.25rem;
  line-height: 1.2;
}

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

/* Info Items */
.info-visible {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.info-item {
  background: #f3f4f6;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-medium);
}

.info-item.study-fit-excellent {
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  color: var(--purple);
}

.info-item.creative-approach-badge {
  background: linear-gradient(135deg, #fef3c7, #fce7f3);
  color: #9333ea;
}

.info-item.flexibility-badge {
  background: linear-gradient(135deg, #d1fae5, #cffafe);
  color: #0d9488;
}

/* Locked Info */
.info-locked {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 0.85rem;
}

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

/* Card Footer */
.card-footer-free {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dashed #e5e7eb;
  text-align: center;
}

.view-more {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.school-card-free:hover .view-more {
  letter-spacing: 1px;
}

/* Fun Sections Background */
.schools-section {
  padding: 2rem;
  border-radius: 24px;
  margin-bottom: 2rem;
}

.strong-section {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 3px solid #86efac;
}

.dream-section {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 3px solid #fcd34d;
}

.wildcard-section {
  background: linear-gradient(135deg, #fdf4ff 0%, #fce7f3 100%);
  border: 3px solid #f0abfc;
}

/* Surprise/Wild Card */
.surprise-card-free {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s;
  border: 3px dashed var(--purple);
}

.surprise-card-free:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.surprise-school-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.surprise-pitch {
  font-size: 1rem;
  color: var(--text-medium);
  margin: 1rem 0;
  font-style: italic;
}

.surprise-score-free {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--coral));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 700;
}

/* Career Paths Section - Fun Version */
.careers-card {
  background: linear-gradient(135deg, #ede9fe 0%, #fce7f3 100%) !important;
}

.careers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.career-tag {
  background: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple);
  border: 2px solid var(--purple);
  transition: all 0.2s;
  cursor: default;
}

.career-tag:hover {
  background: var(--purple);
  color: white;
  transform: translateY(-2px);
}

.career-tag.primary {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.career-tag.secondary {
  background: #f3f4f6;
  color: var(--text-medium);
  border-color: #d1d5db;
}

/* Personality Career Blend */
.personality-career-blend {
  background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 50%, #dbeafe 100%);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 2px solid #f0abfc;
}

.personality-career-blend h4 {
  font-family: 'Baloo 2', cursive;
  color: var(--purple);
  margin: 0 0 0.75rem;
}

.blend-insight {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.5;
}

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

.paths-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
  display: block;
  margin-bottom: 0.5rem;
}

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

/* Quick Match Reason */
.quick-match-reason {
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--purple);
  margin: 0;
  border-left: 4px solid var(--purple);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .schools-grid-fun {
    grid-template-columns: 1fr;
  }
  
  .schools-section {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .school-card-free {
    padding: 1.25rem;
  }
  
  .section-header-fun {
    flex-direction: column;
    text-align: center;
  }
  
  .section-header-fun .section-emoji {
    font-size: 3rem;
  }
}

/* ============================================
   STUDY INTEREST QUESTION STYLES
   ============================================ */

.study-interest-question {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.certainty-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.certainty-btn {
  text-align: left;
  padding: 1rem 1.25rem;
}

.certainty-btn.selected {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  color: white;
  border-color: var(--purple);
  transform: scale(1.02);
}

.study-input-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fdf4ff 100%);
  border-radius: 16px;
  padding: 1.5rem;
  border: 2px dashed var(--purple);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.study-input-label {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.study-interest-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: none !important;
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow-y: auto;
}

.study-interest-textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.study-interest-textarea::placeholder {
  color: #9ca3af;
}

.study-input-hint {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin: 0.5rem 0 1rem;
  font-style: italic;
}

.study-continue-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ============================================
   V10.4 - TYPOGRAPHY & SPACING FIXES
   Better readability, less cramping
   ============================================ */

/* Global typography improvements */
body {
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* Headings - more breathing room */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 0.75em;
  letter-spacing: -0.01em;
}

/* Paragraphs - better readability */
p {
  line-height: 1.7;
  margin-bottom: 1em;
}

/* Results page specific typography */
.results-tier h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.results-tier h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.results-tier h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Section headers - more space */
.section-header-fun h2 {
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.section-subtitle {
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* School cards - better text spacing */
.school-name-free {
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.school-location-free {
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Info items - proper spacing */
.info-visible {
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.info-item {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Match score badge - cleaner */
.match-score-badge {
  padding: 0.85rem 1.35rem;
  margin-bottom: 1.25rem;
}

.confidence-big {
  font-size: 2.2rem;
  line-height: 1.1;
}

.confidence-small {
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

/* Career tags - better spacing */
.career-tag {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.careers-list {
  gap: 0.85rem;
  line-height: 1.4;
}

/* Study interest section */
.study-interest-card {
  line-height: 1.6;
}

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

.certainty-emoji {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.certainty-message {
  line-height: 1.6;
  font-size: 1rem;
}

.study-interest-display {
  background: #f9fafb;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.study-interest-note {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-medium);
  font-style: italic;
}

/* Profile cards - consistent spacing */
.profile-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.profile-card h3 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.profile-card p {
  line-height: 1.7;
}

/* Explainer section - cleaner */
.explainer-item {
  line-height: 1.6;
  font-size: 0.95rem;
}

.explainer-grid {
  gap: 1.25rem;
  padding: 0.5rem 1.5rem 1.75rem;
}

/* Card footer */
.card-footer-free {
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.view-more {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Schools section container - more padding */
.schools-section {
  padding: 2rem 2.5rem;
}

/* Locked info */
.info-locked {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Quick match reason */
.quick-match-reason {
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Upgrade section */
.upgrade-section h2 {
  margin-bottom: 0.5rem;
}

.upgrade-intro {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.tier-features li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .results-tier h1 {
    font-size: 2rem;
  }
  
  .results-tier h2 {
    font-size: 1.5rem;
  }
  
  .schools-section {
    padding: 1.5rem 1.25rem;
  }
  
  .school-card-free {
    padding: 1.5rem;
  }
  
  .confidence-big {
    font-size: 1.8rem;
  }
}

/* ============================================
   STUDY INSIGHT BOX (CON + PRO)
   ============================================ */

.study-insight-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin: 0.75rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.study-con, .study-pro {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.study-insight-box .insight-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
}

.study-insight-box .insight-text {
  flex: 1;
}

/* Con styling */
.study-con {
  font-weight: 500;
}

/* Pro styling - slightly softer */
.study-pro {
  opacity: 0.9;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(0,0,0,0.1);
  margin-top: 0.25rem;
}

/* Strong warning - school really doesn't match */
.study-insight-box.warning-strong {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid #fca5a5;
}

.study-insight-box.warning-strong .study-con {
  color: #b91c1c;
}

.study-insight-box.warning-strong .study-pro {
  color: #065f46;
  border-top-color: rgba(6, 95, 70, 0.2);
}

/* Moderate warning - weak fit */
.study-insight-box.warning-moderate {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
}

.study-insight-box.warning-moderate .study-con {
  color: #b45309;
}

.study-insight-box.warning-moderate .study-pro {
  color: #065f46;
  border-top-color: rgba(6, 95, 70, 0.2);
}

/* Gentle warning - just a heads up */
.study-insight-box.warning-gentle {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #7dd3fc;
}

.study-insight-box.warning-gentle .study-con {
  color: #0369a1;
}

.study-insight-box.warning-gentle .study-pro {
  color: #065f46;
  border-top-color: rgba(6, 95, 70, 0.2);
}

/* Hover effect */
.school-card-free:hover .study-insight-box {
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

/* ============================================
   LEARNING STYLE FIT STYLES
   ============================================ */

/* Good learning fit badge */
.learning-fit-good {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
  border: 1px solid #6ee7b7 !important;
  color: #047857 !important;
}

/* Learning insight warning box */
.learning-insight-box {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  margin: 0.5rem 0;
  font-size: 0.8rem;
  line-height: 1.4;
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border: 1px solid #fde047;
  color: #854d0e;
}

.learning-insight-box .insight-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.learning-insight-box .insight-text {
  flex: 1;
}

/* ============================================
   DRAMATIC CREATURE REVEAL
   Inspired by 16personalities style
   ============================================ */

/* Import Google Fonts for creature-specific typography */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Orbitron:wght@600;700&family=Dancing+Script:wght@600;700&family=Playfair+Display:wght@600;700&family=Pacifico&family=Righteous&family=Quicksand:wght@600;700&family=Creepster&family=Black+Ops+One&family=Bebas+Neue&family=Fredoka+One&family=Satisfy&family=Lobster&family=Bangers&display=swap');

.creature-reveal-container {
  position: relative;
  padding: 3rem 2rem 4rem;
  margin: -2rem -1rem 2rem;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 50%, #ede9fe 100%);
}

.reveal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
  z-index: 0;
}

.reveal-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reveal-pretext {
  font-size: 1.1rem;
  color: #6b7280;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.creature-name-dramatic {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  letter-spacing: -0.02em;
}

.creature-archetype-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.25rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.creature-tagline-dramatic {
  font-size: 1.35rem;
  font-style: italic;
  color: #4b5563;
  margin: 1rem 0 2rem;
  max-width: 500px;
  line-height: 1.5;
}

.creature-image-showcase {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 1rem 0 2rem;
}

.image-glow {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.creature-img-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}

.trait-badges-dramatic {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.trait-badge-dramatic {
  background: white;
  border: 2px solid;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  opacity: 0;
  animation: badge-appear 0.5s ease-out forwards;
}

/* Reveal Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-delayed {
  animation: fadeIn 0.8s ease-out 0.5s forwards;
  opacity: 0;
}

.animate-bounce-in {
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
  opacity: 0;
  transform: scale(0.5);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes badge-appear {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SCORING EXPLAINER CARD
   Clear, boxed explanation
   ============================================ */

.scoring-explainer-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.scoring-explainer-card .explainer-header {
  background: linear-gradient(135deg, #f3e8ff, #e0e7ff);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.scoring-explainer-card .explainer-icon-large {
  font-size: 1.75rem;
}

.scoring-explainer-card .explainer-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #1f2937;
}

.scoring-explainer-card .explainer-body {
  padding: 1.5rem;
}

.scoring-explainer-card .explainer-intro {
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.scoring-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.score-factor {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.score-factor .factor-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.score-factor .factor-content {
  flex: 1;
}

.score-factor .factor-content strong {
  display: block;
  color: #1f2937;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.score-factor .factor-content p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.scoring-explainer-card .explainer-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #92400e;
}

.scoring-explainer-card .footer-icon {
  font-size: 1.25rem;
}

/* ============================================
   STUDY INTEREST INPUT - LARGE & PROMINENT
   ============================================ */

.study-input-card {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border: 3px solid #c4b5fd;
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.study-input-label-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #5b21b6;
  margin-bottom: 1rem;
}

.study-input-label-large .label-icon {
  font-size: 1.25rem;
}

.study-textarea-wrapper {
  position: relative;
}

.study-interest-textarea-large {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 3px solid #a78bfa;
  border-radius: 16px;
  font-family: inherit;
  font-size: 1.1rem;
  resize: none !important;
  min-height: 120px !important;
  height: 120px !important;
  max-height: 120px !important;
  line-height: 1.6;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.study-interest-textarea-large:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25), 0 4px 12px rgba(139, 92, 246, 0.2);
}

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

.study-input-hint-styled {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6b7280;
  margin: 1rem 0 0;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
}

.study-input-hint-styled .hint-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Make old textarea styles not apply */
.study-interest-textarea {
  display: none;
}

/* Study continue button styling */
.study-continue-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
  .creature-reveal-container {
    padding: 2rem 1rem 3rem;
    margin: -1rem -0.5rem 1rem;
  }
  
  .creature-name-dramatic {
    font-size: 2.5rem;
  }
  
  .creature-image-showcase {
    width: 220px;
    height: 220px;
  }
  
  .trait-badges-dramatic {
    gap: 0.5rem;
  }
  
  .trait-badge-dramatic {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .score-factor {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .study-interest-textarea-large {
    min-height: 100px !important;
    height: 100px !important;
    max-height: 100px !important;
    font-size: 1rem;
    padding: 1rem;
  }
}


/* ---------------------------------
   Why this matches (expand/collapse)
---------------------------------- */
.why-details {
  margin-top: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.6);
}

.why-summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-summary::-webkit-details-marker {
  display: none;
}

.why-summary-title {
  font-weight: 700;
  font-size: 14px;
}

.why-summary-subtitle {
  font-size: 12px;
  opacity: 0.8;
}

.why-body {
  margin-top: 10px;
}

.why-list {
  margin: 0;
  padding-left: 18px;
}

.why-list li {
  margin: 6px 0;
  line-height: 1.35;
  font-size: 13px;
}


/* --- Matching robustness UI additions --- */
.confidence-pill{
  margin-top:6px;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
  display:inline-block;
}
.tradeoffs-section{
  margin-top:10px;
  padding:10px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
}
.tradeoffs-section h4{
  margin:0 0 6px 0;
  font-size:14px;
}
.tradeoffs-section ul{
  margin:0;
  padding-left:18px;
}



/* --- Academic follow-up bubble (GPA / SAT / ACT) --- */
.academic-followup{
  margin-top: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
}
.academic-followup.open{
  max-height: 340px;
  opacity: 1;
  transform: translateY(0);
}
.academic-followup-inner{
  background: linear-gradient(135deg, rgba(122, 57, 248, 0.18), rgba(236, 72, 153, 0.10));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(122,57,248,0.10);
}
.academic-followup-title{
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.academic-followup-copy{
  margin: 0 0 12px 0;
  color: var(--text-medium);
  line-height: 1.45;
}
.academic-followup-input{
  width: 100%;
  border-radius: 14px;
  border: 2px solid rgba(168, 85, 247, 0.22);
  background: rgba(255,255,255,0.92);
  color: var(--text-dark);
  padding: 12px 14px;
  font-size: 1rem;
}
.academic-score-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.academic-followup-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.academic-skip-btn{
  border: none;
  background: transparent;
  color: var(--purple);
  font-weight: 700;
  cursor: pointer;
  padding: 10px 6px;
}
@media (max-width: 700px){
  .academic-score-grid{ grid-template-columns: 1fr; }
}

/* --- Smooth reveal mini-panels (used for exact GPA/test + religion) --- */
.reveal-wrap{
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.05);
}
.subtle-toggle{
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  cursor: pointer;
}
.reveal-inner{
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 260ms ease, opacity 220ms ease;
}
.reveal-wrap.open .reveal-inner{
  max-height: 260px;
  opacity: 1;
}
.reveal-wrap:not(.enabled){
  opacity: 0.45;
}
.reveal-wrap:not(.enabled) .subtle-toggle{
  cursor: default;
}
.reveal-input, .reveal-select{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
  color: inherit;
  padding: 12px 12px;
  font-size: 1rem;
}
.reveal-select{
  appearance: none;
}


/* =========================================
   CollegeCreatures Global Home Orb (Phase 1)
   ========================================= */

.cc-home-orb{
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(10,10,26,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.cc-orb-creatures{
  display: inline-flex;
  align-items: center;
  position: relative;
}

.cc-orb-creature{
  font-size: 1.35rem;
  animation: ccOrbBounce 0.7s ease-in-out infinite;
}

.cc-orb-creature:nth-child(2){ margin-left: -8px; animation-delay: 0.12s; }
.cc-orb-creature:nth-child(3){ margin-left: -8px; animation-delay: 0.24s; }

.cc-orb-sparkle{
  position: absolute;
  right: -10px;
  top: -10px;
  font-size: 0.85rem;
  opacity: 0.9;
  animation: ccOrbTwinkle 1.2s ease-in-out infinite;
}

.cc-orb-text{
  font-family: 'Baloo 2', cursive;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.92);
}

@keyframes ccOrbBounce{
  0%,100%{ transform: translateY(0) rotate(-4deg); }
  50%{ transform: translateY(-6px) rotate(4deg); }
}

@keyframes ccOrbTwinkle{
  0%,100%{ transform: scale(1); opacity: 0.85; }
  50%{ transform: scale(1.15); opacity: 1; }
}


.fit-label{font-weight:900;font-size:0.95rem;opacity:0.92;margin-top:2px;}

/* Creature-school explanation (compact) */
.cc-exp-wrap{margin-top:10px;}

