/* ===========================
   MASKED METHODS - STYLES
   Dark / Purple / Secretive
   =========================== */

/* ---------- CSS Variables ---------- */
:root {
  --black: #000000;
  --bg: #050507;
  --bg-card: #0d0d12;
  --bg-card-hover: #141420;
  --purple: #8B5CF6;
  --purple-bright: #A855F7;
  --purple-light: #C4B5FD;
  --purple-lighter: #DDD6FE;
  --purple-glow: rgba(139, 92, 246, 0.4);
  --purple-glow-strong: rgba(139, 92, 246, 0.7);
  --white: #E8E1F0;
  --text: #DCD5E6;
  --text-muted: rgba(220, 213, 230, 0.7);
  --border: rgba(139, 92, 246, 0.15);
  --border-hover: rgba(139, 92, 246, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Global Atmosphere Canvases ---------- */
.global-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.global-wisps {
  z-index: 1;
  mix-blend-mode: screen;
}

/* Ensure all page content sits above the global canvases */
section.page,
nav,
footer {
  position: relative;
  z-index: 2;
}

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

a:hover {
  color: var(--white);
}

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

/* Fade-in animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ---------- Pages ---------- */
.page {
  display: none;
  min-height: 100vh;
  position: relative;
}
.page.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ============================
   ENTRY / DOOR PAGE
   ============================ */
/* ========== PORTAL ENTRY ========== */
/* Background logo — camouflaged */
.bg-logo-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.bg-logo {
  width: 95vh;
  max-width: 100vw;
  height: auto;
  transition: transform 0.3s ease-out;
  will-change: opacity, transform, filter;
}

/* Dim base layer — barely visible */
.bg-logo-dim {
  opacity: 0.15;
  filter: brightness(0.6) contrast(1.1);
  animation: logoBreathe 6s ease-in-out infinite;
}

@keyframes logoBreathe {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.2; }
}


/* Mist overlay canvas — full screen, on top of scene */
.mist-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* Starfield canvas */
.starfield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Background logo wrapper */
.bg-logo-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.bg-logo-dim {
  width: 95vh;
  max-width: 100vw;
  height: auto;
  opacity: 0.12;
  filter: brightness(0.6);
}

/* Bright reveal logo — directly visible behind mist */
.portal-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.bg-logo-reveal {
  width: 95vh;
  max-width: 100vw;
  height: auto;
  opacity: 0.8;
  filter: brightness(1.3) contrast(1.2);
  will-change: transform;
}

.portal-scene {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  cursor: default;
  overflow: hidden;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}


/* Floating particles */
.particle-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--purple);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  10% {
    opacity: 0.8;
    transform: scale(1);
  }
  90% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(0.5);
  }
}

/* (Black hole removed — replaced by torch reveal) */

/* Portal text */
.portal-text {
  z-index: 2;
  text-align: center;
  margin-bottom: 50px;
  order: -1;
}



.portal-cta {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 30px;
  order: 1;
}

.pulse-text {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; text-shadow: 0 0 0 transparent; }
  50% { opacity: 1; text-shadow: 0 0 20px var(--purple-glow); }
}

/* Mist hint overlay — centered on top of mist */
.mist-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.mist-hint.fading {
  opacity: 0;
}

.mist-hint-icon {
  font-size: 2.8rem;
  color: rgba(180, 140, 255, 0.7);
  animation: mistHintPulse 2.5s ease-in-out infinite;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.mist-hint-text {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(180, 140, 255, 0.6);
  font-weight: 500;
  white-space: nowrap;
}

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

/* Mist clear progress bar — thin line at bottom */
.mist-progress {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 2px;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mist-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border-radius: 2px;
  transition: width 0.12s ease;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}


/* ============================
   NAVIGATION
   ============================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#main-nav.nav-visible {
  display: block;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  height: 40px;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo-link { display: flex; align-items: center; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width var(--transition);
}

.nav-links a {
  position: relative;
  overflow: hidden;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a.active {
  color: var(--purple);
}
.nav-links a .ink-ripple {
  background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, transparent 60%);
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active::after {
  width: 100%;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(139,92,246,0.7);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--white); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not(.hidden) { display: flex; }
}

/* ============================
   HOME / LANDING PAGE
   ============================ */
#home {
  padding: 100px 24px;
  text-align: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  pointer-events: none;
  animation: orbFloat 6s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -52%) scale(1.1); }
}

.home-logo {
  width: 200px;
  height: auto;
  margin-bottom: 8px;
}

