/* Базовые настройки и шрифты */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ХЕДЕР (ШАПКА САЙТА) --- */
header {
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.75);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f3ba2f; /* Золотистый Web3-акцент */
}

/* Иконка бургера (скрыта на ПК) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Анимация превращения бургера в крестик */
.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Кнопки */
.btn-primary {
    background: #f3ba2f;
    color: #050505;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(243, 186, 47, 0.4);
}

/* --- ПЕРВЫЙ ЭКРАН (HERO) --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s, border 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- СЕКЦИИ И КАРТОЧКИ --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title-bg {
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.01);
    text-transform: uppercase;
    position: absolute;
    z-index: 1;
    user-select: none;
    text-align: center;
    width: 100%;
    left: 0;
    top: 40px;
}

.web3-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.web3-card:hover {
    border-color: rgba(243, 186, 47, 0.3);
    box-shadow: 0 0 30px rgba(243, 186, 47, 0.05);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    position: relative;
}

.step-num {
    background: #ffffff;
    color: #050505;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- FAQ АККОРДЕОН --- */
.faq-item {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #aaa;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 300px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* --- МЕДИА-ЗАПРОСЫ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ --- */
@media (max-width: 768px) {
    .header-wrap {
        height: 70px;
    }

    .burger-menu {
        display: flex; /* Показываем бургер */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Меню скрыто справа */
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        justify-content: center;
        gap: 35px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0; /* Выдвигаем меню */
    }

    .nav-link {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 16px;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title-bg {
        font-size: 54px;
        top: 10px;
    }

    .web3-card {
        padding: 24px;
    }
	
	.footer-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}