@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Epilogue:wght@400;500;600&display=swap'); 
:root { 
    --pink-50: #fdf6fc; 
    --pink-100: #fdcef6; 
    --pink-200: #fb9ded; 
    --pink-400: #f83adb; 
    --pink-700: #94057e; 
    --pink-950: #22011d; 
    
    --teal-50: #ebfaf8; 
    --teal-100: #d7f4f0; 
    --teal-200: #aeeae2; 
    --teal-400: #5ed4c4; 
    --teal-700: #20796d; 
    --teal-950: #071c19; 
    
    --gray-50: #f9fafb; 
    --gray-100: #f3f4f6; 
    --gray-200: #e5e7eb; 
    --gray-300: #d1d5db; 
    --gray-500: #6b7280; 
    --gray-600: #4b5563; 
    --gray-800: #1f2937; 
    --gray-900: #111827; 
    
    --primary: var(--pink-700); 
    --primary-light: var(--pink-200); 
    --primary-dark: var(--pink-950); 
    
    --secondary: var(--teal-700); 
    --secondary-light: var(--teal-200); 
    --secondary-dark: var(--teal-950); 
    
    --accent: var(--teal-400); 
    --accent-light: var(--teal-200); 
    
    --bg-secondary: #ffffff; 
    --bg-pink: var(--pink-50);  
    --bg-teal: var(--teal-50); 
    
    --text-primary: var(--gray-800); 
    --text-secondary: var(--gray-600); 
    --text-muted: var(--gray-500); 
    
    --border-color: var(--gray-200); 
    --border-dark: var(--gray-900); 
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); 
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
    --radius-sm: 0.375rem; 
    --radius: 0.5rem; 
    --radius-lg: 0.75rem; 
    --radius-xl: 1rem; 
} 
/* Dark Mode Variables - Black Theme */ 
body.dark-mode { 
    --bg-secondary: #111827; 
    --bg-pink: #22011d; 
    --bg-teal: #071c19; 
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db; 
    --text-muted: #9ca3af; 
    --border-color: #1f2937; 
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5); 
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.6), 0 1px 2px 0 rgba(0, 0, 0, 0.5); 
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.5); 
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.5); 
    --teal-50: #0f1a17; 
    --teal-100: #152520; 
    --pink-50: #1a1215; 
    --pink-100: #251a1f; 
    --primary-light: #251a1f; 
    --primary: #f83adb; 
    --secondary: #5ed4c4; 
    --accent: #5ed4c4;
    --bg-primary: #0a0a0a;
} 

body.dark-mode .card { 
    background: var(--teal-950); 
    border-color: var(--gray-800); 
} 

body.dark-mode nav { 
    background: var(--teal-950); 
    border-bottom-color: var(--gray-800); 
} 

body.dark-mode .nav-links a:not(.btn) {
    color: var(--gray-100); 
} 

body.dark-mode .nav-links a:not(.btn):hover { 
    color: var(--pink-400); 
}

body.dark-mode .nav-links .btn,
body.dark-mode .nav-links .btn.btn-secondary,
body.dark-mode .nav-links a.btn {
    background: #374151 !important;
    color: #f9fafb !important;
    border-color: #4b5563 !important;
}

body.dark-mode .nav-links .btn:hover,
body.dark-mode .nav-links .btn:focus,
body.dark-mode .nav-links a.btn:hover,
body.dark-mode .nav-links a.btn:focus {
    background: #4b5563 !important;
    color: #ffffff !important;
    border-color: #6b7280 !important;
} 

body.dark-mode .logo { 
    color: var(--pink-400); 
} 

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 { 
    color: #f9fafb !important; 
}

body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #f3f4f6 !important;
}

body.dark-mode p, body.dark-mode li {
    color: #e5e7eb !important;
}

body.dark-mode span:not(.tag):not(.badge):not(.sensory-badge):not(.difficulty-badge):not(.completed-badge) {
    color: #d1d5db !important;
}

body.dark-mode main {
    color: #e5e7eb !important;
}

body.dark-mode main h1,
body.dark-mode main h2,
body.dark-mode main h3,
body.dark-mode main h4,
body.dark-mode main h5,
body.dark-mode main h6 {
    color: #f9fafb !important;
}

body.dark-mode main p {
    color: #e5e7eb !important;
}

body.dark-mode main span {
    color: #d1d5db !important;
}

body.dark-mode main label {
    color: #e5e7eb !important;
}

body.dark-mode main div {
    color: #e5e7eb;
}

body.dark-mode .container h1,
body.dark-mode .container h2,
body.dark-mode .container h3 {
    color: #f9fafb !important;
}

body.dark-mode .container p {
    color: #e5e7eb !important;
}

body.dark-mode .card p, body.dark-mode .card li {
    color: #d1d5db;
}

body.dark-mode .activity-card h3, body.dark-mode .resource-card h3 {
    color: #f9fafb;
}

body.dark-mode .activity-card p, body.dark-mode .resource-card p {
    color: #d1d5db;
}

body.dark-mode .hero p { 
    color: #e5e7eb; 
}

body.dark-mode [style*="color: #374151"],
body.dark-mode [style*="color: #1f2937"],
body.dark-mode [style*="color: var(--text-primary)"] {
    color: #f9fafb !important;
}

body.dark-mode .breadcrumbs li {
    color: #d1d5db !important;
}

body.dark-mode .page-header h1,
body.dark-mode .page-header p {
    color: #f9fafb !important;
}

body.dark-mode .card h2,
body.dark-mode .card h3,
body.dark-mode .card h4 {
    color: #f9fafb !important;
}

body.dark-mode .card strong {
    color: #f3f4f6;
}

body.dark-mode .card em {
    color: #d1d5db;
} 

body.dark-mode footer { 
    background: var(--gray-900); 
    border-top-color: var(--gray-800); 
} 

body.dark-mode .footer-link, body.dark-mode .footer-section p { 
    color: var(--gray-300); 
} 

body.dark-mode .footer-link:hover { 
    color: var(--pink-400); 
} 

body.dark-mode input, body.dark-mode textarea, body.dark-mode select { background: var(--gray-900); border-color: var(--gray-800); color: var(--gray-50); } 

body.dark-mode input::placeholder, body.dark-mode textarea::placeholder { color: var(--gray-500); } 

body.dark-mode .team-card { background: var(--gray-900); } 

body.dark-mode .quiz-option { background: var(--gray-900); border-color: var(--gray-800); color: var(--gray-100); } 

body.dark-mode .quiz-option:hover { 
    border-color: var(--pink-400); 
} 

body.dark-mode .resource-card { background: var(--gray-900); }

body.dark-mode .activity-card { background: var(--gray-900); } 

