/* Reset and base styles */
/* Import dyslexia-friendly fonts */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    min-height: 100vh;
    color: #4a5568;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Floating background shapes */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.1) 0%, rgba(167, 139, 164, 0.1) 100%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

body::before {
    top: 10%;
    left: -150px;
    animation-delay: 0s;
}

body::after {
    bottom: 10%;
    right: -150px;
    animation-delay: 10s;
    width: 200px;
    height: 200px;
}

/* Additional floating circles */
.floating-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.12) 0%, rgba(167, 139, 164, 0.12) 100%);
    animation: float-around 25s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 28s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.18) 0%, rgba(167, 139, 164, 0.18) 100%);
}

.floating-circle:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 20%;
    animation-delay: 5s;
    animation-duration: 22s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.15) 0%, rgba(167, 139, 164, 0.15) 100%);
}

.floating-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: 10s;
    animation-duration: 32s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.20) 0%, rgba(167, 139, 164, 0.20) 100%);
}

.floating-circle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 15s;
    animation-duration: 25s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.14) 0%, rgba(167, 139, 164, 0.14) 100%);
}

.floating-circle:nth-child(5) {
    width: 60px;
    height: 60px;
    top: 45%;
    left: 25%;
    animation-delay: 8s;
    animation-duration: 20s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.16) 0%, rgba(167, 139, 164, 0.16) 100%);
}

.floating-circle:nth-child(6) {
    width: 90px;
    height: 90px;
    bottom: 35%;
    right: 25%;
    animation-delay: 12s;
    animation-duration: 30s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.13) 0%, rgba(167, 139, 164, 0.13) 100%);
}

.floating-circle:nth-child(7) {
    width: 70px;
    height: 70px;
    top: 75%;
    left: 35%;
    animation-delay: 18s;
    animation-duration: 24s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.17) 0%, rgba(167, 139, 164, 0.17) 100%);
}

.floating-circle:nth-child(8) {
    width: 110px;
    height: 110px;
    top: 10%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 26s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.19) 0%, rgba(167, 139, 164, 0.19) 100%);
}

.floating-circle:nth-child(9) {
    width: 85px;
    height: 85px;
    top: 35%;
    left: 5%;
    animation-delay: 7s;
    animation-duration: 29s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.11) 0%, rgba(167, 139, 164, 0.11) 100%);
}

.floating-circle:nth-child(10) {
    width: 130px;
    height: 130px;
    bottom: 15%;
    right: 5%;
    animation-delay: 13s;
    animation-duration: 27s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.21) 0%, rgba(167, 139, 164, 0.21) 100%);
}

.floating-circle:nth-child(11) {
    width: 55px;
    height: 55px;
    top: 80%;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 23s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.10) 0%, rgba(167, 139, 164, 0.10) 100%);
}

.floating-circle:nth-child(12) {
    width: 95px;
    height: 95px;
    top: 5%;
    right: 35%;
    animation-delay: 16s;
    animation-duration: 31s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.22) 0%, rgba(167, 139, 164, 0.22) 100%);
}

.floating-circle:nth-child(13) {
    width: 75px;
    height: 75px;
    bottom: 45%;
    left: 45%;
    animation-delay: 9s;
    animation-duration: 24s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.09) 0%, rgba(167, 139, 164, 0.09) 100%);
}

.floating-circle:nth-child(14) {
    width: 140px;
    height: 140px;
    top: 55%;
    right: 5%;
    animation-delay: 4s;
    animation-duration: 33s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.23) 0%, rgba(167, 139, 164, 0.23) 100%);
}

.floating-circle:nth-child(15) {
    width: 65px;
    height: 65px;
    bottom: 25%;
    left: 75%;
    animation-delay: 11s;
    animation-duration: 21s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.08) 0%, rgba(167, 139, 164, 0.08) 100%);
}

