/* Pricing Section - Modern Design */

.pricing-section {
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0a15 50%, #0a0a0f 100%);
    padding: 80px var(--spacing-lg) !important;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    z-index: 0;
}

.pricing-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 5vw, 3rem);
}

.pricing-section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    border-radius: 2px;
}

.pricing-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

/* Pricing Grid - 3 columns */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto var(--spacing-3xl);
}

/* Pricing Tier Card */
.pricing-tier {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: var(--spacing-2xl);
    transition: all var(--transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.8s ease-out both;
}

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

/* Gradient top border */
.pricing-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    border-radius: 12px 12px 0 0;
}

.pricing-tier:hover {
    transform: translateY(-12px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
}

/* Pricing Tier Name */
.tier-name,
.pricing-tier-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 var(--spacing-md) 0;
    transition: all var(--transition-base);
}

.pricing-tier:hover .tier-name,
.pricing-tier:hover .pricing-tier-name {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pricing Tier Price */
.tier-price,
.pricing-tier-price {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 var(--spacing-lg) 0;
}

/* Pricing Tier Features */
.tier-features {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 0.9rem;
    margin: 0 0 var(--spacing-lg) 0;
    flex-grow: 1;
    list-style: none;
    padding: 0;
}

.tier-features li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: 900;
}

/* Pricing Tier CTA */
.tier-cta {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.tier-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

/* Pricing Tier Description */
.pricing-tier-description {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
}

/* Pricing Note Box */
.pricing-note {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-left: 4px solid #a855f7;
    border-radius: 12px;
    padding: var(--spacing-2xl);
    max-width: 900px;
    margin: var(--spacing-2xl) auto 0;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out 0.4s both;
    color: #d1d5db;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 500;
}

.pricing-note p {
    color: #d1d5db;
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

.pricing-note strong {
    color: #ffffff;
    font-weight: 700;
}

.pricing-note a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.pricing-note a:hover {
    color: #ec4899;
    text-decoration: underline;
}

/* Pricing Text Below Grid */
.pricing-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-2xl);
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.pricing-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px var(--spacing-md) !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        margin-bottom: var(--spacing-2xl);
    }

    .pricing-tier {
        padding: var(--spacing-xl);
    }

    .pricing-note {
        padding: var(--spacing-xl);
    }

    .pricing-tier:hover {
        transform: translateY(-8px);
    }

    .pricing-tier-name {
        font-size: 1.1rem;
    }

    .pricing-tier-price {
        font-size: 1.5rem;
    }
}