body.dark-mode .btn-outline { background: transparent; border-color: #ffffff; color: #ffffff; } 

body.dark-mode .btn-outline:hover { background: #ffffff; color: var(--gray-800); } 

body.dark-mode .btn-secondary { background: var(--teal-700); border-color: var(--teal-700); color: #ffffff; } 

body.dark-mode .btn-secondary:hover { background: var(--teal-400); border-color: var(--teal-400); color: #ffffff; } 

body.dark-mode .btn-primary { background: var(--pink-400); border-color: var(--pink-400); color: #ffffff; } 

body.dark-mode .btn-primary:hover { background: var(--pink-200); border-color: var(--pink-200); color: #ffffff; } 

body.dark-mode .btn-outline-primary {
    background: transparent; border-color: var(--pink-400); color: var(--pink-400); 
} 

body.dark-mode .btn-outline-primary:hover { 
    background: rgba(233, 30, 140, 0.15); color: var(--pink-400); 
} 

body.dark-mode .btn-success { background: #43a047; border-color: #43a047; color: #ffffff; } 

body.dark-mode .btn-success:hover { background: #388e3c; border-color: #388e3c; color: #ffffff; } 

body.dark-mode .auth-card { background: #1a1a1a; } body.dark-mode .progress-bar-container { background: #2a2a2a; } 

body.dark-mode .stat-card { 
    background: #1a1a1a; 
}

body.dark-mode .stat-card .stat-value,
body.dark-mode .stat-value {
    color: #f9fafb !important;
}

body.dark-mode .stat-card .stat-label,
body.dark-mode .stat-label {
    color: #d1d5db !important;
}

body.dark-mode .section-title {
    color: #f9fafb !important;
}

body.dark-mode .section-intro {
    color: #d1d5db !important;
}

body.dark-mode .page-header h1 {
    color: #f9fafb !important;
}

body.dark-mode .page-header p {
    color: #d1d5db !important;
}

body.dark-mode .journey-progress-card h3,
body.dark-mode .journey-percentage {
    color: #f9fafb !important;
}

body.dark-mode .journey-detail-label {
    color: #d1d5db !important;
}

body.dark-mode .journey-detail-value {
    color: #f9fafb !important;
}

body.dark-mode .milestone-name {
    color: #e5e7eb !important;
}

body.dark-mode .checkin-prompt-card h3 {
    color: #f9fafb !important;
}

body.dark-mode .checkin-prompt-card p {
    color: #d1d5db !important;
}

body.dark-mode [style*="color: var(--text-secondary)"],
body.dark-mode [style*="color: var(--text-muted)"] {
    color: #d1d5db !important;
}

body.dark-mode .tag { 
    background: #374151 !important; 
    color: #f9fafb !important; 
}

body.dark-mode .activity-content p,
body.dark-mode .activity-card-with-image p {
    color: #d1d5db !important;
}

body.dark-mode .activity-content h3,
body.dark-mode .activity-card-with-image h3 {
    color: #f9fafb !important;
}

body.dark-mode .activity-meta span {
    color: #d1d5db !important;
}

/* Sensory Info Card Dark Mode */
body.dark-mode .sensory-info-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
}

body.dark-mode .sensory-info-title {
    color: #5ed4c4 !important;
}

body.dark-mode .sensory-description {
    color: #d1d5db !important;
}

.sensory-description {
    color: var(--text-muted);
}

/* Text-to-Speech Player */
.tts-player {
    background: linear-gradient(135deg, var(--pink-50) 0%, var(--teal-50) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}

.tts-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tts-icon {
    font-size: 1.25rem;
}

.tts-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.tts-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tts-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.tts-play {
    background: var(--primary);
    color: white;
}

.tts-play:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.tts-stop {
    background: var(--gray-200);
    color: var(--text-primary);
}

.tts-stop:hover {
    background: var(--gray-300);
}

.tts-speed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.tts-speed label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tts-speed-select {
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
}

.tts-status {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-left: auto;
}

/* TTS Player Dark Mode */
body.dark-mode .tts-player {
    background: linear-gradient(135deg, #1f2937 0%, #1a2e2a 100%) !important;
    border-color: #374151 !important;
}

body.dark-mode .tts-title {
    color: #f9fafb !important;
}

body.dark-mode .tts-stop {
    background: #374151 !important;
    color: #f9fafb !important;
}

body.dark-mode .tts-speed label {
    color: #d1d5db !important;
}

body.dark-mode .tts-speed-select {
    background: #1a1a1a !important;
    color: #f9fafb !important;
    border-color: #374151 !important;
}

body.dark-mode .tts-status {
    color: #5ed4c4 !important;
}

/* Accessibility Controls */
.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.font-size-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.font-size-control label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.font-size-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.font-size-btn#fontNormal {
    font-size: 0.75rem;
}

.font-size-btn#fontLarge {
    font-size: 1.1rem;
}

.font-size-btn:hover {
    background: var(--gray-100);
    border-color: var(--primary);
}

.font-size-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.bionic-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bionic-toggle label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch.active::after {
    transform: translateX(20px);
}

/* Font Size Classes */
body.font-large .card,
body.font-large section,
body.font-large p,
body.font-large li {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
}

body.font-large h1 {
    font-size: 2.5rem !important;
}

body.font-large h2 {
    font-size: 1.75rem !important;
}

body.font-large h3 {
    font-size: 1.35rem !important;
}

body.font-large h4 {
    font-size: 1.15rem !important;
}

/* Bionic Reading */
.bionic-text b {
    font-weight: 700;
}

/* Accessibility Controls Dark Mode */
body.dark-mode .font-size-btn {
    background: #1a1a1a !important;
    border-color: #374151 !important;
    color: #f9fafb !important;
}

body.dark-mode .font-size-btn:hover {
    background: #2a2a2a !important;
    border-color: #5ed4c4 !important;
}

body.dark-mode .font-size-btn.active {
    background: #e91e8c !important;
    color: white !important;
    border-color: #e91e8c !important;
}

body.dark-mode .toggle-switch {
    background: #374151 !important;
}

body.dark-mode .toggle-switch.active {
    background: #e91e8c !important;
}

body.dark-mode .font-size-control label,
body.dark-mode .bionic-toggle label {
    color: #d1d5db !important;
} 

body.dark-mode .verified-badge { background: #2d492d; color: #76de4a; } 

body.dark-mode .completed-badge { background: #1a1a1a; color: #4ade80; } 

body.dark-mode .team-member { background: #1a1a1a; } 

body.dark-mode .bio-coming-soon { 
    background: linear-gradient(135deg, #3d4a3d 0%, #2d5a3d 100%); 
} 

body.dark-mode .result-bar { background: #2a2a2a; } 

body.dark-mode .quiz-scale button { background: #1a1a1a; border-color: #2a2a2a; color: #e8e8e8; } 

body.dark-mode .quiz-scale button:hover, body.dark-mode .quiz-scale button.selected { background: var(--pink-400); border-color: var(--pink-400); color: #fff; } 

body.dark-mode .filter-bar select { background: #1a1a1a; border-color: #2a2a2a; color: #e8e8e8; } 

body.dark-mode .empty-state { background: #1a1a1a; color: #b8b8b8; } 

/* Dark Mode Toggle Button */ 
.dark-mode-toggle { 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    padding: 0.5rem; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: background 0.2s ease;
    font-size: 1.25rem; 
} 

.dark-mode-toggle:hover { 
    background: rgba(0, 0, 0, 0.1); 
} 

body.dark-mode .dark-mode-toggle:hover { 
    background: rgba(255, 255, 255, 0.1); 
} 

.dark-mode-toggle .sun-icon { 
    display: none; 
} 

.dark-mode-toggle .moon-icon { 
    display: block; 
} 

body.dark-mode .dark-mode-toggle .sun-icon { 
    display: block; 
} 

body.dark-mode .dark-mode-toggle .moon-icon { 
    display: none; 
} 
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
} 

.skip-link { 
    position: absolute; 
    top: -100px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--primary); 
    color: white; 
    padding: 0.75rem 1.5rem; 
    border-radius: var(--radius); 
    text-decoration: none; 
    font-weight: 600; 
    z-index: 9999; 
    transition: top 0.2s ease; 
}

.skip-link:focus { 
    top: 10px; 
    outline: 3px solid var(--secondary);
    outline-offset: 2px; 
} 

.breadcrumbs { 
    font-size: 0.85rem;
    line-height: 1.5;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
} 

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .sep {
    color: var(--text-muted);
    margin: 0 0.25rem;
}

.breadcrumbs .current {
    color: var(--text-secondary);
    font-weight: 500;
}

body.dark-mode .breadcrumbs a {
    color: #e91e8c !important;
}

body.dark-mode .breadcrumbs .sep {
    color: #9ca3af !important;
}

body.dark-mode .breadcrumbs .current {
    color: #d1d5db !important;
}

/* Legacy breadcrumb styles - keeping for other pages */
.breadcrumbs ol { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 0.875rem; 
    flex-wrap: wrap; 
} 

.breadcrumbs li { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    color: var(--text-muted); 
} 

.breadcrumbs li:not(:last-child)::after { 
    content: "›"; 
    color: var(--text-muted); 
    font-weight: bold; 
} 

.breadcrumbs a { 
    color: var(--primary); 
    text-decoration: none; 
    transition: color 0.2s ease; 
} 

.breadcrumbs a:hover { 
    color: var(--primary-dark); 
    text-decoration: underline; 
} 

.breadcrumbs li[aria-current="page"] { 
    color: var(--text-primary); 
    font-weight: 500; 
} 

.progress-tracker { 
    background: var(--gray-50); 
    padding: 1rem 1.25rem; 
    border-radius: var(--radius-lg); 
    margin-bottom: 1.5rem; 
} 

body.dark-mode .progress-tracker { 
    background: rgba(61, 90, 63, 0.4); 
} 

.progress-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 0.5rem; 
} 

.progress-label { 
    font-weight: 500; 
    color: var(--text-secondary); 
    font-size: 0.875rem; 
} 

.progress-count { 
    color: var(--primary); 
    font-weight: 600; 
    font-size: 0.875rem; 
} 

.progress-bar-track { 
    height: 8px; 
    background: var(--gray-200); 
    border-radius: 9999px; 
    overflow: hidden; } 

body.dark-mode .progress-bar-track { 
    background: rgba(61, 90, 63, 0.6); 
} 

.progress-bar-fill { 
    height: 100%; 
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); 
    border-radius: 9999px; 
    transition: width 0.3s ease; 
} 

*:focus-visible { 
    outline: 3px solid var(--secondary); 
    outline-offset: 2px; 
} 

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px; 
} 

.btn:focus-visible { 
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.4); 
} 

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-pink); 
    min-height: 100vh; 
    color: var(--text-primary); 
    line-height: 1.6; 
} 

h1, h2, h3, h4, h5, h6, .logo { 
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
} 

p { 
    font-family: 'Epilogue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
} 

body.bg-teal { 
    background: var(--bg-teal); 
} 

body.bg-gradient { 
    background: linear-gradient(135deg, var(--teal-200) 0%, var(--pink-100) 100%); 
} 

.container { 
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; 
} 

nav { 
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color); 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; z-index: 1000; 
    box-shadow: var(--shadow-sm); 
} 

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

.logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--primary); 
    text-decoration: none; 
} 

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

.nav-links a { 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.2s ease; 
} 

.nav-links a:not(.btn) { 
    color: var(--text-secondary); 
} 

.nav-links a:not(.btn):hover, .nav-links a:not(.btn):focus-visible { 
    color: var(--primary-dark); 
} 

.nav-links .btn { 
    background: #fff; 
    color: #1f2937; 
    border: 2px solid #1f2937; 
} 

.nav-links .btn:hover, .nav-links .btn:focus, .nav-links .btn:active {
    background: #1f2937; 
    color: #fff; 
    border-color: #1f2937; 
    transform: none; 
} 

.nav-links .btn:focus-visible { 
    outline: 3px solid #1f2937; 
    outline-offset: 2px; 
} 

/* Navigation Dropdown */ 
.nav-dropdown { position: relative; } 

.nav-dropdown-trigger { 
    display: flex; 
    align-items: center; gap: 0.25rem;
    cursor: pointer; 
    color: var(--text-secondary); 
    font-weight: 500; 
    transition: color 0.2s ease; background: none; border: none; font-size: inherit; font-family: inherit; padding: 0.5rem 0; } 

.nav-dropdown-trigger:hover, .nav-dropdown-trigger:focus-visible { 
    color: var(--primary-dark); 
} 

.nav-dropdown-trigger .dropdown-arrow { transition: transform 0.2s ease; font-size: 0.75rem; } 

.nav-dropdown:hover .dropdown-arrow, .nav-dropdown:focus-within .dropdown-arrow { transform: rotate(180deg); } 

.nav-dropdown-menu { 
    position: absolute; 
    top: 100%; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--bg-secondary); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-lg); 
    min-width: 160px; 
    padding: 0.5rem; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.2s ease, visibility 0.2s ease; 
    z-index: 1001; 
} 

.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; 
    visibility: visible; 
} 

.nav-dropdown-menu a { 
    display: block; 
    padding: 0.625rem 1rem; 
    color: var(--text-secondary); 
    text-decoration: none; 
    border-radius: var(--radius); 
    font-weight: 500; 
    transition: background 0.2s ease, color 0.2s ease; 
} 

.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { 
    background: var(--bg-pink); 
    color: var(--primary); 
} 

body.dark-mode .nav-dropdown-trigger { color: #b8b8b8; } 

body.dark-mode .nav-dropdown-trigger:hover, body.dark-mode .nav-dropdown-trigger:focus-visible { 
    color: var(--pink-400); 
} 

body.dark-mode .nav-dropdown-menu { 
    background: #1a1a1a; 
    border-color: #2a2a2a; } 

body.dark-mode .nav-dropdown-menu a { color: #b8b8b8; } 

body.dark-mode .nav-dropdown-menu a:hover, body.dark-mode .nav-dropdown-menu a:focus-visible { 
    background: #1a1215; 
    color: var(--pink-400); 
} 

.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0.625rem 1.25rem; 
    border-radius: var(--radius-lg); 
    font-weight: 600; 
    font-size: 0.875rem; 
    text-decoration: none; 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: all 0.2s; 
} 

.btn-primary { 
    background: var(--pink-200); 
    border-color: var(--pink-200); 
    color: #fff; 
} 

.btn-primary:hover, .btn-primary:focus-visible { 
    background: var(--pink-700); 
    border-color: var(--pink-700); 
    color: #fff; 
    transform: translateY(-1px); 
} 

.btn-primary:focus { 
    outline: 3px solid var(--primary); 
    outline-offset: 2px; 
} 

.btn-secondary { 
    background: #00796b; 
    color: #fff; 
    border-color: #00796b; } 

.btn-secondary:hover, .btn-secondary:focus-visible { 
    background: #005f54; 
    border-color: #005f54; 
    color: #fff; 
    transform: translateY(-1px); 
} 

.btn-secondary:focus { 
    outline: 3px solid var(--secondary); 
    outline-offset: 2px; 
} 

.btn-outline { 
    background: #fff; 
    border: 2px solid var(--gray-800); 
    color: var(--gray-800); 
} 

.btn-outline:hover, .btn-outline:focus-visible { 
    background: var(--gray-100); 
    color: var(--gray-800); 
} 

.btn-outline:focus { 
    outline: 3px solid var(--gray-600); 
    outline-offset: 2px; 
}

.btn-outline-primary { 
    background: white; 
    border: 2px solid var(--pink-200); 
    color: var(--pink-200); 
} 

.btn-outline-primary:hover { 
    background: var(--pink-50); 
} 

.btn-outline-primary:focus { 
    outline: 3px solid var(--primary); 
    outline-offset: 2px; } 

.btn-success { 
    background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-700) 100%); 
    color: white; 
} 

main { 
    padding: 2rem 0; 
    min-height: calc(100vh - 140px); 
} 

.hero { 
    text-align: center; 
    padding: 4rem 0; 
} 

.hero h1 { 
    font-size: 2.5rem; 
    margin-bottom: 1rem; color: var(--gray-800); 
    font-weight: 700; 
} 

.hero p { 
    font-size: 1.25rem; 
    color: var(--text-secondary); 
    max-width: 600px; 
    margin: 0 auto 2rem; 
} 

.card { 
    background: var(--bg-secondary); 
    border-radius: var(--radius-lg); 
    padding: 1.5rem; 
    box-shadow: var(--shadow); 
    border: 1px solid var(--border-color); 
} 

.card-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 1.5rem; 
    margin: 2rem 0; } 

.card h3 { 
    font-size: 1.125rem; 
    margin-bottom: 0.5rem; 
    color: var(--text-primary); 
} 

.card p { 
    color: var(--text-secondary); 
    font-size: 0.875rem; 
} 

.progress-card { 
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--teal-100) 100%); 
    border: none; 
} 

.progress-bar-container { 
    background: var(--gray-200); 
    border-radius: 9999px; 
    height: 12px; 
    overflow: hidden; 
    margin: 1rem 0; 
    position: relative; 
} 

.progress-bar { 
    height: 100%; 
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); 
    border-radius: 9999px; 
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative; 
    overflow: hidden; 
} 

