:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-color: #28a745;
    --bg-light: #f8f9fa;
    --header-shadow: 0 10px 30px rgba(30, 32, 75, 0.18);
}

body {
    background-color: var(--bg-light);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Header Styling */
.app-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: var(--header-shadow);
    padding: 0.6rem 0;
    backdrop-filter: blur(8px);
}

.app-header .navbar {
    padding: 0;
}

.app-header .container {
    padding: 0;
}

.app-header .navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.app-header .navbar-brand:hover {
    opacity: 0.9;
}

.app-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    color: white;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}

.app-header .navbar-nav {
    gap: 0.2rem;
}

.app-header .nav-link {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.app-header .nav-link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
    height: 2px;
    background: #667eea;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.app-header .nav-link:hover,
.app-header .nav-link.active {
    color: #667eea;
}

.app-header .nav-link:hover::after,
.app-header .nav-link.active::after {
    transform: scaleX(1);
}

.app-header .btn-cta {
    background: linear-gradient(135deg, #139b89 0%, #0b6f64 100%);
    color: #ffffff;
    font-weight: 600;
   padding: 0.55rem 2.4rem;
border-radius: 14px;
text-align: center;
width: 237px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(12, 111, 100, 0.22);
    border: 1px solid rgba(11, 111, 100, 0.35);
    text-decoration: none;
    letter-spacing: 0.2px;
}

.app-header .btn-cta:hover {
    background: linear-gradient(135deg, #12a091 0%, #0a5f57 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(12, 111, 100, 0.3);
    text-decoration: none;
}

.app-header .btn-cta[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.9;
}

.app-header .btn-cta small {
    font-size: 0.78em;
    opacity: 0.85;
}

.app-header .btn-cta::after {
    display: none;
}

.app-header .navbar-toggler {
    border-color: rgba(102, 126, 234, 0.3);
}

.app-header .navbar-toggler-icon {
    filter: none;
}

.app-header .navbar-collapse {
    border-radius: 16px;
}

@media (max-width: 991.98px) {
    .app-header .navbar-collapse {
        background: #ffffff;
        padding: 0.75rem 1rem;
        margin-top: 0.75rem;
        box-shadow: 0 10px 24px rgba(24, 30, 88, 0.2);
    }
}

.scroll-section {
    scroll-margin-top: 90px;
}

.app-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.btn-generate {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-generate:hover:not(:disabled) {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-generate:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Main Content */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Prompt Box */
.prompt-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.prompt-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

#promptBox {
    min-height: 320px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#promptBox:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
}

#promptBox::placeholder {
    color: #adb5bd;
}

.char-counter {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: right;
    margin-top: 0.5rem;
}

.char-counter.warning {
    color: #dc3545;
}

/* Topic Pills */
.topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.topic-pill {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    color: #495057;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.topic-pill i {
    color: #667eea;
}

/* Modal Styling */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.result-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.7;
    color: #333;
}

.result-content strong {
    color: #667eea;
}

/* Loading Spinner */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Error Alert */
.error-alert {
    border-radius: 12px;
    border-left: 4px solid #dc3545;
}

/* Footer */
.app-footer {
    text-align: center;
    padding: 1.5rem;
    color: #6c757d;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .app-title {
        font-size: 1.2rem;
    }

    #promptBox {
        min-height: 250px;
    }

    .btn-generate {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Header Responsive */
@media (max-width: 992px) {
    .app-header .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .app-header .nav-item {
        margin-bottom: 0.5rem;
    }

    .app-header .nav-link {
        padding: 0.625rem 1rem;
        display: block;
        border-radius: 8px;
    }

    .app-header .btn-cta {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 0.5rem 0;
    }

    .brand-text {
        font-size: 1.25rem;
    }

    .app-logo {
        height: 32px;
    }
}

/* New UI Sections - Professional Styling */
.preview-sections-wrapper {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 50%);
    padding: 0;
    margin-top: 0;
}

.disclaimer-note {
    background: transparent;
    border: none;
    padding: 1.25rem 0;
    margin-bottom: 4rem;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c757d;
    font-size: 0.925rem;
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.disclaimer-content i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Hero Showcase Section */
.hero-showcase-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.hero-showcase-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    /* text-align: center; */
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #128C7E;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.phone-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.phone-mockup-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-showcase-section {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

.nutrolis-section {
    max-width: 1140px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.02em;
}

/* HOW IT WORKS SECTION */
.section-how-it-works {
    position: relative;
}

.how-it-works-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.how-it-works-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.12);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(102, 126, 234, 0.08);
    line-height: 1;
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    transform: rotate(-5deg);
}

