/* CSS Design System for personalitytestincognito.com */

:root {
  /* Colors */
  --bg-main: #0a0d18;
  --bg-surface: rgba(18, 24, 46, 0.75);
  --bg-surface-opaque: #12182e;
  --bg-card-hover: rgba(30, 39, 72, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-inverse: #0a0d18;

  /* Accent Gradients */
  --primary-glow: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  --accent-cyan: #06b6d4;
  --accent-magenta: #d946ef;
  --accent-emerald: #10b981;
  --accent-coral: #f43f5e;
  
  --grad-text: linear-gradient(90deg, #06b6d4 0%, #6366f1 50%, #d946ef 100%);
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Shadows & Glassmorphism */
  --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
  --glass-backdrop: blur(16px);
}

/* WordPress Native Page Overrides */
body.incognito-quiz-active,
body.incognito-quiz-active .site,
body.incognito-quiz-active #page,
body.incognito-quiz-active .ast-container,
body.incognito-quiz-active .entry-content,
body.incognito-quiz-active .site-content,
body.incognito-quiz-active .site-header,
body.incognito-quiz-active .site-footer,
body.incognito-quiz-active .main-header-bar,
body.incognito-quiz-active .ast-site-header {
  background-color: #0a0d18 !important;
  background: #0a0d18 !important;
  color: #f3f4f6 !important;
}

body.incognito-quiz-active a,
body.incognito-quiz-active h1,
body.incognito-quiz-active h2,
body.incognito-quiz-active h3,
body.incognito-quiz-active h4,
body.incognito-quiz-active h5,
body.incognito-quiz-active h6 {
  color: #f3f4f6 !important;
}

#incognito-quiz-wrapper {
  background-color: #0a0d18 !important;
  color: #f3f4f6 !important;
  font-family: var(--font-sans);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

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

.hidden {
  display: none !important;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Layout */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 13, 24, 0.85);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-display);
}

.logo-highlight {
  color: var(--accent-cyan);
}

.logo-svg {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  pointer-events: none;
}