.progress-bar::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100% ); 
    animation: shimmer 2s infinite; 
} 

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

@keyframes pulse-glow { 
    0%, 100% { box-shadow: 0 0 5px var(--primary), 0 0 10px rgba(233, 30, 140, 0.3); 
} 
    50% { 
        box-shadow: 0 0 15px var(--primary), 0 0 25px rgba(233, 30, 140, 0.5); 
    } 
} 

@keyframes celebrate { 
    0% { 
        transform: scale(1); 
    } 
    50% { 
        transform: scale(1.05); 
    } 
    100% { 
        transform: scale(1); 
    } 
} 

.journey-progress-card { 
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--teal-100) 100%); 
    border: none; 
} 

body.dark-mode .journey-progress-card { 
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a58 100%); 
} 

.journey-percentage { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: var(--primary); 
} 
.journey-milestones { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    position: relative; 
    padding: 0 1rem; 
} 
.milestone { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    z-index: 2; 
    position: relative; 
} 
.milestone-icon { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: var(--bg-secondary); 
    border: 3px solid var(--gray-300); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    transition: all 0.3s ease; 
    box-shadow: var(--shadow); 
}

.milestone.complete .milestone-icon { 
    border-color: var(--primary); 
    background: var(--primary-light); 
    transform: scale(1.1); 
    animation: pulse-glow 2s ease-in-out infinite; 
} 
.milestone.complete .milestone-icon::before { 
    content: ''; 
    position: absolute; 
    top: -3px; 
    left: -3px; 
    right: -3px; 
    bottom: -3px; 
    border-radius: 50%; 
    background: linear-gradient(45deg, var(--primary), var(--secondary)); z-index: -1;
    opacity: 0.3; 
} 
.milestone-name { 
    margin-top: 0.5rem; 
    font-size: 0.75rem; 
    font-weight: 600; 
    color: var(--text-muted); 
    text-align: center; 
} 
.milestone.complete .milestone-name { 
    color: var(--primary); 
} 
.milestone-line { 
    position: absolute; 
    top: 25px; 
    left: 40px; 
    right: 40px; 
    height: 4px; 
    background: var(--gray-300); 
    border-radius: 2px; 
    z-index: 1; 
} 
.milestone-line-fill { 
    height: 100%; 
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); 
    border-radius: 2px; 
    transition: width 0.5s ease; 
} 
.journey-details { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1rem; 
} 
.journey-detail-item { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    padding: 0.75rem; 
    background: rgba(255, 255, 255, 0.5); 
    border-radius: var(--radius); 
} 

