  @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-black: #000000;
            --primary-gold: #D9B86E;
            --accent-gold: #B8860B;
            --grey: #434343;
        }

        body {
            font-family: 'Lato', sans-serif;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            color: var(--primary-black);
            overflow-x: hidden;
            min-height: 100vh;
            padding-bottom: 30px;
        }

        .grain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.02;
            z-index: 0;
            pointer-events: none;
            background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
        }

        .container {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 15px;
        }

        .header {
            text-align: center;
            padding: 30px 0 40px;
            animation: fadeInDown 0.8s ease-out;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logo {
            font-family: 'Raleway', sans-serif;
            font-weight: 900;
            font-size: 2.5em;
            letter-spacing: 10px;
            background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0%, 100% { filter: brightness(1); }
            50% { filter: brightness(1.3); }
        }

        .subtitle {
            font-size: 0.9em;
            letter-spacing: 3px;
            color: rgba(0, 0, 0, 0.6);
            font-weight: 300;
        }

        /* Стили для блока "Заморозка не предусмотрена" */
        .freeze-notice {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
            border: 2px solid #64B5F6;
            border-radius: 10px;
            margin: 10px 0;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(100, 181, 246, 0.2);
        }

        .freeze-notice:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(100, 181, 246, 0.4);
            border-color: #42A5F5;
        }

        .freeze-notice-icon {
            font-size: 1.5em;
            animation: snowflake-spin 4s linear infinite;
        }

        @keyframes snowflake-spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .freeze-notice-text {
            font-weight: 600;
            color: #1565C0;
            font-size: 0.9em;
        }

        /* Всплывающая подсказка */
        .freeze-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            background: linear-gradient(135deg, #1565C0, #1976D2);
            color: white;
            padding: 15px 20px;
            border-radius: 12px;
            width: 280px;
            font-size: 0.85em;
            line-height: 1.5;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 8px 25px rgba(21, 101, 192, 0.4);
            pointer-events: none;
        }

        .freeze-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 8px solid transparent;
            border-top-color: #1976D2;
        }

        .freeze-notice:hover .freeze-tooltip {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(-5px);
        }

        .freeze-tooltip-title {
            font-weight: 700;
            margin-bottom: 8px;
            font-size: 1.05em;
        }

        .main-title {
            font-family: 'Raleway', sans-serif;
            font-weight: 900;
            font-size: 2em;
            letter-spacing: 5px;
            text-align: center;
            margin: 30px 0 15px;
            background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-top: 110px;
        }

        .description {
            text-align: center;
            color: rgba(0, 0, 0, 0.6);
            margin-bottom: 40px;
            line-height: 1.6;
            font-size: 0.95em;
            padding: 0 10px;
        }

        .category-toggle {
            display: flex;
            gap: 10px;
            margin-bottom: 40px;
            background: rgba(255, 255, 255, 0.8);
            padding: 5px;
            border-radius: 50px;
            border: 1px solid rgba(212, 175, 55, 0.2);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
        }

        .category-btn {
            flex: 1;
            padding: 15px 20px;
            border: none;
            background: transparent;
            color: rgba(0, 0, 0, 0.6);
            font-family: 'Raleway', sans-serif;
            font-weight: 700;
            font-size: 0.85em;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.25s ease;
            border-radius: 50px;
            position: relative;
            overflow: visible;
        }

         .category-btn.active {
            background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
            color: #000;
            box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
        }

        .category-btn.active::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 50px;
            z-index: -1;
            background: linear-gradient(90deg, rgba(217,184,110,0.10), rgba(184,134,11,0.06));
            pointer-events: none;
            filter: blur(6px);
            opacity: 1;
        }

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

        .tariff-card {
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid rgba(212, 175, 55, 0.12);
            border-radius: 15px;
            padding: 30px 25px 90px;
            position: relative;
            overflow: visible;
            transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
            animation: fadeInUp 0.6s ease-out backwards;
            min-height: 550px;
        }

        .tariff-card:nth-child(1) { animation-delay: 0.1s; }
        .tariff-card:nth-child(2) { animation-delay: 0.2s; }
        .tariff-card:nth-child(3) { animation-delay: 0.3s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .tariff-card::before {
            content: '';
            position: absolute;
            top: -6px;
            left: -6px;
            right: -6px;
            bottom: -6px;
            z-index: -1;
            border-radius: 18px;
            background: linear-gradient(45deg, rgba(217,184,110,0.28), rgba(184,134,11,0.12));
            filter: blur(10px);
            opacity: 0;
            transition: opacity 0.35s ease, transform 0.35s ease;
            pointer-events: none;
        }

        .tariff-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: rgba(217,184,110,0.35);
            box-shadow: 0 18px 50px rgba(212, 175, 55, 0.12);
        }

        .tariff-card:hover::before {
            opacity: 1;
        }

       .tariff-card.popular {
            position: relative;
            overflow: hidden;
        }

        .popular-badge {
            position: absolute;
            top: 35px;
            right: -50px;
            background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
            color: #000;
            padding: 5px 40px;
            font-family: 'Raleway', sans-serif;
            font-weight: 700;
            font-size: 0.7em;
            letter-spacing: 2px;
            transform: rotate(45deg);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
            z-index: 10;
        }

        .tariff-title {
            font-family: 'Raleway', sans-serif;
            font-weight: 900;
            font-size: 1.8em;
            letter-spacing: 4px;
            color: var(--primary-gold);
            margin-bottom: 10px;
            text-align: center;
        }

        .tariff-period {
            text-align: center;
            color: rgba(0, 0, 0, 0.5);
            font-size: 0.9em;
            letter-spacing: 2px;
            margin-bottom: 25px;
        }

        .price-block {
            text-align: center;
            margin-bottom: 30px;
        }

        .old-price {
            text-decoration: line-through;
            color: rgba(0, 0, 0, 0.3);
            font-size: 1.1em;
            margin-bottom: 5px;
        }

        .new-price {
            font-family: 'Raleway', sans-serif;
            font-weight: 900;
            font-size: 2.8em;
            color: var(--primary-gold);
            line-height: 1;
            margin-bottom: 5px;
        }

        .price-currency {
            font-size: 0.5em;
            vertical-align: super;
        }

        .discount-badge {
            display: inline-block;
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: #fff;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8em;
            font-weight: 700;
            letter-spacing: 1px;
            margin-top: 5px;
        }

        .features-list {
            list-style: none;
            margin-bottom: 30px;
        }

        .features-list li {
            padding: 12px 0;
            color: rgba(0, 0, 0, 0.7);
            font-size: 0.95em;
            line-height: 1.6;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .features-list li::before {
            content: '✔';
            color: var(--primary-gold);
            font-weight: 700;
            font-size: 1.2em;
            flex-shrink: 0;
        }

        .select-btn {
            position: absolute;
            bottom: 25px;
            left: 25px;
            right: 25px;
            width: auto;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
            border: none;
            border-radius: 50px;
            color: #000;
            font-family: 'Raleway', sans-serif;
            font-weight: 700;
            font-size: 1em;
            letter-spacing: 3px;
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;
        }

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

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

        .select-btn:hover {
            transform: scale(1.03);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.18);
        }

        .select-btn:active {
            transform: scale(0.98);
        }

        @media (max-width: 768px) {
            .logo {
                font-size: 2em;
                letter-spacing: 6px;
            }

            .main-title {
                font-size: 1.6em;
                letter-spacing: 3px;
            }

            .tariffs-grid {
                grid-template-columns: 1fr;
            }

            .tariff-title {
                font-size: 1.5em;
            }

            .new-price {
                font-size: 2.3em;
            }

            .category-btn {
                font-size: 0.75em;
                padding: 12px 15px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 15px 10px;
            }

            .logo {
                font-size: 1.8em;
            }

            .tariff-card {
                padding: 25px 20px 90px;
            }
        }

        .tariffs-section {
            display: none;
        }

        .tariffs-section.active {
            display: block;
        }
