/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure proper viewport handling */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* Touch optimization */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-family: 'Inter', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Ensure all containers respect viewport width */
.container,
.nav-container,
.hero-content {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06d6a0;
    --background-dark: #0f0f23;
    --background-light: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06d6a0, #0891b2);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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


/* Navigation */
.navbar {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--background-dark);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    margin: 50px 0;
    text-align: center;
}

.feature-highlight {
    margin-bottom: 40px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.feature-highlight h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-highlight p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.action-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px 20px;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.action-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.action-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.action-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    transform: translateY(-2px);
}

/* Simple Ad Sections */
.ad-section {
    margin: 30px 0;
    text-align: center;
    padding: 15px;
}

.adsbygoogle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin: 0 auto;
}

/* Mobile Ad Styles */
@media (max-width: 768px) {
    .ad-section {
        margin: 20px 0;
        padding: 10px;
    }
    
    .adsbygoogle {
        min-height: 70px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .ad-section {
        margin: 15px 0;
        padding: 8px;
    }
    
    .adsbygoogle {
        min-height: 60px;
        border-radius: 6px;
    }
}

/* Ad placeholder */
.adsbygoogle:empty::before {
    content: "Advertisement";
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.6;
}

.adsbygoogle .tool-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    /* Ensure minimum touch target size */
    min-width: 44px;
    min-height: 44px;
}

.tool-toggle:hover {
    transform: scale(1.1);
}

/* Mobile touch targets */
@media (max-width: 768px) {
    .tool-toggle {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .nav-toggle {
        width: 48px;
        height: 48px;
    }
    
    .dismiss-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Quick Actions */
.quick-actions {
    padding: 80px 0;
    background: var(--background-light);
}

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

.quick-action-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.quick-action-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* Tools Section */
.tools-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.tool-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.tool-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tool-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-toggle {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.sound-toggle {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-toggle:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

.sound-toggle.muted {
    color: var(--text-secondary);
    opacity: 0.6;
}

.sound-toggle.muted:hover {
    background: #dc2626;
    color: white;
}

/* Breathing Exercise - Enhanced Realistic Design */
.breathing-container {
    text-align: center;
    padding: 40px 0;
    position: relative;
}

.breathing-circle {
    width: 200px;
    height: 200px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    cursor: pointer;
    position: relative;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.1));
    box-shadow: 
        0 0 30px rgba(99, 102, 241, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    transition: all 4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.breathing-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(99, 102, 241, 0.2),
        transparent,
        rgba(99, 102, 241, 0.2),
        transparent
    );
    animation: rotate 8s linear infinite;
    z-index: -1;
}

.breathing-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Inhale - Expanding with green glow */
.breathing-circle.inhale {
    transform: scale(1.4);
    background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.4), rgba(34, 197, 94, 0.1));
    border-color: #22c55e;
    box-shadow: 
        0 0 50px rgba(34, 197, 94, 0.6),
        0 0 100px rgba(34, 197, 94, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    transition: all 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.breathing-circle.inhale::before {
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(34, 197, 94, 0.4),
        transparent,
        rgba(34, 197, 94, 0.4),
        transparent
    );
}

/* Hold - Steady with golden glow */
.breathing-circle.hold {
    transform: scale(1.4);
    background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.4), rgba(251, 191, 36, 0.1));
    border-color: #fbbf24;
    box-shadow: 
        0 0 50px rgba(251, 191, 36, 0.6),
        0 0 100px rgba(251, 191, 36, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.breathing-circle.hold::before {
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(251, 191, 36, 0.4),
        transparent,
        rgba(251, 191, 36, 0.4),
        transparent
    );
    animation-play-state: paused;
}

/* Exhale - Contracting with blue glow */
.breathing-circle.exhale {
    transform: scale(0.7);
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.1));
    border-color: #3b82f6;
    box-shadow: 
        0 0 40px rgba(59, 130, 246, 0.6),
        0 0 80px rgba(59, 130, 246, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    transition: all 8s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.breathing-circle.exhale::before {
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(59, 130, 246, 0.4),
        transparent,
        rgba(59, 130, 246, 0.4),
        transparent
    );
}