body.dark-mode .journey-detail-item { 
    background: rgba(0, 0, 0, 0.2); 
} 
.journey-detail-label { 
    font-size: 0.875rem; 
    font-weight: 500; 
    color: var(--text-secondary); 
    min-width: 100px; } 
.mini-progress-bar { 
    flex: 1; 
    height: 8px; 
    background: var(--gray-200); 
    border-radius: 4px; 
    overflow: hidden; 
} 
body.dark-mode .mini-progress-bar { 
    background: var(--border-color); 
} 
.mini-progress-fill { 
    height: 100%; 
    border-radius: 4px; 
    transition: width 0.3s ease; } 
.journey-detail-value { 
    font-size: 0.875rem; 
    font-weight: 700; 
    color: var(--text-primary); 
    min-width: 50px; 
    text-align: right; 
} 
body.dark-mode .milestone-icon { 
    background: #1a1a1a; 
    border-color: #2a2a2a; 
} 
body.dark-mode .milestone.complete .milestone-icon { 
    border-color: var(--primary); 
    background: #3d2a3d; 
} 

body.dark-mode .milestone-line { background: #2a2a2a; } 
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 1rem; 
} 
.stat-card { 
    text-align: center; 
    padding: 1.25rem; 
    background: var(--bg-secondary); 
    border-radius: var(--radius); 
    border: 1px solid var(--border-color); 
} 

