* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 800px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #4a5568;
}

.card p {
    color: #718096;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

footer {
    text-align: center;
    color: white;
    opacity: 0.8;
    margin-top: 40px;
    padding: 20px 0;
}

/* Legal document styles */
.legal-document {
    background: white;
    margin: 20px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    line-height: 1.8;
}

.legal-document h1 {
    color: #2d3748;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.legal-document .last-updated {
    text-align: center;
    color: #718096;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-document h2 {
    color: #4a5568;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
}

.legal-document h3 {
    color: #4a5568;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-document p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-document ul, .legal-document ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-document li {
    margin-bottom: 8px;
}

.back-btn {
    display: inline-block;
    background: #4a5568;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #2d3748;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .legal-document {
        margin: 10px;
        padding: 20px;
    }
    
    .legal-document h1 {
        font-size: 2rem;
    }
}