.floating-circle:nth-child(16) {
    width: 115px;
    height: 115px;
    top: 20%;
    left: 85%;
    animation-delay: 14s;
    animation-duration: 28s;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.24) 0%, rgba(167, 139, 164, 0.24) 100%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    16.66% {
        transform: translate(45px, -60px) rotate(60deg);
        opacity: 0.5;
    }
    33.33% {
        transform: translate(-30px, -80px) rotate(120deg);
        opacity: 0.7;
    }
    50% {
        transform: translate(-60px, -40px) rotate(180deg);
        opacity: 0.8;
    }
    66.66% {
        transform: translate(-40px, 20px) rotate(240deg);
        opacity: 0.6;
    }
    83.33% {
        transform: translate(20px, 40px) rotate(300deg);
        opacity: 0.4;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.3;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page transitions */
.page {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.content {
    background: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(124, 152, 133, 0.15);
    border: 2px solid rgba(124, 152, 133, 0.1);
    position: relative;
}

.content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.2) 0%, rgba(167, 139, 164, 0.2) 100%);
    border-radius: 28px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content:hover::before {
    opacity: 1;
}

/* Welcome page */
.logo {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.leaf-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.leaf {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c9885 0%, #8baa8a 100%);
    border-radius: 0 50% 50% 50%;
    transform: rotate(-45deg) scale(0);
    animation: leaf-unfold 3s ease-out forwards;
    position: relative;
}

.leaf::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: rgba(255, 252, 248, 0.3);
    border-radius: 50%;
    animation: leaf-glow 4s ease-in-out infinite;
}

@keyframes leaf-unfold {
    0% {
        transform: rotate(-45deg) scale(0);
        opacity: 0;
    }
    50% {
        transform: rotate(-45deg) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: rotate(-45deg) scale(1);
        opacity: 1;
    }
}

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

.logo h1 {
    font-size: 3.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #7c9885 0%, #8baa8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.2rem;
    color: #8b7a8a;
    font-weight: 300;
}

.welcome-message {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #5a6c7d;
}

.welcome-message p {
    margin-bottom: 16px;
}

/* Vibe selection */
.vibe-selection {
    margin: 40px 0;
    text-align: center;
}

.vibe-question {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 24px;
    font-weight: 400;
}

.vibe-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.vibe-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 252, 248, 0.6);
    border: 2px solid rgba(124, 152, 133, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.vibe-btn:hover {
    background: rgba(255, 252, 248, 0.9);
    border-color: rgba(124, 152, 133, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 152, 133, 0.15);
}

.vibe-btn.selected {
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.2) 0%, rgba(167, 139, 164, 0.2) 100%);
    border-color: rgba(124, 152, 133, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.2);
}

.vibe-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c9885;
    transition: transform 0.3s ease;
}

.vibe-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.vibe-btn:hover .vibe-icon,
.vibe-btn.selected .vibe-icon {
    transform: scale(1.1);
}

.vibe-text {
    font-size: 0.9rem;
    color: #5a6c7d;
    font-weight: 500;
}

.vibe-btn.selected .vibe-text {
    color: #4a5568;
    font-weight: 600;
}

/* Disabled button state */
.btn-primary:disabled {
    background: rgba(124, 152, 133, 0.3);
    color: rgba(255, 252, 248, 0.6);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(124, 152, 133, 0.15);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #7c9885 0%, #8baa8a 100%);
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 252, 248, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Headers and descriptions */
h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 16px;
    text-align: center;
}

.page-description {
    text-align: center;
    color: #8b7a8a;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #7c9885 0%, #8baa8a 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 252, 248, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 152, 133, 0.35);
}