.home-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  background: url('./galaxy.jpg') center center / 200% 200% no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transition: background-position 0.1s ease-out;
  padding: 8px 0;
}

.home-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--purple-glow);
  color: var(--white);
}

.btn-glow {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2), transparent 70%);
  transition: opacity 0.4s;
}
.btn-primary:hover .btn-glow { opacity: 1; }

/* ---------- Ink Ripple Button Animation ---------- */
/* Liquid shimmer on hover */
.btn-primary::before,
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), rgba(139,92,246,0.15), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::before,
.btn-outline:hover::before {
  animation: liquidShimmer 1.2s ease forwards;
}
@keyframes liquidShimmer {
  0% { left: -100%; }
  100% { left: 140%; }
}

/* Ink ripple element — spawned by JS on click */
.ink-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.6) 0%, rgba(167,139,250,0.3) 40%, transparent 70%);
  transform: scale(0);
  animation: inkRippleExpand 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  pointer-events: none;
  z-index: 2;
}
@keyframes inkRippleExpand {
  0% { transform: scale(0); opacity: 1; }
  50% { opacity: 0.8; }
  100% { transform: scale(4); opacity: 0; }
}

/* Button press state */
.btn-pressing {
  transform: scale(0.94) !important;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.btn-releasing {
  transform: scale(1.03) !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Ink fill that stays briefly */
.ink-fill {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.35) 0%, rgba(109,40,217,0.2) 50%, transparent 70%);
  transform: scale(0);
  animation: inkFillExpand 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  pointer-events: none;
  z-index: 0;
}
@keyframes inkFillExpand {
  0% { transform: scale(0); opacity: 1; }
  60% { transform: scale(3); opacity: 0.6; }
  100% { transform: scale(3.5); opacity: 0; }
}

.btn-sm {
  padding: 12px 28px;
  font-size: 0.85rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--purple-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--purple);
  color: var(--white);
}

/* Outline button ink ripple uses lighter color */
.btn-outline .ink-ripple {
  background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, rgba(167,139,250,0.2) 40%, transparent 70%);
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.social-link .ink-ripple {
  background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, transparent 60%);
}

.social-link:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--purple-glow);
}

/* ============================
   SECTION SHARED STYLES
   ============================ */
.section-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 52px;
  line-height: 1.7;
  text-transform: none;
}

/* ============================
   METHODS PAGE
   ============================ */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.method-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  overflow: hidden;
}

.method-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.method-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.method-card:hover .method-card-glow {
  opacity: 0.3;
}

/* Method card image */
.method-card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.method-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.method-card:hover .method-card-img img {
  transform: scale(1.08);
}

.method-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg-card) 100%);
  pointer-events: none;
}

.method-card-body {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-grow: 1;
}

/* Method card ink ripple */
.method-card .ink-ripple {
  background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, rgba(167,139,250,0.15) 40%, transparent 70%);
}
.method-card.btn-pressing {
  transform: scale(0.97) translateY(-4px) !important;
}
.method-card.btn-releasing {
  transform: scale(1.01) translateY(-4px) !important;
}

.method-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
}

.method-desc {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
  flex-grow: 1;
  text-transform: none;
  font-weight: 500;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  transition: all var(--transition);
}

.learn-more-link:hover {
  color: var(--white);
  gap: 10px;
}

/* Courses teaser */
.courses-teaser {
  text-align: center;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.courses-teaser p {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 1px;
}

.teaser-line {
  width: 60px;
  height: 1px;
  background: var(--border-hover);
  margin-bottom: 8px;
}

/* ============================
   METHOD DETAIL / INFO PAGE
   ============================ */
.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.info-block {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.info-block:hover {
  border-color: var(--border-hover);
}

.info-block-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-bright) 100%);
}

.info-block-content {
  padding: 40px 40px 40px 48px;
}

.info-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.info-block-header i {
  font-size: 1.5rem;
  color: var(--purple-light);
}

.info-block-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
}

.info-block-content p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  text-transform: none;
}

.info-block-content .btn-primary {
  margin-top: 8px;
}

.back-to-methods {
  text-align: center;
}

