/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ANIMATIONS ===== */
@keyframes pricingGlow {
    0%, 100% {
        box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3);
        border-color: #FF6B35;
    }
    50% {
        box-shadow: 0 20px 60px rgba(255, 107, 53, 0.5);
        border-color: #ff8c5a;
    }
}

@keyframes pricingCardFade {
    0%, 100% {
        border-color: rgba(255, 107, 53, 0.5);
    }
    50% {
        border-color: rgba(255, 107, 53, 0.8);
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
header {
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.back-link {
    color: #2d2d2d;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #FF6B35;
}

/* ===== HERO ===== */
.pricing-hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: 80px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* ===== SUBSCRIPTION ALERT ===== */
.subscription-alert {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.1);
}

.subscription-alert.hidden {
    display: none;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.alert-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.alert-text strong {
    display: block;
    font-size: 18px;
    color: #e65100;
    margin-bottom: 4px;
    font-weight: 700;
}

.alert-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* ===== PRICING GRID ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: white;
    border: 2px solid rgba(255, 107, 53, 0.5);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: pricingCardFade 2s ease-in-out infinite;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.15);
    animation: none;
}

.pricing-card.featured {
    border-color: #FF6B35;
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3);
    animation: pricingGlow 3s ease-in-out infinite;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 16px 48px rgba(255, 107, 53, 0.35);
}

/* ===== BADGE ===== */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* ===== PRICING HEADER ===== */
.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2d2d2d;
}

.pricing-description {
    color: #718096;
    font-size: 15px;
}

/* ===== PRICING PRICE ===== */
.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E2E8F0;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: #FF6B35;
}

.price-period {
    font-size: 18px;
    color: #718096;
    font-weight: 500;
}

/* ===== FEATURES ===== */
.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #2d2d2d;
}

.feature-item.disabled {
    opacity: 0.4;
}

.check-icon {
    flex-shrink: 0;
    color: #FF6B35;
}

.feature-item.disabled .check-icon {
    color: #718096;
}

/* ===== BUTTON ===== */
.pricing-footer {
    margin-top: auto;
}

.btn-plan {
    width: 100%;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #FF6B35;
    background: white;
    color: #FF6B35;
}

.btn-plan:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    background: #FF6B35;
    color: white;
}

.btn-plan.primary {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
}

.btn-plan.primary:hover {
    background: #ff8c5a;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-plan.current {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: #2d2d2d;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d2d2d;
}

.faq-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFF9F5 100%);
    border-radius: 24px;
    margin: 60px auto;
    max-width: 1000px;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta.primary {
    background: #FF6B35;
    color: white;
    border: 2px solid #FF6B35;
}

.btn-cta.primary:hover {
    background: #ff8c5a;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.btn-cta.secondary {
    background: white;
    color: #FF6B35;
    border: 2px solid #FF6B35;
}

.btn-cta.secondary:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .price-amount {
        font-size: 42px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
}
