/* Enhanced Modern Pricing Styles - Teal Theme */
.pricing-hero {
    padding: 160px 0 var(--spacing-2xl);
    background: var(--secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(79, 209, 197, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.15) 0%, transparent 70%);
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    position: relative;
    z-index: 2;
}

.pricing-header h1 {
    font-size: 54px;
    margin-bottom: var(--spacing-md);
    color: white;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pricing-header > p {
    font-size: 19px;
    color: #cbd5e1;
    margin-bottom: var(--spacing-xl);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8;
    transition: color var(--transition-base);
}

.toggle-label.active {
    color: var(--primary);
}

.save-badge {
    display: inline-block;
    background: rgba(79, 209, 197, 0.2);
    color: var(--primary);
    border: 1px solid rgba(79, 209, 197, 0.3);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-left: 6px;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition-base);
}

.toggle-switch.active {
    background: var(--primary-gradient);
    border-color: var(--primary);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3);
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--secondary);
}

.plan-description {
    font-size: 14px;
    color: var(--text-muted);
}

.plan-price {
    margin: var(--spacing-lg) 0;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border);
}

.price-display {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.price-display.custom {
    justify-content: center;
    padding: 12px 0;
}

.price-display.custom .amount {
    font-size: 36px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.currency {
    font-size: 24px;
    color: var(--text-muted);
    margin-top: 8px;
}

.amount {
    font-size: 56px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.period {
    font-size: 16px;
    color: var(--text-muted);
    align-self: flex-end;
    padding-bottom: 12px;
}

.yearly-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.details-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: var(--spacing-md);
}

.details-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
    border-color: var(--primary);
}

.toggle-icon {
    transition: transform var(--transition-base);
}

.details-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.pricing-details {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.05) 0%, rgba(79, 209, 197, 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.detail-item span:first-child {
    color: var(--text-secondary);
}

.detail-item span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.detail-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.detail-item.total span {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
}

.plan-features {
    margin-bottom: var(--spacing-lg);
}

.plan-features li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.faq-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-gradient);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-base);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-question.active + .faq-answer {
    max-height: 200px;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 40px;
    }
    .amount {
        font-size: 48px;
    }
}
