/* Pricing Page Styles */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.billing-toggle span {
    color: var(--text-secondary);
    font-weight: 500;
}

.billing-toggle span.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gradient-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

.save-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.pricing-section {
    padding: 4rem 0 6rem;
}

.pricing-grid-lg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    border: 2px solid transparent;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1.5rem;
    background: linear-gradient(45deg, #6366f1, #ec4899, #06b6d4, #a855f7, #6366f1);
    background-size: 300% 300%;
    animation: gradient-rotate 3s ease infinite;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.pricing-card:nth-child(1)::before {
    background: linear-gradient(45deg, #22c55e, #10b981, #06b6d4, #3b82f6, #22c55e);
}

.pricing-card:nth-child(2)::before {
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899, #a855f7, #6366f1);
}

.pricing-card:nth-child(3)::before {
    background: linear-gradient(45deg, #f59e0b, #f97316, #ef4444, #ec4899, #f59e0b);
}

.pricing-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(99, 102, 241, 0.3);
}

.pricing-card:hover::before {
    opacity: 1;
    animation: gradient-rotate 1.5s ease infinite;
}

/* Shine effect */
.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.pricing-card:hover::after {
    transform: translateX(100%) rotate(45deg);
}

.pricing-card.featured {
    transform: scale(1.05);
}

.pricing-card.featured::before {
    opacity: 0.6;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px) rotateX(5deg);
}

.featured-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.pricing-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-list {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
}

.btn-full {
    width: 100%;
}

@media (max-width: 992px) {
    .pricing-grid-lg {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}
