/* Pricing Page Styles */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    min-height: 100vh;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-header p {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* Subscription Status */
.subscription-status {
    margin-top: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.status-badge i {
    font-size: 1rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* Pricing Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-header h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.5rem;
    color: #94a3b8;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
}

.period {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* Plan Features */
.plan-features h3 {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 20px;
    font-weight: 400;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #e2e8f0;
}

.plan-features li i {
    font-size: 1rem;
    color: #22c55e;
    flex-shrink: 0;
}

.plan-features li.disabled {
    color: #64748b;
}

.plan-features li.disabled i {
    color: #64748b;
}

/* Coupon Section */
.coupon-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.coupon-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.coupon-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.coupon-input::placeholder {
    color: #94a3b8;
}

.apply-coupon-btn {
    padding: 12px 20px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-coupon-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.apply-coupon-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.coupon-message {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 20px;
}

.coupon-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.coupon-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.coupon-message.loading {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Hide coupon section for subscribed users */
.coupon-section.hidden {
    display: none;
}

/* Plan Action */
.plan-action {
    margin-top: auto;
}

.plan-button {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.plan-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.plan-button.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.plan-button.premium:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.plan-button.current {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #22c55e;
}

.cancel-subscription-btn {
    width: 100%;
    padding: 12px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cancel-subscription-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 12px;
}

.faq-item p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .home-button {
        top: 15px;
        left: 15px;
        padding: 6px;
    }
    
    .home-logo-image {
        height: 45px;
    }
}

/* CSS Variables to match trainer page */
:root {
    --primary-color: #0c1429;
    --secondary-color: #feb750;
    --accent-color: #2ecc71;
    --accent-red: #e74c3c;
    --accent-gold: #feb750;
    --dark-color: #1a1a2e;
    --light-color: #f4f4f4;
    --felt-dark: #0a3d1b;
    --felt-light: #0d4a24;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.2);
    --gradient-dark: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
    --gradient-gold: linear-gradient(135deg, #feb750 0%, #ffc566 100%);
    --gradient-green: linear-gradient(135deg, #0a3d1b 0%, #0d4a24 50%, #0a3d1b 100%);
    --transition: all 0.3s ease;
    --border-radius: 18px;
    --glass-blur: 12px;
}

/* Home button styling - matches trainer page */
.home-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    padding: 8px;
    border-radius: 12px;
    background: rgba(12, 20, 41, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 183, 80, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.home-button:hover {
    transform: translateY(-2px);
    background: rgba(12, 20, 41, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(254, 183, 80, 0.6);
}

.home-link {
    display: block;
    transition: transform 0.3s ease;
}

.home-link:hover {
    transform: scale(1.05);
}

.home-logo-image {
    display: block;
    height: 60px;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.home-logo-image:hover {
    transform: scale(1.05);
}

/* Footer styling - matches trainer page */
footer {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: radial-gradient(circle at 30% 30%, #ffd78a 0%, #feb750 60%, #f5a423 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    background: radial-gradient(circle at 30% 30%, #ffd78a 0%, #feb750 60%, #f5a423 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 1.3rem;
    opacity: 0.8;
    transition: var(--transition);
    color: #ffffff;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(254, 183, 80, 0.2);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-logo-image {
    max-height: 40px;
    transition: transform 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.05);
} 