.logo, .footer-logo {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-btn-home {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
  padding: 8px 16px;
}

.nav-btn-home:hover {
  color: var(--text-main);
}

.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ad Placement Settings (Compliance Shield) */
.ad-placement {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* LIVE TICKER DISGUISE (Top Ad Placeholder) */
.live-ticker-container {
  width: 100%;
  min-height: 50px;
  background-color: rgba(18, 24, 46, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.85rem;
  justify-content: center;
}

.ticker-badge {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  margin-right: 16px;
  flex-shrink: 0;
}

.ticker-text-wrapper {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.ticker-item {
  color: var(--text-muted);
}

.ticker-item strong {
  color: var(--text-main);
}

.ticker-separator {
  color: rgba(255, 255, 255, 0.15);
}

.ticker-glow {
  color: var(--accent-magenta) !important;
  text-shadow: 0 0 8px rgba(217, 70, 239, 0.4);
}

/* INSIGHT BANNER DISGUISE (Bottom Ad Placeholder) */
.insight-banner-container {
  width: 100%;
  min-height: 80px;
  background-color: rgba(18, 24, 46, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  justify-content: center;
}

.insight-icon {
  font-size: 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insight-content {
  display: flex;
  flex-direction: column;
}

.insight-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}

.insight-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* PHASE 0: Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.04) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 800px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 680px;
  margin-bottom: 50px;
}

/* Catalog Cards Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
  margin-bottom: 50px;
  text-align: left;
}

.catalog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-glow);
  color: var(--text-inverse);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-featured {
  background: linear-gradient(135deg, rgba(28, 38, 70, 0.8) 0%, rgba(18, 24, 46, 0.8) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.card-featured:hover {
  border-color: rgba(99, 102, 241, 0.6);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.catalog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.catalog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
}

.btn-card-start {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 20px;
  font-size: 0.9rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 6px;
}

.catalog-card:hover .btn-card-start {
  background: var(--primary-glow);
  color: var(--text-inverse);
  border-color: transparent;
}

.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  justify-content: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PHASE 1: Interactive Quiz Container (AdSense Spacing Rule Active) */
.quiz-section {
  margin-top: 150px;   /* Anti-Accidental Click spacing */
  margin-bottom: 150px;/* Anti-Accidental Click spacing */
  padding: 20px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.quiz-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-main);
  backdrop-filter: var(--glass-backdrop);
  max-width: 680px;
  width: 100%;
}

.quiz-header {
  margin-bottom: 30px;
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-quit-quiz {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

.btn-quit-quiz:hover {
  color: var(--accent-coral);
}

.question-tracker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  margin-top: 12px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), #3b82f6);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-box h2 {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 35px;
  text-align: center;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-btn {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  color: var(--text-main);
  font-size: 1.05rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.option-btn:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}

.option-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-glow);
  opacity: 0;
  transition: opacity 0.2s;
}

.option-btn:hover::before {
  opacity: 1;
}

.quiz-footer-meta {
  margin-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* PHASE 2: Loading State */
.loading-section {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.loading-card {
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 500px;
  width: 100%;
}

.loading-card h3 {
  margin: 24px 0 12px;
  font-size: 1.5rem;
}

.loading-status {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Spinner design */
.spinner {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  background-color: #6366f1;
  animation-delay: -1.0s;
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
  }
}

/* PHASE 3: Infographic Results Page */
.results-section {
  padding: 60px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.results-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.results-header-box {
  text-align: center;
  margin-bottom: 48px;
}

.archetype-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 6px 14px;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.archetype-title {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.archetype-one-liner {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 24px;
}

.btn-primary {
  background: var(--primary-glow);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  font-family: var(--font-display);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-secondary-home {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 24px;
  font-size: 0.9rem;
  box-shadow: none;
}

.btn-secondary-home:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

/* Fallback for Reset Button caching */
#restart-quiz-btn, #results-home-btn {
  background: var(--primary-glow);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 40px;
}

.results-dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-card, .metric-card, .content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-main);
  backdrop-filter: var(--glass-backdrop);
}

.metric-card {
  padding: 20px;
}

.card-heading {
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.card-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-glow);
}

/* Metric Bars */
.metric-row {
  margin-bottom: 20px;
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.metric-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 99px;
}

.fill-adaptability { background: var(--accent-cyan); }
.fill-velocity { background: var(--accent-magenta); }
.fill-systemization { background: #3b82f6; }
.fill-empathy { background: var(--accent-emerald); }

.card-neuro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Thick Content Area */
.card-deep-analysis {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.long-form-content p {
  margin-bottom: 20px;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
}

.long-form-content p:last-child {
  margin-bottom: 0;
}

/* Columns Grid */
.results-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.bullet-list {
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: #d1d5db;
}

.bullet-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
}

.card-strengths .bullet-list li::before {
  color: var(--accent-emerald);
}

.card-blindspots .bullet-list li::before {
  color: var(--accent-coral);
}

.text-green { color: var(--accent-emerald); }
.text-red { color: var(--accent-coral); }

.ordered-list {
  list-style: none;
  counter-reset: o-list;
}

.ordered-list li {
  counter-increment: o-list;
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  color: #d1d5db;
}

.ordered-list li::before {
  content: counter(o-list);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--primary-glow);
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contextual Affiliate Zone */
.card-affiliates {
  background: linear-gradient(135deg, rgba(18, 24, 46, 0.95) 0%, rgba(30, 39, 72, 0.4) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-top: 40px;
}

.affiliate-header {
  margin-bottom: 30px;
}

.aff-badge {
  display: inline-block;
  background: rgba(217, 70, 239, 0.1);
  color: var(--accent-magenta);
  border: 1px solid rgba(217, 70, 239, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.affiliate-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, background 0.2s;
}

.affiliate-item:hover {
  border-color: rgba(217, 70, 239, 0.3);
  background: rgba(217, 70, 239, 0.02);
}

.aff-item-meta {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.affiliate-item h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.affiliate-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-aff-link {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-magenta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  margin-top: auto;
}

.btn-aff-link:hover {
  gap: 10px;
}

/* Compliance Modal/Overlay */
.compliance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(5, 7, 13, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.overlay-card {
  background: var(--bg-surface-opaque);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.close-overlay-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.close-overlay-btn:hover {
  color: var(--text-main);
}

.compliance-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.compliance-text h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.compliance-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.compliance-text ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.compliance-text li {
  margin-bottom: 8px;
}

/* Premium Footer */
.app-footer {
  border-top: 1px solid var(--border-color);
  background-color: #070912;
  margin-top: 120px;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-main);
}

/* Utility classes */
.hidden {
  display: none !important;
}

/* Media Queries for Responsiveness */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .results-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .affiliate-grid {
    grid-template-columns: 1fr;
  }
  .results-columns-grid {
    grid-template-columns: 1fr;
  }
  .ticker-text-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
  }
  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .overlay-card {
    padding: 24px;
  }
  .hero-meta {
    flex-direction: column;
    gap: 16px;
  }
  .quiz-container {
    padding: 24px;
  }
  .results-section {
    padding: 30px 16px;
  }
  .archetype-title {
    font-size: 2rem;
  }
  .archetype-one-liner {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  .card-heading {
    font-size: 1.15rem;
  }
  .metric-label {
    font-size: 1rem !important;
  }
  .profile-longtext p {
    font-size: 1.15rem;
  }
}

/* Dynamic UI Animations for Results Page */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-card {
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Results Stack Layout */
.results-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}
.card-heading {
  font-size: 1.5rem !important;
}
.bullet-list li {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.content-card p {
  font-size: 1.15rem;
  line-height: 1.7;
}
