/* styles.css */
:root {
    --primary: #6c5ce7;
    --primary-dark: #5649c0;
    --primary-light: #a29bfe;
    --accent: #00ffaa;
    --text: #2d3436;
    --light: #f8f9fa;
    --dark: #121212;
}

/* Цветные метки */
.label.label--primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 6px rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.label.label--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 92, 231, 0.4);
}

.label.label--primary:active {
    transform: translateY(0);
}

.label.label--primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.label.label--primary:hover::after {
    left: 100%;
}

/* Анимированные кнопки */
.cta-button, .purchase-button {
    background: linear-gradient(135deg, var(--accent), #00cc88);
    color: var(--dark);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 255, 170, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover, .purchase-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 170, 0.4);
}

.cta-button:active, .purchase-button:active {
    transform: translateY(1px);
}

/* Карточки с градиентными рамками */
.feature-card, .plan-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card::before, .plan-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before, .plan-card:hover::before {
    opacity: 1;
}

.feature-card:hover, .plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Анимированное меню */
nav a {
    position: relative;
    color: var(--text);
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

nav a.active::after {
    width: 100%;
}

/* Цветные отзывы */
.review {
    background: white;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.review:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.1);
    border-left: 4px solid var(--accent);
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    color: #ffffff;
    overflow-x: hidden;
}
header {
    background: linear-gradient(135deg, #1f1f1f, #292929);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    z-index: -1;
}
header h1 {
    font-size: 48px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-in-out;
}
header p {
    font-size: 18px;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2.5s ease-in-out;
}
nav {
    background-color: #222222;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
    /* Начальное состояние для анимации */
    opacity: 0;
    transform: translateY(-20px);
}
nav a:hover {
    color: #00ffaa;
    transform: scale(1.1);
}
.container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section {
    margin-bottom: 60px;
}
.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    animation: slideIn 1.5s ease-in-out;
}
.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #00ffaa;
    margin: 10px auto 0;
}
.section p {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}
.features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.feature-card {
    background: linear-gradient(135deg, #1f1f1f, #292929);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    flex: 1 1 calc(30% - 60px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: cardAppear 1s ease-in-out forwards;
}
.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.feature-card img {
    width: 250px;
    height: 150px;
    margin-bottom: 15px;
}
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 16px;
}
footer {
    background: linear-gradient(135deg, #1f1f1f, #292929);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #333;
}
footer p {
    margin: 0;
    font-size: 16px;
}
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #121212;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    transform: scale(1.05);
}

/* Отзывы */
.reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.review {
    background: linear-gradient(135deg, #1f1f1f, #292929);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    flex: 1 1 calc(30% - 60px);
    text-align: center;
    position: relative;
}
.review::before {
    content: '“';
    font-size: 60px;
    color: #00ffaa;
    position: absolute;
    top: -10px;
    left: 10px;
}
.review p {
    font-size: 16px;
    line-height: 1.6;
}
.review strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes cardAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 768px) {
    header h1 {
        font-size: 36px;
    }
    header p {
        font-size: 16px;
    }
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav a {
        margin: 10px 0;
    }
    .features {
        flex-direction: column;
    }
    .feature-card {
        flex: 1 1 100%;
    }
    .section h2 {
        font-size: 28px;
    }
    .section p {
        font-size: 16px;
    }
}
/* Стили для шапки */
header {
    background: linear-gradient(135deg, #1f1f1f, #292929);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    z-index: -1;
}
header h1 {
    font-size: 48px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
header p {
    font-size: 18px;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.logo {
    width: 150px;
    height: auto;
    margin: 0 auto;
    display: block;
}
/* Стили для иконок социальных сетей */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #00ffaa;
    transform: scale(1.2);
}
/* Стили для документации */
.docs-section {
    margin-bottom: 40px;
}

.docs-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #00ffaa;
}

.docs-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.docs-section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.docs-section li {
    font-size: 16px;
    line-height: 1.6;
}
/* Стили для навигации с иконками */
nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px; /* Отступ между иконкой и текстом */
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #00ffaa;
    transform: scale(1.1);
}
/* Стили для активной ссылки в меню */
nav a.active {
    color: #00ffaa;
    font-weight: bold;
    pointer-events: none; /* Запрещает клик по активной ссылке */
}

nav a.active:hover {
    transform: scale(1); /* Отключаем анимацию при наведении на активную ссылку */
}
/* Анимация подчеркивания */
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #00ffaa;
    transition: width 0.5s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active::after {
    background-color: #00ffaa;
    width: 100%;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    nav a {
        flex-direction: column;
        gap: 5px;
        margin: 10px 0;
    }
    nav a::after {
        bottom: -10px;
        height: 3px;
    }
}
/* Анимация появления меню */
nav.loaded a {
    animation: fadeInMenu 0.8s ease forwards;
}

nav a.active {
    color: #00ffaa;
    font-weight: bold;
}
/* Ключевые кадры для появления меню */
@keyframes fadeInMenu {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
        /* Стили для модуля покупки */
        .purchase-section {
            background: linear-gradient(135deg, #1f1f1f, #292929);
            padding: 40px 20px;
            border-radius: 12px;
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
            text-align: center;
            margin-top: 40px;
        }
        .purchase-section h2 {
            font-size: 32px;
            margin-bottom: 20px;
            color: #00ffaa;
        }
        .purchase-section p {
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 20px;
            color: #ffffff;
        }
        .pricing-plans {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }
        .plan-card {
            background: linear-gradient(135deg, #121212, #1a1a1a);
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
            width: 300px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .plan-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
        }
        .plan-card h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #00ffaa;
        }
        .plan-card p.price {
            font-size: 36px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #ffffff;
        }
        .plan-card ul {
            list-style-type: none;
            padding: 0;
            margin-bottom: 20px;
        }
        .plan-card ul li {
            font-size: 16px;
            margin-bottom: 10px;
            color: #cccccc;
        }
        .plan-card a.purchase-button {
            display: inline-block;
            background: linear-gradient(135deg, #ff7e5f, #feb47b);
            color: #121212;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 8px;
            font-size: 18px;
            transition: background 0.3s ease, transform 0.3s ease;
        }
        .plan-card a.purchase-button:hover {
            background: linear-gradient(135deg, #feb47b, #ff7e5f);
            transform: scale(1.05);
        }