/* ============================
   RESOURCES PAGE
   ============================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.product-img-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--border);
  font-size: 2rem;
  color: var(--purple-light);
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 1px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Expandable product card dropdown */
.product-card--expandable { cursor: pointer; overflow: hidden; }
.product-card--expandable .product-card-header { position: relative; }
.dropdown-arrow {
  margin-top: 12px; text-align: center; color: var(--accent);
  transition: transform 0.4s ease;
}
.product-card--expandable.expanded .dropdown-arrow { transform: rotate(180deg); }
.product-dropdown {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
  padding: 0 16px;
}
.product-card--expandable.expanded .product-dropdown {
  max-height: 1200px; opacity: 1; padding: 16px 16px 8px;
  border-top: 1px solid rgba(139,92,246,0.2); margin-top: 16px;
}
.product-dropdown-item {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-dropdown-item:last-child { border-bottom: none; }
.product-preview-img {
  width: 64px; height: 80px; flex-shrink: 0;
  background: rgba(139,92,246,0.08); border-radius: 8px;
  border: 1px solid rgba(139,92,246,0.2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.preview-checklist {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px; width: 100%; position: relative;
}
.preview-line {
  height: 4px; border-radius: 2px; width: 80%;
  background: rgba(255,255,255,0.12);
}
.preview-line.checked {
  background: linear-gradient(90deg, var(--accent), #a78bfa);
  width: 90%;
}
.preview-icon {
  position: absolute; bottom: 2px; right: 2px; font-size: 14px;
  opacity: 0.7;
}
.product-dropdown-info { flex: 1; }
.product-dropdown-info h4 {
  font-size: 0.95rem; color: #fff; margin-bottom: 4px; font-weight: 600;
}
.product-dropdown-info p {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 6px;
}
.coming-soon-badge.small {
  font-size: 0.65rem; padding: 2px 8px;
}

/* ============================
   COURSES PAGE
   ============================ */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto 48px;
  gap: 24px;
}

.course-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple-light);
}

.course-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  font-size: 2rem;
  color: var(--purple-light);
}

.course-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.course-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-meta i {
  color: var(--purple-light);
}

.courses-note {
  text-align: center;
}

.courses-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================
   CONTACT FORM
   ============================ */
#contact {
  padding-bottom: 0;
}

.contact-form {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  align-self: center;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  color: var(--purple-light);
  font-size: 0.95rem;
  margin-top: 12px;
}

.form-success i {
  color: #34d399;
}

/* ============================
   FOOTER BAR
   ============================ */
#footer-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--white);
}

.footer-logo {
  height: 36px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--purple-light); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .methods-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .info-block-content {
    padding: 28px 24px 28px 32px;
  }

  .home-title {
    letter-spacing: 3px;
  }

  .section-inner {
    padding: 100px 16px 60px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  /* Hide "Begin unmasking" on mobile — hint orb replaces it */
  .portal-cta { display: none; }

  /* Torch reveal — larger radius on mobile */
  .bg-logo-reveal {
    -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
    mask-image: radial-gradient(circle 0px at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
  }
}
/* ============================================ */
/* QUIZ SYSTEM                                  */
/* ============================================ */

/* Shared quiz container */
.quiz-container {
  max-width: 620px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Signup Page --- */
.signup-card { text-align: center; }

.signup-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.signup-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}
.signup-field { text-align: left; }
.signup-field label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.signup-field input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  box-sizing: border-box;
}
.signup-field input:focus {
  border-color: var(--purple);
  background: rgba(139,92,246,0.14);
}
.signup-field input::placeholder { color: rgba(232,225,240,0.3); }
.field-error {
  display: block;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  min-height: 1.2em;
}

/* --- Quiz Button (shared) --- */
.quiz-btn {
  margin-top: 1rem;
  padding: 16px 44px;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

/* --- Progress Bar --- */
.quiz-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(139,92,246,0.12);
  z-index: 200;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--purple);
  transition: width 0.5s ease;
  box-shadow: 0 0 12px rgba(139,92,246,0.5);
}

/* --- Quiz Intro --- */
.quiz-intro { text-align: center; }
.quiz-intro-heading {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.35;
  font-weight: 600;
}
.quiz-intro-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}
.quiz-intro-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  opacity: 0.65;
}

/* --- Question --- */
.quiz-question-wrap {
  transition: opacity 0.35s ease;
  text-align: center;
}
.quiz-question-num {
  color: var(--purple);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.quiz-question-text {
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.45;
  font-weight: 500;
}

/* --- Options --- */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.quiz-option {
  padding: 15px 20px;
  background: rgba(139,92,246,0.05);
  border: 1px solid rgba(139,92,246,0.13);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.45;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}
.quiz-option:hover {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.3);
  padding-left: 26px;
}
.quiz-option.selected {
  background: rgba(139,92,246,0.22);
  border-color: var(--purple);
  padding-left: 28px;
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
}

