:root {
    --red: #CC1414;
    --gold: #F5A800;
    --dark: #1A1A1A;
    --gray: #6B7280;
    --light-gray: #F9FAFB;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-red  { color: var(--red); }
.text-gold { color: var(--gold); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}
.btn--primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn--primary:hover {
    background: #aa1010;
    border-color: #aa1010;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(204,20,20,0.35);
}
.btn--outline {
    border-color: var(--dark);
    color: var(--dark);
    background: transparent;
}
.btn--outline:hover {
    background: var(--dark);
    color: var(--white);
}
.btn--ghost {
    color: var(--gray);
    border-color: var(--border);
    background: transparent;
}
.btn--ghost:hover {
    border-color: var(--gray);
    color: var(--dark);
}

/* ── Badge ── */
.badge {
    display: inline-block;
    background: rgba(204,20,20,0.1);
    color: var(--red);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ── Nav ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 8px;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
}
.nav__logo { height: 100px; width: auto; }
.nav__name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    line-height: 1;
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav__link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.nav__link:hover {
    color: var(--dark);
    background: var(--light-gray);
}
.nav__right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.04em;
    transition: border-color 0.15s;
}
.lang-toggle:hover { border-color: var(--gray); }
.lang-toggle__option {
    color: var(--gray);
    padding: 2px 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.15s;
}
.lang-toggle__option.active { color: var(--red); }
.lang-toggle__sep { color: var(--border); user-select: none; }

/* ── Nav collapse (desktop: inline flex; mobile: dropdown) ── */
.nav__collapse {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 28px;
}
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.nav__burger:hover { background: var(--light-gray); }
.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
    padding: 96px 0 80px;
    background: linear-gradient(155deg, #ffffff 55%, #fff8e1 100%);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero__subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 36px;
}
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero__visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hero__logo {
    width: 700px;
    max-width: 100%;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.18));
}

/* ── Section header ── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--gray);
}

/* ── Features ── */
.features {
    padding: 96px 0;
    background: var(--white);
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.feature-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ── How it works ── */
.how-it-works {
    padding: 96px 0;
    background: var(--dark);
    color: var(--white);
}
.how-it-works .section-header p { color: #9CA3AF; }
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.step {
    flex: 1;
    text-align: center;
    padding: 0 32px;
}
.step__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
}
.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.step p {
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.65;
}
.step__divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #374151, transparent);
    align-self: center;
    flex-shrink: 0;
}

/* ── Contact ── */
.contact {
    padding: 96px 0;
    background: var(--light-gray);
}
.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.contact-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
}
.contact-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-card__link {
    display: block;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 8px;
    transition: color 0.15s;
}
.contact-card__link:hover { color: var(--red); }

/* ── Footer ── */
.footer {
    background: var(--dark);
    padding: 40px 0;
    border-top: 1px solid #374151;
}
.footer__inner {
    display: flex;
    justify-content: center;
}
.footer__logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}
.footer__copy {
    color: #6B7280;
    font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    /* Nav dropdown */
    .nav__logo { height: 48px; }
    .lang-toggle { margin-left: auto; }
    .nav__burger { display: flex; }
    .nav__collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 24px 16px;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }
    .nav--open .nav__collapse {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .nav__links { flex-direction: column; gap: 0; }
    .nav__link { padding: 13px 8px; font-size: 1rem; border-radius: 8px; }
    .nav__right {
        margin-top: 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav__right .btn--outline {
        background: transparent;
        border: none;
        color: var(--gray);
        font-weight: 500;
        font-size: 1rem;
        padding: 13px 8px;
        border-radius: 8px;
    }
    .nav__right .btn--outline:hover {
        background: var(--light-gray);
        color: var(--dark);
        box-shadow: none;
        transform: none;
    }

    /* Hero */
    .hero { padding: 64px 0 56px; }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero__visual { order: -1; }
    .hero__logo { max-width: 320px; }
    .hero__actions { justify-content: center; }

    /* Steps */
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .step__divider {
        width: 80px;
        height: 1px;
        background: linear-gradient(to right, transparent, #374151, transparent);
    }

    .footer__inner { justify-content: center; text-align: center; }
}