.breathing-text {
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    font-size: 1.3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Rotating animation for the outer ring */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Breathing pulse animation */
@keyframes breathingPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Add subtle breathing ambient effect */
.breathing-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: breathingPulse 4s ease-in-out infinite;
}

/* Optimized Mood Tracker */
.mood-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
    /* Performance optimization */
    will-change: transform;
}

.mood-option {
    text-align: center;
    cursor: pointer;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    /* Optimized transitions for better performance */
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 100px;
    position: relative;
    /* Hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
    /* Remove overflow for better performance */
    overflow: visible;
}

.mood-option:hover {
    background: var(--glass-bg);
    transform: translateY(-3px) translateZ(0); /* Reduced movement for smoother animation */
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2); /* Reduced shadow for better performance */
}

.mood-option.selected {
    background: var(--gradient-primary);
    transform: translateY(-3px) translateZ(0);
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.mood-emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
    /* Optimized transition */
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    /* Hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
}

.mood-option:hover .mood-emoji {
    transform: scale(1.05) translateZ(0); /* Reduced scale for smoother animation */
}

.mood-option.selected .mood-emoji {
    transform: scale(1.1) translateZ(0);
}

.mood-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Optimize text rendering */
    text-rendering: optimizeSpeed;
}

.mood-option.selected .mood-label {
    color: white;
    font-weight: 600;
}

#mood-chart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    height: 300px;
    max-height: 300px;
    /* Performance optimizations for canvas */
    will-change: transform;
    /* Improve canvas rendering */
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}

/* Stress Meter */
.stress-meter {
    padding: 20px 0;
}

.stress-meter label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

#stress-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--glass-bg);
    outline: none;
    margin-bottom: 15px;
}

#stress-slider::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.stress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#stress-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

#stress-recommendations {
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

#stress-recommendations h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

#stress-tips {
    list-style: none;
}

#stress-tips li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