/* --- Likert Slider --- */
.likert-slider-wrap {
  max-width: 500px;
  margin: 2.5rem auto 0;
  padding: 0 8px;
}

.likert-slider-container {
  position: relative;
  padding: 0 22px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.likert-track {
  position: absolute;
  top: 21px;
  left: 22px;
  right: 22px;
  height: 3px;
  background: rgba(139, 92, 246, 0.12);
  border-radius: 2px;
  pointer-events: none;
}

.likert-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.4), var(--purple));
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.likert-dots-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.likert-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.likert-dot-inner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(232, 225, 240, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.likert-dot-text {
  font-size: 0.68rem;
  color: rgba(232, 225, 240, 0.3);
  margin-top: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hover (desktop) */
@media (hover: hover) {
  .likert-dot:hover .likert-dot-inner {
    border-color: rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.08);
    color: rgba(232, 225, 240, 0.6);
  }
  .likert-dot:hover .likert-dot-text {
    color: rgba(232, 225, 240, 0.5);
  }
}

/* Passed state (dots before selected) */
.likert-dot.passed .likert-dot-inner {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.35);
  color: rgba(139, 92, 246, 0.7);
}

.likert-dot.passed .likert-dot-text {
  color: rgba(139, 92, 246, 0.35);
}

/* Active state (selected dot) */
.likert-dot.active .likert-dot-inner {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: scale(1.15);
  box-shadow:
    0 0 20px rgba(139, 92, 246, 0.5),
    0 0 40px rgba(139, 92, 246, 0.15),
    inset 0 0 8px rgba(255, 255, 255, 0.1);
  animation: likertDotPulse 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.likert-dot.active .likert-dot-text {
  color: var(--purple);
  font-weight: 600;
}

@keyframes likertDotPulse {
  0% { transform: scale(0.7); opacity: 0.6; }
  50% { transform: scale(1.28); }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Ring pulse on active dot */
.likert-dot.active .likert-dot-inner::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.4);
  animation: likertRingExpand 0.6s ease-out forwards;
}

@keyframes likertRingExpand {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Particle burst */
.likert-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  pointer-events: none;
  z-index: 10;
  animation: likertParticleBurst 0.5s ease-out forwards;
  transform-origin: center;
}

@keyframes likertParticleBurst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  60% {
    opacity: 0.5;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* Selected value label */
.likert-selected-label {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 1.05rem;
  color: var(--purple);
  font-weight: 500;
  min-height: 1.5em;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s ease;
  font-style: italic;
  letter-spacing: 0.02em;
}

.likert-selected-label.visible {
  opacity: 0.85;
  transform: translateY(0);
}

/* Next button animation */
.likert-next-btn {
  display: block;
  margin: 1.5rem auto 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
  pointer-events: none;
}

.likert-next-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Section interstitial */
.quiz-section-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
}

.section-intro-text {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  color: var(--purple);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .likert-slider-container {
    padding: 0 10px;
  }
  .likert-dot-inner {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .likert-track {
    left: 10px;
    right: 10px;
    top: 22px;
  }
  .likert-dot-text {
    font-size: 0.58rem;
    margin-top: 8px;
  }
  .likert-slider-wrap {
    padding: 0;
  }
}

/* --- Results Page --- */
.results-container {
  max-width: 650px;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: auto;
  justify-content: flex-start;
}
.results-title {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--text);
  margin-bottom: 0.5rem;
  transition: opacity 0.8s ease;
  text-align: center;
  font-weight: 600;
}
.results-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  transition: opacity 0.8s ease;
  text-align: center;
  font-weight: 400;
}

