/* Pricing Page Styles */

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(106, 44, 112, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(106, 44, 112, 0.2) 50%, transparent 100%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1f2937;
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #42adad;
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(106, 44, 112, 0.1);
    border-radius: 60px;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 10px 40px rgba(106, 44, 112, 0.1), 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.pricing-toggle:hover {
    border-color: rgba(106, 44, 112, 0.2);
    box-shadow: 0 15px 50px rgba(106, 44, 112, 0.15), 0 6px 25px rgba(0, 0, 0, 0.08);
}

.toggle-label {
    font-weight: 600;
    color: #64748b;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

.toggle-label.active {
    color: #6A2C70;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 32px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 32px;
    border: 2px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked + .slider {
    background: linear-gradient(135deg, #6A2C70, #5a2560);
    border-color: #6A2C70;
}

input:checked + .slider:before {
    transform: translateX(28px);
    box-shadow: 0 4px 12px rgba(106, 44, 112, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.discount {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: pulse-discount 2s ease-in-out infinite;
}

@keyframes pulse-discount {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3); }
    50% { box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5); }
}

/* Pricing Plans */
.pricing-plans {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    min-height: 100vh;
}

.pricing-plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: stretch;
}

.plan-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 0 10px 25px rgba(106, 44, 112, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid rgba(106, 44, 112, 0.08);
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #6A2C70;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.plan-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 44, 112, 0.02) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.plan-card:hover {
    transform: translateY(-12px);
    border-color: rgba(106, 44, 112, 0.15);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12), 0 15px 35px rgba(106, 44, 112, 0.1);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card:hover::after {
    opacity: 1;
}

.plan-card.popular {
    transform: scale(1.08);
    border: 3px solid #6A2C70;
    box-shadow: 0 30px 60px rgba(106, 44, 112, 0.2), 0 15px 30px rgba(106, 44, 112, 0.15);
    background: rgba(255, 255, 255, 1);
}

.plan-card.popular::before {
    opacity: 1;
    height: 6px;
    background: linear-gradient(90deg, #6A2C70, #42adad, #6A2C70);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: -200% center; }
    50% { background-position: 200% center; }
}

.plan-card.popular::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background-color: #6A2C70;
    border-radius: 30px;
    z-index: -1;
    opacity: 0.1;
}

.plan-card.popular:hover {
    transform: scale(1.08) translateY(-12px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 900px;
    }
    
    .plan-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }
    
    .plan-card.popular {
        transform: none;
    }
    
    .plan-card.popular:hover {
        transform: translateY(-10px);
    }
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 10px 30px rgba(106, 44, 112, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    animation: enhanced-badge-glow 3s ease-in-out infinite;
    white-space: nowrap;
    z-index: 10;
}

@keyframes enhanced-badge-glow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(106, 44, 112, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(106, 44, 112, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3);
        transform: translateX(-50%) scale(1.05);
    }
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.plan-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.plan-price {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 1.8rem;
    vertical-align: top;
    color: #6A2C70;
    font-weight: 700;
    -webkit-text-fill-color: #6A2C70;
}

.price .period {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    -webkit-text-fill-color: #64748b;
}

.price small {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    opacity: 0.8;
}

.price.hidden {
    display: none;
}

.price-note {
    display: inline-block;
    font-size: 0.95rem;
    color: #6A2C70;
    background: linear-gradient(135deg, rgba(106, 44, 112, 0.1), rgba(66, 173, 173, 0.1));
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    margin-top: 0.8rem;
    font-weight: 600;
    border: 2px solid rgba(106, 44, 112, 0.2);
    box-shadow: 0 4px 12px rgba(106, 44, 112, 0.1);
    transition: all 0.3s ease;
}

.price-note:hover {
    background: linear-gradient(135deg, rgba(106, 44, 112, 0.15), rgba(66, 173, 173, 0.15));
    border-color: rgba(106, 44, 112, 0.3);
    box-shadow: 0 6px 16px rgba(106, 44, 112, 0.15);
    transform: translateY(-2px);
}

.plan-features {
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    padding: 0.5rem 0;
}

.feature i {
    color: #10b981;
    font-size: 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature span {
    color: #374151;
    font-weight: 500;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: #4a5568;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6A2C70, #B83DBA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #6A2C70;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.testimonial-content p {
    font-style: italic;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6A2C70, #B83DBA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #2c3e50;
}

.author-info span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* CTA Section */
.pricing-cta {
    color: #000000;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-features .feature i {
    color: #42adad;
}

.cta-buttons .btn {
    width: auto;
    min-width: 200px;
}

/* Card Types Pricing Section */
.card-pricing {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
}

.card-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.card-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.card-type {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #f1f5f9;
    overflow: hidden;
}

.card-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: #6A2C70;
}

.card-type.eco {
    border-color: #10b981;
}

.card-type.premium {
    border-color: #f59e0b;
}

.card-image {
    text-align: center;
    margin-bottom: 1.5rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card-type:hover .card-image img {
    transform: scale(1.05);
}

.card-type h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 1rem;
}

.card-specs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.card-specs span {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.card-type.eco .card-specs span {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card-type.premium .card-specs span {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.card-price-tiers {
    space-y: 0.5rem;
}

.tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.tier:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.tier .quantity {
    font-weight: 500;
    color: #64748b;
}

.tier .price {
    font-weight: 700;
    color: #6A2C70;
    font-size: 1.1rem;
}

.eco-badge, .premium-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 10;
}

.eco-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.premium-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Responsive Design for Card Types */
@media (max-width: 1024px) {
    .card-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .card-types-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-type {
        padding: 1.5rem;
    }
    
    .card-image {
        height: 150px;
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6A2C70, #42adad, #6A2C70);
    background-size: 200% 100%;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(106, 44, 112, 0.3), 0 3px 10px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2.5rem;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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 {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(106, 44, 112, 0.4), 0 5px 15px rgba(0, 0, 0, 0.15);
    background-position: 100% 0;
}

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

.cta-button:active {
    transform: translateY(-2px);
    transition: transform 0.1s ease;
}

.cta-button.popular {
    background: linear-gradient(135deg, #6A2C70, #42adad, #6A2C70, #42adad);
    background-size: 300% 100%;
    animation: gradient-shift 4s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(106, 44, 112, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card.popular {
        transform: none;
    }
    
    .plan-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
}