.btn-secondary {
    background: rgba(255, 252, 248, 0.8);
    color: #7c9885;
    border: 2px solid rgba(124, 152, 133, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(124, 152, 133, 0.1);
    transform: translateY(-2px);
    border-color: rgba(124, 152, 133, 0.4);
}

/* Bubble grid styles */
.bubble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0 20px 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.bubble-item {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add subtle variations for a more organic feel */
.bubble-item:nth-child(odd) {
    transform: translateY(2px);
}

.bubble-item:nth-child(even) {
    transform: translateY(-2px);
}

.bubble-item:nth-child(3n) {
    transform: translateY(1px);
}

.bubble-item:nth-child(5n) {
    transform: translateY(-1px);
}

.bubble {
    background: rgba(255, 252, 248, 0.8);
    border: 2px solid rgba(124, 152, 133, 0.15);
    border-radius: 24px;
    padding: 18px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.1) 0%, rgba(167, 139, 164, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 24px;
}

.bubble:hover {
    border-color: rgba(124, 152, 133, 0.4);
    background: rgba(255, 252, 248, 0.95);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(124, 152, 133, 0.2);
}

.bubble.selected {
    border-color: rgba(124, 152, 133, 0.6);
    background: rgba(255, 252, 248, 0.98);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(124, 152, 133, 0.3);
    animation: bubble-pulse 2s ease-in-out infinite;
}

.bubble.selected::before {
    opacity: 1;
}

.bubble-text {
    font-size: 0.95rem;
    color: #5a6c7d;
    font-weight: 500;
    position: relative;
    z-index: 1;
    line-height: 1.4;
    max-width: 220px;
}

.validation-text {
    font-size: 0.9rem;
    color: #8b7a8a;
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(255, 252, 248, 0.7);
    border-radius: 16px;
    border-left: 3px solid rgba(124, 152, 133, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-style: italic;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(124, 152, 133, 0.1);
}

.bubble-item.selected .validation-text {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bubble-pulse {
    0%, 100% {
        transform: translateY(-3px) scale(1);
        box-shadow: 0 12px 30px rgba(124, 152, 133, 0.3);
    }
    50% {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 16px 35px rgba(124, 152, 133, 0.4);
    }
}

/* Reflection message */
.reflection-message {
    text-align: center;
    margin: 25px auto;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.12) 0%, rgba(167, 139, 164, 0.12) 100%);
    border-radius: 20px;
    border: 2px solid rgba(124, 152, 133, 0.25);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 600px;
    box-shadow: 0 4px 16px rgba(124, 152, 133, 0.15);
}

.reflection-message.show {
    opacity: 1;
    transform: translateY(0);
}

.reflection-message p {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 0;
    font-weight: 500;
}

/* Myth Buster Wall */
.myth-buster-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 40px 0;
    max-width: 100%;
    justify-items: center;
    align-items: start;
}

.myth-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
}

.sticky-note {
    position: relative;
    width: 280px;
    height: 220px;
    cursor: pointer;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-note.flipped {
    transform: rotateY(180deg);
}

.sticky-front,
.sticky-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-front {
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 2px solid rgba(124, 152, 133, 0.3);
    transform: rotateY(0deg);
}

.sticky-back {
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border: 2px solid rgba(124, 152, 133, 0.4);
    transform: rotateY(180deg);
}

.sticky-note:hover .sticky-front {
    transform: rotateY(0deg) translateY(-5px);
    box-shadow: 0 8px 25px rgba(251, 192, 45, 0.3);
}

.sticky-note.flipped:hover .sticky-back {
    transform: rotateY(180deg) translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.sticky-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.myth-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1A1A1A;
    opacity: 0.7;
}

.sticky-header h3 {
    font-size: 1rem;
    color: #2E2E2E;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
}

.myth-preview {
    font-size: 0.9rem;
    color: #4A5568;
    font-style: italic;
    margin: 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    font-weight: 500;
}

.sticky-shadow {
    position: absolute;
    bottom: -8px;
    left: 8px;
    right: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(4px);
}

.truth-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.truth-content h4 {
    font-size: 1.1rem;
    color: #2E2E2E;
    margin: 0 0 16px 0;
    font-weight: 600;
}

.truth-content p {
    font-size: 0.9rem;
    color: #2D3748;
    line-height: 1.6;
    margin: 0;
    max-width: 220px;
    font-weight: 500;
}

.learn-more-btn {
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    color: white;
    border: none;
    border-radius: 18px;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(124, 152, 133, 0.25);
    min-width: 140px;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 16px;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 152, 133, 0.35);
    background: linear-gradient(135deg, #a78ba4 0%, #7c9885 100%);
}

/* Subtle variations for different myths (will be overridden by vibe colors) */
.sticky-note[data-myth="tests"] .sticky-front {
    background: linear-gradient(135deg, rgba(255, 249, 196, 0.8) 0%, rgba(255, 245, 157, 0.8) 100%);
    border-color: rgba(251, 192, 45, 0.4);
}

.sticky-note[data-myth="learning"] .sticky-front {
    background: linear-gradient(135deg, rgba(225, 245, 254, 0.8) 0%, rgba(179, 229, 252, 0.8) 100%);
    border-color: rgba(3, 169, 244, 0.4);
}

.sticky-note[data-myth="grades"] .sticky-front {
    background: linear-gradient(135deg, rgba(243, 229, 245, 0.8) 0%, rgba(225, 190, 231, 0.8) 100%);
    border-color: rgba(156, 39, 176, 0.4);
}

.sticky-note[data-myth="intelligence"] .sticky-front {
    background: linear-gradient(135deg, rgba(232, 245, 232, 0.8) 0%, rgba(200, 230, 201, 0.8) 100%);
    border-color: rgba(76, 175, 80, 0.4);
}

.sticky-note[data-myth="speed"] .sticky-front {
    background: linear-gradient(135deg, rgba(255, 243, 224, 0.8) 0%, rgba(255, 204, 2, 0.8) 100%);
    border-color: rgba(255, 152, 0, 0.4);
}

.sticky-note[data-myth="mistakes"] .sticky-front {
    background: linear-gradient(135deg, rgba(252, 228, 236, 0.8) 0%, rgba(248, 187, 217, 0.8) 100%);
    border-color: rgba(233, 30, 99, 0.4);
}

/* Myth wall footer */
.myth-wall-footer {
    text-align: center;
    margin: 30px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.1) 0%, rgba(167, 139, 164, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid rgba(124, 152, 133, 0.2);
}

.wall-message {
    font-size: 1.1rem;
    color: #2E2E2E;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

/* Learn More Modal */
.learn-more-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.learn-more-modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #fff9f9 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(124, 152, 133, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.learn-more-modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #7c9885;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(124, 152, 133, 0.1);
    color: #4a5568;
}

.modal-content h3 {
    color: #2E2E2E;
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.voice-note {
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.1) 0%, rgba(167, 139, 164, 0.1) 100%);
    border: 2px solid rgba(124, 152, 133, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 0 0 20px 0;
    font-size: 1rem;
    color: #1A1A1A;
    font-style: italic;
    text-align: center;
    font-weight: 500;
}

.story-content {
    color: #2D3748;
    line-height: 1.7;
    margin: 0 0 25px 0;
    font-size: 1rem;
}

.modal-footer {
    text-align: center;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 152, 133, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.4);
}