.step-icon {
    position: relative;
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.step-description {
    font-size: 0.975rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: rgba(102, 126, 234, 0.3);
    animation: arrowFloat 2s ease-in-out infinite;
}

@keyframes arrowFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(5px); }
}

/* MEAL PLAN SECTION */
.meal-plan-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.meal-plan-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.meal-plan-header i {
    color: #667eea;
    font-size: 1.25rem;
}

.meal-plan-header span {
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.daily-totals {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.total-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.meals-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.meal-card {
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.meal-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
}

.meal-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.meal-time-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.meal-time-badge.breakfast {
    background: linear-gradient(135deg, #ffd89b 0%, #ff9a56 100%);
    color: white;
}

.meal-time-badge.lunch {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    color: white;
}

.meal-time-badge.dinner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.meal-info {
    flex: 1;
}

.meal-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.meal-time {
    font-size: 0.825rem;
    color: #6c757d;
    font-weight: 500;
}

.meal-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.meal-items-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.925rem;
}

.meal-items-list li:last-child {
    border-bottom: none;
}

.item-name {
    color: #333;
    font-weight: 500;
}

.item-qty {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.875rem;
}

.meal-macros {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meal-macros span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.825rem;
    color: #495057;
    font-weight: 600;
    background: white;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.meal-macros i {
    font-size: 0.875rem;
    color: #667eea;
}

.meal-plan-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.75rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-note {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.925rem;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    min-width: 250px;
}

.footer-note i {
    color: #667eea;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* PROGRESS TRACKING SECTION */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.metric-card.metric-calories::before {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
}

.metric-card.metric-protein::before {
    background: linear-gradient(90deg, #4ecdc4 0%, #44a08d 100%);
}

.metric-card.metric-fiber::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.metric-card.metric-water::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.metric-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.metric-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.metric-calories .metric-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 142, 83, 0.15) 100%);
    color: #ff6b6b;
}

.metric-protein .metric-icon-wrapper {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15) 0%, rgba(68, 160, 141, 0.15) 100%);
    color: #4ecdc4;
}

.metric-fiber .metric-icon-wrapper {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.15) 100%);
    color: #f093fb;
}

.metric-water .metric-icon-wrapper {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.15) 100%);
    color: #4facfe;
}

.metric-details {
    flex: 1;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.metric-total {
    font-size: 1rem;
    font-weight: 600;
    color: #adb5bd;
}

.metric-percentage {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
}

.metric-progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.metric-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-calories .metric-progress-fill {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
}

.metric-protein .metric-progress-fill {
    background: linear-gradient(90deg, #4ecdc4 0%, #44a08d 100%);
}

.metric-fiber .metric-progress-fill {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.metric-water .metric-progress-fill {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.metric-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #495057;
    margin: 0;
    font-weight: 500;
}

.metric-status i {
    color: #667eea;
    font-size: 1rem;
}

.progress-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 24px;
    color: white;
}

.footer-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-info i {
    font-size: 2rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.footer-info strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.footer-info p {
    opacity: 0.9;
    font-size: 0.925rem;
    line-height: 1.5;
}

/* SHARED BUTTON STYLES */
.btn-preview-disabled {
    background: white;
    color: #667eea;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    cursor: not-allowed;
    opacity: 0.9;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.progress-footer .btn-preview-disabled {
    border-color: white;
}

.disclaimer-note {
    margin-bottom: 3rem;
}

    .section-how-it-works {
        padding-top: 1rem;
    }


/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .preview-sections-wrapper {
        padding: 3rem 0 4rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .step-arrow {
        display: none !important;
    }

    .meals-grid {
        grid-template-columns: 1fr;
    }

    .progress-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        margin-bottom: 1.5rem;
    }

    .progress-footer .btn-preview-disabled {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .how-it-works-card {
        padding: 2rem 1.5rem;
    }

    .meal-plan-header,
    .meal-plan-footer {
        padding: 1.25rem 1.5rem;
    }

    .meals-grid {
        padding: 1.5rem;
    }

    .meal-plan-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-preview-disabled {
        width: 100%;
        justify-content: center;
    }
}

/* PROFESSIONAL FOOTER */
.main-footer {
    background-color: #ffffff;
    color: #6c757d;
    margin-top: auto;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 48px;

    width: 130px;
}

.footer-social i {
    transition: transform 0.2s;
}

.footer-social i:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #f8f9fa;
    padding: 1.75rem 0;
}


@media (max-width: 992px) {
    .footer-content {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-badges {
        justify-content: center;
    }

    .footer-copyright {
        text-align: center !important;
    }
}
