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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, #1a1540 0%, #0d0a25 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Верхняя панель */
.top-bar {
    background: rgba(10, 5, 30, 0.5);
    padding: 20px 0;
    border-bottom: 1px solid rgba(138, 73, 255, 0.2);
}

.top-bar .container {
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(138, 73, 255, 0.6));
    transition: filter 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(138, 73, 255, 0.9));
}

.top-buttons {
    display: flex;
    gap: 20px;
}

/* Кнопки */
.btn-primary {
    background: linear-gradient(135deg, #b968ff 0%, #8a49ff 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(138, 73, 255, 0.5);
    filter: drop-shadow(0 4px 8px rgba(138, 73, 255, 0.4));
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 73, 255, 0.7);
    filter: drop-shadow(0 6px 12px rgba(138, 73, 255, 0.6));
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(138, 73, 255, 0.5);
}

/* Навигационное меню */
.nav-menu {
    background: rgba(15, 10, 35, 0.4);
    padding: 20px 0;
    border-bottom: 2px solid rgba(138, 73, 255, 0.3);
}

.btn-nav {
    background: white;
    color: #1a1540;
    border: 2px solid transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    position: relative;
    overflow: hidden;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 73, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-nav:hover::before {
    left: 100%;
}

.btn-nav:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    border-color: rgba(138, 73, 255, 0.3);
}

.btn-nav.active {
    background: linear-gradient(135deg, #b968ff 0%, #8a49ff 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(138, 73, 255, 0.6);
    filter: drop-shadow(0 4px 8px rgba(138, 73, 255, 0.5));
}

.btn-nav.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 73, 255, 0.8);
    filter: drop-shadow(0 6px 12px rgba(138, 73, 255, 0.6));
}

/* Основной контент */
.main-content {
    flex: 1;
    padding: 60px 0;
}

.main-title {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(138, 73, 255, 0.6);
}


.content-section {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease;
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: bold;
    border-bottom: 2px solid rgba(138, 73, 255, 0.3);
    padding-bottom: 15px;
}

.content-section h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #b968ff;
    font-weight: bold;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 20px;
}

/* Списки */
.bonus-list,
.features-list,
.mobile-features,
.advantages-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.bonus-list li,
.features-list li,
.mobile-features li,
.advantages-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
    color: #d0d0d0;
}

.bonus-list li::before,
.features-list li::before,
.mobile-features li::before,
.advantages-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b968ff;
    font-size: 20px;
    font-weight: bold;
}

.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.steps-list li {
    counter-increment: step-counter;
    padding: 15px 0 15px 50px;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #b968ff 0%, #8a49ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: white;
}

/* CTA блок (popup как на оригинале) */
.popup {
    width: 600px;
    max-width: calc(100vw - 40px);
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(175, 62, 247, 0.95) 0%, rgba(138, 73, 255, 0.95) 100%);
    border: 2px solid #af3ef7;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(175, 62, 247, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup_block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.block_img {
    flex-shrink: 0;
}

.gift-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.block_txt {
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    min-width: 0;
}

.block_txt span {
    font-size: 36px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
}

.block_txt p {
    color: #ffffff;
    font-size: 16px;
    margin-top: 5px;
}

.block_btn {
    flex-shrink: 0;
}

.block_btn .btn {
    border: 2px solid #ffffff;
    display: inline-block;
    padding: 14px 28px;
    background-color: #ffffff;
    color: #af3ef7;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.4));
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.block_btn .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(175, 62, 247, 0.2), transparent);
    transition: left 0.5s ease;
}

.block_btn .btn:hover::before {
    left: 100%;
}

.block_btn .btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.6));
}

.block_btn .btn:active {
    transform: translateY(0) scale(1);
}

.glowing {
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% { 
        box-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff;
    }
    50% { 
        box-shadow: 0 0 20px #ffffff, 0 0 30px #ffffff;
    }
    100% { 
        box-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff;
    }
}

.popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #ffffff;
}

/* Футер */
.footer {
    background: linear-gradient(180deg, rgba(5, 2, 15, 0.95) 0%, rgba(10, 5, 20, 1) 100%);
    padding: 50px 0 30px;
    border-top: 2px solid rgba(138, 73, 255, 0.5);
    margin-top: 60px;
    box-shadow: 0 -4px 20px rgba(138, 73, 255, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Карта сайта */
.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.sitemap-column h4 {
    font-size: 18px;
    color: #b968ff;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(138, 73, 255, 0.5);
}

.sitemap-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-column ul li {
    margin-bottom: 10px;
}

.sitemap-column ul li a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.sitemap-column ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(138, 73, 255, 0.8);
}

.sitemap-column ul li:not(:has(a)) {
    color: #d0d0d0;
    font-size: 15px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 28px;
    color: #b968ff;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(138, 73, 255, 0.6);
}

.footer-info {
    background: rgba(138, 73, 255, 0.1);
    border: 1px solid rgba(138, 73, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.footer-info p {
    font-size: 16px;
    color: #d0d0d0;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-info strong {
    color: #ffffff;
    font-weight: 600;
    margin-right: 8px;
}

.footer-info a {
    color: #b968ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-info a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(138, 73, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(138, 73, 255, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 15px;
    }

    .container-wide {
        padding: 0 20px;
    }

    .logo-img {
        height: 35px;
    }

    .main-title {
        font-size: 32px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .content-section h3 {
        font-size: 24px;
    }

    .content-section p {
        font-size: 16px;
    }

    .btn-primary,
    .btn-nav {
        padding: 12px 25px;
        font-size: 14px;
    }

    .nav-menu .container {
        gap: 10px;
        justify-content: center;
    }

    .bonus-list li,
    .features-list li,
    .mobile-features li,
    .advantages-list li,
    .steps-list li {
        font-size: 16px;
    }

    /* Popup адаптация */
    .popup {
        width: 95%;
        padding: 15px;
        border-radius: 10px;
    }

    .popup_block {
        flex-direction: row;
        justify-content: space-around;
        gap: 10px;
    }

    .gift-img {
        width: 80px;
        height: 80px;
    }

    .block_txt span {
        font-size: 28px;
    }

    .block_txt p {
        font-size: 14px;
    }

    .block_btn .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .popup-close {
        font-size: 18px;
        right: 10px;
        top: 5px;
    }

    /* Footer адаптация */
    .footer-container {
        padding: 0 20px;
    }

    .footer-sitemap {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .sitemap-column h4 {
        font-size: 16px;
    }

    .sitemap-column ul li a {
        font-size: 14px;
    }

    .footer-section h3 {
        font-size: 22px;
    }

    .footer-info {
        padding: 20px;
    }

    .footer-info p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
    }

    .main-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .content-section h2 {
        font-size: 22px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    .btn-primary,
    .btn-nav {
        padding: 10px 20px;
        font-size: 12px;
    }

    .popup {
        width: 98%;
        padding: 10px;
    }

    .gift-img {
        width: 60px;
        height: 60px;
    }

    .block_txt span {
        font-size: 24px;
    }

    .block_txt p {
        font-size: 12px;
    }

    .block_btn .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Footer адаптация для мобильных */
    .footer {
        padding: 30px 0 20px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-sitemap {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sitemap-column h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .sitemap-column ul li {
        margin-bottom: 8px;
    }

    .sitemap-column ul li a {
        font-size: 14px;
    }

    .footer-section h3 {
        font-size: 20px;
    }

    .footer-info {
        padding: 15px;
    }

    .footer-info p {
        font-size: 13px;
    }
}