/* Flashcard System */
.flashcard-container {
    max-width: 600px;
    margin: 30px auto;
    position: relative;
}

.flashcard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.nav-btn {
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(124, 152, 133, 0.25);
}

.nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 152, 133, 0.35);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.card-counter {
    font-size: 1rem;
    color: #4A5568;
    font-weight: 500;
}

.flashcard-stack {
    position: relative;
    min-height: 400px;
}

.flashcard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 2px solid rgba(124, 152, 133, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(100px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.flashcard.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
}

.flashcard.prev {
    transform: translateX(-100px) scale(0.9);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.card-header h3 {
    font-size: 1.3rem;
    color: #2E2E2E;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.example-toggle {
    background: none;
    border: 2px solid rgba(124, 152, 133, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #4A5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.example-toggle:hover {
    border-color: rgba(124, 152, 133, 0.5);
    background: rgba(124, 152, 133, 0.05);
}

.example-toggle.active {
    background: rgba(124, 152, 133, 0.1);
    border-color: rgba(124, 152, 133, 0.6);
}

.toggle-icon {
    font-size: 1rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.example-toggle.active .toggle-icon {
    transform: rotate(45deg);
}

.example-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
}

.example-panel.show {
    max-height: 200px;
}

.example-content {
    background: rgba(124, 152, 133, 0.08);
    border: 2px solid rgba(124, 152, 133, 0.2);
    border-radius: 16px;
    padding: 20px;
}

.example-content h4 {
    font-size: 1rem;
    color: #2E2E2E;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.example-content ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.example-content li {
    color: #4A5568;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.example-content li:before {
    content: "•";
    color: #7c9885;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.answer-section {
    margin-top: 25px;
}

.input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.flashcard-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(124, 152, 133, 0.2);
    border-radius: 16px;
    font-size: 1rem;
    background: rgba(255, 252, 248, 0.9);
    color: #2E2E2E;
    transition: all 0.3s ease;
}

.flashcard-input:focus {
    outline: none;
    border-color: #7c9885;
    background: rgba(255, 252, 248, 0.95);
    box-shadow: 0 0 0 4px rgba(124, 152, 133, 0.15);
    transform: translateY(-1px);
}

.flashcard-input::placeholder {
    color: #9CA3AF;
}

.voice-btn {
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(124, 152, 133, 0.25);
}

.voice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 152, 133, 0.35);
}

