﻿
:root {
    --primary-blue: #364670;
    --secondary-blue: #7A90C4;
    --accent-orange: #FF8C42;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --success-green: #28A745;
    --premium-gold: #FFD700;
    --enterprise-purple: #6F42C1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}



/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 6rem 0 4rem;
        text-align: center;
    position: relative;
    overflow: hidden;
}

    .pricing-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
        opacity: 0.5;
        animation: float 6s ease-in-out infinite;
    }

@keyframes float {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.pricing-hero-content {
    position: relative;
    z-index: 2;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease 0.2s both;
    color: #fff;
}

.pricing-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease 0.4s both;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease 0.6s both;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0 1rem;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
    border-radius: 30px;
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

input:checked + .toggle-slider {
    background: var(--accent-orange);
}

    input:checked + .toggle-slider:before {
        transform: translateX(30px);
    }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pricing Grid */
.pricing-section {
    padding: 4rem 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

    .pricing-card::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .pricing-card:hover::before {
        transform: scaleX(1);
    }

    .pricing-card:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-blue);
    }

    /* Special card styles */
    .pricing-card.popular {
        border: 2px solid var(--accent-orange);
        transform: scale(1.05);
        position: relative;
    }

        .pricing-card.popular::before {
            background: linear-gradient(90deg, var(--accent-orange), #ff6b1a);
            transform: scaleX(1);
        }

        .pricing-card.popular:hover {
            transform: translateY(-15px) scale(1.02);
            border-color: var(--accent-orange);
            box-shadow: 0 25px 50px rgba(255, 140, 66, 0.3);
        }

    .pricing-card.premium {
        border: 2px solid var(--premium-gold);
        background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    }

        .pricing-card.premium::before {
            background: linear-gradient(90deg, var(--premium-gold), #ffed4a);
            transform: scaleX(1);
        }

    .pricing-card.enterprise {
        border: 2px solid var(--enterprise-purple);
        background: linear-gradient(135deg, #f3f0ff 0%, #ffffff 100%);
    }

        .pricing-card.enterprise::before {
            background: linear-gradient(90deg, var(--enterprise-purple), #8b5cf6);
            transform: scaleX(1);
        }

.popular-badge {
    position: absolute;
    top: 10px;
    right: 20px;
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.pricing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

    .pricing-icon::after {
        content: '';
        position: absolute;
        inset: -5px;
        border-radius: 50%;
        background: inherit;
        z-index: -1;
        opacity: 0.3;
        filter: blur(10px);
        transition: opacity 0.3s ease;
    }

.pricing-card:hover .pricing-icon::after {
    opacity: 0.6;
}

.pricing-icon.starter {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.pricing-icon.small {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.pricing-icon.medium {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: white;
}

.pricing-icon.large {
    background: linear-gradient(135deg, #fd7e14, #e8590c);
    color: white;
}

.pricing-icon.extra-large {
    background: linear-gradient(135deg, #e83e8c, #d91a72);
    color: white;
}

.pricing-icon.premium {
    background: linear-gradient(135deg, var(--premium-gold), #ffed4a);
    color: white;
}

.pricing-icon.elite {
    background: linear-gradient(135deg, #6610f2, #520dc2);
    color: white;
}

.pricing-icon.enterprise {
    background: linear-gradient(135deg, var(--enterprise-purple), #8b5cf6);
    color: white;
}

.pricing-icon.unlimited {
    background: linear-gradient(135deg, #343a40, #212529);
    color: white;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.user-range {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.price-container {
    margin-bottom: 1.2rem;
    position: relative;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.savings-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--success-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(12deg);
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {

    0%, 100% {
        transform: rotate(12deg);
    }

    25% {
        transform: rotate(8deg);
    }

    75% {
        transform: rotate(16deg);
    }
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

    .features-list li {
        display: flex;
        align-items: center;
        /* margin-bottom: 0.75rem; */
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

        .features-list li:hover {
            background: var(--light-gray);
            transform: translateX(5px);
        }

        .features-list li i {
            color: var(--success-green);
            margin-right: 0.75rem;
            font-size: 1rem;
            width: 20px;
        }

.select-plan-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .select-plan-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s;
    }

    .select-plan-btn:hover::before {
        left: 100%;
    }

    .select-plan-btn:hover {
        background: var(--secondary-blue);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(54, 70, 112, 0.3);
    }

.pricing-card.popular .select-plan-btn {
    background: var(--accent-orange);
}

    .pricing-card.popular .select-plan-btn:hover {
        background: #ff6b1a;
        box-shadow: 0 10px 25px rgba(255, 140, 66, 0.3);
    }

.pricing-card.premium .select-plan-btn {
    background: var(--premium-gold);
    color: var(--text-dark);
}

    .pricing-card.premium .select-plan-btn:hover {
        background: #ffed4a;
        box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    }

.pricing-card.enterprise .select-plan-btn {
    background: var(--enterprise-purple);
}

    .pricing-card.enterprise .select-plan-btn:hover {
        background: #8b5cf6;
        box-shadow: 0 10px 25px rgba(111, 66, 193, 0.3);
    }

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 4rem 0;
    margin-top: 4rem;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.faq-item {
    background: var(--light-gray);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

    .faq-question:hover {
        background: var(--primary-blue);
        color: white;
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}



/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.stagger-animation {
    animation-delay: calc(var(--stagger) * 0.1s);
}