.stat-value { 
    font-size: 2rem; 
    font-weight: 700; 
    color: var(--primary); 
} 
.stat-label { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; } 
.form-group { 
    margin-bottom: 1.25rem;
} 
.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 500; 
    color: var(--text-primary); 
} 
.form-group input { 
    width: 100%; 
    padding: 0.75rem 1rem; 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    font-size: 1rem; 
    transition: border-color 0.2s, box-shadow 0.2s; } 
.form-group input:focus { 
    outline: none; 
    border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1); 
} 
.auth-container { 
    max-width: 400px; 
    margin: 2rem auto; } 
.auth-card { padding: 2rem; } 
.auth-card h2 { 
    text-align: center; 
    margin-bottom: 1.5rem; 
    color: var(--text-primary); } 

.error-message { 
    background: #fef2f2; 
    border: 1px solid #fecaca; 
    color: #dc2626; 
    padding: 0.75rem 1rem; 
    border-radius: var(--radius); 
    margin-bottom: 1rem; 
    font-size: 0.875rem; 
} 
.quiz-scale { 
    display: flex; 
    gap: 0.5rem; 
    justify-content: center; 
    margin: 1rem 0; 
} 
.quiz-scale button { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    border: 2px solid var(--border-color); 
    background: var(--bg-secondary); 
    cursor: pointer; 
    font-weight: 600; 
    transition: all 0.2s; 
    color: var(--text-secondary); 
} 
.quiz-scale button:hover { 
    border-color: var(--primary); 
    color: var(--primary); 
} 
.quiz-scale button.selected { 
    background: var(--primary); 
    border-color: var(--primary); 
    color: white; 
} 

/* RAADS-R Scale Styles */ 
.raads-scale { 
    display: grid !important; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.75rem; margin: 1rem 0; 
} 
.raads-option { 
    width: 100% !important; 
    height: auto !important; 
    border-radius: 8px !important; 
    padding: 0.875rem !important; 
    text-align: left !important; 
    display: block !important; 
} 
.raads-option:hover { 
    border-color: var(--primary) !important; 
    background: var(--pink-50) !important; 
} 
.raads-option.selected { 
    border-color: var(--primary) !important; 
    background: linear-gradient(135deg, var(--pink-50) 0%, var(--teal-50) 100%) !important; } 
.raads-option.selected strong { color: var(--primary-dark); } 
body.dark-mode .raads-option { 
    background: var(--bg-secondary); 
    border-color: var(--border); 
} 
body.dark-mode .raads-option:hover { 
    border-color: var(--secondary-light) !important; 
    background: rgba(77, 207, 189, 0.1) !important; 
} 
body.dark-mode .raads-option.selected { 
    border-color: var(--secondary-light) !important; 
    background: rgba(77, 207, 189, 0.15) !important; 
} 
body.dark-mode .raads-option.selected strong { color: var(--secondary-light); } 
@media (max-width: 640px) { 
    .raads-scale { grid-template-columns: 1fr; } 
} 
.quiz-item { 
    margin-bottom: 2rem; 
    padding-bottom: 2rem; 
    border-bottom: 1px solid var(--border-color); 
} 
.quiz-item:last-child { border-bottom: none; } 
.quiz-prompt { 
    font-size: 1.125rem; 
    margin-bottom: 1rem; 
    color: var(--text-primary); 
} 
.scale-labels { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    margin-top: 0.5rem; 
} 
.category-card { 
    cursor: pointer; 
    transition: all 0.2s; 
} 
.category-card:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-md); 
    border-color: var(--primary-light); 
} 
.category-icon { 
    width: 48px; 
    height: 48px; 
    border-radius: var(--radius); 
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--teal-100) 100%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
} 
.tag { 
    display: inline-block; 
    padding: 0.25rem 0.75rem; 
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--teal-100) 100%); 
    color: var(--primary-dark); 
    border-radius: 9999px; 
    font-size: 0.75rem; 
    font-weight: 500; 
    margin-right: 0.5rem; 
    margin-bottom: 0.5rem; 
} 
.resource-card { 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
} 
.resource-card .card-content { flex: 1; } 
.resource-card .card-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 1rem; 
    padding-top: 1rem; 
    border-top: 1px solid var(--border-color); 
}
.verified-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.25rem; 
    color: var(--teal-700); 
    font-size: 0.75rem; 
    font-weight: 500; 
} 
.activity-meta { 
    display: flex; 
    gap: 1rem; 
    margin: 0.5rem 0; 
    font-size: 0.875rem; 
    color: var(--text-muted); 
} 
.activity-meta span { 
    display: flex; 
    align-items: center; 
    gap: 0.25rem; 
} 
.difficulty-badge { 
    display: inline-block; 
    padding: 0.125rem 0.5rem; 
    border-radius: 9999px; 
    font-size: 0.75rem; 
    font-weight: 500; 
} 
.difficulty-beginner { 
    background: var(--teal-100); 
    color: var(--teal-700); 
} 
.difficulty-intermediate { 
    background: var(--pink-100); 
    color: var(--pink-700); 
} 
.difficulty-advanced { 
    background: var(--teal-100); 
    color: var(--teal-700); 
} 
.sensory-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.25rem; 
    padding: 0.125rem 0.5rem; 
    border-radius: 9999px; 
    font-size: 0.75rem; 
    font-weight: 500; } 
