@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --bg-main: #0b1117;
    --bg-alt: #111a22;
    --accent: #3da9fc;
    --accent-soft: #6c7a89;
    --text-main: #e6edf3;
    --text-muted: #9aa7b2;
    --border: #1f2a35;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
}

/* ---------- HEADER ---------- */
header {
    background: radial-gradient(circle at top, #14202b, var(--bg-main));
    padding: 120px 20px 100px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header p {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.lang {
    margin-top: 25px;
    font-size: 0.9rem;
}

.lang a {
    color: var(--accent-soft);
    text-decoration: none;
    margin: 0 5px;
}

.lang a:hover {
    color: var(--accent);
}

/* ---------- NAV ---------- */
nav {
    position: sticky;
    top: 0;
    background: rgba(11, 17, 23, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 18px 22px;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--accent);
}

/* ---------- SECTIONS ---------- */
section {
    max-width: 1100px;
    margin: auto;
    padding: 90px 20px;
}

section.light {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

p {
    max-width: 800px;
    color: var(--text-muted);
}

/* ---------- BUTTON ---------- */
.btn {
    display: inline-block;
    margin-top: 35px;
    padding: 14px 34px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent);
    color: #000;
}

/* ---------- GRID ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.grid li {
    list-style: none;
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 22px;
    font-size: 0.95rem;
    transition: border 0.3s ease;
}

.grid li:hover {
    border-color: var(--accent);
}

/* ---------- FORM ---------- */
form {
    max-width: 600px;
}

input, textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 14px;
    margin-bottom: 18px;
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

button {
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 14px;
    cursor: pointer;
}

button:hover {
    background: var(--accent);
    color: #000;
}

/* ---------- FOOTER ---------- */
footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--accent-soft);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    section {
        padding: 70px 20px;
    }
}