:root {
    --bg-color: #0A0A0A;
    --box-color: #1A1A1A;
    --border-color: #2F2F2F;
    --text-color: #EAEAEA;
    --subtitle-color: #888888;
    --accent-gradient: linear-gradient(90deg, #007CF0, #00DFD8);
    --special-border: #007CF0;
    /* Нові кольори для бейджа */
    --badge-bg: #FF3B30; /* Яскравий червоний */
    --badge-text: #FFFFFF; /* Білий */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* --- HERO --- */
.hero {
    text-align: center;
    margin-bottom: 60px;
}

/* Додаємо обгортку для позиціонування */
.badge-wrapper {
    position: relative;
    display: inline-block; /* Щоб обгортка займала ширину контенту */
}

/* --- НОВІ СТИЛІ ДЛЯ БЕЙДЖА --- */
.badge {
    position: absolute;
    top: -10px; /* Розташування */
    right: -20px;
    background: var(--badge-bg);
    color: var(--badge-text);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem); /* Адаптивний розмір шрифту */
    font-weight: 700;
    line-height: 1;
    z-index: 10;
    transform: rotate(7deg); /* Легкий нахил */
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4); /* Тінь в колір бейджа */
    animation: bounce-badge 2.5s ease-in-out infinite; /* Нова анімація */
    border: 2px solid #fff;
}

@keyframes bounce-badge {
    0%, 100% {
        transform: rotate(7deg) translateY(0);
    }
    50% {
        transform: rotate(7deg) translateY(-8px);
    }
}


.main-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 15px;
    /*padding: 0 20px;*/
}

/* Решта стилів залишається без змін */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--subtitle-color);
    max-width: 600px;
    margin: 0 auto;
}

.team-note {
    font-size: 0.9rem;
    color: var(--subtitle-color);
    background-color: var(--box-color);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.bento-box {
    background-color: var(--box-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.bento-box:hover {
    transform: translateY(-5px);
    border-color: var(--special-border);
}

.bento-box .icon { font-size: 2rem; margin-bottom: 12px; }
.bento-box h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--text-color); }
.bento-box p { margin: 0; color: var(--subtitle-color); line-height: 1.6; }
.box-7.wide { grid-column: 1 / -1; text-align: center; }

.cta-section {
    background-color: transparent;
    border: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.pricing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.price-card {
    background-color: var(--box-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.price-card.special {
    border: 2px solid var(--special-border);
    transform: scale(1.05);
}

.price-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--subtitle-color);
    margin: 0 0 10px;
}

.price-card.special .price-title { color: var(--text-color); }
.price-value { font-size: 2.5rem; font-weight: 900; margin: 0; line-height: 1; }
.price-value.main-price { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.price-period { font-size: 1rem; font-weight: 400; color: var(--subtitle-color); margin-left: 5px; }
.price-note { font-size: 0.9rem; color: var(--subtitle-color); margin: 10px 0 0; }

.cta-button {
    background: var(--accent-gradient);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 124, 240, 0.5);
}

.note { color: var(--subtitle-color); font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- АДАПТИВНІСТЬ ДЛЯ БЕЙДЖА --- */
@media (max-width: 768px) {
    .badge {
        right: 0;
        top: -15px;
        transform: rotate(5deg);
    }
}

@media (max-width: 600px) {
    .badge {
        position: static; /* Повертаємо в потік документу */
        transform: rotate(0);
        margin: 0 auto 20px; /* Відцентровуємо та додаємо відступ */
        display: inline-block;
    }
    .badge-wrapper {
        display: flex;
        flex-direction: column;
    }
    .pricing-container { grid-template-columns: 1fr; }
    .price-card.special { transform: scale(1); }
}