/* ===== PAGE HEADERS ===== */
.page-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 40px 2rem 60px;
    text-align: center;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 4rem 2rem;
}

.content-section {
    margin-bottom: 4rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* ===== ABOUT PAGE STYLES ===== */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.section-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-text h2 i {
    color: var(--primary);
}

.section-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.value-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: var(--transition);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.features-list {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-check {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.feature-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.stat-card {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

/* ===== CONTACT PAGE STYLES ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper .form-card,
.info-card,
.faq-card,
.social-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-form-wrapper h2,
.info-card h3,
.faq-card h3,
.social-card h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: var(--radius-sm);
    background: var(--textarea-bg, rgba(0, 0, 0, 0.04));
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-text a,
.contact-text span {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--primary);
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1rem 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn.github {
    background: #333;
    color: white;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== PRIVACY PAGE STYLES ===== */
.page-content .privacy-content {
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

.privacy-highlight {
    background: linear-gradient(135deg, rgba(56, 239, 125, 0.08) 0%, rgba(17, 153, 142, 0.08) 100%);
    border: 2px solid rgba(17, 153, 142, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.privacy-highlight h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.privacy-highlight p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.privacy-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    width: 100%;
}

.privacy-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.privacy-section h3 i {
    flex-shrink: 0;
}

.privacy-text h4 {
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.privacy-text h4:first-child {
    margin-top: 0;
}

.privacy-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-text p:last-child {
    margin-bottom: 0;
}

.privacy-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-text li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.privacy-text li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.privacy-text li .fa-check-circle {
    color: #11998e;
}

body.dark-theme .privacy-text li .fa-check-circle {
    color: var(--success);
}

.privacy-text li .fa-times-circle {
    color: var(--danger);
}

.privacy-text .contact-info {
    background: rgba(102, 126, 234, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

.privacy-text .contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-text .contact-info p:last-child {
    margin-bottom: 0;
}

.privacy-text .contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05rem;
}

.privacy-text .contact-info a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .section-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-header {
        padding: 30px 1.5rem 50px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .privacy-section {
        padding: 1.5rem;
    }

    .privacy-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-check {
        margin: 0 auto;
    }

    .page-title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .privacy-highlight {
        padding: 1.5rem;
    }

    .privacy-highlight h2 {
        font-size: 1.4rem;
    }

    .privacy-text li {
        font-size: 0.95rem;
    }
}