#stress-tips li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--background-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .mood-options {
        flex-direction: column;
        gap: 10px;
    }

    .tool-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .breathing-circle {
        width: 120px;
        height: 120px;
    }
    
    .breathing-text {
        font-size: 1rem;
    }
    
    .mood-options {
        gap: 8px;
    }
    
    .mood-option {
        padding: 10px;
        flex: 1;
        min-width: 80px;
    }
    
    .mood-emoji {
        font-size: 1.5rem;
    }
    
    .mood-label {
        font-size: 0.8rem;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .meditation-card {
        padding: 20px;
    }
    
    .journal-textarea {
        min-height: 200px;
    }
    
    .inspiration-card {
        padding: 25px;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 70vh;
        padding: 15px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .nav-logo span {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .tool-card {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .tool-header h3 {
        font-size: 1.1rem;
    }
    
    .breathing-circle {
        width: 100px;
        height: 100px;
    }
    
    .breathing-text {
        font-size: 0.9rem;
    }
    
    .mood-options {
        gap: 5px;
    }
    
    .mood-option {
        padding: 8px 4px;
        min-width: 60px;
    }
    
    .mood-emoji {
        font-size: 1.2rem;
    }
    
    .mood-label {
        font-size: 0.7rem;
    }
    
    .meditation-card {
        padding: 15px;
    }
    
    .meditation-card h3 {
        font-size: 1.1rem;
    }
    
    .journal-textarea {
        min-height: 150px;
        font-size: 0.9rem;
    }
    
    .journal-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .journal-controls button {
        width: 100%;
    }
    
    .inspiration-card {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .quote-author {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .crisis-banner {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .crisis-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

/* Tablets */
@media (max-width: 968px) {
    .container {
        padding: 0 25px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--background-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--glass-border);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 15px;
        display: block;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat {
        padding: 20px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .mood-options {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .mood-option {
        flex: 0 1 calc(50% - 10px);
        min-width: 120px;
    }

    .tool-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .journal-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .meditation-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .breathing-circle {
        width: 120px;
        height: 120px;
    }
    
    .breathing-text {
        font-size: 1rem;
    }
    
    .mood-options {
        gap: 8px;
    }
    
    .mood-option {
        padding: 10px;
        flex: 1;
        min-width: 80px;
    }
    
    .mood-emoji {
        font-size: 1.5rem;
    }
    
    .mood-label {
        font-size: 0.8rem;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .meditation-card {
        padding: 20px;
    }
    
    .journal-textarea {
        min-height: 200px;
    }
    
    .inspiration-card {
        padding: 25px;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 70vh;
        padding: 15px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .nav-logo span {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .tool-card {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .tool-header h3 {
        font-size: 1.1rem;
    }
    
    .breathing-circle {
        width: 100px;
        height: 100px;
    }
    
    .breathing-text {
        font-size: 0.9rem;
    }
    
    .mood-options {
        gap: 5px;
    }
    
    .mood-option {
        padding: 8px 4px;
        min-width: 60px;
    }
    
    .mood-emoji {
        font-size: 1.2rem;
    }
    
    .mood-label {
        font-size: 0.7rem;
    }
    
    .meditation-card {
        padding: 15px;
    }
    
    .meditation-card h3 {
        font-size: 1.1rem;
    }
    
    .journal-textarea {
        min-height: 150px;
        font-size: 0.9rem;
    }
    
    .journal-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .journal-controls button {
        width: 100%;
    }
    
    .inspiration-card {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .quote-author {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .crisis-banner {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .crisis-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Meditation Section */
.meditation-section {
    padding: 80px 0;
    background: var(--background-light);
}

.meditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.quick-action-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Enhanced touch support */
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    /* Ensure minimum touch target size */
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quick-action-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.15);
}

/* ... */
.meditation-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.meditation-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.meditation-player {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-player {
    background: rgba(220, 38, 38, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-player:hover {
    background: rgba(220, 38, 38, 0.3);
}

.meditation-timer {
    text-align: center;
    margin-bottom: 30px;
}

.timer-circle {
    width: 150px;
    height: 150px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
}

#timer-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.meditation-instructions {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.player-controls button {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-controls button:hover {
    transform: scale(1.1);
}

/* Journal Section */
.journal-section {
    padding: 80px 0;
}

.journal-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.prompts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.prompts-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.refresh-prompts-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-prompts-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.refresh-prompts-btn i {
    transition: transform 0.3s ease;
}

.refresh-prompts-btn:hover i {
    transform: rotate(180deg);
}

.prompt-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.prompt-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.journal-prompts h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.prompt-cards {
    display: grid;
    gap: 15px;
}

.prompt-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.prompt-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.prompt-card i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.prompt-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.journal-editor {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.editor-actions {
    display: flex;
    gap: 10px;
}

.editor-actions button {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.editor-actions button:hover {
    transform: translateY(-2px);
}

#journal-textarea {
    width: 100%;
    min-height: 300px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
}

#journal-textarea::placeholder {
    color: var(--text-secondary);
}

.word-count {
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 10px;
}

.journal-entries {
    margin-top: 40px;
}

.journal-entries h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.entries-list {
    display: grid;
    gap: 15px;
}

.entry-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.entry-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.entry-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.entry-preview {
    color: var(--text-primary);
    line-height: 1.5;
}

.no-entries {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 40px;
}

/* Resources Section */
.resources-section {
    padding: 80px 0;
    background: var(--background-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.resource-category {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

.resource-category h3 {
    color: var(--text-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.resource-category h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.resource-list {
    display: grid;
    gap: 20px;
}

.resource-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.resource-item h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.resource-item p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.resource-link {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.resource-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Inspiration Section */
.inspiration-section {
    padding: 60px 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.inspiration-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.inspiration-card h3 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.quote-container {
    margin-bottom: 30px;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.quote-author {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--background-light);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}


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

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    margin-bottom: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
}

.section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.section h3 {
    color: var(--text-primary);
    margin: 20px 0 15px;
    font-size: 1.2rem;
}

.section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.section ul {
    color: var(--text-secondary);
    margin-left: 20px;
    margin-bottom: 15px;
}

.section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.disclaimer {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-top: 40px;
}

.disclaimer p {
    color: #fca5a5;
    margin: 0;
    font-weight: 500;
}

/* About Page Styles */
.about-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-main {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

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

.about-text h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    gap: 30px;
}

.stat {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.values-section {
    margin-bottom: 80px;
}

.values-section h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 50px;
    font-size: 2rem;
}

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

.value-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.disclaimer-section {
    margin-top: 60px;
}

.disclaimer-card {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.disclaimer-card h3 {
    color: #fca5a5;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.disclaimer-card p {
    color: #fca5a5;
    margin-bottom: 25px;
    line-height: 1.6;
}

.crisis-contacts {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.crisis-btn {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.crisis-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Contact Page Styles */
.contact-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-main {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-method h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-method p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.contact-method small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.crisis-section {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 15px;
    padding: 25px;
}

.crisis-section h3 {
    color: #fca5a5;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.crisis-section p {
    color: #fca5a5;
    margin-bottom: 20px;
}

.crisis-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.crisis-btn.primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.crisis-btn.secondary {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.crisis-btn.emergency {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
}

.contact-form-card h2 {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

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

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.form-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.3);
    border-radius: 10px;
}

.form-note p {
    color: #34d399;
    margin: 0;
    font-size: 0.9rem;
}

.faq-section {
    margin-top: 60px;
}

.faq-section h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Navigation Active State */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 968px) {
    .journal-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .crisis-buttons {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .meditation-grid {
        grid-template-columns: 1fr;
    }
    
    .prompt-cards {
        gap: 10px;
    }
    
    .prompt-card {
        padding: 15px;
    }
    
    .editor-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .editor-actions {
        justify-content: center;
    }
    
    .inspiration-card {
        padding: 30px 20px;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* CEO Message Mobile Styles */
    .ceo-message-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }
    
    .avatar-circle {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .ceo-content h2 {
        font-size: 1.8rem;
    }
    
    .ceo-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ceo-message-section {
        padding: 60px 0;
    }
    
    .ceo-message-card {
        padding: 30px 20px;
        gap: 25px;
    }
    
    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .ceo-content h2 {
        font-size: 1.5rem;
    }
    
    .ceo-text p {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* ===== NEW MODERN MOOD TRACKER ===== */

.mood-streak {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mood-today-section {
    margin-bottom: 30px;
}

.mood-today-section h4 {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: center;
}

.mood-selector-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.mood-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mood-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.1);
}

.mood-card.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px) scale(1.05);
}

.mood-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.mood-card:hover .mood-icon {
    transform: scale(1.2);
}

.mood-name {
    display: block;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.mood-color-bar {
    height: 4px;
    border-radius: 2px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.terrible-bar { background: linear-gradient(90deg, #ef4444, #dc2626); }
.bad-bar { background: linear-gradient(90deg, #f97316, #ea580c); }
.okay-bar { background: linear-gradient(90deg, #eab308, #ca8a04); }
.good-bar { background: linear-gradient(90deg, #22c55e, #16a34a); }
.amazing-bar { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }

.mood-note-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

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

.mood-note-section textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #e2e8f0;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.mood-note-section textarea::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

.mood-note-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
}

.save-mood-btn, .cancel-mood-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-mood-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.save-mood-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
}

.cancel-mood-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-mood-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mood-insights-dashboard {
    margin: 30px 0;
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.insight-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.insight-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.insight-label {
    display: block;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.insight-value {
    display: block;
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 700;
}

.weekly-pattern h5 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mood-timeline {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.timeline-day {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-day:hover {
    background: rgba(255, 255, 255, 0.1);
}

.timeline-date {
    display: block;
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.7);
    margin-bottom: 8px;
}

.timeline-mood {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.timeline-label {
    font-size: 0.7rem;
    color: rgba(226, 232, 240, 0.8);
    font-weight: 600;
}

.recent-moods h5 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mood-history {
    max-height: 200px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
}

.mood-entry {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mood-entry:last-child {
    border-bottom: none;
}

.entry-mood {
    font-size: 1.5rem;
    min-width: 40px;
}

.entry-content {
    flex: 1;
}

.entry-name {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 2px;
}

.entry-note {
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

.entry-time {
    color: rgba(226, 232, 240, 0.5);
    font-size: 0.75rem;
    text-align: right;
    min-width: 80px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mood-selector-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .mood-card {
        padding: 15px 8px;
    }
    
    .mood-icon {
        font-size: 2rem;
    }
    
    .insight-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .mood-timeline {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .timeline-day {
        min-width: calc(14.28% - 5px);
    }
}

@media (max-width: 480px) {
    .mood-selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mood-note-actions {
        flex-direction: column;
    }
    
    .save-mood-btn, .cancel-mood-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FOUNDER MESSAGE SECTION ===== */

.ceo-message-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95) 0%, 
        rgba(26, 26, 46, 0.98) 50%, 
        rgba(15, 15, 35, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.ceo-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 214, 160, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.ceo-message-wrapper {
    position: relative;
    z-index: 1;
}

.ceo-header {
    text-align: center;
    margin-bottom: 60px;
}

.ceo-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06d6a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.header-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -10px;
    right: -10px;
    height: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 4px;
    z-index: -1;
}

/* Founder Message Card */
.founder-message-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.founder-message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

/* Founder Profile */
.founder-profile {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-avatar {
    position: relative;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.avatar-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.founder-info {
    flex: 1;
}

.founder-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-title {
    font-size: 1.2rem;
    color: rgba(99, 102, 241, 0.9);
    margin-bottom: 15px;
    font-weight: 600;
}

.founder-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.founder-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    color: #e2e8f0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Message Content */
.message-intro {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.intro-quote {
    font-size: 2rem;
    color: #6366f1;
    opacity: 0.7;
}

.message-intro h4 {
    font-size: 1.5rem;
    color: #e2e8f0;
    font-weight: 600;
    margin: 0;
}

.message-content {
    margin-bottom: 40px;
}

.message-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 20px;
}

.message-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 20px;
}

.message-content strong {
    color: #e2e8f0;
    font-weight: 700;
}

/* Support Callout */
.support-callout {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(6, 214, 160, 0.3);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.callout-icon {
    background: linear-gradient(135deg, #06d6a0, #22c55e);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.callout-text p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.emphasis-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #06d6a0 !important;
    margin-bottom: 0 !important;
}

/* Founder Signature */
.founder-signature {
    margin: 40px 0;
}

.signature-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-bottom: 25px;
}

.signature-content {
    text-align: center;
}

.signature-closing {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.7);
    margin-bottom: 15px;
    font-style: italic;
}

.signature-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.signature-name .name {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signature-name .title {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.8);
    font-weight: 500;
}

/* Action Section */
.action-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.action-content h4 {
    font-size: 1.4rem;
    color: #e2e8f0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-content h4 i {
    color: #6366f1;
}

.action-content p {
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 25px;
    font-size: 1rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5855eb, #7c3aed);
}

/* Mobile Responsiveness for Founder Message */
@media (max-width: 768px) {
    .ceo-message-section {
        padding: 80px 0;
    }
    
    .founder-message-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .founder-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .founder-name {
        font-size: 1.8rem;
    }
    
    .founder-title {
        font-size: 1rem;
    }
    
    .founder-badges {
        justify-content: center;
    }
    
    .message-intro {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .message-intro h4 {
        font-size: 1.3rem;
    }
    
    .message-highlight {
        font-size: 1.2rem;
    }
    
    .message-content p {
        font-size: 1rem;
    }
    
    .support-callout {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .action-section {
        padding: 25px 15px;
    }
    
    .action-content h4 {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .ceo-message-section {
        padding: 60px 0;
    }
    
    .founder-message-card {
        padding: 25px 15px;
        border-radius: 16px;
    }
    
    .ceo-header h2 {
        font-size: 2.2rem;
    }
    
    .avatar-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .founder-name {
        font-size: 1.6rem;
    }
    
    .founder-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .message-highlight {
        font-size: 1.1rem;
    }
    
    .signature-name .name {
        font-size: 1.5rem;
    }
    
    .cta-button.primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Simple message styling */
.simple-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.simple-message h3 {
    color: #e2e8f0;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.simple-message p {
    color: rgba(226, 232, 240, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.simple-message p:last-child {
    margin-top: 20px;
    color: rgba(226, 232, 240, 0.7);
    font-style: italic;
}

/* Full Modern Mood Tracker - Mobile Optimized */

/* Mood Tracker Header */
.mood-streak {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Today's Mood Section */
.mood-today-section {
    margin-bottom: 25px;
}

.mood-today-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}

/* Mood Selector Grid - Mobile First */
.mood-selector-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mood-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mood-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.mood-card.selected {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
}

.mood-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.mood-card:hover .mood-icon {
    transform: scale(1.1);
}

.mood-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
}

.mood-color-bar {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.terrible-bar { background: #ef4444; }
.bad-bar { background: #f97316; }
.okay-bar { background: #eab308; }
.good-bar { background: #22c55e; }
.amazing-bar { background: #8b5cf6; }

/* Mood Note Section */
.mood-note-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mood-note-section textarea {
    width: 100%;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    margin-bottom: 12px;
}

.mood-note-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.save-mood-btn, .cancel-mood-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-mood-btn {
    background: var(--primary-color);
    color: white;
}

.cancel-mood-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Mood Insights Dashboard */
.mood-insights-dashboard {
    margin-bottom: 25px;
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.insight-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.insight-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.insight-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.insight-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Weekly Pattern */
.weekly-pattern h5 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.mood-timeline {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.timeline-day {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-day-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.timeline-mood {
    font-size: 1.2rem;
}

/* Recent Moods */
.recent-moods h5 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.mood-history {
    max-height: 150px;
    overflow-y: auto;
}

.mood-entry {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-mood {
    font-size: 1.2rem;
    margin-right: 12px;
}

.entry-details {
    flex: 1;
}

.entry-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.entry-note {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-top: 2px;
}

/* Mobile Responsive Optimizations */
@media (max-width: 768px) {
    .mood-selector-grid {
        gap: 8px;
    }
    
    .mood-card {
        padding: 12px 6px;
    }
    
    .mood-icon {
        font-size: 1.6rem;
    }
    
    .mood-name {
        font-size: 0.7rem;
    }
    
    .insight-cards {
        gap: 8px;
    }
    
    .insight-card {
        padding: 12px 8px;
    }
    
    .insight-icon {
        font-size: 1.2rem;
    }
    
    .insight-label {
        font-size: 0.7rem;
    }
    
    .insight-value {
        font-size: 0.9rem;
    }
    
    .timeline-day {
        padding: 6px 2px;
    }
    
    .timeline-day-label {
        font-size: 0.65rem;
    }
    
    .timeline-mood {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mood-selector-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    
    .mood-card {
        padding: 10px 4px;
    }
    
    .mood-icon {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .mood-name {
        font-size: 0.65rem;
    }
    
    .insight-cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .insight-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 12px;
    }
    
    .insight-icon {
        margin-right: 12px;
        margin-bottom: 0;
    }
    
    .mood-note-actions {
        flex-direction: column;
    }
    
    .save-mood-btn, .cancel-mood-btn {
        width: 100%;
        padding: 12px;
    }
    
    .timeline-day {
        padding: 4px 2px;
    }
    
    .timeline-mood {
        font-size: 0.9rem;
    }
    
    .mood-entry {
        padding: 10px;
    }
    
    .entry-mood {
        font-size: 1rem;
        margin-right: 8px;
    }
}

.signature-line {
    width: 200px;
    height: 2px;
    background: var(--gradient-primary);
    margin-left: auto;
    margin-bottom: 15px;
    border-radius: 1px;
}

.signature-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 10px;
}

.signature-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

.professional-cta {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.professional-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.cta-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.professional-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.professional-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.professional-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.professional-button:hover::before {
    left: 100%;
}

.button-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.professional-button:hover .button-icon {
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .ceo-message-section {
        padding: 80px 0;
    }
    
    .ceo-header h2 {
        font-size: 2.2rem;
    }
    
    .ceo-message-card {
        padding: 40px 30px;
    }
    
    .ceo-profile {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .avatar-image {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .ceo-name {
        font-size: 1.8rem;
    }
    
    .ceo-title {
        font-size: 1rem;
    }
    
    blockquote {
        padding: 0 20px;
    }
    
    blockquote p {
        font-size: 1.1rem;
    }
    
    .professional-cta {
        padding: 30px 20px;
    }
    
    .professional-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ceo-message-card {
        padding: 30px 20px;
    }
    
    .ceo-header h2 {
        font-size: 1.8rem;
    }
    
    .avatar-image {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .ceo-name {
        font-size: 1.5rem;
    }
    
    .credentials-badges {
        justify-content: center;
    }
    
    blockquote p {
        font-size: 1rem;
    }
    
    .professional-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}
