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

:root {
    /* Color Palette - Health & Wellness Theme */
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --secondary-color: #3b82f6;
    --secondary-dark: #2563eb;
    --accent-color: #f59e0b;
    --accent-light: #fef3c7;
    --success-color: #22c55e;
    --warning-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px 0;
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    width: 48px;
    height: 48px;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content > p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

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

.stat-card i {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Notice Section */
.notice {
    padding: 40px 0;
    background: var(--bg-white);
}

.notice-box {
    background: var(--accent-light);
    border-left: 5px solid var(--accent-color);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.notice-box i {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.notice-box h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.notice-box p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header i {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Diet Section */
.diet-section {
    padding: 80px 0;
    background: var(--bg-white);
}

/* Meal Structure Timeline */
.meal-structure {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.meal-structure h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
}

.time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 100px;
}

.meal-info {
    flex: 1;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.meal-info h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.meal-info p {
    color: var(--text-light);
}

/* Weekly Plan */
.weekly-plan {
    margin-bottom: 60px;
}

.weekly-plan > h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.day-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.day-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.day-header i {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
}

.day-header h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.meals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.meal-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.meal-card h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.meal-card h5 i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

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

.meal-card ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
}

.meal-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Food Lists */
.food-lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.food-list-card {
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.food-list-card.include {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
    border: 2px solid var(--primary-color);
}

.food-list-card.avoid {
    background: linear-gradient(135deg, #fee2e2 0%, var(--bg-white) 100%);
    border: 2px solid var(--warning-color);
}

.food-list-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.food-list-card.include h3 i {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.food-list-card.avoid h3 i {
    width: 32px;
    height: 32px;
    color: var(--warning-color);
}

.food-grid {
    display: grid;
    gap: 15px;
}

.food-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: var(--bg-white);
    border-radius: 10px;
}

.food-item i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.food-list-card.avoid .food-item i {
    color: var(--warning-color);
}

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

.food-item strong {
    color: var(--text-dark);
}

/* Exercise Section */
.exercise-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.exercise-schedule {
    margin-bottom: 60px;
}

.exercise-schedule h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.schedule-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
}

.schedule-card h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

.schedule-card ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
}

.schedule-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Exercise Images */
.exercise-images {
    margin-bottom: 60px;
}

.exercise-images h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

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

.exercise-image-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.exercise-image-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.exercise-image-card p {
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

/* Exercise Details */
.exercise-details {
    margin-top: 60px;
}

.exercise-details > h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.exercise-category {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.exercise-category h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.exercise-category h4 i {
    width: 28px;
    height: 28px;
    color: var(--secondary-color);
}

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

.exercise-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.exercise-item h5 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.exercise-item p {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.exercise-item strong {
    color: var(--text-dark);
}

/* Tips Section */
.tips-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.tip-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.tip-card i {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tip-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

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

/* Progress Tracker */
.tracker-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline-progress {
    max-width: 900px;
    margin: 0 auto 40px;
}

.progress-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.week-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 140px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.progress-content {
    flex: 1;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.progress-content h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.progress-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.progress-content strong {
    color: var(--primary-color);
}

.total-loss {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.total-loss h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.total-loss .note {
    font-size: 1rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Supplements Section */
.supplements-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.supplements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.supplement-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-top: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.supplement-card:hover {
    transform: translateY(-5px);
}

.supplement-card h4 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #111827 100%);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-section h3 i {
    width: 24px;
    height: 24px;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .meals-grid {
        grid-template-columns: 1fr;
    }

    .food-lists {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

    .progress-item {
        flex-direction: column;
        gap: 15px;
    }

    .week-badge {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }
}