/* Reset và thiết lập cơ bản */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container chính */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 40px;
}

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

/* Language switcher */
.language-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.lang-btn {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border-color: white;
    font-weight: 600;
}

/* Main content */
main {
    padding: 0 40px;
}

/* Policy sections */
.policy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.policy-section h2 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    position: relative;
}

.policy-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e74c3c;
}

.policy-section p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1.05em;
    line-height: 1.8;
}

.policy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section li {
    margin-bottom: 8px;
    padding-left: 10px;
    position: relative;
}

.policy-section li::before {
    content: '▶';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 60px;
    padding: 30px 40px;
    text-align: center;
    background: #2c3e50;
    color: white;
}

footer hr {
    border: none;
    height: 1px;
    background: #34495e;
    margin-bottom: 20px;
}

footer p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .language-switcher {
        gap: 10px;
        margin-top: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    main {
        padding: 0 20px;
    }
    
    .policy-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .policy-section h2 {
        font-size: 1.2em;
    }
    
    footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    
    .language-switcher {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.75em;
    }
    
    main {
        padding: 0 10px;
    }
    
    .policy-section {
        padding: 15px;
    }
    
    .policy-section h2 {
        font-size: 1.1em;
    }
    
    .policy-section p {
        font-size: 1em;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Animation cho sections - chỉ dùng JavaScript control */
.js .policy-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.js .policy-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Đảm bảo sections hiển thị nếu JavaScript không load */
.no-js .policy-section {
    opacity: 1;
    transform: translateY(0);
}

/* Highlight text selection */
::selection {
    background-color: #3498db;
    color: white;
} 
