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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0f1729;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #0f1729;
    min-height: 100vh;
}

/* Header Styles */
header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid #1e293b;
    margin-bottom: 40px;
}

.logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

header h1 {
    font-size: 2.5em;
    color: #ffffff;
    margin: 0;
}

header h2 {
    font-size: 2em;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.subtitle {
    color: #9ca3af;
    font-size: 1.1em;
    margin-top: 10px;
}

.back-link {
    display: inline-block;
    color: #a78bfa;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 1em;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

/* Landing Page Styles */
.legal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.legal-card {
    display: block;
    padding: 30px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #334155;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.legal-card:nth-child(2) {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-color: #4c1d95;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(167, 139, 250, 0.2);
    border-color: #a78bfa;
}

.legal-card h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: white;
}

.legal-card p {
    font-size: 1em;
    opacity: 0.95;
    line-height: 1.6;
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content .intro-text {
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #d1d5db;
}

.legal-content h2 {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e293b;
}

.legal-content h3 {
    font-size: 1.3em;
    color: #e5e7eb;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: #d1d5db;
    font-size: 0.95em;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: #d1d5db;
    line-height: 1.7;
}

.legal-content a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #c084fc;
    text-decoration: underline;
}

.legal-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 2px solid #1e293b;
    margin-top: 60px;
    color: #9ca3af;
}

.last-updated {
    font-size: 0.9em;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 48px;
        height: 48px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    header h2 {
        font-size: 1.5em;
    }
    
    .legal-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-card {
        padding: 25px;
    }
    
    .legal-card h2 {
        font-size: 1.5em;
    }
    
    .legal-content h2 {
        font-size: 1.5em;
    }
    
    .container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-header {
        gap: 10px;
    }
    
    header h1 {
        font-size: 1.5em;
    }
    
    header h2 {
        font-size: 1.3em;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .legal-content {
        padding: 0 10px;
    }
    
    .legal-content ul {
        margin-left: 20px;
    }
}

