/* Page-specific styles */

/* Navigation active state */
.nav a.active {
    color: #007AFF;
    font-weight: 600;
}

/* Page content layout */
.page-content {
    padding: 4rem 0;
    background: white;
    min-height: 60vh;
}

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

.content-text {
    padding: 2rem 0;
}

.page-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
}

.content-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.2;
}

.content-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: #007AFF;
    border-radius: 50%;
}

/* Phone mockup styles */
.phone-mockup {
    background: #333;
    border-radius: 25px;
    padding: 20px;
    width: 250px;
    height: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    background: white;
    border-radius: 20px;
    height: 100%;
    padding: 20px;
    overflow: hidden;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.app-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.med-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item .label {
    font-weight: 500;
    color: #666;
}

.info-item .value {
    font-weight: 600;
    color: #333;
}

/* Nutrition page specific styles */
.nutrition-layout {
    grid-template-columns: 1fr 1fr;
}

.nutrition-visual {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.nutrition-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(0, 122, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.meal-planning-interface {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.meal-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.category {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category.active {
    background: #007AFF;
    color: white;
}

.food-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.food-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.food-item:hover {
    transform: translateY(-2px);
}

.food-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.food-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    text-align: center;
}

/* Fitness page specific styles */
.fitness-guide {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.exercise-section {
    margin-bottom: 2rem;
}

.exercise-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.exercise-demos {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.exercise-demo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Privacy page specific styles */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Medical disclaimer warning boxes */
.disclaimer-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.disclaimer-warning h2 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.disclaimer-warning p {
    color: #856404;
    font-weight: 500;
    margin-bottom: 0;
}

/* Learn More page specific styles */
.learn-more-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.learn-more-content h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
    text-align: center;
}

.content-section {
    margin-bottom: 4rem;
    text-align: left;
    color: #4a5568;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.content-section p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Problem Card Styling */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6b6b;
}

.problem-card {
    border-left: 4px solid #ff6b6b;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.problem-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.problem-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
}

.problem-conclusion {
    font-weight: 600;
    color: #2d3748;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Solution Features Styling */
.solution-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #007AFF;
}

.feature-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.feature-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-content p:last-child {
    margin-bottom: 0;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

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

.tech-feature {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007AFF;
}

.tech-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.tech-feature p {
    color: #4a5568;
    line-height: 1.6;
}

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

.guideline-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.guideline-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #007AFF;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.guideline-category ul {
    list-style: none;
    padding: 0;
}

.guideline-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5568;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.guideline-category li:last-child {
    border-bottom: none;
}

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

.benefit-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.benefit-item p {
    color: #4a5568;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Simplified sections with more color */
/* Guidelines Grid Styling */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.guideline-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow 0.3s ease;
}

.guideline-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.guideline-icon {
    background: #007AFF;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.guideline-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.guideline-card p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 0;
}

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

.benefits-simple .benefit-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #007AFF;
    transition: transform 0.3s ease;
}

.benefits-simple .benefit-item:hover {
    transform: translateY(-5px);
}

.benefits-simple .benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.benefits-simple .benefit-item p {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0;
}

/* Disclaimer Card Styling */
.disclaimer-card {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1976d2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.disclaimer-card p {
    color: #424242;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.privacy-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.last-updated {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.privacy-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.privacy-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #333;
}

.privacy-card h2:first-child {
    margin-top: 0;
}

.privacy-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: #333;
}

.privacy-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-card ul {
    margin: 1rem 0 1rem 2rem;
    color: #666;
}

.privacy-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Responsive design for pages */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nutrition-layout {
        grid-template-columns: 1fr;
    }
    
    .content-text h1 {
        font-size: 2rem;
    }
    
    .page-icon {
        font-size: 3rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .food-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .privacy-content h1 {
        font-size: 2rem;
    }
    
    .privacy-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 2rem 0;
    }
    
    .content-text h1 {
        font-size: 1.8rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .food-items {
        grid-template-columns: 1fr;
    }
    
    .meal-categories {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .exercise-demos {
        flex-direction: column;
        align-items: center;
    }
}
