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

body {
    min-height: 100vh;
    background: #0f0f1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
}

/* ── LANGUAGE TOGGLE ── */
.lang-ru { display: none; }
.lang-is-ru .lang-en { display: none; }
.lang-is-ru .lang-ru { display: block; }

/* inline span override */
.lang-is-ru span.lang-en { display: none; }
.lang-is-ru span.lang-ru { display: inline; }
span.lang-ru { display: none; }

/* ── NAV ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid #1e1e2e;
    position: sticky;
    top: 0;
    background: #0f0f1a;
    z-index: 10;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-btn {
    background: transparent;
    border: 1px solid #2e2e4a;
    color: #8e8ea0;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
    border-color: #2ea6ff;
    color: #fff;
}

/* ── HERO ── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 60px;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2ea6ff;
    box-shadow: 0 0 40px rgba(46, 166, 255, 0.3);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, #2ea6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 17px;
    color: #8e8ea0;
    max-width: 420px;
    line-height: 1.6;
    margin-bottom: 36px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: #2ea6ff;
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #1a8fe0;
    transform: scale(1.03);
}

.btn-primary svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

/* ── FEATURES ── */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: #16162a;
    border: 1px solid #1e1e2e;
    border-radius: 16px;
    padding: 24px;
    width: 200px;
    text-align: center;
}

.feature-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: #8e8ea0;
    line-height: 1.5;
}

/* ── LEGAL PAGES ── */
.legal-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    animation: fadeIn 0.4s ease;
}

.legal-container h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-meta {
    color: #8e8ea0;
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-container h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: #2ea6ff;
}

.legal-container p {
    color: #c0c0d0;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 15px;
}

.legal-container ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal-container li {
    color: #c0c0d0;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 4px;
}

.legal-container a {
    color: #2ea6ff;
    text-decoration: none;
}

.legal-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.legal-container th,
.legal-container td {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #1e1e2e;
    color: #c0c0d0;
}

.legal-container th {
    background: #16162a;
    color: #fff;
}

/* ── CONTACT ── */
.contact-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.contact-container h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-container p {
    color: #8e8ea0;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-email {
    display: inline-block;
    padding: 14px 32px;
    background: #16162a;
    border: 1px solid #2ea6ff;
    border-radius: 12px;
    color: #2ea6ff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s;
}

.contact-email:hover {
    background: #1e1e3a;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid #1e1e2e;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

footer span {
    color: #555;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #8e8ea0;
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    nav { padding: 12px 16px; }
    footer { flex-direction: column; text-align: center; }
}
