: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;
    letter-spacing: 0.5px;
}

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

.btn-top:hover {
    background: #1d4ed8;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero strong { color: #60a5fa; }
.hero p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

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

.card {
    background: white;
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

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

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

pre {
    text-align: left;
    white-space: pre-wrap;
    word-break: break-all;
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid #334155;
    overflow-x: auto;
}

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

.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: 2.5rem 5%; }
    nav { flex-direction: column; gap: 20px; }
    .lang-container { columns: 1 !important; }
}