.voice-btn.recording {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: pulse 1.5s ease-in-out infinite;
}

.voice-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

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

.voice-status {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #4A5568;
    min-height: 20px;
}

.final-step-indicator {
    position: absolute;
    top: -15px;
    right: 20px;
    background: rgba(124, 152, 133, 0.1);
    border: 1px solid rgba(124, 152, 133, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    backdrop-filter: blur(10px);
}

.final-step-text {
    font-size: 0.85rem;
    color: #4A5568;
    font-weight: 500;
    white-space: nowrap;
}

.completion-message {
    margin-top: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.1) 0%, rgba(124, 152, 133, 0.05) 100%);
    border: 2px solid rgba(124, 152, 133, 0.2);
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.completion-message.show {
    opacity: 1;
    transform: translateY(0);
}

.completion-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.completion-icon {
    font-size: 2rem;
    animation: celebration-appear 0.6s ease-out;
}

.completion-message p {
    margin: 0;
    padding: 0;
    color: #2E2E2E;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.flashcard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 0 10px;
    gap: 16px;
}

.flashcard-actions .btn-primary,
.flashcard-actions .btn-secondary {
    padding: 12px 20px;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Profile Card Design */
.profile-card {
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 3px solid rgba(124, 152, 133, 0.2);
    border-radius: 24px;
    padding: 32px;
    margin: 30px auto;
    max-width: 700px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

/* Celebration Animation */
.celebration-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.celebration-animation.show {
    animation: celebration-appear 2s ease-out forwards;
}

.celebration-checkmark {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(124, 152, 133, 0.3);
    animation: checkmark-bounce 0.6s ease-out 0.3s both;
}

.celebration-checkmark svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: checkmark-draw 0.8s ease-out 0.6s forwards;
}

.celebration-sparkles {
    position: relative;
    width: 200px;
    height: 200px;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    border-radius: 50%;
    animation: sparkle-fly 1.5s ease-out 0.8s both;
}

.sparkle:nth-child(1) {
    top: 20px;
    left: 50%;
    animation-delay: 0.8s;
}

.sparkle:nth-child(2) {
    top: 40px;
    left: 30%;
    animation-delay: 0.9s;
}

.sparkle:nth-child(3) {
    top: 60px;
    left: 70%;
    animation-delay: 1.0s;
}

.sparkle:nth-child(4) {
    top: 80px;
    left: 20%;
    animation-delay: 1.1s;
}

.sparkle:nth-child(5) {
    top: 100px;
    left: 80%;
    animation-delay: 1.2s;
}

.sparkle:nth-child(6) {
    top: 120px;
    left: 50%;
    animation-delay: 1.3s;
}

@keyframes celebration-appear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes checkmark-bounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmark-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes sparkle-fly {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg) translateY(-100px);
    }
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 152, 133, 0.08) 0%, transparent 70%);
    animation: gentle-pulse 10s ease-in-out infinite;
    z-index: -1;
}

.profile-card.loaded {
    animation: profile-glow 1.5s ease-out;
}

@keyframes profile-glow {
    0% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 60px rgba(124, 152, 133, 0.3);
    }
    100% {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    }
}

.profile-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.profile-header h2 {
    font-size: 2rem;
    color: #2E2E2E;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.profile-subtitle {
    color: #6B7280;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.profile-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.profile-section {
    background: rgba(255, 252, 248, 0.8);
    border: 2px solid rgba(124, 152, 133, 0.15);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.profile-section:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.profile-section:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.profile-section:nth-child(3) {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.profile-section:nth-child(4) {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.profile-section.loaded {
    animation: section-glow 1s ease-out 0.5s both;
}

@keyframes section-glow {
    0% {
        box-shadow: 0 0 0 rgba(124, 152, 133, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(124, 152, 133, 0.2);
    }
    100% {
        box-shadow: 0 0 0 rgba(124, 152, 133, 0);
    }
}

.profile-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 152, 133, 0.15);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 1.2rem;
    color: #2E2E2E;
    margin: 0;
    font-weight: 600;
}

.section-content {
    min-height: 60px;
}

.profile-item {
    background: rgba(124, 152, 133, 0.08);
    border: 1px solid rgba(124, 152, 133, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.profile-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 152, 133, 0.1), transparent);
    transition: left 0.5s ease;
}

.profile-item:hover::before {
    left: 100%;
}

.profile-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(124, 152, 133, 0.15);
}

