.hero-section {
    background: url('/images/welcome_pack_.webp') center/cover no-repeat;
    aspect-ratio: 2893 / 904;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .container {
    max-width: 1200px;
    text-align: left;
    padding: 0 3%;
}

.hero-content {
    max-width: 46%;
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
}

.hero-section h1 {
    font-size: clamp(1.8rem, 3.8vw, 3.4rem);
    margin-bottom: 0;
    background: none;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.15;
}


/* Плашка над заголовком */
.hero-badge {
    display: inline-block;
    align-self: flex-start;
}

.hero-badge span {
    display: block;
    background: #da0003;
    color: #fff;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(0.6rem, 1.15vw, 1.15rem);
    letter-spacing: 0.08em;
    padding: 0.3em 1.1em 0.3em 0.9em;
    transform: skewX(-10deg);
    position: relative;
}

.hero-badge span::before {
    content: '';
    position: absolute;
    left: -0.55em;
    top: 0; bottom: 0;
    width: 0.55em;
    background: #8a0001;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero-badge span::after {
    content: '';
    position: absolute;
    right: -0.55em;
    top: 0; bottom: 0;
    width: 0.55em;
    background: #8a0001;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Текст под h1 */
.hero-banner-desc {
    font-size: clamp(0.7rem, 1vw, 1rem);
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin: 0.6em 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* Bouton "JOIN NOW" superposé sur la bannière (style 3D jaune) */
.hero-banner-btn {
    display: inline-block;
    align-self: flex-start;
    transform: skewX(-9deg);
    padding: 0.45em 1.4em;
    font-size: clamp(13px, 1.6vw, 28px);
    line-height: 1;
    border-radius: 0.12em;
    border: 0.06em solid #E0A800;
    background:
        repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 0.14em, rgba(170,120,0,0.10) 0.14em 0.22em),
        linear-gradient(180deg, #FFF3A6 0%, #FFDE48 48%, #FFC700 100%);
    box-shadow: 0.16em 0.18em 0 0 #E09100, 0.22em 0.26em 0.4em rgba(0,0,0,0.4);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.hero-banner-btn span {
    display: inline-block;
    transform: skewX(9deg);
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a1a1a;
    -webkit-text-stroke: 0.09em #ffffff;
    paint-order: stroke fill;
    filter: drop-shadow(0.04em 0.06em 0.02em rgba(0,0,0,0.35));
}

.hero-banner-btn:hover {
    transform: skewX(-9deg) translate(0.08em, 0.09em);
    box-shadow: 0.08em 0.09em 0 0 #E09100, 0.12em 0.14em 0.3em rgba(0,0,0,0.4);
    color: inherit;
}


@media (max-width: 767px) {
    .hero-section {
        aspect-ratio: 4 / 5;
        background-position: 70% center;
        align-items: flex-start;
        padding-top: 6vw;
    }

    .hero-content {
        max-width: 85%;
        gap: 2.5vw;
    }

    .hero-badge span {
        font-size: 3.8vw;
    }

    .hero-section h1 {
        font-size: 8.5vw;
    }

    .hero-banner-desc {
        font-size: 4.2vw;
        display: block;
        overflow: visible;
        max-width: 95vw;
    }

    .hero-banner-btn {
        font-size: 5.5vw;
    }

    .hero-section::before {
        background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.7) 100%);
    }
}

section {
    padding: 5rem 0;
}

.table-of-contents {
    background: #000000;
    padding: 3rem 0;
}

.table-of-contents nav ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.table-of-contents nav li {
    background: var(--gradient-dark);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
    transition: all 0.3s ease;
}

.table-of-contents nav li:hover {
    transform: translateX(8px);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.table-of-contents nav a {
    color: var(--light);
    font-weight: 600;
}

article {
    margin-bottom: 4rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.cards-grid .card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.cards-grid h4 {
    margin-bottom: 1rem;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    position: relative;
}

.feature-item .icon::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    transform: rotate(45deg);
}

.feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.accordion-item {
    background: var(--gradient-dark);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(0, 217, 255, 0.3);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 217, 255, 0.05);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--light);
}

.accordion-header button {
    background: var(--gradient-secondary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-header button::before,
.accordion-header button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: white;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.accordion-header button::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-header button[aria-expanded="true"] {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.accordion-body.active {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}

.cta-section {
    background: var(--gradient-primary);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section h2::after {
    display: none;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 18px 50px;
}

.cta-section .btn-primary:hover {
    background: var(--accent);
    color: var(--dark);
}

@media (max-width: 767px) {
    section {
        padding: 3rem 0;
    }
    
    h2::after {
        width: 40px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .icon-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .table-of-contents nav ul {
        grid-template-columns: 1fr;
    }
    
    .btn-primary {
        font-size: 1rem;
        padding: 14px 32px;
    }
    
    .accordion-header {
        padding: 1.25rem 1.5rem;
    }
    
    .accordion-header h3 {
        font-size: 1.125rem;
    }
    
    .accordion-body {
        padding: 0 1.5rem;
    }
    
    .accordion-body.active {
        padding: 0 1.5rem 1.25rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}