.sensory-calming { 
    background: linear-gradient(135deg, #e0f2fe 0%, #e0e7ff 100%); 
    color: #ae1ea2; } 
.sensory-energizing { 
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%); 
    color: #b45309; } 
.sensory-grounding { 
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%); 
    color: #047857; }

/* Sensory Badges Dark Mode */
body.dark-mode .sensory-calming { 
    background: linear-gradient(135deg, #1e3a5f 0%, #2e1a4a 100%) !important; 
    color: #93c5fd !important; }
body.dark-mode .sensory-energizing { 
    background: linear-gradient(135deg, #78350f 0%, #831843 100%) !important; 
    color: #fcd34d !important; }
body.dark-mode .sensory-grounding { 
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%) !important; 
    color: #6ee7b7 !important; } 
.result-bar { 
    height: 24px; 
    background: var(--gray-200); 
    border-radius: var(--radius);
    overflow: hidden; 
    margin: 0.5rem 0; 
} 
.result-fill { 
    height: 100%; 
    background: var(--primary); 
    border-radius: var(--radius);
    display: flex; 
    align-items: center; 
    justify-content: flex-end; 
    padding-right: 0.5rem; 
    color: white; 
    font-size: 0.75rem; 
    font-weight: 600; 
} 
.result-category { margin-bottom: 1.5rem; } 
.result-interpretation { 
    background: var(--gray-50); 
    padding: 1rem; 
    border-radius: var(--radius); 
    font-size: 0.875rem; 
    color: var(--text-secondary); 
    margin-top: 0.5rem; 
} 
.filter-bar { 
    display: flex; 
    gap: 1rem; 
    margin-bottom: 1.5rem; 
    flex-wrap: wrap; 
} 
.filter-bar select { 
    padding: 0.5rem 1rem; 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    background: var(--bg-secondary); 
    color: var(--text-primary); 
    font-size: 0.875rem; 
    cursor: pointer; 
} 
.filter-bar select:focus { 
    outline: none; 
    border-color: var(--primary); 
} 
.page-header { 
    margin-bottom: 2rem; 
} 
.page-header h1 { 
    font-size: 2rem; 
    margin-bottom: 0.5rem; 
    color: var(--text-primary); 
} 
.page-header p { 
    color: var(--text-secondary); 
} 
footer { 
    background: var(--bg-secondary); 
    border-top: 1px solid var(--border-color); 
    padding: 2rem 0; 
    margin-top: 3rem; 
} 
.footer-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; gap: 1rem; 
} 
.footer-links { 
    display: flex; gap: 1.5rem; 
} 
.footer-links a { 
    color: var(--text-muted); 
    text-decoration: none;
    font-size: 0.875rem; 
} 
.footer-links a:hover { 
    color: var(--primary); 
} 
.copyright { 
    color: var(--text-muted); 
    font-size: 0.875rem; 
} 
.completed-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.25rem; 
    background: var(--teal-100); 
    color: var(--teal-700); 
    padding: 0.25rem 0.75rem; 
    border-radius: 9999px; 
    font-size: 0.75rem; 
    font-weight: 500; 
} 
.section-title {
    font-size: 1.25rem; 
    margin-bottom: 1rem; 
    color: var(--text-primary); 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
} 
.section-title::before { 
    content: ""; 
    width: 4px; 
    height: 1.25em; 
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%); 
    border-radius: 2px; 
    flex-shrink: 0; 
} 
.section-divider { 
    border: none; 
    height: 1px; 
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 10%, var(--border-color) 90%, transparent 100%); 
    margin: 2rem 0; 
}

.section-intro { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    margin-top: -0.5rem; 
    margin-bottom: 1rem; 
    padding-left: 1rem; } 
.empty-state { 
    text-align: center; 
    padding: 3rem; 
    color: var(--text-muted); 
} 
.empty-state p { 
    margin-bottom: 1rem; 
} 
.blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; 
} 
.blog-grid-full { 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
} 
.blog-card { 
    background: var(--bg-secondary); 
    border-radius: var(--radius-lg);
    overflow: hidden; 
    border: 1px solid var(--border-color); 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
} 
.blog-card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-lg); 
}
.blog-card-image { 
    width: 100%; 
    height: 200px; 
    overflow: hidden; 
} 
.blog-card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
} 
.blog-card:hover .blog-card-image img { 
    transform: scale(1.05); 
} 
.blog-card-content { 
    padding: 1.5rem; 
} 
.blog-category { 
    display: inline-block; 
    background: var(--primary-light);
    color: var(--primary-dark); 
    padding: 0.25rem 0.75rem; 
    border-radius: 9999px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    margin-bottom: 0.75rem; 
} 
body.dark-mode .blog-category { 
    background: #3d2a3d; 
    color: var(--pink-100); 
} 
.blog-card-content h3 { 
    margin-bottom: 0.75rem; 
    line-height: 1.3; 
} 
.blog-card-content h3 a { 
    color: var(--text-primary); 
    text-decoration: none; 
    transition: color 0.2s ease; 
} 
.blog-card-content h3 a:hover { 
    color: var(--primary); 
} 
.blog-card-content p { 
    color: var(--text-secondary); 
    font-size: 0.9375rem; 
    line-height: 1.6; 
    margin-bottom: 1rem; 
} 
.blog-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 0.8125rem; 
    color: var(--text-muted); 
    padding-top: 1rem; 
    border-top: 1px solid var(--border-color); 
} 
.blog-author { font-weight: 500; } 
body.dark-mode 
.blog-card { 
    background: var(--gray-900); 
    border-color: var(--gray-800); 
} 
.blog-post { 
    max-width: 800px; 
    margin: 0 auto; 
} 
.blog-post-header { 
    margin-bottom: 2rem; 
} 
.back-link { 
    display: inline-block; 
    color: var(--text-muted); 
    text-decoration: none; 
    margin-bottom: 1rem; 
    font-size: 0.875rem; 
    transition: color 0.2s ease; 
} 

.back-link:hover { 
    color: var(--primary); 
} 

.blog-post-header h1 { 
    font-size: 2.5rem; 
    line-height: 1.2; 
    margin: 1rem 0; 
} 
.blog-post-meta { 
    display: flex; 
    gap: 1.5rem; 
    color: var(--text-muted); 
    font-size: 0.9375rem; 
} 
.blog-post-image { 
    margin: 2rem 0; 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
} 
.blog-post-image img { 
    width: 100%; 
    height: auto; 
} 
.blog-post-content { 
    font-size: 1.125rem; 
    line-height: 1.8; 
    color: var(--text-primary); 
} 
.blog-post-content p { 
    margin-bottom: 1.5rem; 
} 
.blog-post-content h2 { 
    margin: 2rem 0 1rem; 
    font-size: 1.5rem; 
} 
.blog-post-content h3 { 
    margin: 1.5rem 0 0.75rem; 
    font-size: 1.25rem; 
} 
.blog-post-content ul, .blog-post-content ol { 
    margin: 1rem 0 1.5rem 1.5rem; 
} 
.blog-post-content li { 
    margin-bottom: 0.5rem; 
} 
.blog-post-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 3rem; 
    padding-top: 2rem; 
    border-top: 1px solid var(--border-color); 
} 
.related-posts { 
    margin-top: 4rem; 
    padding-top: 3rem; 
    border-top: 1px solid var(--border-color); 
} 
.related-posts h2 { 
    margin-bottom: 2rem; 
    text-align: center; 
} 

/* Quiz Progress Styles */ 
.quiz-overall-progress { 
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--teal-100) 100%); 
    border: none; 
} 
body.dark-mode .quiz-overall-progress { 
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a58 100%); 
} 
.progress-percentage { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: var(--primary);             
} 
.category-progress { margin-top: auto; } 
.category-progress-text { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    text-align: center; 
    margin: 0; 
} 
.complete-badge { 
    display: inline-block; 
    background: var(--accent); 
    color: white; 
    padding: 0.125rem 0.5rem; 
    border-radius: 9999px; 
    font-size: 0.625rem; 
    font-weight: 600; 
    margin-left: 0.5rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; } 