/* Enhanced profile item styling with data attributes */
.profile-item[data-strength] {
    border-left: 4px solid rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(76, 175, 80, 0.02) 100%);
}

.profile-item[data-strength]:hover {
    border-left-color: rgba(76, 175, 80, 0.7);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.04) 100%);
}

.profile-item[data-challenge] {
    border-left: 4px solid rgba(255, 152, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05) 0%, rgba(255, 152, 0, 0.02) 100%);
}

.profile-item[data-challenge]:hover {
    border-left-color: rgba(255, 152, 0, 0.7);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 152, 0, 0.04) 100%);
}

.profile-item[data-method] {
    border-left: 4px solid rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(33, 150, 243, 0.02) 100%);
}

.profile-item[data-method]:hover {
    border-left-color: rgba(33, 150, 243, 0.7);
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.08) 0%, rgba(33, 150, 243, 0.04) 100%);
}

.profile-item[data-strategy] {
    border-left: 4px solid rgba(156, 39, 176, 0.4);
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.05) 0%, rgba(156, 39, 176, 0.02) 100%);
}

.profile-item[data-strategy]:hover {
    border-left-color: rgba(156, 39, 176, 0.7);
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.08) 0%, rgba(156, 39, 176, 0.04) 100%);
}

.profile-item:last-child {
    margin-bottom: 0;
}

.profile-item:hover {
    background: rgba(124, 152, 133, 0.12);
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 4px 15px rgba(124, 152, 133, 0.15);
}

.profile-message {
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.message-bubble {
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.12) 0%, rgba(167, 139, 164, 0.12) 100%);
    border: 2px solid rgba(124, 152, 133, 0.25);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
}

.message-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(124, 152, 133, 0.25);
}

.message-bubble p {
    font-size: 1.1rem;
    color: #2E2E2E;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.action-btn {
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(124, 152, 133, 0.25);
    min-width: 120px;
    justify-content: center;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.35);
    animation: button-pulse 0.6s ease-out;
}

@keyframes button-pulse {
    0% {
        transform: translateY(-2px) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
    }
    100% {
        transform: translateY(-2px) scale(1);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy summary styles for backward compatibility */
.summary-section {
    margin-bottom: 32px;
}

.summary-section h3 {
    color: #4a5568;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.summary-content {
    background: rgba(255, 252, 248, 0.8);
    border: 2px solid rgba(124, 152, 133, 0.15);
    border-radius: 18px;
    padding: 22px;
    min-height: 60px;
    backdrop-filter: blur(10px);
}

.summary-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(124, 152, 133, 0.15);
    line-height: 1.6;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: #2E2E2E;
    font-weight: 600;
}

.no-data {
    color: #9CA3AF;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Toolkit Section */
.toolkit-section {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 252, 248, 0.8) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 2px solid rgba(124, 152, 133, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.toolkit-section h3 {
    font-size: 1.8rem;
    color: #2E2E2E;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
}

.toolkit-subtitle {
    text-align: center;
    color: #6B7280;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

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

.toolkit-item {
    background: rgba(255, 252, 248, 0.9);
    border: 2px solid rgba(124, 152, 133, 0.2);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.toolkit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(124, 152, 133, 0.2);
    border-color: rgba(124, 152, 133, 0.4);
}

.toolkit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c9885;
}

.toolkit-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.toolkit-item h4 {
    font-size: 1.2rem;
    color: #2E2E2E;
    margin-bottom: 8px;
    font-weight: 600;
}

.toolkit-item p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Toolkit Modal */
.toolkit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.toolkit-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolkit-modal-content {
    background: #f8f9fa !important;
    border: 3px solid #7c9885;
    border-radius: 24px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.toolkit-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #6B7280;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toolkit-close:hover {
    background: rgba(124, 152, 133, 0.1);
    color: #2E2E2E;
}

.toolkit-tool {
    display: none;
}

.toolkit-tool.active {
    display: block;
}

.toolkit-tool h3 {
    font-size: 1.6rem;
    color: #2E2E2E;
    margin-bottom: 8px;
    font-weight: 600;
}

.toolkit-tool > p {
    color: #2E2E2E;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Breathing Box */
.breathing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    margin: 24px 0;
}

.breathing-heart {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: breathe 8s ease-in-out infinite, float-gently 6s ease-in-out infinite;
}

.breathing-heart::before,
.breathing-heart::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(233, 30, 99, 0.4);
    border-radius: 50%;
    animation: sparkle-float 3s ease-in-out infinite;
}

.breathing-heart::before {
    top: -20px;
    left: 20px;
    animation-delay: 0s;
}

.breathing-heart::after {
    bottom: -20px;
    right: 20px;
    animation-delay: 1.5s;
}

.breathing-heart svg {
    width: 100%;
    height: 100%;
    color: #e91e63;
    filter: drop-shadow(0 0 10px rgba(233, 30, 99, 0.3));
    animation: heart-beat 4s ease-in-out infinite;
}

.heart-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heart-beat {
    0%, 100% {
        transform: scale(1);
        color: #e91e63;
    }
    25% {
        transform: scale(1.1);
        color: #f06292;
    }
    50% {
        transform: scale(1.2);
        color: #f8bbd9;
    }
    75% {
        transform: scale(1.1);
        color: #f06292;
    }
}

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

@keyframes float-gently {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes sparkle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0px) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-15px) scale(1);
    }
}

