/* Science Page Styles */

/* Science Header */
.science-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0d5d46 100%);
    color: white;
}

.science-header h1 {
    color: white;
}

.science-header p {
    color: rgba(255,255,255,0.9);
}

/* Science Hero */
.science-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-beige) 0%, var(--sand) 100%);
}

.science-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.science-hero-text h2 {
    font-family: var(--font-primary);
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 24px;
    line-height: 1.2;
}

.science-hero-text p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

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

.hero-stat .stat-number {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: 8px;
}

.hero-stat .stat-label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.science-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.date-molecule {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #c8a05f 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: var(--shadow-heavy);
}

.date-molecule::before {
    content: '⚗️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.7;
}

/* Nutritional Profile */
.nutritional-profile {
    padding: 100px 0;
    background: var(--white);
}

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

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 42px;
    color: var(--primary-green);
    margin-bottom: 16px;
}

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

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

.profile-card {
    background: var(--light-beige);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.profile-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.profile-icon i {
    font-size: 32px;
    color: white;
}

.profile-card h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.stat {
    text-align: center;
}

.stat .stat-value {
    display: block;
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: 4px;
}

.stat .stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* Research Section */
.research-section {
    padding: 100px 0;
    background: var(--light-beige);
}

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

.research-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

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

.research-header h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    color: var(--primary-green);
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.research-year {
    background: var(--secondary-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.research-summary {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 14px;
}

.research-findings h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.research-findings ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.research-findings li {
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
}

.research-findings li::before {
    content: '•';
    color: var(--secondary-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.research-journal {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E8E8E8;
}

.research-journal i {
    color: var(--secondary-gold);
    font-size: 16px;
}

.research-journal span {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

.research-cta {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
}

.research-cta h3 {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.research-cta p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background: var(--white);
}

.comparison-table {
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    margin-bottom: 30px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    background: var(--primary-green);
    color: white;
}

.table-cell {
    padding: 20px;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.table-cell:last-child {
    border-right: none;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #E8E8E8;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row .table-cell {
    color: var(--text-dark);
    font-weight: 500;
    border-right: 1px solid #E8E8E8;
}

.table-row .table-cell:first-child {
    background: var(--light-beige);
    font-weight: 600;
    color: var(--primary-green);
}

.table-cell.highlight {
    background: var(--secondary-gold) !important;
    color: white !important;
    font-weight: 700;
}

.comparison-note {
    background: var(--light-beige);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* Expert Opinions */
.expert-opinions {
    padding: 100px 0;
    background: var(--light-beige);
}

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

.expert-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 40px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.expert-photo {
    text-align: center;
    margin-bottom: 24px;
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.expert-avatar.expert-1 {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
}

.expert-avatar.expert-2 {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.expert-avatar.expert-3 {
    background: linear-gradient(135deg, #A8E6CF 0%, #88D8A3 100%);
}

.expert-avatar::before {
    content: '👨‍⚕️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    opacity: 0.7;
}

.expert-content blockquote {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--light-beige);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-gold);
}

.expert-info strong {
    display: block;
    color: var(--primary-green);
    font-family: var(--font-primary);
    font-size: 16px;
    margin-bottom: 4px;
}

.expert-info span {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

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

.faq-item {
    background: var(--light-beige);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-beige);
}

.faq-question h3 {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--primary-green);
    margin: 0;
}

.faq-question i {
    color: var(--secondary-gold);
    font-size: 14px;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

/* Research CTA Section */
.research-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, #0d5d46 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-content .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.cta-content .newsletter-form input {
    background: rgba(255,255,255,0.9);
    color: var(--text-dark);
}

.cta-content .newsletter-form .btn-primary {
    background: var(--secondary-gold);
}

.cta-content .newsletter-form .btn-primary:hover {
    background: var(--light-gold);
}

/* Responsive Science Page */
@media (max-width: 1024px) {
    .science-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .science-hero-image {
        order: -1;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .date-molecule {
        width: 250px;
        height: 250px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .table-header,
    .table-row {
        min-width: 600px;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .science-hero {
        padding: 80px 0 60px;
    }
    
    .science-hero-text h2 {
        font-size: 36px;
    }
    
    .science-hero-text p {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .date-molecule {
        width: 200px;
        height: 200px;
    }
    
    .nutritional-profile,
    .research-section,
    .comparison-section,
    .expert-opinions,
    .faq-section,
    .research-cta-section {
        padding: 60px 0;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .research-card,
    .expert-card {
        padding: 30px 20px;
    }
    
    .faq-item {
        margin-bottom: 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .science-hero-text h2 {
        font-size: 28px;
    }
    
    .date-molecule {
        width: 150px;
        height: 150px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .research-card {
        padding: 25px 15px;
    }
    
    .research-header {
                        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .research-year {
        align-self: flex-end;
    }
    
    .comparison-table {
        font-size: 12px;
    }
    
    .table-cell {
        padding: 15px 10px;
    }
    
    .expert-avatar {
        width: 80px;
        height: 80px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
}