.category-card { 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
} 
.category-card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-lg); 
} 
.category-icon { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 0.75rem; 
} 

/* Activity Cards with Images */ 
.activity-cards { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
} 
.activity-card-with-image { 
    display: grid; 
    grid-template-columns: 200px 1fr;
    gap: 1.5rem; 
    background: white; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow); 
    overflow: hidden; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
} 
.activity-card-with-image:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-lg); 
} 
.activity-image-container { 
    width: 200px; 
    height: 200px; 
    overflow: hidden; flex-shrink: 0; 
} 
.activity-image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
} 
.activity-card-with-image:hover .activity-image { 
    transform: scale(1.05); 
} 
.activity-image-placeholder { 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(135deg, var(--pink-100) 0%, var(--teal-100) 100%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
} 
.placeholder-icon { 
    font-size: 3rem; opacity: 0.6; 
} 
.activity-content { 
    padding: 1.5rem; 
    padding-left: 0; 
    display: flex; 
    flex-direction: column; 
} 
.activity-content h3 { 
    margin: 0 0 0.5rem 0; color: var(--text-primary); 
} 
body.dark-mode .activity-card-with-image { 
    background: var(--teal-700);; 
} 
body.dark-mode .activity-image-placeholder { 
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a58 100%); 
} 
body.dark-mode .activity-content h3 { 
    color: var(--gray-50);   
} 

/* Resource Cards with Images */ .resource-cards { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
} 
.resource-card-with-image { 
    display: grid; 
    grid-template-columns: 200px 1fr; 
    gap: 1.5rem; 
    background: white; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow); 
    overflow: hidden; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
} 
.resource-card-with-image:hover { 
    transform: translateY(-2px); box-shadow: var(--shadow-lg); 
} 
.resource-image-container { 
    width: 200px; 
    height: 200px; 
    overflow: hidden; 
    flex-shrink: 0; 
} 
.resource-image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
} 
.resource-card-with-image:hover .resource-image { 
    transform: scale(1.05); 
} 
.resource-image-placeholder { 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(135deg, var(--teal-100) 0%, var(--pink-100) 100%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
} 
.resource-content { 
    padding: 1.5rem; 
    padding-left: 0; 
    display: flex; 
    flex-direction: column; 
} 
.resource-content h3 { 
    margin: 0 0 0.5rem 0; 
    color: var(--text-primary); 
} 
body.dark-mode .resource-card-with-image { 
    background: var(--teal-700); 
} 
body.dark-mode .resource-image-placeholder { 
    background: linear-gradient(135deg, #3a3a58 0%, #1a1a1a 100%); 
} 
body.dark-mode .resource-content h3 { color: #e8e8e8; } 

/* Testimonial Cards Dark Mode */ 
body.dark-mode .testimonial-card { 
    background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 100%) !important; 
} 
body.dark-mode .testimonial-card p { 
    color: #e8e8e8; 
} 

/* Advocacy Cards Dark Mode */ 
body.dark-mode .topic-card h3 { 
    color: #f9fafb !important; 
} 
body.dark-mode .topic-card p { 
    color: #d1d5db; 
} 
body.dark-mode .card h3 a, body.dark-mode .card h2 a { 
    color: #f9fafb !important; 
} 
body.dark-mode .article-content h2 { 
    color: #f9fafb !important; 
} 
body.dark-mode .article-content h3 { 
    color: #f3f4f6 !important; 
} 

/* Daily Check-in Card Dark Mode */ 
body.dark-mode .checkin-prompt-card { 
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important; 
} 
body.dark-mode .checkin-prompt-card h3 { 
    color: #f9fafb !important; 
} 
body.dark-mode .checkin-prompt-card p { 
    color: #d1d5db !important; 
}

/* Navigation/Topic Tags Dark Mode Fix */
body.dark-mode a[style*="background: var(--pink-100)"],
body.dark-mode a[style*="background: var(--teal-100)"],
body.dark-mode a[style*="background: var(--green-100)"],
body.dark-mode a[style*="background: linear-gradient"] {
    background: #374151 !important;
    color: #f9fafb !important;
}

body.dark-mode [style*="background: var(--pink-100)"] {
    background: #4b2f4b !important;
    color: #f9fafb !important;
}

body.dark-mode [style*="background: var(--teal-100)"] {
    background: #1f4d4d !important;
    color: #f9fafb !important;
}

body.dark-mode [style*="color: var(--primary-dark)"],
body.dark-mode [style*="color: var(--secondary-dark)"] {
    color: #f9fafb !important;
} 
@media (max-width: 768px) { 
    .activity-card-with-image, .resource-card-with-image { 
        grid-template-columns: 1fr; 
    } 
    .activity-image-container, .resource-image-container { 
        width: 100%; height: 180px; 
    } 
    .activity-content, .resource-content { 
        padding: 1.25rem; 
    } 
} 
@media (max-width: 768px) { 
    .nav-content { 
        flex-direction: column; 
        gap: 1rem; 
    }    
    .nav-links { 
        flex-wrap: wrap; 
        justify-content: center; 
    }    
    .hero h1 { 
        font-size: 1.75rem; 
    } 
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
    } 
    .card-grid { 
        grid-template-columns: 1fr; 
    }  
    .blog-grid { 
        grid-template-columns: 1fr; 
    }  
    .blog-post-header h1 { 
        font-size: 1.75rem; 
    }   
    .blog-post-footer { 
        flex-direction: column; 
        gap: 1rem; 
    }  
    .journey-milestones { 
        flex-wrap: wrap; 
        gap: 1rem; 
    }
    .milestone-line { 
        display: none; 
    } 
}
/* ============================================
   GHOST GUIDE SIDEBAR
   ============================================ */

.ghost-guide {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    top: auto;
    transform: none;
    z-index: 1000;
    font-family: inherit;
}

.ghost-toggle {
    position: relative;
    width: 90px;
    height: 90px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    filter: grayscale(20%);
}

.ghost-toggle:hover,
.ghost-toggle:focus {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.ghost-toggle-icon {
    display: none;
}

.ghost-toggle-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: ghostFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

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

.ghost-panel {
    position: absolute;
    bottom: 100px;
    right: 0;
    width: 320px;
    background: #fefefe;
    border-radius: 20px;
    box-shadow: -4px -4px 24px rgba(0, 0, 0, 0.12);
    padding: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.ghost-guide.open .ghost-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ghost-guide.open .ghost-toggle {
    opacity: 1;
    filter: grayscale(0%);
}

/* Ghost Header */
.ghost-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.ghost-avatar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ghost-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.ghost-svg {
    width: 100%;
    height: 100%;
    animation: ghostBreathe 4s ease-in-out infinite;
}

@keyframes ghostBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.ghost-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ghost-name {
    font-weight: 600;
    font-size: 1rem;
    color: #e91e8c;
}

.ghost-mood-label {
    font-size: 0.75rem;
    color: #666;
}

.ghost-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.ghost-close:hover {
    color: #e91e8c;
}

/* Ghost Moods */
.ghost-guide[data-mood="soft"] .ghost-name { color: #2d9e6e; }
.ghost-guide[data-mood="soft"] .ghost-eye { fill: #2d9e6e; }
.ghost-guide[data-mood="playful"] .ghost-svg { animation: ghostWiggle 0.5s ease-in-out; }
.ghost-guide[data-mood="protective"] .ghost-body { stroke: #2d9e6e; stroke-width: 3; }
.ghost-guide[data-mood="celebrate"] .ghost-svg { animation: ghostCelebrate 0.6s ease-in-out; }

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

@keyframes ghostCelebrate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-3deg); }
    50% { transform: scale(1.15) rotate(3deg); }
    75% { transform: scale(1.1) rotate(-3deg); }
}

/* Ghost Truth */
.ghost-truth {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.08) 0%, rgba(45, 158, 110, 0.08) 100%);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
}

.ghost-truth p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    font-style: italic;
}

