.heading {
    text-align: center;
    margin-bottom: 3rem;
}

.title {
    font-size: .7rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-option {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-option.active {
    background: #5e17eb;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: .5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5e17eb, #4f46e5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.highlight-card {
    border: 2px solid #5e17eb;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
}

.highlight-card::before {
    opacity: 1;
}

.trial-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: linear-gradient(90deg, #FF6B6B, #ee5253);
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #666;
    font-size: 0.7rem;
    margin-bottom: .5rem;
}

.price-options {
    display: flex;
    gap: 1rem;
    margin-bottom: .5rem;
}

.price-option {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    width: 49%;
    align-content: center;
}

.price-content {
    padding: 10px;
}

.price-option:hover {
    border-color: #5e17eb;
}

.price-option.selected {
    border-color: #5e17eb;
    background: #f8faff;
}

.price-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: .9rem;
    font-weight: bold;
    color: #5e17eb;
}

.price-period {
    color: #666;
    font-size: 0.9rem;
}

.savings-tag {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    width: 100%;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.trial-text {
    color: #FF6B6B;
    font-weight: 500;
    margin: .5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.good-price-text {
    color: #FF6B6B;
    font-weight: 500;
    margin: .5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 10px;
}

.trial-text::before {
    content: "🎁";
}

.features-list {
    list-style: none;
    margin: .5rem 0;
    padding: 0 0;
    border-top: 1px solid #e5e7eb;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: .5rem;
    color: #4b5563;
}

.feature-not-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: .5rem;
    color: #4b5563;
}

.feature-item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    background: #32c405;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: bold;
}

.feature-not-item::before {
    content: "x";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    background: #ff2222;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: bold;
}

.cta-button {
    width: 100%;
    padding: .5rem;
    border: none;
    border-radius: 12px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-button {
    background: linear-gradient(90deg, #5e17eb, #4f46e5);
    color: white;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.secondary-button {
    background: white;
    color: #5e17eb;
    border: 2px solid #5e17eb;
}

.secondary-button:hover {
    background: #f8faff;
    transform: translateY(-2px);
}

.custom-btn-size {
    padding: 3px;
    font-size: 10px;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.price-button {
    bottom: 0px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .title {
        font-size: .5rem;
    }
}