/* CSS Reset & Variables */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #000000;
    --bg2: #0A0A0A;
    --card: #111111;
    --card-hover: #1A1A1A;
    --accent: #C0BA84;
    --accent-dim: rgba(192,186,132,0.1);
    --accent-border: rgba(192,186,132,0.25);
    --text: #FFFFFF;
    --text2: #999999;
    --muted: #666666;
    --border: rgba(255,255,255,0.1);
    --font: 'e-Ukraine', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.label {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 2rem;
}

.accent {
    color: var(--accent);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section--alt {
    background: var(--bg2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn--primary {
    background: #FFFFFF;
    color: #000000;
}

.btn--primary:hover {
    background: var(--accent);
    color: #000000;
    transform: translateY(-1px);
}

.btn--secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: #FFFFFF;
}

.btn--secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.badge__dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.25s ease;
}

.card:hover {
    border-color: var(--accent-border);
    background: var(--card-hover);
}

/* Who cards (no lift on hover) */
.who-card:hover {
    transform: none;
}

/* ==================== */
/* NAVIGATION           */
/* ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #000000;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.75rem;
    padding: 0 1.5rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo svg {
    height: 26px;
    width: auto;
}

.nav__logo svg path {
    fill: #FFFFFF;
}

/* Language-specific logo visibility */
.logo-en { display: none; }
.logo-uk { display: block; }
html[lang="en"] .logo-en { display: block; }
html[lang="en"] .logo-uk { display: none; }

.nav__logo-text {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav__link {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #d1d1d1;
    padding: 1rem 0;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--accent);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav__link:hover::after {
    transform: scaleX(1);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #FFFFFF;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav__lang:hover {
    color: #d1d1d1;
}

.nav__lang svg {
    width: 1.25rem;
    height: 1.25rem;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #000000;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav__cta:hover {
    background: transparent;
    color: var(--accent);
}

/* Mobile menu button */
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 3.75rem;
    left: 0;
    right: 0;
    z-index: 40;
    visibility: hidden;
}

.mobile-menu.active {
    visibility: visible;
}

.mobile-menu__content {
    position: relative;
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Blur background - appears instantly */
.mobile-menu__content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

/* Content fade-in only (no fade-out) */
.mobile-menu__links,
.mobile-menu__actions {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu.active .mobile-menu__links,
.mobile-menu.active .mobile-menu__actions {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    margin-bottom: 2rem;
    width: 100%;
}

.mobile-menu__link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu__actions .nav__lang {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.mobile-menu__actions .btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
}

/* ==================== */
/* HERO                 */
/* ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero.jpg') center center / cover no-repeat;
    pointer-events: none;
}

.hero__content {
    position: relative;
    max-width: 800px;
}

.hero__badge {
    margin-bottom: 2rem;
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text2);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero__stat {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text2);
}

.hero__stat:not(:last-child) {
    padding-right: 2rem;
    border-right: 1px solid var(--border);
}

@media (max-width: 768px) {
    .hero__stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        text-align: center;
    }
    .hero__stat:not(:last-child) {
        padding-right: 0;
        border-right: none;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--border);
    }
}

/* ==================== */
/* HOW IT WORKS         */
/* ==================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.step__title {
    margin-bottom: 0.75rem;
}

.step__desc {
    color: var(--text2);
    font-size: 0.95rem;
}

/* ==================== */
/* WHO CAN APPLY        */
/* ==================== */
.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.who-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.who-card__icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.who-card__icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.who-card__title {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.who-card__desc {
    color: var(--text2);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.who-card__products {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.who-card__list {
    list-style: none;
    color: var(--text2);
    font-size: 0.85rem;
    line-height: 1.6;
}

.who-card__list li {
    position: relative;
    padding-left: 1rem;
}

.who-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ==================== */
/* BENEFITS             */
/* ==================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.25s ease;
}

.benefit-card:hover {
    border-color: var(--accent-border);
    background: var(--card-hover);
}

.benefit-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.benefit-card__icon svg {
    width: 100%;
    height: 100%;
}

.benefit-card__icon svg path {
    fill: var(--accent);
}

.benefit-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.benefit-card__desc {
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================== */
/* ABOUT                */
/* ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.25s ease;
}

.about-card:hover {
    border-color: var(--accent-border);
}

.about-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.about-card__desc {
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-card--contact .btn {
    margin-top: 1.5rem;
}

.about-card__email {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.about-card__email:hover {
    color: var(--accent);
}

/* ==================== */
/* FAQ                  */
/* ==================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-group {
    margin-bottom: 2.5rem;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-group .faq-item:first-of-type {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 0;
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question__icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question__icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer__inner {
    padding-bottom: 1.5rem;
    color: var(--text2);
    line-height: 1.8;
}

/* ==================== */
/* FINAL CTA            */
/* ==================== */
.final-cta {
    text-align: center;
    padding: 8rem 0;
}

.final-cta__title {
    margin-bottom: 2rem;
}

/* ==================== */
/* FOOTER               */
/* ==================== */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer__logo svg {
    height: 24px;
    width: auto;
}

.footer__logo svg path {
    fill: #FFFFFF;
}

.footer__logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer__ecosystem {
    color: var(--text2);
    font-size: 0.9rem;
}

.footer__ecosystem a {
    color: var(--accent);
    transition: opacity 0.3s ease;
}

.footer__ecosystem a:hover {
    opacity: 0.8;
}

.footer__links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer__link {
    font-size: 0.875rem;
    color: var(--text2);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--text);
}

/* ==================== */
/* RESPONSIVE           */
/* ==================== */
@media (max-width: 1024px) {
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Nav mobile */
    .nav__links {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .nav__cta {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Who grid */
    .who-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .who-card__title {
        font-size: 1rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Footer */
    .footer__links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==================== */
/* LEGAL PAGES          */
/* ==================== */
.legal-page {
    padding-top: 7rem;
    padding-bottom: 4rem;
    min-height: 60vh;
}

.legal-page h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal-page__updated {
    color: var(--text2);
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.legal-page p,
.legal-page .legal-list {
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-page .legal-list ul {
    margin: 0.5rem 0 0 0;
    padding: 0 0 0 1.5rem;
    list-style-position: inside;
}

.legal-page .legal-list li {
    margin-bottom: 0.25rem;
}

.legal-page a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page a:hover {
    color: var(--text);
}
