
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #4299e1;
            --primary-dark: #2b6cb0;
            --secondary: #667eea;
            --accent: #ff6b6b;
            --success: #48bb78;
            --warning: #ed8936;
            --dark: #1a202c;
            --gray: #718096;
            --light: #f7fafc;
            --white: #ffffff;
            --gradient-hero: linear-gradient(135deg, #5f6cff 0%, #8b5cf6 100%);
            --gradient-primary: linear-gradient(90deg, #4299e1, #667eea);
            --gradient-accent: linear-gradient(90deg, #ff6b6b, #feca57);
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
            --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
        }
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    -webkit-text-fill-color: white;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(66, 153, 225, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: flex;
        z-index: 999;
    }

    .navbar .nav-container .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-cta {
        display: none;
    }
}@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);

        /* Ховаємо меню */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: flex !important; /* Додаємо !important */
        z-index: 999;
    }

    /* Показуємо меню - використовуємо більш специфічний селектор */
    .navbar .nav-container .nav-links.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}/* Payment Section */
.payment-section {
    padding: 4rem 2rem;
    background: var(--light);
}

.payment-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.payment-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Modal Form */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

        /* Hero Section */
        .hero {
            min-height: 100vh;
            background: var(--gradient-hero);
            display: flex;
            align-items: center;
            padding: 6rem 2rem 4rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            color: white;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            font-weight: 800;
        }

        .hero-content h1 span {
            color: #feca57;
            position: relative;
        }

        .hero-content p {
            font-size: 1.25rem;
            color: rgba(255,255,255,0.9);
            margin-bottom: 2rem;
            max-width: 500px;
        }

        .hero-badges {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .hero-badge {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            color: white;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border: 1px solid rgba(255,255,255,0.3);
        }

        .hero-cta {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn-primary {
            background: white;
            color: var(--primary);
            padding: 1rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            padding: 1rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            border: 2px solid rgba(255,255,255,0.5);
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-secondary:hover {
            background: rgba(255,255,255,0.1);
            border-color: white;
        }

        /* Hero Visual */
        .hero-visual {
            position: relative;
        }

        .server-illustration {
            width: 100%;
            max-width: 500px;
            height: 400px;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            border: 1px solid rgba(255,255,255,0.2);
            position: relative;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        }

        .server-row {
            display: flex;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            gap: 1rem;
        }

        .server-status {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--success);
            animation: pulse-status 2s infinite;
            box-shadow: 0 0 10px var(--success);
        }

        @keyframes pulse-status {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .server-bar {
            flex: 1;
            height: 8px;
            background: rgba(255,255,255,0.1);
            border-radius: 4px;
            overflow: hidden;
        }

        .server-progress {
            height: 100%;
            background: var(--gradient-accent);
            border-radius: 4px;
            animation: load 3s ease-in-out infinite;
        }

        @keyframes load {
            0%, 100% { width: 20%; }
            50% { width: 80%; }
        }

        .floating-card {
            position: absolute;
            background: white;
            padding: 1rem 1.5rem;
            border-radius: 15px;
            box-shadow: var(--shadow-xl);
            animation: float 6s ease-in-out infinite;
        }

        .floating-card.speed {
            top: -20px;
            right: -20px;
            animation-delay: 0s;
        }

        .floating-card.uptime {
            bottom: 40px;
            left: -30px;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        .floating-card h4 {
            font-size: 1.5rem;
            color: var(--success);
            margin-bottom: 0.25rem;
        }

        .floating-card p {
            font-size: 0.85rem;
            color: var(--gray);
            margin: 0;
        }

        /* Stats Section */
        .stats {
            background: white;
            padding: 4rem 2rem;
            margin-top: -4rem;
            position: relative;
            z-index: 10;
        }

        .stats-container {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            background: white;
            padding: 3rem;
            border-radius: 20px;
            box-shadow: var(--shadow-xl);
        }

        .stat-item {
            text-align: center;
            position: relative;
        }

        .stat-item:not(:last-child)::after {
            content: '';
            position: absolute;
            right: -1rem;
            top: 50%;
            transform: translateY(-50%);
            height: 50px;
            width: 1px;
            background: #e2e8f0;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1;
        }

        .stat-label {
            color: var(--gray);
            font-size: 0.9rem;
            margin-top: 0.5rem;
            font-weight: 600;
        }

        /* Features Section */
        .features {
            padding: 6rem 2rem;
            background: var(--light);
        }

        .section-header {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 4rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .section-header p {
            color: var(--gray);
            font-size: 1.1rem;
        }

        .features-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .feature-card {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: var(--shadow-md);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: transform 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-xl);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ebf8ff, #bee3f8);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            transition: transform 0.3s;
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .feature-card h3 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            color: var(--dark);
        }

        .feature-card p {
            color: var(--gray);
            line-height: 1.7;
        }

        /* Pricing Section */
        .pricing-section {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }

        .early-bird-banner {
            background: linear-gradient(90deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            max-width: 500px;
            margin: 0 auto 2rem;
            box-shadow: 0 10px 30px rgba(238, 90, 36, 0.3);
            animation: pulse-banner 2s infinite;
            font-size: 0.95rem;
        }

        @keyframes pulse-banner {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }

        .early-bird-icon {
            font-size: 1.5rem;
            animation: flame 1s infinite alternate;
        }

        @keyframes flame {
            from { transform: scale(1) rotate(-5deg); }
            to { transform: scale(1.1) rotate(5deg); }
        }

        .spots-left {
            background: rgba(255,255,255,0.2);
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            margin-left: 0.5rem;
            font-weight: bold;
        }

        .billing-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .toggle-switch {
            position: relative;
            width: 60px;
            height: 32px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #cbd5e0;
            transition: .4s;
            border-radius: 34px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 24px;
            width: 24px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .toggle-slider {
            background-color: var(--success);
        }

        input:checked + .toggle-slider:before {
            transform: translateX(28px);
        }

        .billing-label {
            color: var(--gray);
            font-weight: 600;
            cursor: pointer;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .billing-label.active {
            color: var(--dark);
            font-weight: 700;
        }

        .save-badge {
            background: var(--success);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;                /* Змінюємо grid на flex для лінійного розташування */
    overflow-x: auto;            /* Вмикаємо горизонтальну прокрутку */
    gap: 2rem;                   /* Відстань між картками */
    padding: 2rem 1rem;          /* Додаємо відступ, щоб тіні та "Featured" бейдж не обрізалися */
    align-items: stretch;        /* Вирівнюємо всі картки по висоті найвищої */
    scroll-snap-type: x mandatory; /* М'яка зупинка на кожній картці при скролі */
    scrollbar-width: thin;       /* Робимо скроллбар тоншим для Firefox */
    scrollbar-color: var(--primary) transparent;

}
/* Призначаємо кожній картці її порядковий номер */
.pricing-card:nth-child(1) { order: 1; } /* Lite */
.pricing-card:nth-child(2) { order: 2; } /* Start */
.pricing-card:nth-child(3) { order: 3; } /* Business (Featured) */
.pricing-card:nth-child(4) { order: 4; } /* Pro */
/* Налаштування скроллбару для Chrome/Safari */
.pricing-grid::-webkit-scrollbar {
    height: 8px;
}
.pricing-grid::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

        .pricing-card {
    /* Додай ці три рядки до існуючих стилів */
    flex: 0 0 350px;            /* Забороняє стискання, ширина кожної картки 320px */
    scroll-snap-align: start;    /* Картка буде магнітитися до краю при скролі */
    box-sizing: border-box;

    background: white;           /* Твої існуючі стилі */
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 2px solid transparent;
}

        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .pricing-card-featured {
            border-color: var(--primary);
            transform: scale(1.05);
            z-index: 10;
            box-shadow: 0 10px 40px rgba(66, 153, 225, 0.2);
        }

        .pricing-card-featured:hover {
            transform: scale(1.05) translateY(-5px);
        }

        .pricing-card-pro {
            border-color: #9f7aea;
        }

        .featured-badge {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--gradient-primary);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
            white-space: nowrap;
        }

        .badge-bonus {
            display: block;
            font-size: 0.7rem;
            opacity: 0.9;
            font-weight: normal;
        }

        .pro-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: linear-gradient(135deg, #9f7aea, #d53f8c);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .pricing-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .pricing-plan-name {
            font-size: 1.5rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
        }

        .pricing-description {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .price-display {
            text-align: center;
            margin: 1.5rem 0;
        }

        .price-original {
            margin-bottom: 0.5rem;
        }

        .old-label {
            display: block;
            font-size: 0.75rem;
            color: #a0aec0;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.25rem;
        }

        .price-strike {
            display: inline-block;
            text-decoration: line-through;
            color: #a0aec0;
            font-size: 1.1rem;
            position: relative;
        }

        .price-strike::after {
            content: '';
            position: absolute;
            left: -5%;
            top: 50%;
            width: 110%;
            height: 2px;
            background: #fc8181;
            transform: rotate(-5deg);
        }

        .price-current {
            display: inline-flex;
            align-items: baseline;
            gap: 0.2rem;
            color: var(--dark);
        }

        .price-currency {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .price-amount {
            font-size: 3.5rem;
            font-weight: 800;
            line-height: 1;
            background: linear-gradient(135deg, #2d3748, #4a5568);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .price-period {
            color: var(--gray);
            font-size: 1rem;
            font-weight: 500;
        }

        .discount-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(90deg, #c6f6d5, #9ae6b4);
            color: #22543d;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.9rem;
            margin-top: 1rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }

        .discount-arrow {
            font-size: 1.2rem;
            animation: arrow-bounce 1s infinite;
        }

        @keyframes arrow-bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(3px); }
        }

        .pricing-features {
            list-style: none;
            margin: 1.5rem 0;
        }

        .pricing-features li {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.6rem 0;
            color: #4a5568;
            font-size: 0.95rem;
            border-bottom: 1px solid #f7fafc;
        }

        .pricing-features li.feature-missing {
            color: #cbd5e0;
        }

        .check {
            color: var(--success);
            flex-shrink: 0;
        }

        .cross {
            color: #fc8181;
            flex-shrink: 0;
            opacity: 0.6;
        }

        .pricing-guarantee {
            text-align: center;
            color: var(--gray);
            font-size: 0.85rem;
            margin: 1rem 0;
            padding: 0.75rem;
            background: #f7fafc;
            border-radius: 10px;
            border: 1px dashed #e2e8f0;
        }

        .guarantee-highlight {
            background: #ebf8ff;
            color: var(--primary-dark);
            border-color: #90cdf4;
            font-weight: 600;
        }

        .guarantee-pro {
            background: #faf5ff;
            color: #6b46c1;
            border-color: #d6bcfa;
            font-weight: 600;
        }

        .btn-full {
            display: block;
            width: 100%;
            text-align: center;
            padding: 1rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s;
            margin-top: 1rem;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border: none;
            cursor: pointer;
        }

        .btn-pricing-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
        }

        .btn-pricing-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(66, 153, 225, 0.6);
        }

        .btn-pricing-secondary {
            background: white;
            color: #4a5568;
            border: 2px solid #e2e8f0;
        }

        .btn-pricing-secondary:hover {
            background: #f7fafc;
            border-color: #cbd5e0;
            transform: translateY(-2px);
        }

        /* Testimonials */
        .testimonials {
            padding: 6rem 2rem;
            background: white;
        }

        .testimonials-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .testimonial-card {
            background: var(--light);
            padding: 2rem;
            border-radius: 20px;
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            font-size: 4rem;
            color: var(--primary);
            opacity: 0.2;
            font-family: Georgia, serif;
            line-height: 1;
        }

        .testimonial-text {
            color: var(--dark);
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.25rem;
        }

        .author-info h4 {
            color: var(--dark);
            margin-bottom: 0.25rem;
        }

        .author-info p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .stars {
            color: #feca57;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        /* FAQ Section */
        .faq {
            padding: 6rem 2rem;
            background: var(--light);
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: white;
            margin-bottom: 1rem;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .faq-question {
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 600;
            color: var(--dark);
            transition: all 0.3s;
        }

        .faq-question:hover {
            background: #f7fafc;
        }

        .faq-icon {
            font-size: 1.5rem;
            color: var(--primary);
            transition: transform 0.3s;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .faq-answer-content {
            padding: 0 1.5rem 1.5rem;
            color: var(--gray);
            line-height: 1.7;
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
        }

        /* CTA Section */
        .cta-section {
            padding: 6rem 2rem;
            background: var(--gradient-hero);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .cta-content {
            position: relative;
            z-index: 1;
            max-width: 600px;
            margin: 0 auto;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            color: white;
            margin-bottom: 1rem;
        }

        .cta-section p {
            color: rgba(255,255,255,0.9);
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 4rem 2rem 2rem;
        }

        .footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-brand p {
            color: #a0aec0;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .social-links{
  display:flex;
  gap:14px;
  margin-top:12px;
}

.social-links a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:rgba(255,255,255,0.06);
  color:#fff;
  transition:.2s;
}

.social-links a:hover{
  background:linear-gradient(135deg,#4299E1,#667EEA);
  transform:translateY(-2px);
}


        .footer-links h4 {
            margin-bottom: 1.5rem;
            color: white;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: #a0aec0;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid #2d3748;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #718096;
            font-size: 0.9rem;
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease-out;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-content p {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-badges {
                justify-content: center;
            }

            .hero-cta {
                justify-content: center;
            }

            .hero-visual {
                order: -1;
            }

            .server-illustration {
                margin: 0 auto;
            }

            .features-grid,
            .pricing-grid,
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stats-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .stat-item:not(:last-child)::after {
                display: none;
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .features-grid,
            .pricing-grid,
            .testimonials-grid,
            .stats-container,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .pricing-card-featured {
                transform: none;
                order: -1;
            }

            .pricing-card-featured:hover {
                transform: translateY(-5px);
            }

            .floating-card {
                display: none;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }
        .footer-links a {
    transition: color 0.3s;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links a {
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--primary);
}


.kc-logo{
  height:12px !important;
  display:inline-flex !important;
  align-items:center !important;
}
.kc-logo svg{
  height:10% !important;
  width:auto !important;
  max-width:none !important;
  display:block !important;
}
.navbar {
    height: 60px;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.logo svg {
    height: 40px;
    width: auto;
    display: block;
}
.cta-wrapper{
  display:flex;
  justify-content:center;
  margin: 2rem 0;
}
/* Feature icons as SVG */
.feature-icon{
  background: linear-gradient(135deg, #ebf8ff, #bee3f8);
}
.feature-icon .fi{
  width: 45px;
  height: 46px;
  fill: #2b6cb0; /* primary-dark */
}
/* Trust / Infrastructure section */
.trust{
  padding: 6rem 2rem;
  background: #fff;
}
.trust-grid{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trust-card{
  background: var(--light);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform .25s, box-shadow .25s;
}
.trust-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.trust-card h3{
  margin-bottom: .5rem;
  color: var(--dark);
  font-size: 1.15rem;
}
.trust-card p{
  color: var(--gray);
  line-height: 1.7;
}
@media (max-width: 1024px){
  .trust-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px){
  .trust-grid{ grid-template-columns: 1fr; }
}
/* =========================
   WHY (Reasons) — KivCare
   Білий стиль з ефектами
   ========================= */

.why {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративний фон */
.why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(66, 153, 225, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.why .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.why .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a202c 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.why .section-header p {
    color: #718096;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Факти-чіпси */
.why-facts {
    max-width: 1100px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.why-fact {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(66, 153, 225, 0.15);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-fact:hover {
    transform: translateY(-3px);
    border-color: rgba(66, 153, 225, 0.4);
    box-shadow: 0 10px 25px rgba(66, 153, 225, 0.15);
}

.why-fact-k {
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 500;
}

.why-fact-v {
    color: #2d3748;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Сітка карток */
.why-grid {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Картка з градієнтним бордером */
.why-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Градієнтний бордер при наведенні */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, #4299e1, #667eea, #9f7aea, #ed64a6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* Іконка з світінням */
.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    border: 1px solid rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
}

.why-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 1.25rem;
    background: inherit;
    filter: blur(12px);
    opacity: 0.4;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.why-card:hover .why-icon::before {
    opacity: 0.7;
}

.wi {
    width: 28px;
    height: 28px;
    color: #2b6cb0;
    position: relative;
    z-index: 1;
}

/* Різні кольори для різних карток */
.why-card:nth-child(1) .why-icon {
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    border-color: rgba(66, 153, 225, 0.3);
}
.why-card:nth-child(1) .wi { color: #2b6cb0; }
.why-card:nth-child(1) .why-icon::before {
    background: linear-gradient(135deg, #4299e1, #3182ce);
}

.why-card:nth-child(2) .why-icon {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    border-color: rgba(56, 178, 172, 0.3);
}
.why-card:nth-child(2) .wi { color: #2c7a7b; }
.why-card:nth-child(2) .why-icon::before {
    background: linear-gradient(135deg, #38b2ac, #319795);
}

.why-card:nth-child(3) .why-icon {
    background: linear-gradient(135deg, #fffaf0, #feebc8);
    border-color: rgba(237, 137, 54, 0.3);
}
.why-card:nth-child(3) .wi { color: #c05621; }
.why-card:nth-child(3) .why-icon::before {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.why-card:nth-child(4) .why-icon {
    background: linear-gradient(135deg, #faf5ff, #e9d8fd);
    border-color: rgba(159, 122, 234, 0.3);
}
.why-card:nth-child(4) .wi { color: #6b46c1; }
.why-card:nth-child(4) .why-icon::before {
    background: linear-gradient(135deg, #9f7aea, #805ad5);
}

.why-card:nth-child(5) .why-icon {
    background: linear-gradient(135deg, #fff5f7, #fed7e2);
    border-color: rgba(236, 72, 153, 0.3);
}
.why-card:nth-child(5) .wi { color: #b83280; }
.why-card:nth-child(5) .why-icon::before {
    background: linear-gradient(135deg, #ec4899, #d53f8c);
}

.why-card:nth-child(6) .why-icon {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: rgba(6, 182, 212, 0.3);
}
.why-card:nth-child(6) .wi { color: #0e7490; }
.why-card:nth-child(6) .why-icon::before {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.why-card h3 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.why-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(66, 153, 225, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #2b6cb0;
    font-weight: 600;
    border: 1px solid rgba(66, 153, 225, 0.15);
    transition: all 0.3s ease;
}

.why-card:hover .why-meta {
    background: rgba(66, 153, 225, 0.15);
    transform: scale(1.05);
}

/* Міні-FAQ */
.why-mini {
    max-width: 1100px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.why-mini-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
}

.why-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-mini-item {
    padding: 1.5rem;
    background: rgba(247, 250, 252, 0.8);
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.4);
    transition: all 0.3s ease;
}

.why-mini-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(66, 153, 225, 0.3);
}

.why-mini-item h4 {
    color: #2b6cb0;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.why-mini-item p {
    color: #718096;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Нижня нотатка */
.why-note {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.08), rgba(102, 126, 234, 0.08));
    border-radius: 1.5rem;
    border: 1px solid rgba(66, 153, 225, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4299e1, #667eea, transparent);
}

.why-note-title {
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.why-note p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

/* Анімації */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.why-card:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.why-card:nth-child(even) {
    animation: float 6s ease-in-out infinite 3s;
}

/* Адаптивність */
@media (max-width: 768px) {
    .why {
        padding: 4rem 1.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-facts {
        gap: 0.5rem;
    }

    .why-fact {
        padding: 0.5rem 1rem;
    }

    .why .section-header h2 {
        font-size: 2rem;
    }

    .why-mini {
        padding: 1.5rem;
    }

    .why-mini-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .why-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .why-card {
        animation: none !important;
    }
}
.btn-pricing-more{
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;

  font-size: 14px;
  font-weight: 500;
  color: #7a8190;           /* приглушений текст */
  text-decoration: none;

  opacity: 0.8;
  transition: all .2s ease;
}

/* легкий hover, але не яскравий */
.btn-pricing-more:hover{
  opacity: 1;
  color: #5b6270;
  text-decoration: underline;
}
/* === Compare CTA button under pricing === */
.compare-cta{
  max-width: 1200px;
  margin: 14px auto 0;
  display:flex;
  justify-content:center;
  padding: 0 20px;
}
.compare-btn{
  appearance:none;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor:pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform .15s, box-shadow .15s;
  color: #111827;
}
.compare-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.compare-btn-icon{ margin-left: 8px; opacity: .65; }

/* === Collapsible container === */
.plans-compare{
  max-width: 1200px;
  margin: 26px auto 0;
  padding: 0 20px;
  overflow: hidden;

  /* collapsed by default */
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .45s ease, opacity .25s ease, transform .25s ease;
}

.plans-compare.is-open{
  opacity: 1;
  transform: translateY(0);
}

/* header */
.compare-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 18px 0 14px;
}
.compare-head h2{
  font-size: 34px;
  line-height: 1.15;
  margin: 0;
  color: #111827;
}
.compare-collapse{
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor:pointer;
  color:#111827;
}

/* table shell */
.compare-table-wrap{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

/* table */
.compare-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px; /* важливо: щоб на малих екранах був скрол, а не каша */
}

.compare-table thead th{
  text-align: left;
  background: #f8fafc;
  color: #111827;
  font-weight: 800;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.compare-table tbody td{
  padding: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: #111827;
}

.compare-table tbody tr:last-child td{ border-bottom: 0; }

.compare-table tbody td:first-child{
  color:#111827;
  font-weight: 700;
}

/* align plan columns center-ish */
.compare-table thead th:not(:first-child),
.compare-table tbody td:not(:first-child){
  text-align: center;
  font-weight: 600;
  color: #0f172a;
}

/* wrap: horizontal scroll on narrow screens */
@media (max-width: 980px){
  .compare-table-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* details cards under table */
.compare-details{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 18px;
}
.compare-card{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}
.compare-card h3{
  margin: 0 0 10px;
  color: #111827;
}
.compare-card ul{ margin: 0; padding-left: 18px; color: #334155; }
.compare-card li{ margin: 8px 0; line-height: 1.55; }

@media (max-width: 900px){
  .compare-details{ grid-template-columns: 1fr; }
}
.compare-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.compare-toggle .chev{
  display:inline-block;
  transition: transform .2s ease;
  font-size:12px;
  opacity:.7;
}

.compare-toggle.is-open .chev{
  transform: rotate(180deg);
}

/* Collapse/expand */
.compare-wrap{
  max-width:1200px;
  margin: 26px auto 0;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .45s ease, opacity .2s ease, transform .2s ease;
}

.compare-wrap.is-open{
  opacity: 1;
  transform: translateY(0);
}
.compare-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:18px 34px;
  border-radius:999px;

  background:#ffffff;
  color:#2563eb;
  font-weight:700;
  font-size:18px;

  border:none;
  box-shadow:0 15px 35px rgba(0,0,0,.12);

  cursor:pointer;
  transition:.25s;
}

.compare-toggle:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.compare-toggle .chev{
  transition:.2s;
}
.compare-toggle.is-open .chev{
  transform:rotate(180deg);
}
.kc-cookie{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1100px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: none;
  backdrop-filter: blur(10px);
  animation: kcSlideUp .35s ease;
}
@keyframes kcSlideUp{
  from{ transform: translate(-50%, 16px); opacity: 0; }
  to{ transform: translate(-50%, 0); opacity: 1; }
}
.kc-cookie-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.kc-cookie-title{
  font-weight: 800;
  color: #1a202c;
  margin-bottom: .25rem;
}
.kc-cookie-desc{
  color: #4a5568;
  font-size: .95rem;
  line-height: 1.55;
  max-width: 72ch;
}
.kc-cookie-desc a{
  color: var(--primary, #4299e1);
  font-weight: 700;
  text-decoration: none;
}
.kc-cookie-actions{
  display:flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* --- Buttons (під твій стиль) --- */
.kc-btn{
  border: none;
  border-radius: 999px;
  padding: .85rem 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.kc-btn-primary{
  background: var(--gradient-primary, linear-gradient(90deg,#4299e1,#667eea));
  color: #fff;
  box-shadow: 0 10px 25px rgba(66,153,225,.35);
}
.kc-btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(66,153,225,.45); }
.kc-btn-secondary{
  background: #fff;
  color: #1a202c;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.kc-btn-secondary:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.kc-btn-ghost{
  background: #f7fafc;
  color: #334155;
  border: 1px solid rgba(0,0,0,0.08);
}
.kc-btn-ghost:hover{ background: #edf2f7; transform: translateY(-1px); }

/* --- Modal --- */
.kc-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.kc-modal[aria-hidden="false"]{ display: block; }
.kc-modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}
.kc-modal-card{
  position: relative;
  width: min(720px, 92vw);
  margin: 9vh auto 0;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  overflow:hidden;
}
.kc-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.kc-modal-title{ font-weight: 900; color:#111827; font-size: 1.2rem; }
.kc-modal-sub{ color:#64748b; font-weight:600; margin-top: .15rem; }
.kc-x{
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
  padding: .25rem .5rem;
}
.kc-modal-body{ padding: 1.1rem 1.4rem 1.25rem; }
.kc-row{
  display:flex;
  justify-content:space-between;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.kc-row:last-of-type{ border-bottom: none; }
.kc-row-title{ font-weight: 900; color:#111827; }
.kc-row-desc{ color:#475569; margin-top:.25rem; line-height:1.55; }
.kc-pill{
  display:inline-flex;
  align-items:center;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .85rem;
}
.kc-pill-on{
  background: rgba(72,187,120,0.14);
  color: #166534;
  border: 1px solid rgba(72,187,120,0.25);
}

/* Switch */
.kc-switch{ position:relative; width: 54px; height: 30px; display:inline-block; }
.kc-switch input{ opacity:0; width:0; height:0; }
.kc-slider{
  position:absolute; inset:0;
  background: #cbd5e0;
  border-radius: 999px;
  transition: .2s;
}
.kc-slider:before{
  content:"";
  position:absolute;
  height: 22px; width: 22px;
  left: 4px; top: 4px;
  background:#fff;
  border-radius: 999px;
  transition: .2s;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.kc-switch input:checked + .kc-slider{ background: var(--success, #48bb78); }
.kc-switch input:checked + .kc-slider:before{ transform: translateX(24px); }

.kc-note{
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(66,153,225,0.08);
  border: 1px solid rgba(66,153,225,0.18);
  color: #334155;
  line-height: 1.6;
}

.kc-modal-foot{
  padding: 1rem 1.4rem 1.25rem;
  display:flex;
  justify-content:flex-end;
  gap: .75rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 768px){
  .kc-cookie{ bottom: 12px; padding: 1rem 1rem; }
  .kc-cookie-actions{ width:100%; }
  .kc-btn{ flex: 1; }
  .kc-modal-card{ margin-top: 6vh; }
  .kc-row{ flex-direction: column; align-items:flex-start; }
}
.kc-chat-toggle,
.kc-chat-widget,
.kc-chat-widget * {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

.kc-chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 68px;
  height: 68px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1000;
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.22),
    0 4px 12px rgba(37, 99, 235, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kc-chat-toggle:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 46px rgba(37, 99, 235, 0.26),
    0 8px 18px rgba(37, 99, 235, 0.18);
}

.kc-chat-widget {
  position: fixed;
  right: 24px;
  bottom: 104px;
  width: 390px;
  height: 560px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  overflow: hidden;
  z-index: 999;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease;

  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.12),
    0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.kc-chat-widget.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.kc-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 18px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.kc-chat-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kc-chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  color: #2563eb;
  font-weight: 800;
  font-size: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 8px 20px rgba(37, 99, 235, 0.10);
}

.kc-chat-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.kc-chat-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.2;
}

.kc-chat-close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(241, 245, 249, 0.9);
  color: #334155;
  border-radius: 12px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.kc-chat-close:hover {
  background: #e2e8f0;
  transform: scale(1.04);
}

.kc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.kc-chat-messages::-webkit-scrollbar {
  width: 10px;
}

.kc-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.kc-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.kc-message {
  max-width: 82%;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  animation: kcFadeIn 0.18s ease;
}

.kc-bot {
  align-self: flex-start;
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px 18px 18px 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.kc-user {
  align-self: flex-end;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 18px 18px 8px 18px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.kc-chat-input-wrap {
  padding: 16px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.kc-chat-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.kc-chat-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #f8fafc;
  color: #0f172a;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.kc-chat-input::placeholder {
  color: #94a3b8;
}

.kc-chat-input:focus {
  border-color: rgba(59, 130, 246, 0.45);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.kc-chat-send {
  height: 52px;
  padding: 0 20px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kc-chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

@keyframes kcFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .kc-chat-toggle {
    right: 14px;
    bottom: 14px;
    width: 62px;
    height: 62px;
  }

  .kc-chat-widget {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
    height: 72vh;
    border-radius: 24px;
  }
}
