/* AILA Tech Solutions - Modern Pricing Page Styles - REDESIGNED */

/* ========================================
   New Pricing Hero Section
   ======================================== */
.pricing-hero-new {
    position: relative;
    padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 60px);
    margin-top: -120px;
    padding-top: calc(clamp(40px, 6vw, 80px) + 120px);
    overflow: hidden;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    isolation: isolate;
}

.hero-background-pricing {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-gradient-pricing {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 40%, #3B82F6 70%, #8B5CF6 100%);
    opacity: 0.85;
    animation: gradientShift 15s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { opacity: 0.8; filter: hue-rotate(0deg); }
    100% { opacity: 0.9; filter: hue-rotate(10deg); }
}

.hero-pattern-pricing {
    position: absolute;
    inset: 0;
    background-image: 
      radial-gradient(circle at 15% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 85% 75%, rgba(251, 191, 36, 0.1) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: patternMove 25s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes patternMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.pricing-hero-content-new {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: white;
}

.pricing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: clamp(16px, 2.5vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    animation: fadeInUp 0.6s ease;
}

.pricing-hero-badge i {
    color: #FBBF24;
    font-size: 16px;
}

.pricing-hero-title-new {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: clamp(12px, 2vw, 20px);
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pricing-gradient-text {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.pricing-hero-subtitle-new {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(20px, 3vw, 30px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.pricing-hero-cta-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease 0.6s both;
    transition: all 0.3s ease;
}

.pricing-hero-cta-new:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.pricing-hero-cta-new i {
    color: #FBBF24;
}

/* ========================================
   Pricing Plans Section - REDESIGNED
   ======================================== */
.pricing-plans {
    padding: clamp(40px, 5vw, 60px) 0;
    background: #F8FAFC;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.pricing-card.lite {
    border: 2px solid #10B981;
    transform: scale(1.05);
}

.pricing-card.lite::before {
    background: linear-gradient(90deg, #10B981, #059669);
    transform: scaleX(1);
}

.pricing-card.lite:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 
        0 24px 64px rgba(16, 185, 129, 0.2),
        0 0 0 2px #10B981;
}

/* Card Header */
.pricing-card-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
}

.pricing-plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.pricing-plan-badge.lite-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.pricing-plan-name {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-plan-price {
    margin-bottom: 12px;
}

.pricing-plan-price .amount {
    font-size: 48px;
    font-weight: 900;
    color: #0F172A;
    line-height: 1;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-plan-price .currency {
    font-size: 20px;
    font-weight: 600;
    color: #64748B;
    vertical-align: top;
    margin-left: 4px;
}

.pricing-plan-description {
    color: #64748B;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 12px;
}

/* Features List */
.pricing-plan-features {
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pricing-feature:hover {
    background: #F8FAFC;
    transform: translateX(4px);
}

.pricing-feature i {
    color: #10B981;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-name {
    font-weight: 600;
    color: #1E293B;
    font-size: 15px;
    line-height: 1.5;
}

/* Pricing Actions */
.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.btn-view-details,
.btn-pay {
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-details {
    background: #F1F5F9;
    color: #475569;
    border: 2px solid #E2E8F0;
}

.btn-view-details:hover {
    background: #E2E8F0;
    color: #334155;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-pay {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-pay::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-pay:hover::before {
    left: 100%;
}

.btn-pay:hover {
    background: linear-gradient(135deg, #1D4ED8, #1E40AF);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.lite-pay-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.lite-pay-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-card.lite {
        transform: none;
    }
    
    .pricing-card.lite:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-hero-new {
        margin-top: -100px;
        padding: calc(40px + 100px) 0 40px;
    }
    
    .pricing-hero-title-new {
        font-size: 2.5rem;
    }
    
    .pricing-hero-subtitle-new {
        font-size: 1rem;
    }
    
    .pricing-plans {
        padding: 40px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .pricing-card.lite {
        transform: none;
    }
    
    .pricing-plan-price .amount {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .pricing-hero-new {
        margin-top: -90px;
        padding: calc(50px + 90px) 0 50px;
    }
    
    .pricing-hero-title-new {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 24px 20px;
    }
    
    .pricing-plan-price .amount {
        font-size: 36px;
    }
}

/* Legacy styles for backward compatibility */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary-gradient) 0%, var(--tech-gradient-1) 100%);
    color: var(--white);
    padding: var(--space-24) 0 var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.pricing-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.pricing-hero-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--space-10);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pricing-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.pricing-layout {
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
