/* Reset and Base Styles for Pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #2D1B69;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E8E4FF;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-brand a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #2D1B69;
}

/* Page Header */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #F8F7FF 0%, #FFF5F5 100%);
    text-align: center;
}

.page-title {
    font-size: 40px;
    font-weight: 800;
    color: #2D1B69;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section.alt-bg {
    background: linear-gradient(135deg, #F8F7FF 0%, #FFF5F5 100%);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2D1B69;
    margin-bottom: 24px;
}

.content-block p {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 24px;
}

/* Features Grid for About Page */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(45, 27, 105, 0.08);
    border: 1px solid #E8E4FF;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2D1B69;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Legal Content Placeholder */
.legal-content {
    min-height: 400px;
}

.placeholder-notice {
    background: linear-gradient(135deg, #E8E4FF 0%, #FFE8E8 100%);
    border: 2px solid #2D1B69;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.placeholder-notice h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2D1B69;
    margin-bottom: 16px;
}

.placeholder-notice p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Legal Content Styling */
.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2D1B69;
    margin-top: 40px;
    margin-bottom: 16px;
    border-bottom: 2px solid #E8E4FF;
    padding-bottom: 8px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}

.contact-info-legal {
    background: linear-gradient(135deg, #E8E4FF 0%, #FFE8E8 100%);
    border-radius: 12px;
    padding: 24px;
    margin-top: 40px;
    border: 1px solid #2D1B69;
}

.contact-info-legal h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2D1B69;
    margin-bottom: 16px;
}

.contact-info-legal p {
    margin-bottom: 8px;
    font-size: 16px;
    color: #2D1B69;
}

/* About Page Enhancements */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.content-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-grid.reverse .content-visual {
    order: -1;
}

.about-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(45, 27, 105, 0.15);
}

.about-illustration {
    width: 100%;
    height: auto;
    max-width: 400px;
}

.content-block.centered {
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 24px;
}

.value-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.value-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2D1B69;
    margin-bottom: 12px;
}

.value-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.future-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #FF6B6B;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #2D1B69;
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #B8B3D4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #B8B3D4;
    line-height: 1.6;
    margin-top: 16px;
}

.footer .logo-brand {
    gap: 8px;
}

.footer .brand-name {
    font-size: 20px;
    color: white;
}

.footer-bottom {
    border-top: 1px solid #3D2B7F;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #B8B3D4;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .content-block h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .content-grid.reverse .content-visual {
        order: 0;
    }
    
    .future-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .placeholder-notice {
        padding: 24px;
    }
}

/* Ensure minimum height for pages */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}