:root {
    --bg: #0b1020;
    --panel: #121a31;
    --text: #eaf0ff;
    --muted: #aab7d8;
    --brand: #61f2c2;
    --brand-2: #7aa6ff;
    --border: #243050;
}

:root[data-theme="light"] {
    --bg: #f4f7fb;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --brand: #0f766e;
    --brand-2: #2563eb;
    --border: #cbd5e1;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Manrope, sans-serif;
    background: radial-gradient(circle at top right, color-mix(in srgb, var(--brand-2) 18%, var(--bg)) 0%, var(--bg) 45%);
    color: var(--text);
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    background: rgba(11, 16, 32, 0.76);
}

.nav-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.nav-links a.active-lang,
.nav-links a:hover {
    color: var(--brand);
}

.hero {
    padding: 5.5rem 0 4rem;
}

.eyebrow {
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 0.78rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.06;
    margin: 0.4rem 0 1rem;
}

.lead, .section-lead {
    color: var(--muted);
    max-width: 68ch;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.btn {
    display: inline-block;
    padding: 0.78rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--border);
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #071022;
    border: none;
}

.theme-toggle {
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    border-radius: 10px;
    padding: 0.44rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-ghost {
    color: var(--text);
}

.section {
    padding: 4rem 0;
}

.muted {
    background: rgba(18, 26, 49, 0.4);
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    margin: 0 0 0.7rem;
}

.cards,
.steps {
    margin-top: 1.25rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.step,
.contact-box {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(20, 31, 60, 0.72), rgba(12, 19, 38, 0.72));
    padding: 1rem 1rem 1.1rem;
}

.step span {
    color: var(--brand);
    font-weight: 800;
}

.contact {
    padding-top: 2rem;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 1.2rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.93rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-links {
    display: inline-flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--brand);
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 780px) {
    .nav-inner {
        height: auto;
        padding: 0.8rem 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .footer-inner {
        flex-direction: column;
    }
}
