/* ========================================
   PAGES.CSS - Additional Page Styles
   For About, Terms, Refund, Privacy pages
   ======================================== */

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* ========== ABOUT PAGE ========== */
.about-content {
    padding: var(--section-padding) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

.content-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

.content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mission-list {
    list-style: none;
    margin-top: 24px;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.mission-list li:last-child {
    border-bottom: none;
}

.mission-list i {
    color: var(--success);
    font-size: 24px;
    margin-top: 4px;
}

/* ========== VALUES SECTION ========== */
.values-section {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

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

.value-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    border: 2px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

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

.value-icon i {
    font-size: 36px;
    color: var(--white);
}

.value-card h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 16px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== TEAM SECTION ========== */
.team-section {
    padding: var(--section-padding) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
}

.member-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 100%);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-social {
    opacity: 1;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
}

.team-member h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 8px;
}

.team-member p {
    color: var(--text-light);
    font-size: 15px;
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

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

.cta-content h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

/* ========== LEGAL CONTENT ========== */
.legal-content {
    padding: 80px 0 var(--section-padding);
    background: var(--white);
}

.legal-article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.legal-intro {
    background: var(--bg-alt);
    padding: 28px;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    margin-bottom: 48px;
}

.legal-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.legal-article h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.legal-article h2:first-of-type {
    margin-top: 0;
}

.legal-article h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-article p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

.legal-article ul,
.legal-article ol {
    margin: 20px 0;
    padding-left: 24px;
}

.legal-article li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 12px;
}

.legal-article ul li {
    list-style: disc;
}

.legal-article ol li {
    list-style: decimal;
}

.legal-article strong {
    color: var(--dark);
    font-weight: 600;
}

.legal-article a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-article a:hover {
    color: var(--primary-dark);
}

.contact-box {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border);
    margin: 32px 0;
}

.contact-box p {
    margin-bottom: 12px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box i {
    color: var(--primary);
    margin-right: 8px;
    width: 20px;
}

.legal-footer {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    padding: 28px;
    border-radius: 12px;
    margin-top: 48px;
    border: 1px solid var(--border);
}

.legal-footer p {
    margin: 0;
    font-size: 15px;
    color: var(--text);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 42px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legal-article {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 80px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .content-text h2 {
        font-size: 32px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h2 {
        font-size: 48px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .legal-article {
        padding: 28px 20px;
    }
    
    .legal-article h2 {
        font-size: 24px;
    }
    
    .legal-article h3 {
        font-size: 20px;
    }
}