/* Ghost Actions */
.ghost-actions {
    margin-bottom: 1rem;
}

.ghost-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ghost-btn.primary {
    background: linear-gradient(135deg, #e91e8c 0%, #c2185b 100%);
    border: none;
    color: white;
}

.ghost-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 140, 0.3);
}

.ghost-btn.secondary {
    background: white;
    border: 1px solid #ddd;
    color: #666;
}

.ghost-btn.secondary:hover {
    border-color: #e91e8c;
    color: #e91e8c;
}

.ghost-skip-note {
    margin: 0.5rem 0 0 0;
    font-size: 0.75rem;
    color: #888;
    text-align: center;
}

/* Tiny Tools */
.ghost-tiny-tools {
    margin-bottom: 1rem;
}

.tiny-tools-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 0.5rem;
}

.tiny-tools-row {
    display: flex;
    gap: 0.35rem;
}

.tiny-tool {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.35rem;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tiny-tool:hover {
    background: #fff;
    border-color: #e91e8c;
    transform: translateY(-2px);
}

.tiny-icon {
    font-size: 1.1rem;
}

.tiny-label {
    font-size: 0.65rem;
    color: #666;
}

/* Ghost Scratchpad */
.ghost-scratchpad {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
}

.ghost-scratchpad label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.35rem;
}

.ghost-scratchpad textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 0.8rem;
    resize: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.ghost-scratchpad textarea:focus {
    outline: none;
    border-color: #e91e8c;
}

/* Ghost Modals */
.ghost-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ghost-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ghost-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.ghost-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.ghost-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}

.ghost-modal-body {
    padding: 1.25rem 1.5rem;
}

.ghost-modal-truth {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 1.25rem 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(45, 158, 110, 0.1) 0%, rgba(233, 30, 140, 0.1) 100%);
    border-radius: 10px;
}

.ghost-modal-footer {
    padding: 1rem 1.5rem 1.25rem;
    display: flex;
    gap: 0.75rem;
}

.ghost-modal-footer .ghost-btn {
    flex: 1;
    margin: 0;
}

/* Tier 1 Modal */
.tier1-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.tier1-icon {
    font-size: 2rem;
}

.tier1-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.tier1-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.timer-display {
    font-size: 2rem;
    font-weight: 600;
    color: #2d9e6e;
    font-variant-numeric: tabular-nums;
}

.timer-start {
    padding: 0.5rem 1.25rem;
    background: #2d9e6e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.timer-start:hover {
    background: #258559;
}

/* Collapse Modal */
.collapse-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.collapse-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.collapse-option:hover {
    background: white;
    border-color: #2d9e6e;
    transform: translateX(4px);
}

.option-icon {
    font-size: 1.5rem;
}

.option-text {
    font-size: 0.95rem;
    color: #333;
}

/* Dark mode */
body.dark-mode .ghost-panel {
    background: #1a1a1a;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
}

body.dark-mode .ghost-header {
    border-color: #2a2a2a;
}

body.dark-mode .ghost-name {
    color: var(--pink-400);
}

body.dark-mode .ghost-mood-label {
    color: #888;
}

body.dark-mode .ghost-close {
    color: #666;
}

body.dark-mode .ghost-close:hover {
    color: var(--pink-400);
}

body.dark-mode .ghost-truth {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.15) 0%, rgba(45, 158, 110, 0.15) 100%);
}

body.dark-mode .ghost-truth p {
    color: #d0d0d0;
}

body.dark-mode .ghost-btn.secondary {
    background: #0a0a0a;
    border-color: #2a2a2a;
    color: #b8b8b8;
}

body.dark-mode .ghost-btn.secondary:hover {
    border-color: var(--pink-400);
    color: var(--pink-400);
}

body.dark-mode .ghost-skip-note {
    color: #666;
}

body.dark-mode .tiny-tool {
    background: #0a0a0a;
    border-color: #2a2a2a;
}

body.dark-mode .tiny-tool:hover {
    background: #111;
    border-color: var(--pink-400);
}

body.dark-mode .tiny-label {
    color: #888;
}

body.dark-mode .ghost-scratchpad {
    border-color: #2a2a2a;
}

body.dark-mode .ghost-scratchpad label {
    color: #666;
}

body.dark-mode .ghost-scratchpad textarea {
    background: #0a0a0a;
    border-color: #2a2a2a;
    color: #d0d0d0;
}

body.dark-mode .ghost-scratchpad textarea:focus {
    border-color: var(--pink-400);
}

body.dark-mode .ghost-modal-content {
    background: #1a1a1a;
}

body.dark-mode .ghost-modal-header {
    border-color: #2a2a2a;
}

body.dark-mode .ghost-modal-header h3 {
    color: #e8e8e8;
}

body.dark-mode .ghost-modal-truth {
    background: linear-gradient(135deg, rgba(45, 158, 110, 0.2) 0%, rgba(233, 30, 140, 0.2) 100%);
    color: #b8b8b8;
}

body.dark-mode .tier1-action,
body.dark-mode .collapse-option {
    background: #0a0a0a;
    border-color: #2a2a2a;
}

body.dark-mode .tier1-text,
body.dark-mode .option-text {
    color: #d0d0d0;
}

body.dark-mode .collapse-option:hover {
    background: #111;
    border-color: var(--teal-400);
}

/* Responsive */
@media (max-width: 768px) {
    .ghost-guide {
        bottom: 1rem;
        right: 1rem;
    }
    
    .ghost-toggle {
        width: 70px;
        height: 70px;
    }
    
    .ghost-panel {
        position: fixed;
        bottom: 90px;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: 400px;
    }
}

/* Screen reader only - accessible text hidden visually */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
