/* General Pages Styling (About, Contact, Portion Guide, Legal Pages) */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 80px 0;
    background: #f9fafb;
}

.content-section {
    margin-bottom: 80px;
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: #111827;
}

/* Story Content */
.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
    color: #4f46e5;
    margin-bottom: 32px;
}

.story-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 24px;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0;
}

.highlight-box h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
}

/* Features Comparison */
.features-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comparison-card.highlight {
    border: 3px solid #4f46e5;
    position: relative;
}

.comparison-card.highlight::before {
    content: '⭐ Best Choice';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.comparison-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.comparison-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #111827;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card li {
    padding: 12px 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-card li:last-child {
    border-bottom: none;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111827;
}

.value-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    border-radius: 24px;
    margin: 80px 0;
}

.stats-section .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-label {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 600;
}

/* Commitments */
.commitments {
    max-width: 900px;
    margin: 0 auto;
}

.commitment-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.commitment-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.commitment-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111827;
}

.commitment-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: transparent;
}

.cta-box-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cta-box-large h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box-large p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #4f46e5;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4f46e5;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form-container h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #111827;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #111827;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.contact-method i {
    font-size: 32px;
    color: #4f46e5;
    flex-shrink: 0;
}

.contact-method-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.contact-method-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 4px;
}

.contact-method-content a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

.contact-method-content a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 28px 32px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.faq-toggle {
    font-size: 24px;
    color: #4f46e5;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 16px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.8;
}

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

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-comparison {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-box-large h2 {
        font-size: 28px;
    }
    
    .cta-box-large p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .lead-text {
        font-size: 20px;
    }
    
    .story-content p {
        font-size: 16px;
    }
    
    .comparison-card,
    .value-card,
    .contact-info,
    .contact-form-container {
        padding: 24px;
    }
    
    .highlight-box,
    .cta-box-large {
        padding: 32px 24px;
    }
}