/* Pricing CSS - Price Range Section Styles for Ziyorate */

/* Price Range Section */
.price-range-section {
    padding: var(--spacing-xxl) 0;
    background: var(--text-white);
    position: relative;
    overflow: hidden;
}

.price-range-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(27, 77, 62, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.price-range-section .container {
    position: relative;
    z-index: 2;
}

/* Price Categories Grid */
.price-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Individual Price Card */
.price-card {
    background: var(--gradient-primary);
    padding: 2.8rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: all var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: var(--transition-slow);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: rgba(212, 175, 55, 0.3);
}

.price-card:hover::before {
    left: 100%;
}

/* Featured Price Card */
.price-card.featured {
    background: var(--gradient-green);
    color: var(--text-white);
    border-color: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: 0 15px 35px var(--shadow-heavy);
    position: relative;
}

.price-card.featured::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-gold), #FFD700, var(--accent-gold));
    border-radius: var(--radius-lg);
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-heavy);
}

/* Price Icon Container */
.price-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 20px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.price-card.featured .price-icon {
    background: var(--gradient-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    animation: iconPulse 2s ease-in-out infinite;
}

.price-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all var(--transition-normal);
    transform: translate(-50%, -50%);
}

.price-card:hover .price-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.price-card:hover .price-icon::before {
    width: 100%;
    height: 100%;
}

.price-icon i {
    font-size: 2.5rem;
    color: var(--text-white);
    transition: all var(--transition-normal);
    z-index: 1;
}

.price-card:hover .price-icon i {
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Price Range Text */
.price-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    position: relative;
}

.price-card.featured h3 {
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: priceGlow 3s ease-in-out infinite;
}

.price-card:hover h3 {
    color: var(--royal-green);
    transform: scale(1.05);
}

.price-card.featured:hover h3 {
    color: var(--text-white);
    transform: scale(1.08);
}

/* Price Category Description */
.price-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.price-card.featured p {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.price-card:hover p {
    color: var(--text-dark);
}

.price-card.featured:hover p {
    color: var(--text-white);
}

/* Item Count Badge */
.item-count {
    background: var(--accent-gold);
    color: var(--text-white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-round);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.item-count::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-normal);
}

.price-card:hover .item-count {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.price-card:hover .item-count::before {
    left: 100%;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    background: var(--gradient-gold);
    color: var(--text-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    animation: popularBounce 2s ease-in-out infinite;
    z-index: 3;
}

.popular-badge::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #B8941F;
}

/* Newsletter Section (Part of pricing experience) */
.newsletter-section {
    padding: var(--spacing-xl) 0;
    background: var(--royal-green);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: gradientMove 10s ease-in-out infinite;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    font-weight: 300;
    color: var(--text-white);
    animation: fadeInDown 0.8s ease-out;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: var(--radius-round);
    font-size: 1rem;
    background: var(--text-white);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all var(--transition-normal);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: scale(1.02);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form button {
    background: var(--gradient-gold);
    color: var(--text-white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-round);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-form 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: var(--transition-normal);
}

.newsletter-form button:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.newsletter-form button:hover::before {
    left: 100%;
}

.newsletter-form button:active {
    transform: translateY(0);
}

/* Pricing Animations */
@keyframes borderGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
    }
}

@keyframes priceGlow {
    0%, 100% {
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    50% {
        text-shadow: 0 4px 20px rgba(255,255,255,0.5),
                     0 2px 10px rgba(0,0,0,0.3);
    }
}

@keyframes popularBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

@keyframes gradientMove {
    0% {
        transform: translateX(-100%) rotate(0deg);
    }
    50% {
        transform: translateX(100%) rotate(180deg);
    }
    100% {
        transform: translateX(-100%) rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .price-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .price-card {
        padding: 2.2rem;
    }
    
    .price-card.featured {
        transform: scale(1.02);
    }
    
    .price-card.featured:hover {
        transform: scale(1.05) translateY(-5px);
    }
    
    .price-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 1.5rem;
    }
    
    .price-icon i {
        font-size: 2rem;
    }
    
    .price-card h3 {
        font-size: 1.6rem;
    }
    
    .newsletter-content h2 {
        font-size: 2.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        max-width: 350px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .price-categories {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .price-card {
        padding: 2rem 1.5rem;
    }
    
    .price-card h3 {
        font-size: 1.4rem;
    }
    
    .price-card p {
        font-size: 1rem;
    }
    
    .popular-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        right: 15px;
        top: -8px;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .price-categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .price-card {
        padding: 3rem;
    }
    
    .price-icon {
        width: 100px;
        height: 100px;
    }
    
    .price-icon i {
        font-size: 3rem;
    }
    
    .price-card h3 {
        font-size: 2rem;
    }
    
    .newsletter-content h2 {
        font-size: 3.2rem;
    }
    
    .newsletter-form {
        max-width: 600px;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .price-card.featured::after,
    .popular-badge,
    .newsletter-section::before {
        animation: none;
    }
    
    .price-card:hover {
        transform: translateY(-2px);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .price-card {
        border: 2px solid var(--royal-green);
    }
    
    .price-card.featured {
        border: 3px solid var(--accent-gold);
    }
}