.breathing-instructions {
    text-align: center;
    color: #2E2E2E;
    font-size: 1rem;
    background: #fce4ec !important;
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 24px;
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.15);
    border: 2px solid #7c9885;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Task Chunker */
.chunker-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.task-input-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-input-section label {
    font-weight: 600;
    color: #2E2E2E;
    margin-bottom: 8px;
    font-size: 1rem;
}

.task-input-section input {
    padding: 12px 16px;
    border: 2px solid rgba(124, 152, 133, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 252, 248, 0.9);
    color: #2E2E2E;
}

.task-input-section input:focus {
    outline: none;
    border-color: #7c9885;
    box-shadow: 0 0 0 4px rgba(124, 152, 133, 0.15);
}

.add-task-btn {
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-task-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 152, 133, 0.3);
}

.chunks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.chunk-item {
    background: #fff3e0 !important;
    border: 2px solid #7c9885;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 152, 133, 0.1);
    margin-bottom: 12px;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.chunk-item:hover {
    background: rgba(124, 152, 133, 0.12);
}

.chunk-text {
    color: #2E2E2E;
    font-size: 0.95rem;
    font-weight: 500;
}

.remove-chunk {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.remove-chunk:hover {
    background: rgba(239, 68, 68, 0.1);
}

.chunker-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    background: #e8f5e8 !important;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.15);
    border: 2px solid #7c9885;
    transition: all 0.3s ease;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.clear-btn, .save-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

.save-btn {
    background: linear-gradient(135deg, #7c9885 0%, #a78ba4 100%);
    color: white;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 152, 133, 0.3);
}

/* Test Prep Tips */
.test-prep-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.test-prep-tip {
    background: #e3f2fd !important;
    border: 2px solid #7c9885;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.15);
    margin-bottom: 16px;
    transition: all 0.3s ease;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.test-prep-tip h4 {
    color: #2E2E2E;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.test-prep-tip p {
    color: #2E2E2E;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Teacher Words */
.teacher-words-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.word-category {
    background: #f1f8e9 !important;
    border: 2px solid #7c9885;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(124, 152, 133, 0.15);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.word-category h4 {
    color: #2E2E2E;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.2rem;
}

.phrase-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phrase-item {
    background: #ffffff !important;
    border: 1px solid #7c9885;
    border-radius: 12px;
    padding: 16px 20px;
    color: #2E2E2E;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(124, 152, 133, 0.1);
    margin-bottom: 8px;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.phrase-item:hover {
    background: rgba(124, 152, 133, 0.12);
    transform: translateX(4px);
}

/* Responsive design */
@media (max-width: 1200px) {
    .myth-buster-wall {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .bubble-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px;
    }
    
    .bubble {
        max-width: 260px;
    }
    
    .myth-buster-wall {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 28px;
    }
    
    .myth-card-container {
        max-width: 260px;
    }
    
    .sticky-note {
        width: 260px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .content {
        padding: 24px;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .myth-header {
        padding: 16px;
    }
    
    .myth-header h3 {
        font-size: 1rem;
    }
    
    .vibe-options {
        gap: 12px;
    }
    
    .vibe-btn {
        padding: 12px 16px;
        min-width: 70px;
    }
    
    .vibe-icon {
        width: 28px;
        height: 28px;
    }
    
    .vibe-text {
        font-size: 0.8rem;
    }
    
    .leaf {
        width: 50px;
        height: 50px;
    }
    
    .bubble-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        margin: 20px 0 15px 0;
    }
    
    .bubble {
        padding: 16px 18px;
        min-height: 80px;
        max-width: 250px;
    }
    
    .bubble-text {
        font-size: 0.9rem;
        max-width: 180px;
    }
    
    .validation-text {
        font-size: 0.85rem;
        padding: 10px 14px;
        margin-top: 10px;
    }
    
    .reflection-message {
        margin: 20px auto;
        padding: 16px 20px;
    }
    
    .myth-buster-wall {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
        margin: 25px 0;
    }
    
    .myth-card-container {
        max-width: 240px;
    }
    
    .sticky-note {
        width: 240px;
        height: 180px;
    }
    
    .sticky-header h3 {
        font-size: 0.9rem;
    }
    
    .myth-preview {
        font-size: 0.8rem;
    }
    
    .truth-content h4 {
        font-size: 1rem;
    }
    
    .truth-content p {
        font-size: 0.85rem;
    }
    
    .learn-more-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        min-width: 120px;
        margin-top: 12px;
    }
    
    .wall-message {
        font-size: 1rem;
    }
    
    .sticky-front,
    .sticky-back {
        padding: 20px;
    }
    
    .flashcard-container {
        max-width: 100%;
        margin: 20px auto;
    }
    
    .flashcard {
        padding: 20px;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .example-toggle {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .flashcard-input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .voice-btn {
        width: 44px;
        height: 44px;
    }
    
    .flashcard-actions {
        margin-top: 20px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .example-toggle {
        align-self: flex-start;
    }
    
    .input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .voice-btn {
        align-self: center;
    }
    
    .final-step-indicator {
        top: -10px;
        right: 15px;
        padding: 4px 10px;
    }
    
    .final-step-text {
        font-size: 0.8rem;
    }
    
    .profile-card {
        padding: 20px;
        margin: 15px auto;
    }
    
    .profile-header h2 {
        font-size: 1.5rem;
    }
    
    .profile-subtitle {
        font-size: 0.95rem;
    }
    
    .profile-sections {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-actions {
        gap: 8px;
    }
    
    .action-btn {
        min-width: 100px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .profile-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .action-btn {
        width: 100%;
        max-width: 180px;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .toolkit-section {
        padding: 24px;
        margin-top: 30px;
    }
    
    .toolkit-section h3 {
        font-size: 1.5rem;
    }
    
    .toolkit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .toolkit-modal-content {
        padding: 20px;
        width: 95%;
        max-height: 85vh;
        margin: 10px;
    }
    
    .toolkit-tool h3 {
        font-size: 1.4rem;
    }
    
    .breathing-heart {
        width: 100px;
        height: 100px;
    }
    
    .breathing-heart svg {
        width: 100%;
        height: 100%;
    }
    
    .heart-glow {
        width: 120px;
        height: 120px;
    }
    
    .modal-content {
        padding: 20px;
        max-width: 90%;
    }
    
    .modal-content h3 {
        font-size: 1.2rem;
    }
    
    .voice-note {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .story-content {
        font-size: 0.9rem;
    }
    
    .modal-footer .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .test-prep-tip,
    .word-category,
    .chunk-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .toolkit-tool > p {
        font-size: 0.95rem;
    }
    
    .task-input-section label,
    .test-prep-tip h4,
    .word-category h4 {
        font-size: 0.9rem;
    }
    
    .chunker-actions {
        padding: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .phrase-item {
        padding: 12px 16px;
        margin-bottom: 8px;
    }
    
    .breathing-instructions {
        padding: 14px 18px;
        margin-top: 16px;
        font-size: 0.95rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
.checkbox-item:focus {
    outline: 2px solid #a78ba4;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content {
        border: 2px solid #4a5568;
    }
    
    .btn-primary {
        border: 2px solid #4a5568;
    }
} 