/* Modern Pricing Section - Enhanced Design */

:root {
    --primary-gradient: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--secondary-color, #764ba2) 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 24px 64px rgba(0, 0, 0, 0.2);
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pricing Section Container */
.modern-pricing-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--secondary-color, #764ba2) 50%, #f093fb 100%);
    overflow: hidden;
}

.modern-pricing-section::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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

/* Floating Elements */
.pricing-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section Header */
.pricing-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 80px;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: var(--transition);
}

.pricing-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.pricing-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #e0e7ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Toggle Removed */
/* Toggle functionality has been removed as requested */

/* Pricing Cards Grid */
.pricing-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Pricing Slider for more than 3 plans */
.pricing-slider {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-slider .pricing-grid {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    max-width: none;
    padding: 0;
}

.pricing-slider .pricing-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Individual Pricing Card */
.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.pricing-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(255, 255, 255, 0.5);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #ffd700;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.pricing-card.featured:hover {
    transform: translateY(-20px) scale(1.07);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 0 0 12px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.featured-badge svg {
    width: 12px;
    height: 12px;
    margin-right: 4px;
}

/* Card Header */
.card-header {
    position: relative;
    padding: 40px 30px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
}

.pricing-card:hover .plan-icon {
    transform: scale(1.1) rotate(5deg);
}

.plan-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
}

.plan-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

/* Pricing Display */
.pricing-display {
    padding: 30px;
    text-align: center;
    background: white;
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 16px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
    margin-left: 8px;
}

.price-note {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.commission-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Features List */
.features-section {
    padding: 30px;
    background: #f8fafc;
}

.features-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
}

.features-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: var(--transition);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    background: white;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 12px;
}

.feature-item.hidden {
    display: none;
}

.feature-check {
    width: 20px;
    height: 20px;
    background: var(--success-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-check.disabled {
    background: #ef4444;
}

.feature-check svg {
    width: 12px;
    height: 12px;
    fill: white;
}

.feature-text {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.feature-item.disabled .feature-text {
    color: #9ca3af;
    text-decoration: line-through;
}

.feature-value {
    background: #e2e8f0;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Show More Toggle */
.show-more-container {
    text-align: center;
    margin-top: 16px;
}

.show-more-btn {
    background: none;
    border: none;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    transition: var(--transition);
    font-size: 0.875rem;
}

.show-more-btn:hover {
    color: #764ba2;
    transform: translateY(-2px);
}

.show-more-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition);
}

.show-more-btn.expanded .show-more-icon {
    transform: rotate(180deg);
}

/* CTA Button */
.cta-section {
    padding: 30px;
    background: white;
}

.cta-button {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button::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.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition);
}

.cta-button:hover .cta-icon {
    transform: scale(1.1);
}

.cta-arrow {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition);
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .modern-pricing-section {
        padding: 80px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .pricing-title {
        font-size: 2.5rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-header {
        padding: 30px 20px 20px;
    }
    
    .pricing-display,
    .features-section,
    .cta-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .pricing-card {
        margin: 0 5px;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .pricing-card {
        background: rgba(30, 41, 59, 0.95);
        color: white;
    }
    
    .card-header {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }
    
    .pricing-display {
        background: #1e293b;
    }
    
    .features-section {
        background: #0f172a;
    }
    
    .cta-section {
        background: #1e293b;
    }
    
    .plan-name {
        color: white;
    }
    
    .feature-text {
        color: #e2e8f0;
    }
    
    .features-title {
        color: white;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}