/* --- Archetype Cards --- */
.archetype-card {
  background: rgba(139,92,246,0.05);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.archetype-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.primary-card .archetype-label { color: var(--purple); }
.shadow-card .archetype-label { color: #ef4444; }
.growth-card .archetype-label { color: #22c55e; }

.primary-card { border-color: rgba(139,92,246,0.25); }
.shadow-card  { border-color: rgba(239,68,68,0.18); }
.growth-card  { border-color: rgba(34,197,94,0.18); }

.archetype-emoji {
  font-size: 3.2rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}
.archetype-name {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.archetype-tagline {
  color: var(--purple-light);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
  font-weight: 400;
}
.archetype-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 500;
  max-width: 480px;
  margin: 0 auto;
}
.shadow-card .archetype-tagline { color: rgba(239,68,68,0.7); }
.growth-card .archetype-tagline { color: rgba(34,197,94,0.7); }

.results-cta {
  display: block;
  margin: 2rem auto 0;
  transition: opacity 0.8s ease;
}

/* --- Mobile Quiz --- */
@media (max-width: 768px) {
  .quiz-container { padding: 60px 16px 30px; }
  .quiz-option { font-size: 0.9rem; padding: 13px 16px; }
  .archetype-card { padding: 1.5rem 1.2rem; }
  .archetype-emoji { font-size: 2.6rem; }
  .archetype-name { font-size: 1.3rem; }
  .results-container { padding-top: 50px; }
}

/* Consultation CTA */
.consultation-cta {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.consultation-text {
  color: #B8A9C9;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.consultation-btn {
  font-size: 0.85rem;
  padding: 0.7rem 2rem;
  border: 1px solid rgba(139,92,246,0.5);
  color: #C4B5FD;
  background: transparent;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.consultation-btn:hover {
  border-color: #8B5CF6;
  color: #fff;
  background: rgba(139,92,246,0.1);
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
}

/* ========== ARCHETYPE BADGE (Home Page) ========== */
.archetype-badge-wrapper {
  position: fixed;
  top: 4.5rem;
  left: 1.5rem;
  z-index: 1100;
}
.archetype-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 12px;
  text-decoration: none;
  color: #E8E1F0;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.archetype-badge:hover {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
  transform: translateY(-1px);
}
.badge-emoji {
  font-size: 1.6rem;
  line-height: 1;
}
.badge-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.badge-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9B8AB8;
}
.badge-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #C4B5FD;
}
.badge-arrow {
  font-size: 1rem;
  color: #8B5CF6;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}
.archetype-badge:hover .badge-arrow {
  transform: translateX(3px);
}

/* ========== PROFILE PAGE ========== */
.profile-page {
  padding-top: 6rem;
  padding-bottom: 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}
.profile-trio {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}
.profile-archetype-card {
  background: rgba(139,92,246,0.04);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  animation: profileCardIn 0.6s ease both;
}
.profile-archetype-card:nth-child(2) { animation-delay: 0.15s; }
.profile-archetype-card:nth-child(3) { animation-delay: 0.3s; }
@keyframes profileCardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.profile-archetype-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #8B5CF6, transparent);
  border-radius: 4px 0 0 4px;
}
.profile-card-role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8B5CF6;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.profile-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}
.profile-card-emoji {
  font-size: 2.2rem;
  line-height: 1;
}
.profile-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E8E1F0;
}
.profile-card-tagline {
  font-size: 0.95rem;
  color: #9B8AB8;
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 0.2rem;
}
.profile-card-desc {
  font-size: 1rem;
  font-weight: 500;
  color: #DCD5E6;
  line-height: 1.7;
}

/* Profile — Method Recommendations */
.profile-methods {
  margin-bottom: 3rem;
}
.profile-methods-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #E8E1F0;
  text-align: center;
  margin-bottom: 0.5rem;
}
.profile-methods-subtitle {
  text-align: center;
  color: #9B8AB8;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.profile-method-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.profile-method-rec {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(139,92,246,0.04);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: 14px;
  align-items: flex-start;
  animation: profileCardIn 0.6s ease both;
}
.profile-method-rec:nth-child(2) { animation-delay: 0.1s; }
.profile-method-rec:nth-child(3) { animation-delay: 0.2s; }
.rec-priority {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #C4B5FD;
}
.rec-content { flex: 1; }
.rec-method-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #E8E1F0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.rec-match-tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8B5CF6;
  background: rgba(139,92,246,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}
.rec-reason {
  font-size: 0.95rem;
  font-weight: 500;
  color: #DCD5E6;
  line-height: 1.6;
}
.rec-cta {
  margin-top: 0.8rem;
}
.rec-cta .btn-outline {
  font-size: 0.75rem;
  padding: 0.5rem 1.2rem;
}

/* Profile CTA & Retake */
.profile-cta {
  text-align: center;
  margin-bottom: 1.5rem;
}
.profile-retake {
  text-align: center;
}
.profile-retake-link {
  color: #7C6B95;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.profile-retake-link:hover {
  color: #C4B5FD;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .archetype-badge-wrapper {
    top: 1rem;
    left: 1rem;
  }
  .archetype-badge {
    padding: 0.5rem 0.8rem;
    gap: 0.5rem;
  }
  .badge-emoji { font-size: 1.3rem; }
  .badge-name { font-size: 0.75rem; }
  .profile-page { padding-top: 5rem; }
  .profile-method-rec {
    flex-direction: column;
    gap: 0.8rem;
  }
}
