/* Pages CSS - Styling for legal and informational pages */

/* Page Container */
.page-container {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #E0F2E9 0%, #C8E6C9 100%);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #1B5E20;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    color: #2E7D32;
}

/* Legal Content */
.legal-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1B5E20;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #388E3C;
}

.legal-section h3 {
    color: #2E7D32;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 1.5rem 0 0.8rem 0;
}

.legal-section p {
    color: #2E7D32;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: #2E7D32;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* About Us Content */
.about-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    color: #1B5E20;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.about-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #E0F2E9, #C8E6C9);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.about-section p {
    color: #2E7D32;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E0F2E9, #C8E6C9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon .material-icons, .feature-icon i {
    color: #1B5E20;
    font-size: 2rem;
}

.feature-card h3 {
    color: #1B5E20;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #2E7D32;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Values List */
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #388E3C;
}

.value-item h3 {
    color: #1B5E20;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.value-item p {
    color: #2E7D32;
    line-height: 1.6;
    margin: 0;
}

/* Account Types */
.account-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.account-type {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.account-type.premium {
    background: linear-gradient(135deg, #E0F2E9, #C8E6C9);
    color: #1B5E20;
    border: 2px solid #388E3C;
}

.account-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.account-type h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.account-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-type li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.account-type.premium li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E0F2E9, #C8E6C9);
    color: #1B5E20;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #1B5E20;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #2E7D32;
    line-height: 1.6;
    margin: 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #2E7D32;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list .material-icons, .benefits-list i {
    color: #4CAF50;
    font-size: 1.5rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #2E7D32;
}

.contact-item .material-icons, .contact-item i {
    color: #388E3C;
}

/* FAQ Content */
.faq-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.faq-category {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #555;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.faq-category:hover {
    background: #e9ecef;
}

.faq-category.active {
    background: linear-gradient(135deg, #E0F2E9, #C8E6C9);
    color: #1B5E20;
    border-color: #388E3C;
}

/* FAQ Sections */
.faq-sections {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    color: #1B5E20;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.faq-question .material-icons, .faq-question i {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background: white;
    display: none;
}

.faq-answer p {
    color: #2E7D32;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .legal-content,
    .about-content,
    .faq-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .values-list,
    .account-types,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-category {
        width: 200px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-content,
    .about-content,
    .faq-content {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .feature-card,
    .account-type {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Animation for FAQ items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer.show {
    animation: fadeIn 0.3s ease;
}

/* Print Styles */
@media print {
    .page-container {
        background: white;
        padding: 0;
    }
    
    .page-header {
        color: black;
        text-shadow: none;
    }
    
    .legal-content,
    .about-content,
    .faq-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .faq-categories {
        display: none;
    }
    
    .faq-answer {
        display: block !important;
    }
}
