:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4cc9f0;
    --gradient: linear-gradient(135deg, #4361ee 0%, #3f37c9 50%, #f72585 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7ff;
    color: var(--dark);
    line-height: 1.6;
}

header {
    background: var(--gradient);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 15s infinite linear;
}

@keyframes pulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-content {
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: 0.1;
}

.content-block {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.content-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.highlight {
    color: var(--accent);
    font-weight: 700;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

video {
    width: 100%;
    display: block;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
    text-align: center;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
}

.promo-box {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(63, 55, 201, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    border: 1px dashed var(--primary);
}

.promo-code {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: white;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.promo-code:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.promo-code::after {
    content: "Кликните, чтобы скопировать";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-code:hover::after {
    opacity: 1;
}

.promo-code.copied {
    background-color: var(--accent);
    color: white;
    animation: pulseCopied 0.5s ease;
}

@keyframes pulseCopied {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.payment-proof {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    margin: 1rem auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.payment-proof:hover {
    transform: scale(1.02);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    flex: 1 1 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
}

.modal-link {
    display: block;
    padding: 1rem;
    margin: 1rem 0;
    background: #f8f9fa;
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.modal-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.modal-link i {
    margin-right: 0.5rem;
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 2rem 0;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    flex: 1 1 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .features {
        flex-direction: column;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ByteLixir Specific Styles */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    flex: 1 1 250px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.pricing-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-plan {
    flex: 1 1 250px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-5px);
}

.pricing-plan i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-plan h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.pricing-plan p {
    font-size: 1.2rem;
    color: var(--dark);
}

/* Bux Specific Styles */
.bux {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 2rem 0;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.bux:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.bux-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.bux-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    margin-right: 1.5rem;
}

.bux-title {
    flex: 1;
}

.bux-title h2 {
    margin: 0;
    color: var(--primary);
}

.bux-title h2 a {
    color: inherit;
    text-decoration: none;
}

.bux-rating {
    color: #FFD700;
    margin-top: 0.5rem;
}

.bux-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    color: var(--dark);
}

.feature-item i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.bux-description {
    margin: 1.5rem 0;
}

.bux-description p {
    margin: 0.5rem 0;
    display: flex;
    align-items: flex-start;
}

.bux-description i {
    color: var(--accent);
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.bux-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

.tips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.tip {
    flex: 1 1 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.tip:hover {
    transform: translateY(-5px);
}

.tip i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tip h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}