:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--dark);
    background: var(--light);
}

header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 2rem 10%;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.logo { font-size: 1.5rem; font-weight: bold; }

.btn-top {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero strong { color: #60a5fa; }

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

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

section { padding: 3rem 10%; border-bottom: 1px solid #e2e8f0; text-align: center; }

h2 { border-bottom: 3px solid var(--primary); display: inline-block; margin-bottom: 1.5rem; }

pre { 
    text-align: left; 
    white-space: pre-wrap; 
    word-break: break-all; 
    background: #282c34; 
    color: #abb2bf; 
    padding: 15px; 
    border-radius: 5px;
}

.btn-download {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.2s;
}

.btn-download:hover { background: #059669; }

footer {
    background: #1e293b;
    color: white;
    padding: 3rem 10%;
    text-align: center;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    header, section { padding: 2rem 5%; }
    nav { flex-direction: column; gap: 20px; }
    .lang-container { columns: 1 !important; }
}