/* Overlay (затемнение фона) */
#confirmation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9998;
    animation: fadeIn 0.3s ease-out;
}

/* Всплывающее окно подтверждения */
#confirmation {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(217, 184, 110, 0.95) 0%, rgba(201, 168, 94, 0.95) 100%);
    border: 3px solid #fff;
    border-radius: 15px;
    text-align: center;
    animation: modalSlideIn 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Кнопка закрытия */
#confirmation .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

#confirmation .close-btn:hover {
    background: #fff;
    color: var(--primary-gold);
    transform: rotate(90deg);
}

#confirmation p {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#confirmation a {
    display: inline-block;
    margin-top: 10px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

#confirmation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(217, 184, 110, 0.3), transparent);
    transition: left 0.5s ease;
}

#confirmation a:hover::before {
    left: 100%;
}

#confirmation a:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
}

#confirmation a:active {
    transform: translateY(0) scale(1);
}

/* Анимация затемнения */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Анимация появления модального окна */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    #confirmation {
        width: 85%;
        padding: 50px 20px 30px 20px;
    }
    
    #confirmation .close-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 22px;
        line-height: 31px;
    }
    
    #confirmation p {
        font-size: 18px;
        margin-top: 10px;
    }
    
    #confirmation a {
        padding: 15px 35px;
        font-size: 14px;
    }
}
        
