/* Global Styles & Variables */
:root {
    /* Primary Colors */
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #a3e4b7;
    --secondary-color: #3498db;
    --secondary-dark: #2980b9;
    --secondary-light: #a9cce3;
    --accent-color: #e74c3c;
    --accent-dark: #c0392b;
    --accent-light: #f5b7b1;
    
    /* Fitness Specific Colors */
    --fitness-primary: #e74c3c;
    --fitness-secondary: #f39c12;
    --fitness-dark: #c0392b;
    --fitness-light: #fadbd8;
    
    /* Neutral Colors */
    --dark-color: #2c3e50;
    --darker-color: #1a252f;
    --light-color: #f8f9fa;
    --lighter-color: #ffffff;
    --text-color: #333333;
    --text-light: #6c757d;
    --text-muted: #95a5a6;
    
    /* Status Colors */
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #c0392b;
    --info-color: #3498db;
    
    /* Book Colors */
    --book-cover: #2c3e50;
    --book-spine: #1a252f;
    --page-color: #fff9e6;
    --page-shadow: rgba(0, 0, 0, 0.15);
    --ribbon-color: #e74c3c;
    --bookmark-color: #f39c12;
    --old-paper: #f4e4c1;
    --ink-color: #2c1810;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--warning-color));
    --energy-gradient: linear-gradient(135deg, #e74c3c, #f39c12);
    --strength-gradient: linear-gradient(135deg, #3498db, #2980b9);
    --endurance-gradient: linear-gradient(135deg, #27ae60, #229954);
    --flexibility-gradient: linear-gradient(135deg, #9b59b6, #8e44ad);
    
    /* Borders & Shadows */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 30px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--gradient-primary);
    transition: var(--transition);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95), rgba(52, 152, 219, 0.95)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="white" stroke-width="2"/></svg>');
    background-size: 30px 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '🧘';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    right: -50px;
    bottom: -50px;
    transform: rotate(15deg);
    animation: float-slow 20s infinite;
}

.page-header::after {
    content: '😴';
    position: absolute;
    font-size: 12rem;
    opacity: 0.1;
    left: -30px;
    top: -30px;
    transform: rotate(-15deg);
    animation: float-slow 25s infinite reverse;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 0.8s ease 0.1s both;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title::after {
    content: '✦';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 204, 113, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Floating Cards */
.hero-image {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    padding: 1rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

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

/* Four Pillars */
.four-pillars {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

.pillar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.pillar-list {
    list-style: none;
    margin-top: 1rem;
}

.pillar-list li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.pillars-showcase {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.pillar-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    flex: 1;
    max-width: 200px;
    border: 2px solid transparent;
}

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

.pillar-item.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(52, 152, 219, 0.05));
}

.pillars-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

/* Add to your CSS file - Interactive Section Indicators */
.pillar-item {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pillar-item:hover .pillar-icon {
    animation: bounce 0.5s ease;
}

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

/* Section indicator for clickable sections */
.section-link-indicator {
    position: relative;
}

.section-link-indicator::after {
    content: '↓ Scroll to Section';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    background: rgba(255,255,255,0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-link-indicator:hover::after {
    opacity: 1;
}

/* Add a subtle hand cursor to indicate clickability */
.clickable {
    cursor: pointer;
}

/* Why Exercise Section */
.why-exercise {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

.benefit-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--energy-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--fitness-primary);
    box-shadow: 0 20px 30px rgba(231, 76, 60, 0.2);
}

.benefit-card:hover::before {
    opacity: 0.05;
}

.benefit-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: fitnessFloat 3s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-icon { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-icon { animation-delay: 0.2s; }
.benefit-card:nth-child(3) .benefit-icon { animation-delay: 0.4s; }
.benefit-card:nth-child(4) .benefit-icon { animation-delay: 0.6s; }
.benefit-card:nth-child(5) .benefit-icon { animation-delay: 0.8s; }
.benefit-card:nth-child(6) .benefit-icon { animation-delay: 1s; }

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Fitness Tip Banner */
.fitness-tip {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.tip-banner {
    background: var(--energy-gradient);
    padding: 3rem;
    border-radius: 50px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(231, 76, 60, 0.3);
}

.tip-banner::before {
    content: '💪';
    position: absolute;
    font-size: 10rem;
    opacity: 0.1;
    left: -20px;
    bottom: -30px;
    transform: rotate(15deg);
}

.tip-banner::after {
    content: '⚡';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    right: -20px;
    top: -30px;
    transform: rotate(-15deg);
}

.tip-banner h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tip-banner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Exercise Types */
.exercise-types {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.type-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--energy-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.type-card:hover::before {
    transform: scaleX(1);
}

.type-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.type-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.type-example {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Couch to 5K Timeline */
.couch-to-5k {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius-lg);
}

.challenge-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.challenge-intro p {
    font-size: 1.2rem;
    color: var(--dark-color);
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--box-shadow);
}

.challenge-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.challenge-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--energy-gradient);
    transform: translateY(-50%);
    z-index: 0;
}

.week-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.week-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--fitness-primary);
    box-shadow: var(--box-shadow-hover);
    z-index: 2;
}

.week-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--fitness-primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.week-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--energy-gradient);
    border-radius: 2px;
}

.week-card ul {
    list-style: none;
}

.week-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.week-card li::before {
    content: '🏃';
    position: absolute;
    left: 0;
    opacity: 0.7;
}

/* Farm-Inspired Workouts */
.farm-fitness {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

.workout-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.workout-card::before {
    content: '🌾';
    position: absolute;
    font-size: 5rem;
    opacity: 0.1;
    right: -10px;
    bottom: -10px;
    transform: rotate(15deg);
    transition: var(--transition);
}

.workout-card:hover {
    transform: translateY(-5px);
    border-color: var(--fitness-secondary);
}

.workout-card:hover::before {
    transform: rotate(25deg) scale(1.2);
}

.workout-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.workout-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.workout-time {
    background: var(--strength-gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.workout-intensity {
    background: var(--energy-gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

/* Sleep Importance */
.sleep-importance {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.sleep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sleep-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sleep-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.sleep-card:hover::before {
    transform: translateX(0);
}

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

.sleep-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.sleep-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

.sleep-tip {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--warning-color);
    position: relative;
    overflow: hidden;
}

.sleep-tip::before {
    content: '💡';
    position: absolute;
    font-size: 5rem;
    opacity: 0.2;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sleep-tip h4 {
    color: var(--warning-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sleep-tip p {
    font-size: 1.2rem;
    color: var(--dark-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Sleep Optimization */
.sleep-optimization {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius-lg);
}

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

.optimization-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.optimization-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--box-shadow-hover);
}

.opt-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
}

.optimization-card h4 {
    margin: 1.5rem 0 1rem;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.optimization-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Mental Health */
.mental-health {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.mental-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mental-stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.mental-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.stat-big {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.mental-stat p {
    color: black;
    font-size: 1.1rem;
    opacity: 0.95;
}

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

.strategy-item {
    background: black;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.strategy-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: rotate 10s infinite linear;
}

.strategy-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.strategy-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.strategy-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: black;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.strategy-link:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

/* Stress Management */
.stress-management {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius-lg);
}

.stress-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.stress-info {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}

.stress-info h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.stress-effects {
    list-style: none;
    margin-top: 1rem;
}

.stress-effects li {
    padding: 0.75rem;
    border-bottom: 1px solid var(--light-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stress-effects li:last-child {
    border-bottom: none;
}

.stress-tip {
    background: linear-gradient(135deg, var(--accent-light), var(--warning-color));
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    color: white;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.stress-tip h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stress-tip p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Gut Health */
.gut-health {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.gut-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.gut-functions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.function-tag {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.function-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--box-shadow-hover);
}

.dysbiosis {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.dysbiosis h4 {
    text-align: center;
    color: var(--warning-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.symptom {
    background: white;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 0.9rem;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

.symptom:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    background: var(--warning-color);
    color: white;
}

.probiotics {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.probiotics h4 {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.probiotic-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.probiotic-list li {
    background: white;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

.probiotic-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    background: var(--success-color);
    color: white;
}

/* Daily Mental Health Practices - Enhanced Design System */
/* Main Section Container */
#mental-health-notes {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 4rem 2rem;
    border-radius: var(--border-radius-xl);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

#mental-health-notes::before {
    content: '✦';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 300px;
    opacity: 0.03;
    transform: rotate(15deg);
    pointer-events: none;
}

/* Section Titles */
#mental-health-notes h2 {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#mental-health-notes h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Daily Wellness Grid */
.daily-wellness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 3rem 0;
}

/* Activity Cards */
.wellness-activity-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wellness-activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s var(--transition-smooth);
}

.wellness-activity-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.wellness-activity-card:hover::before {
    transform: scaleX(1);
}

/* Individual Card Gradients */
.wellness-activity-card:nth-child(1) { background: linear-gradient(145deg, #fff5f5, #ffffff); }
.wellness-activity-card:nth-child(2) { background: linear-gradient(145deg, #f0fff4, #ffffff); }
.wellness-activity-card:nth-child(3) { background: linear-gradient(145deg, #fff9e6, #ffffff); }
.wellness-activity-card:nth-child(4) { background: linear-gradient(145deg, #fef3e7, #ffffff); }
.wellness-activity-card:nth-child(5) { background: linear-gradient(145deg, #e6f3ff, #ffffff); }
.wellness-activity-card:nth-child(6) { background: linear-gradient(145deg, #e8f5e9, #ffffff); }
.wellness-activity-card:nth-child(7) { background: linear-gradient(145deg, #fff3e0, #ffffff); }
.wellness-activity-card:nth-child(8) { background: linear-gradient(145deg, #e0f2f1, #ffffff); }

/* Activity Icons */
.activity-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s var(--transition-bounce);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.wellness-activity-card:hover .activity-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

/* Card Titles */
.wellness-activity-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Text */
.wellness-activity-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.wellness-activity-card:hover p {
    opacity: 1;
}

/* Journaling Section */
.journaling-section {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-lg);
}

.journaling-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.journaling-icon {
    font-size: 3rem;
    animation: gentleFloat 3s ease-in-out infinite;
}

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

.journaling-header h3 {
    font-size: 2.2rem;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Journal Prompts Grid */
.journaling-prompts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.journal-prompt {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 1.8rem;
    border-radius: var(--border-radius-md);
    transition: all 0.3s var(--transition-smooth);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.journal-prompt:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.prompt-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.journal-prompt p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0.5rem 0;
}

.journal-prompt small {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    display: block;
}

/* Social Connections */
.social-connections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 4rem 0;
}

.social-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: translateY(100%);
    transition: transform 0.3s var(--transition-smooth);
}

.social-card:hover::after {
    transform: translateY(0);
}

.social-icon {
    font-size: 3.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-card h4 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.social-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Mood Tracker */
.mood-tracker-mini {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.mood-tracker-mini h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mood-emojis {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mood-emoji {
    font-size: 3rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s var(--transition-bounce);
    box-shadow: var(--shadow-sm);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mood-emoji:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.mood-emoji.selected {
    background: var(--primary-gradient);
    transform: scale(1.3);
    box-shadow: var(--shadow-lg);
}

.mood-note {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    padding: 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.mood-note:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.btn-small {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Gratitude Section */
.gratitude-section {
    background: linear-gradient(145deg, #ffffff, #faf5ff);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
}

.gratitude-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 3rem 0;
}

.gratitude-item {
    background: white;
    padding: 2rem 1rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.4s var(--transition-bounce);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.gratitude-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #43e97b;
    box-shadow: var(--shadow-md);
}

.day {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--success-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gratitude-item p {
    font-size: 1.1rem;
    color: #2d3748;
    margin: 0;
}

/* Meditation Timer */
.meditation-mini {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.meditation-mini::before {
    content: '🧘';
    position: absolute;
    right: -30px;
    bottom: -30px;
    font-size: 200px;
    opacity: 0.1;
    transform: rotate(-10deg);
}

.meditation-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.meditation-tips {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-top: 1.5rem;
    backdrop-filter: blur(10px);
}

.meditation-tips p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.meditation-timer {
    text-align: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(255,255,255,0.2);
}

.timer-display {
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.timer-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.timer-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    color: #667eea;
    flex: 1;
    max-width: 120px;
}

.timer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.timer-btn:first-child {
    background: #43e97b;
    color: white;
}

/* Dance Party Section */
.dance-party {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin: 4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.dance-party::before {
    content: '💃🕺';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 150px;
    opacity: 0.1;
    transform: rotate(-5deg);
}

.dance-playlist {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.dance-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-bounce);
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
    font-size: 1.1rem;
}

.dance-btn:hover {
    transform: scale(1.1) rotate(2deg);
    background: white;
    color: #f5576c;
    border-color: transparent;
}

/* Animation for Dance */
@keyframes dance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(-5deg); }
    75% { transform: translateY(15px) rotate(5deg); }
}

.dance-animation {
    animation: dance 0.5s ease infinite !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #mental-health-notes {
        padding: 2rem 1rem;
    }
    
    #mental-health-notes h2 {
        font-size: 2rem;
    }
    
    .daily-wellness-grid {
        grid-template-columns: 1fr;
    }
    
    .meditation-mini {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .dance-party {
        flex-direction: column;
        text-align: center;
    }
    
    .dance-playlist {
        justify-content: center;
    }
    
    .mood-emojis {
        flex-wrap: wrap;
    }
    
    .mood-emoji {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .gratitude-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .wellness-activity-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .social-btn,
    .timer-controls,
    .dance-playlist {
        display: none;
    }
}

/* Skin Health */
.skin-health {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius-lg);
}

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

.skin-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.skin-card h4 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gradient-primary);
}

.skin-card ul {
    list-style: none;
    margin: 1rem 0;
}

.skin-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.skin-card li::before {
    content: '✨';
    position: absolute;
    left: 0;
    opacity: 0.7;
}

.skin-tip {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* Mindful Eating */
.mindful-eating {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.mindful-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.mindful-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mindful-quote::before {
    content: '"';
    position: absolute;
    font-size: 15rem;
    opacity: 0.2;
    top: -50px;
    left: 20px;
    font-family: serif;
}

.mindful-quote p {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.mindful-quote span {
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.mindful-tips {
    list-style: none;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.mindful-tips li {
    padding: 1rem;
    border-bottom: 1px solid var(--light-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mindful-tips li:last-child {
    border-bottom: none;
}

.mindful-tips li::before {
    content: '✓';
    background: var(--gradient-primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Wellness Tips */
.wellness-tips {
    background: var(--light-color);
    padding: 4rem 2rem;
}

.tips-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

/* Micro-habits */
.micro-habits {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.habits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.habit-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.habit-step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.habit-step p {
    color: var(--text-light);
}

.habit-chain {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.chain-day {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.chain-day.completed {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    animation: pop 0.3s ease;
}

.chain-message {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

/* Macronutrients */
.macro-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.macro-card {
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

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

.macro-card h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.macro-card h3 span {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.food-list {
    list-style: none;
    color: var(--text-light);
}

.food-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.food-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* Eat Rainbow */
.rainbow-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.color-category {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.color-category:hover {
    transform: scale(1.05);
}

.color-name {
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
    color: white;
}

.color-category ul {
    list-style: none;
    color: white;
    font-size: 0.9rem;
}

.color-category li {
    margin-bottom: 0.5rem;
}

.red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.orange { background: linear-gradient(135deg, #f39c12, #e67e22); }
.yellow { background: linear-gradient(135deg, #f1c40f, #f39c12); }
.dark-green { background: linear-gradient(135deg, #27ae60, #229954); }
.light-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

/* Hydration Section */
.hydration-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.hydration-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-color);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.hydration-benefits ul {
    list-style: none;
    margin-bottom: 2rem;
}

.hydration-benefits li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.hydration-tip {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.hydration-tip h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Portion Control */
.plate-guide {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.plate-section {
    padding: 3rem 1rem;
    text-align: center;
    color: white;
    transition: var(--transition);
}

.plate-section:hover {
    transform: scale(1.05);
}

.vegetables {
    background: linear-gradient(135deg, #27ae60, #229954);
    flex: 2;
}

.protein {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    flex: 1;
}

.carbs {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    flex: 1;
}

.plate-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Supplements Grid */
.supplements-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.supplement-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.supplement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.supplement-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.supplement-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Motivation Tips */
.motivation-tips {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--fitness-light), white);
    border-radius: var(--border-radius-lg);
}

.motivation-tips .tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.motivation-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.motivation-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: var(--box-shadow-hover);
}

.tip-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--energy-gradient);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--box-shadow);
}

.motivation-card h4 {
    margin: 1rem 0 0.5rem;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.motivation-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Fitness Safety */
.fitness-safety {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.safety-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.safety-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.safety-item:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow-hover);
    background: linear-gradient(135deg, white, var(--fitness-light));
}

.safety-icon {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.safety-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.safety-item p {
    color: var(--text-light);
}

/* ========== RECIPE BOOK FIXED STYLES ========== */

/* Recipe Book Container */
.recipes-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 700px;
}

/* Book Wrapper */
.book-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Book Container - Critical for 3D effect */
.book-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 600px;
    perspective: 2500px;
    transform-style: preserve-3d;
    margin: 0 auto;
}

/* Book Pages - Base Styles */
.book-page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff9e6;
    border-radius: 0 15px 15px 0;
    padding: 2rem;
    box-shadow: 
        -5px 0 15px rgba(0, 0, 0, 0.2),
        5px 5px 20px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #1a252f;
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    font-size: 0.95rem;
    display: none;
    background-image: 
        linear-gradient(rgba(244, 228, 193, 0.3) 1px, transparent 1px);
    background-size: 100% 20px;
}

/* Show pages with active, prev, next classes */
.book-page.active,
.book-page.prev,
.book-page.next {
    display: block;
}

/* ACTIVE PAGE - Fully visible, full opacity */
.book-page.active {
    z-index: 10;
    transform: rotateY(0deg) translateX(0);
    box-shadow: 
        -5px 0 15px rgba(0, 0, 0, 0.2),
        15px 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

/* PREVIOUS PAGE - Turned to left, fully opaque */
.book-page.prev {
    z-index: 5;
    transform: rotateY(25deg) translateX(-50px) scale(0.9);
    filter: brightness(0.95);
    box-shadow: -10px 5px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* NEXT PAGE - Visible but behind, fully opaque */
.book-page.next {
    z-index: 5;
    transform: rotateY(-25deg) translateX(50px) scale(0.9);
    filter: brightness(0.95);
    box-shadow: 10px 5px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Book Spine Effect */
.book-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: -15px;
    width: 15px;
    height: 100%;
    background: linear-gradient(90deg, #1a252f, #2c3e50);
    border-radius: 4px 0 0 4px;
    box-shadow: inset -1px 0 3px rgba(0, 0, 0, 0.3);
    z-index: 20;
}

/* Page Content Layout */
.recipe-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    margin-top: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Scrollbar Styling */
.recipe-content::-webkit-scrollbar {
    width: 6px;
}

.recipe-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.recipe-content::-webkit-scrollbar-thumb {
    background: #f39c12;
    border-radius: 10px;
}

/* Ingredients and Instructions Containers */
.recipe-ingredients-full,
.recipe-instructions {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #e8d9c0;
    max-height: 350px;
    overflow-y: auto;
}

/* Page Number */
.page-number {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-family: 'Courier New', monospace;
    color: #2c1810;
    opacity: 0.5;
    font-size: 0.8rem;
    z-index: 15;
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    background: #2c3e50;
    border: 1px solid white;
    z-index: 15;
}

/* Category-specific colors */
.breakfast .category-badge { background: #f39c12; }
.snack .category-badge { background: #27ae60; }
.main .category-badge { background: #e74c3c; }
.smoothie .category-badge { background: #3498db; }

/* Recipe Title */
.book-page .recipe-title {
    font-size: 1.6rem;
    color: #2c1810;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #f39c12;
    font-family: Georgia, serif;
    text-align: center;
    padding-right: 20px;
}

/* Recipe Meta */
.recipe-meta-full {
    background: rgba(243, 156, 18, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    border: 1px solid #f39c12;
}

.recipe-badge {
    background: white;
    padding: 0.3rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c1810;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #d4c5a5;
}

/* Navigation Controls */
.book-controls {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

.book-nav-btn {
    background: #2c3e50;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    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(0, 0, 0, 0.2);
    border: 2px solid white;
}

.book-nav-btn:hover:not(:disabled) {
    transform: scale(1.1);
    background: #1a252f;
}

.book-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Page Indicator */
.page-indicator {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #2c1810;
    background: rgba(243, 156, 18, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 1px solid #f39c12;
    min-width: 150px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .book-container {
        height: 650px;
    }
    
    .recipe-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .book-page.prev {
        transform: rotateY(20deg) translateX(-30px) scale(0.94);
    }
    
    .book-page.next {
        transform: rotateY(-20deg) translateX(30px) scale(0.94);
    }
}

@media (max-width: 480px) {
    .book-container {
        height: 700px;
    }
    
    .book-page {
        padding: 1.5rem;
    }
    
    .book-page .recipe-title {
        font-size: 1.3rem;
        margin-top: 2rem;
    }
    
    .recipe-meta-full {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recipe-badge {
        text-align: center;
    }
    
    .book-controls {
        gap: 1rem;
    }
    
    .book-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .page-indicator {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
    
    .book-page.prev {
        transform: rotateY(15deg) translateX(-25px) scale(0.95);
    }
    
    .book-page.next {
        transform: rotateY(-15deg) translateX(25px) scale(0.95);
    }
}

/* Additional responsive fixes */
@media (max-width: 768px) {
    .book-container {
        height: 650px;
    }
    
    .recipe-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-height: 500px;
    }
    
    .recipe-ingredients-full,
    .recipe-instructions {
        max-height: 220px;
    }
    
    .book-page {
        padding: 1.5rem 1rem;
    }
    
    .book-page .recipe-title {
        font-size: 1.3rem;
        margin-top: 1.8rem;
        padding-right: 20px;
    }
}

/* ========== TRACKER DASHBOARD STYLES ========== */
.tracker-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.daily-planner {
    grid-column: span 2;
}

.schedule {
    max-height: 400px;
    overflow-y: auto;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--light-color);
}

.time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 60px;
}

.time-slot input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--light-color);
    border-radius: 6px;
    font-family: inherit;
}

.priority-input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
}

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

.todo-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

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

.water-cups {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.water-cup {
    aspect-ratio: 1;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.water-cup.filled {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    transform: scale(1.05);
}

.water-progress-bar {
    height: 10px;
    background: var(--light-color);
    border-radius: 5px;
    margin: 1rem 0;
    overflow: hidden;
}

.water-progress {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 0.3s ease;
}

.week-indicator {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.week-indicator .day {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.week-indicator .day.completed {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.log-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.log-entry select,
.log-entry input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--light-color);
    border-radius: 6px;
}

/* Weekly Overview */
.weekly-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.week-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-top: 1rem;
}

.mini-grid span {
    font-size: 0.8rem;
}

.workout-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.workout-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-color);
}

.workout-dot.filled {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Food Journal */
.food-journal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

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

.meal-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.meal-card textarea {
    width: 100%;
    height: 100px;
    padding: 0.75rem;
    border: 1px solid var(--light-color);
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}

/* Weekly Meal Planner */
.weekly-meal-planner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    overflow-x: auto;
}

.meal-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.meal-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
}

.meal-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--light-color);
}

.meal-table input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--light-color);
    border-radius: 4px;
}

/* Grocery List */
.grocery-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.grocery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.grocery-category {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.grocery-category ul {
    list-style: none;
}

.grocery-category li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

/* Self-Care */
.self-care {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.self-care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.care-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid;
}

.care-card.physical { border-color: #2ecc71; }
.care-card.emotional { border-color: #e74c3c; }
.care-card.spiritual { border-color: #9b59b6; }
.care-card.intellectual { border-color: #3498db; }
.care-card.social { border-color: #f39c12; }
.care-card.financial { border-color: #1abc9c; }

.care-card textarea {
    width: 100%;
    height: 80px;
    padding: 0.75rem;
    border: 1px solid var(--light-color);
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}

/* Tracker Actions */
.tracker-actions {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-tagline {
    font-style: italic;
    margin-top: 1rem;
    color: var(--primary-light) !important;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float-slow {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(15deg) translateY(-30px); }
}

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

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

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes fitnessFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .meal-prep-tips .tips-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: var(--transition);
        padding: 6rem 0 2rem;
        justify-content: flex-start;
    }

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

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 300px;
    }

    .habits-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .pillars-showcase {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .pillar-item {
        min-width: 150px;
    }
    
    .stress-content {
        grid-template-columns: 1fr;
    }
    
    .mindful-content {
        grid-template-columns: 1fr;
    }
    
    .mindful-quote p {
        font-size: 1.5rem;
    }
    
    .tip-banner {
        padding: 2rem;
    }
    
    .tip-banner h3 {
        font-size: 1.8rem;
    }
    
    .tip-banner p {
        font-size: 1.1rem;
    }
    
    .challenge-timeline::before {
        display: none;
    }
    
    .week-card {
        margin-bottom: 1rem;
    }
    
    .safety-item {
        flex-direction: column;
        text-align: center;
    }
    
    .safety-icon {
        margin: 0 auto;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .daily-planner {
        grid-column: span 1;
    }
    
    .time-slot {
        flex-wrap: wrap;
    }
    
    .time {
        min-width: auto;
    }
    
    .meal-table {
        font-size: 0.9rem;
    }
    
    .meal-table th,
    .meal-table td {
        padding: 0.5rem;
    }
    
    .book-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .book-container {
        max-width: 100%;
        height: 600px;
    }
    
    .book-page {
        padding: 1rem;
    }
    
    .book-page .recipe-title {
        font-size: 1.3rem;
        margin-top: 1.8rem;
    }
    
    .recipe-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .recipe-ingredients-full,
    .recipe-instructions {
        max-height: 200px;
    }
    
    .book-controls {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .book-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .page-indicator {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
    
    .book-page.prev {
        transform: rotateY(20deg) translateX(-25px) scale(0.94);
    }
    
    .book-page.next {
        transform: rotateY(-20deg) translateX(25px) scale(0.94);
    }
    
    .meal-prep-tips .tips-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .prep-tip {
        padding: 1.2rem;
    }
    
    .prep-tip p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .floating-card {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .pillars-grid,
    .recipes-grid,
    .benefits-grid,
    .macro-showcase {
        grid-template-columns: 1fr;
    }

    .plate-guide {
        flex-direction: column;
        border-radius: var(--border-radius);
    }

    .plate-section {
        padding: 2rem;
    }

    .page-header {
        padding: 3rem 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pillar-item {
        min-width: 100%;
    }
    
    .mental-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-big {
        font-size: 2.5rem;
    }
    
    .symptoms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .optimization-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .benefits-grid,
    .types-grid,
    .workouts-grid,
    .motivation-tips .tips-container,
    .safety-notes {
        grid-template-columns: 1fr;
    }
    
    .tip-banner h3 {
        font-size: 1.5rem;
    }
    
    .tip-banner p {
        font-size: 1rem;
    }
    
    .workout-details {
        flex-direction: column;
    }
    
    .workout-time,
    .workout-intensity {
        text-align: center;
    }
    
    .book-container {
        height: 650px;
    }
    
    .recipe-meta-full {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .recipe-badge {
        width: 100%;
        text-align: center;
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .category-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
        top: 5px;
        left: 5px;
    }
    
    .book-controls {
        gap: 0.5rem;
    }
    
    .book-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .page-indicator {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .book-page.prev {
        transform: rotateY(15deg) translateX(-20px) scale(0.95);
    }
    
    .book-page.next {
        transform: rotateY(-15deg) translateX(20px) scale(0.95);
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .hamburger, .book-controls, .recipe-filters {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    .page-header {
        background: none;
        color: black;
        padding: 1rem;
    }
    
    .page-header h1 {
        color: black;
        text-shadow: none;
    }
    
    .book-page {
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        page-break-after: always;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .book-page.prev,
    .book-page.next {
        display: none !important;
    }
    
    * {
        break-inside: avoid;
    }
}

/* ========== FEATURED RECIPES GRID ========== */
.featured-recipes {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: var(--border-radius-lg);
}

.featured-recipes .section-title {
    margin-bottom: 3rem;
}

/* Enhanced Recipes Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

/* Recipe Card - Modern Design */
.recipe-card {
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 204, 113, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Background Effect */
.recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.recipe-card:hover::before {
    transform: translateX(0);
}

/* Card Hover Effects */
.recipe-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.15);
    border-color: var(--primary-light);
}

/* Recipe Image/Icon */
.recipe-image {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.recipe-card:hover .recipe-image {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 10px 20px rgba(46, 204, 113, 0.3));
}

/* Recipe Title */
.recipe-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    position: relative;
    padding-bottom: 0.75rem;
}

.recipe-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.recipe-card:hover h3::after {
    width: 80px;
}

/* Recipe Meta (time, servings) */
.recipe-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 204, 113, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    width: fit-content;
}

.recipe-meta::before {
    content: '⏱️';
    margin-right: 0.25rem;
}

/* Ingredients List */
.recipe-ingredients {
    list-style: none;
    margin: 1rem 0 1.5rem;
    flex-grow: 1;
}

.recipe-ingredients li {
    padding: 0.4rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.recipe-ingredients li:last-child {
    border-bottom: none;
}

.recipe-ingredients li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(46, 204, 113, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Recipe Link Button */
.recipe-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: auto;
}

.recipe-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.recipe-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
    border-color: white;
}

.recipe-link:hover::before {
    opacity: 1;
}

.recipe-link::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.recipe-link:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

/* Decorative Background Elements */
.featured-recipes::before {
    content: '🍳';
    position: absolute;
    font-size: 15rem;
    opacity: 0.03;
    left: -50px;
    bottom: -50px;
    transform: rotate(-15deg);
    pointer-events: none;
}

.featured-recipes::after {
    content: '🥗';
    position: absolute;
    font-size: 12rem;
    opacity: 0.03;
    right: -30px;
    top: -30px;
    transform: rotate(15deg);
    pointer-events: none;
}

/* Individual Card Decorations */
.recipe-card:nth-child(1) {
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
}

.recipe-card:nth-child(2) {
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.recipe-card:nth-child(3) {
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
}

/* Card-specific icon animations */
.recipe-card:nth-child(1) .recipe-image {
    animation: float 3s ease-in-out infinite;
}

.recipe-card:nth-child(2) .recipe-image {
    animation: float 3s ease-in-out infinite 0.5s;
}

.recipe-card:nth-child(3) .recipe-image {
    animation: float 3s ease-in-out infinite 1s;
}

/* ========== ENHANCED RECIPE FILTERS ========== */
.recipe-filters {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.filters-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 1.5rem 2rem;
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.filters-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e74c3c, #3498db, #27ae60);
    opacity: 0.5;
}

.filter-btn {
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
    min-width: 120px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff, #fef9e7);
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn.active {
    background: linear-gradient(135deg, #2ecc71, #3498db);
    color: white;
    border-color: white;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
    transform: scale(1.05);
}

.filter-btn.active::after {
    content: '✓';
    margin-left: 8px;
    font-weight: bold;
    animation: checkmark 0.3s ease;
}

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

/* Color-coded filter buttons */
.filter-btn[data-filter="all"]:hover { border-color: #9b59b6; }
.filter-btn[data-filter="breakfast"]:hover { border-color: #f39c12; }
.filter-btn[data-filter="snack"]:hover { border-color: #27ae60; }
.filter-btn[data-filter="main"]:hover { border-color: #e74c3c; }
.filter-btn[data-filter="smoothie"]:hover { border-color: #3498db; }

.filter-btn[data-filter="breakfast"].active { background: linear-gradient(135deg, #f39c12, #e67e22); }
.filter-btn[data-filter="snack"].active { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.filter-btn[data-filter="main"].active { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.filter-btn[data-filter="smoothie"].active { background: linear-gradient(135deg, #3498db, #2980b9); }

/* ========== ENHANCED QUICK SNACK IDEAS GRID ========== */
.snack-ideas {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.snack-ideas::before {
    content: '🍎';
    position: absolute;
    font-size: 15rem;
    opacity: 0.03;
    right: -30px;
    bottom: -50px;
    transform: rotate(15deg);
    pointer-events: none;
}

.snack-ideas::after {
    content: '🥕';
    position: absolute;
    font-size: 12rem;
    opacity: 0.03;
    left: -30px;
    top: -30px;
    transform: rotate(-15deg);
    pointer-events: none;
}

.snack-ideas .section-title {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.snack-ideas .section-title::after {
    content: '🥨';
    font-size: 1.8rem;
}

/* Enhanced Snack Grid */
.snack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.snack-tag {
    background: white;
    padding: 1.2rem 1rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1.4;
    min-height: 70px;
}

.snack-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e74c3c, #3498db, #27ae60);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.snack-tag:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff, #fef9e7);
}

.snack-tag:hover::before {
    transform: translateX(0);
}

/* Individual snack tag styles */
.snack-tag:nth-child(1) { border-left: 4px solid #f39c12; }
.snack-tag:nth-child(2) { border-left: 4px solid #27ae60; }
.snack-tag:nth-child(3) { border-left: 4px solid #3498db; }
.snack-tag:nth-child(4) { border-left: 4px solid #e74c3c; }
.snack-tag:nth-child(5) { border-left: 4px solid #9b59b6; }
.snack-tag:nth-child(6) { border-left: 4px solid #f1c40f; }
.snack-tag:nth-child(7) { border-left: 4px solid #1abc9c; }
.snack-tag:nth-child(8) { border-left: 4px solid #e67e22; }
.snack-tag:nth-child(9) { border-left: 4px solid #e74c3c; }
.snack-tag:nth-child(10) { border-left: 4px solid #3498db; }
.snack-tag:nth-child(11) { border-left: 4px solid #27ae60; }
.snack-tag:nth-child(12) { border-left: 4px solid #f39c12; }

/* Add icons to snack tags */
.snack-tag:nth-child(1)::after { content: '🥜'; }
.snack-tag:nth-child(2)::after { content: '🫐'; }
.snack-tag:nth-child(3)::after { content: '🥜'; }
.snack-tag:nth-child(4)::after { content: '🥕'; }
.snack-tag:nth-child(5)::after { content: '🍌'; }
.snack-tag:nth-child(6)::after { content: '🥚'; }
.snack-tag:nth-child(7)::after { content: '🧀'; }
.snack-tag:nth-child(8)::after { content: '🥜'; }
.snack-tag:nth-child(9)::after { content: '🥑'; }
.snack-tag:nth-child(10)::after { content: '🍊'; }
.snack-tag:nth-child(11)::after { content: '🍫'; }
.snack-tag:nth-child(12)::after { content: '🍅'; }

.snack-tag::after {
    margin-left: 8px;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.snack-tag:hover::after {
    transform: scale(1.2) rotate(5deg);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .snack-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .filter-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .filters-container {
        padding: 1.2rem;
        border-radius: 30px;
    }
    
    .filter-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        min-width: auto;
        flex: 1 1 auto;
    }
    
    .snack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .snack-tag {
        padding: 1rem;
        font-size: 0.95rem;
        min-height: 60px;
    }
    
    .snack-tag::after {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .filters-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
        border-radius: 25px;
    }
    
    .filter-btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .filter-btn.active {
        transform: scale(1.02);
    }
    
    .snack-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .snack-ideas {
        padding: 2rem 1.5rem;
    }
    
    .snack-tag {
        padding: 0.9rem;
        font-size: 0.95rem;
        min-height: 50px;
        justify-content: space-between;
    }
    
    .snack-tag::after {
        font-size: 1.1rem;
    }
}

/* Optional: Animation for snack tags on page load */
@keyframes slideInSnack {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.snack-tag {
    animation: slideInSnack 0.5s ease forwards;
    opacity: 0;
}

.snack-tag:nth-child(1) { animation-delay: 0.05s; }
.snack-tag:nth-child(2) { animation-delay: 0.1s; }
.snack-tag:nth-child(3) { animation-delay: 0.15s; }
.snack-tag:nth-child(4) { animation-delay: 0.2s; }
.snack-tag:nth-child(5) { animation-delay: 0.25s; }
.snack-tag:nth-child(6) { animation-delay: 0.3s; }
.snack-tag:nth-child(7) { animation-delay: 0.35s; }
.snack-tag:nth-child(8) { animation-delay: 0.4s; }
.snack-tag:nth-child(9) { animation-delay: 0.45s; }
.snack-tag:nth-child(10) { animation-delay: 0.5s; }
.snack-tag:nth-child(11) { animation-delay: 0.55s; }
.snack-tag:nth-child(12) { animation-delay: 0.6s; }

/* Wellness Tips Grid Enhancement */
.wellness-tips {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.tips-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tip-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.tip-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.tip-item p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Micro-habits Enhancement */
.micro-habits {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.habit-steps {
    display: grid;
    gap: 1.5rem;
}

.habit-step {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.habit-step:hover {
    transform: translateX(10px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.1);
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(46, 204, 113, 0.3);
}

.habit-visual {
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.habit-chain {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.chain-day {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.chain-day.completed {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
    animation: pop 0.3s ease;
    border-color: white;
}

.chain-day:not(.completed):hover {
    transform: scale(1.1);
    border-color: var(--primary-light);
    background: white;
}

.chain-message {
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(46, 204, 113, 0.1);
    padding: 0.75rem;
    border-radius: 30px;
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

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

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

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

/* Add animation on scroll */
.recipe-card, .tip-item, .habit-step {
    animation: slideIn 0.6s ease forwards;
    opacity: 0;
}

.recipe-card:nth-child(1) { animation-delay: 0.1s; }
.recipe-card:nth-child(2) { animation-delay: 0.2s; }
.recipe-card:nth-child(3) { animation-delay: 0.3s; }

.tip-item:nth-child(1) { animation-delay: 0.1s; }
.tip-item:nth-child(2) { animation-delay: 0.2s; }
.tip-item:nth-child(3) { animation-delay: 0.3s; }
.tip-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .recipes-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .recipe-card {
        padding: 1.5rem;
    }
    
    .recipe-card h3 {
        font-size: 1.3rem;
    }
    
    .habit-chain {
        flex-wrap: wrap;
    }
    
    .chain-day {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .habits-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .featured-recipes {
        padding: 1.5rem;
    }
    
    .recipe-card {
        padding: 1.25rem;
    }
    
    .recipe-image {
        font-size: 3.5rem;
    }
    
    .recipe-card h3 {
        font-size: 1.2rem;
    }
    
    .recipe-meta {
        font-size: 0.85rem;
    }
    
    .recipe-ingredients li {
        font-size: 0.9rem;
    }
    
    .tip-item {
        padding: 1.5rem;
    }
    
    .tip-icon {
        font-size: 2.5rem;
    }
    
    .tip-item p {
        font-size: 0.95rem;
    }
    
    .chain-day {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .featured-recipes {
        background: linear-gradient(135deg, #2c3e50, #34495e);
    }
    
    .recipe-card {
        background: #2c3e50;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .recipe-card h3 {
        color: white;
    }
    
    .recipe-ingredients li {
        color: rgba(255, 255, 255, 0.8);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .recipe-meta {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
    }
    
    .tip-item {
        background: #2c3e50;
    }
    
    .tip-item p {
        color: white;
    }
    
    .habit-step {
        background: #2c3e50;
    }
    
    .habit-step h4 {
        color: white;
    }
    
    .habit-step p {
        color: rgba(255, 255, 255, 0.8);
    }
    
    .habit-visual {
        background: #2c3e50;
    }
    
    .chain-day {
        background: #34495e;
        color: white;
    }
    
    .chain-day:not(.completed):hover {
        background: #2c3e50;
    }
}

/* Additional responsive fixes */
@media (max-width: 768px) {
    .book-container {
        height: 650px; /* Taller on mobile for better readability */
    }
    
    .recipe-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-height: 500px;
    }
    
    .recipe-ingredients-full,
    .recipe-instructions {
        max-height: 220px;
    }
    
    .book-page {
        padding: 1.5rem 1rem;
    }
    
    .book-page .recipe-title {
        font-size: 1.3rem;
        margin-top: 1.8rem;
        padding-right: 20px;
    }
    
    .book-page.prev {
        transform: rotateY(20deg) translateX(-30px) scale(0.94);
    }
    
    .book-page.next {
        transform: rotateY(-20deg) translateX(30px) scale(0.94);
    }
}

/* ========== ENHANCED MENTAL HEALTH SECTION ========== */

.mental-health {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    position: relative;
    background: linear-gradient(135deg, #f9f5ff, #f0f5fa);
    border-radius: 60px 60px 60px 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* Decorative Background Elements */
.mental-health::before {
    content: '🧠';
    position: absolute;
    font-size: 20rem;
    opacity: 0.03;
    right: -50px;
    bottom: -50px;
    transform: rotate(15deg);
    animation: mentalFloat 20s infinite ease-in-out;
}

.mental-health::after {
    content: '💚';
    position: absolute;
    font-size: 15rem;
    opacity: 0.03;
    left: -30px;
    top: -30px;
    transform: rotate(-15deg);
    animation: mentalFloat 25s infinite reverse;
}

/* Section Header Enhancement */
.mental-health .section-title {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.mental-health .section-title::before {
    background: linear-gradient(135deg, #9b59b6, #3498db);
}

.mental-health .section-title::after {
    color: #9b59b6;
    content: '🧘';
    font-size: 1.5rem;
}

/* Mental Stats Grid - More Impactful */
.mental-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.mental-stat {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-radius: 40px 40px 40px 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(155, 89, 182, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.mental-stat:nth-child(2) {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

.mental-stat:nth-child(3) {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.3);
}

.mental-stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.mental-stat:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
}

.mental-stat:hover::before {
    opacity: 1;
}

.stat-big {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    line-height: 1;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.stat-detail {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    display: block;
    position: relative;
    z-index: 2;
}

.stat-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 3rem;
    opacity: 0.2;
    transform: rotate(15deg);
    transition: transform 0.3s ease;
}

.mental-stat:hover .stat-icon {
    transform: rotate(25deg) scale(1.2);
    opacity: 0.3;
}

/* Strategy Grid - Enhanced */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-item {
    background: white;
    border-radius: 30px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Different colored borders for each strategy */
.strategy-item:nth-child(1) { border-top: 4px solid #9b59b6; }
.strategy-item:nth-child(2) { border-top: 4px solid #3498db; }
.strategy-item:nth-child(3) { border-top: 4px solid #2ecc71; }
.strategy-item:nth-child(4) { border-top: 4px solid #f39c12; }
.strategy-item:nth-child(5) { border-top: 4px solid #e74c3c; }
.strategy-item:nth-child(6) { border-top: 4px solid #1abc9c; }

.strategy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.strategy-item:hover:nth-child(1) { background: linear-gradient(135deg, #fff, #f3e5f5); }
.strategy-item:hover:nth-child(2) { background: linear-gradient(135deg, #fff, #e3f2fd); }
.strategy-item:hover:nth-child(3) { background: linear-gradient(135deg, #fff, #e8f5e9); }
.strategy-item:hover:nth-child(4) { background: linear-gradient(135deg, #fff, #fff3e0); }
.strategy-item:hover:nth-child(5) { background: linear-gradient(135deg, #fff, #ffebee); }
.strategy-item:hover:nth-child(6) { background: linear-gradient(135deg, #fff, #e0f2f1); }

/* Strategy Icon Container */
.strategy-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.strategy-item:hover .strategy-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.strategy-icon {
    font-size: 3.5rem;
    display: block;
    animation: gentlePulse 3s infinite ease-in-out;
}

.strategy-item:nth-child(1) .strategy-icon { animation-delay: 0s; }
.strategy-item:nth-child(2) .strategy-icon { animation-delay: 0.2s; }
.strategy-item:nth-child(3) .strategy-icon { animation-delay: 0.4s; }
.strategy-item:nth-child(4) .strategy-icon { animation-delay: 0.6s; }
.strategy-item:nth-child(5) .strategy-icon { animation-delay: 0.8s; }
.strategy-item:nth-child(6) .strategy-icon { animation-delay: 1s; }

.strategy-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.strategy-item h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #9b59b6, #3498db);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.strategy-item:hover h4::after {
    width: 80%;
}

.strategy-item p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.strategy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-top: auto;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.strategy-item:nth-child(2) .strategy-link {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.strategy-item:nth-child(3) .strategy-link {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.strategy-item:nth-child(4) .strategy-link {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.strategy-item:nth-child(5) .strategy-link {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.strategy-item:nth-child(6) .strategy-link {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
}

.strategy-link:hover {
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.strategy-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.strategy-link:hover::after {
    transform: translateX(5px);
}

/* Quick Mental Wellness Tips */
.mental-wellness-tips {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.mental-wellness-tips h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.mental-wellness-tips h3::before,
.mental-wellness-tips h3::after {
    content: '💚';
    font-size: 1.8rem;
    margin: 0 1rem;
    opacity: 0.7;
    animation: gentlePulse 2s infinite;
}

.tips-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #9b59b6 #f0f0f0;
}

.tips-scroll::-webkit-scrollbar {
    height: 8px;
}

.tips-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.tips-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #9b59b6, #3498db);
    border-radius: 10px;
}

.mini-tip {
    flex: 0 0 200px;
    background: white;
    padding: 1.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mini-tip:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #9b59b6;
    box-shadow: 0 15px 30px rgba(155, 89, 182, 0.15);
}

.mini-tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.8rem;
    animation: gentleBounce 3s infinite;
}

.mini-tip p {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mental Health Quote */
.mental-quote {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #9b59b6, #3498db);
    border-radius: 50px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mental-quote::before {
    content: '"';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    left: 20px;
    top: -50px;
    font-family: serif;
    transform: rotate(15deg);
}

.mental-quote::after {
    content: '"';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    right: 20px;
    bottom: -80px;
    font-family: serif;
    transform: rotate(-15deg);
}

.mental-quote p {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.mental-quote span {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    display: block;
    font-style: italic;
}

.mental-quote-icon {
    position: absolute;
    right: 30px;
    bottom: 30px;
    font-size: 3rem;
    opacity: 0.3;
    transform: rotate(10deg);
}

/* Mood Tracker Mini */
.mood-mini {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.mood-mini h4 {
    text-align: center;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.mood-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    max-width: 400px;
    margin: 0 auto;
}

.mood-btn {
    aspect-ratio: 1;
    border: none;
    border-radius: 20px;
    font-size: 1.8rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.mood-btn:hover {
    transform: scale(1.1);
    border-color: #9b59b6;
    box-shadow: 0 10px 20px rgba(155, 89, 182, 0.2);
}

.mood-btn.active {
    background: linear-gradient(135deg, #9b59b6, #3498db);
    color: white;
    transform: scale(1.05);
    border-color: white;
}

/* Animations */
@keyframes mentalFloat {
    0%, 100% {
        transform: rotate(15deg) translateY(0);
    }
    50% {
        transform: rotate(15deg) translateY(-30px);
    }
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .mental-health {
        padding: 3rem 1.5rem;
        border-radius: 40px;
    }
    
    .mental-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-big {
        font-size: 3.5rem;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mental-quote p {
        font-size: 1.5rem;
    }
    
    .mental-quote span {
        font-size: 1rem;
    }
    
    .mood-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    
    .mood-btn {
        font-size: 1.5rem;
    }
    
    .tips-scroll {
        padding-bottom: 1rem;
    }
    
    .mini-tip {
        flex: 0 0 160px;
    }
}

@media (max-width: 480px) {
    .mental-health {
        padding: 2rem 1rem;
        border-radius: 30px;
    }
    
    .mental-health .section-title {
        font-size: 2rem;
    }
    
    .stat-big {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .strategy-item {
        padding: 2rem 1.5rem;
    }
    
    .strategy-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .strategy-icon {
        font-size: 2.8rem;
    }
    
    .strategy-item h4 {
        font-size: 1.3rem;
    }
    
    .mental-quote {
        padding: 2rem 1.5rem;
    }
    
    .mental-quote p {
        font-size: 1.2rem;
    }
    
    .mood-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .mood-mini h4 {
        font-size: 1.1rem;
    }
    
    .mental-wellness-tips h3 {
        font-size: 1.5rem;
    }
    
    .mental-wellness-tips h3::before,
    .mental-wellness-tips h3::after {
        font-size: 1.3rem;
        margin: 0 0.5rem;
    }
}

/* Optional: Add smooth transitions for interactive elements */
.strategy-item,
.mental-stat,
.mood-btn,
.mini-tip {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 480px) {
    .book-container {
        height: 700px;
    }
    
    .recipe-meta-full {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recipe-badge {
        text-align: center;
    }
    
    .book-controls {
        gap: 1rem;
    }
    
    .book-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .page-indicator {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .book-page.prev {
        transform: rotateY(15deg) translateX(-25px) scale(0.95);
    }
    
    .book-page.next {
        transform: rotateY(-15deg) translateX(25px) scale(0.95);
    }
}
