/* Styles pour les pages d'abonnement */

/* Hero Section */
.subscription-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscription-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

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

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.25rem;
    color: #718096;
    font-weight: 500;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #4a5568;
}

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

.plan-features i {
    color: #48bb78;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.plan-cta {
    text-align: center;
}

.plan-status {
    text-align: center;
    padding: 1rem;
    background: #e6fffa;
    border-radius: 10px;
    border: 1px solid #81e6d9;
}

.current-plan {
    color: #234e52;
    font-weight: 600;
    font-size: 0.9rem;
}

.premium-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #d69e2e;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fefcbf;
    border-radius: 10px;
    border: 1px solid #f6e05e;
}

.premium-status i {
    font-size: 1.25rem;
}

/* Buttons */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #cbd5e0;
    color: #2d3748;
}

/* Premium Benefits */
.premium-benefits {
    margin-top: 4rem;
    text-align: center;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 3rem;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    min-height: 280px;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.benefit-title-section {
    flex: 1;
}

.benefit-features-column {
    flex: 1;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.benefit-item p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0;
}

.benefit-features li i {
    color: #48bb78;
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Security Section */
.security-section {
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.security-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-weight: 500;
}

.security-item i {
    color: #48bb78;
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-column {
        gap: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem;
        min-height: auto;
    }

    .benefit-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .benefit-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .benefits-column {
        gap: 1.5rem;
    }
    
    .benefit-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .benefit-left {
        align-items: center;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .subscription-hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .pricing-section {
        padding: 60px 0;
    }
    
    .amount {
        font-size: 2.5rem;
    }
}

/* Checkout Page Styles */
.checkout-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.checkout-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="checkout-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23checkout-grain)"/></svg>');
    opacity: 0.3;
}

.checkout-content {
    position: relative;
    z-index: 1;
}

.checkout-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.checkout-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.checkout-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.order-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.plan-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.plan-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.plan-description {
    color: #718096;
    font-size: 0.9rem;
}

.plan-price {
    text-align: right;
}

.plan-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.plan-price .period {
    color: #718096;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.features-summary {
    margin-bottom: 1.5rem;
}

.features-summary h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.9rem;
}

.features-list i {
    color: #48bb78;
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

.total-section {
    border-top: 2px solid #e2e8f0;
    padding-top: 1rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #4a5568;
    font-size: 0.95rem;
}

.total-line.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2d3748;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.payment-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.payment-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.payment-subtitle {
    color: #718096;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-method i {
    font-size: 1.25rem;
    color: #667eea;
}

.btn-payment {
    width: 100%;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-payment:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.security-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #48bb78;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.legal-text {
    color: #718096;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}

.legal-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.legal-link:hover {
    text-decoration: underline;
}

.back-section {
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #f7fafc;
    color: #5a67d8;
}

/* Responsive Checkout */
@media (max-width: 768px) {
    .checkout-title {
        font-size: 2rem;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-summary,
    .payment-card {
        padding: 1.5rem;
    }
    
    .plan-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .plan-price {
        text-align: left;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .security-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .checkout-hero {
        padding: 40px 0 30px;
    }
    
    .checkout-title {
        font-size: 1.75rem;
    }
    
    .checkout-section {
        padding: 40px 0;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .payment-method {
        justify-content: center;
    }
}

/* Success Page Styles */
.success-hero {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="success-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23success-grain)"/></svg>');
    opacity: 0.3;
}

.success-content {
    position: relative;
    z-index: 1;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    animation: successPulse 2s ease-in-out infinite;
}

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

.success-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.success-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.success-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.success-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

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

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 1.1rem;
    color: #718096;
}

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

.features-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.success-info {
    border-top: 2px solid #e2e8f0;
    padding-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #667eea;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

/* Cancel Page Styles */
.cancel-hero {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cancel-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cancel-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cancel-grain)"/></svg>');
    opacity: 0.3;
}

.cancel-content {
    position: relative;
    z-index: 1;
}

.cancel-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.cancel-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cancel-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cancel-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.cancel-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

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

.cancel-reasons {
    margin-bottom: 3rem;
}

.reasons-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.reason-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.reason-content p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cancel-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cancel-help {
    border-top: 2px solid #e2e8f0;
    padding-top: 2rem;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
}

.help-item i {
    color: #667eea;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.help-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.help-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Success/Cancel Pages */
@media (max-width: 768px) {
    .success-title,
    .cancel-title {
        font-size: 2.5rem;
    }
    
    .success-subtitle,
    .cancel-subtitle {
        font-size: 1.1rem;
    }
    
    .success-card,
    .cancel-card {
        padding: 2rem;
    }
    
    .features-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions,
    .cancel-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn,
    .cancel-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .success-hero,
    .cancel-hero {
        padding: 60px 0 40px;
    }
    
    .success-title,
    .cancel-title {
        font-size: 2rem;
    }
    
    .success-section,
    .cancel-section {
        padding: 60px 0;
    }
    
    .success-card,
    .cancel-card {
        padding: 1.5rem;
    }
}

/* Manage Subscription Page Styles */
.manage-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.manage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="manage-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23manage-grain)"/></svg>');
    opacity: 0.3;
}

.manage-content {
    position: relative;
    z-index: 1;
}

.manage-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.manage-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.manage-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.subscription-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.subscription-card.active {
    border-color: #48bb78;
}

.subscription-card.inactive {
    border-color: #e2e8f0;
}

.subscription-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.subscription-status {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge.active {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.status-badge.inactive {
    background: #e2e8f0;
    color: #718096;
}

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

.subscription-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.subscription-description {
    color: #718096;
    font-size: 1rem;
}

.subscription-price {
    text-align: right;
}

.subscription-price .price {
    font-size: 2rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
}

.subscription-price .period {
    color: #718096;
    font-size: 1rem;
    margin-left: 0.25rem;
}

.subscription-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.detail-item i {
    color: #667eea;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.detail-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.detail-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.subscription-features {
    margin-bottom: 2rem;
}

.subscription-features h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #4a5568;
}

.feature-item i {
    color: #48bb78;
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

.subscription-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.upgrade-benefits {
    margin-bottom: 2rem;
}

.upgrade-benefits h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.subscription-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.subscription-info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.info-item i {
    color: #667eea;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    margin-top: 0.25rem;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Manage Page */
@media (max-width: 768px) {
    .manage-title {
        font-size: 2rem;
    }
    
    .subscription-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .subscription-price {
        text-align: left;
    }
    
    .subscription-details {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .subscription-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .manage-hero {
        padding: 40px 0 30px;
    }
    
    .manage-title {
        font-size: 1.75rem;
    }
    
    .manage-section {
        padding: 40px 0;
    }
    
    .subscription-card {
        padding: 1.5rem;
    }
    
    .subscription-info-card {
        padding: 1.5rem;
    }
}

/* Limitation Messages Styles */
.limitation-info {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
}

.premium-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d69e2e;
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: #fefcbf;
    border-radius: 8px;
    border: 1px solid #f6e05e;
}

.premium-status i {
    font-size: 1.25rem;
}

.free-status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.free-status > span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-weight: 500;
    padding: 0.75rem 1rem;
    background: #e6fffa;
    border-radius: 8px;
    border: 1px solid #81e6d9;
}

.free-status i {
    color: #38a169;
    font-size: 1.1rem;
}

.limitation-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e53e3e;
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: #fed7d7;
    border-radius: 8px;
    border: 1px solid #feb2b2;
    margin-top: 0.5rem;
}

.limitation-warning i {
    font-size: 1.1rem;
}

.upgrade-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.upgrade-link:hover {
    background: rgba(102, 126, 234, 0.2);
    text-decoration: none;
    color: #5a67d8;
}

.form-disabled {
    position: relative;
}

.form-disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    border-radius: 12px;
}

.alert-warning.limitation-message {
    background: #fefcbf;
    border: 1px solid #f6e05e;
    color: #744210;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-warning.limitation-message i {
    color: #d69e2e;
    font-size: 1.1rem;
}

/* Responsive Limitation Messages */
@media (max-width: 768px) {
    .limitation-info {
        margin: 0.5rem 0;
        padding: 0.75rem;
    }
    
    .premium-status,
    .free-status > span,
    .limitation-warning {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .upgrade-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.85rem;
    }
}

/* Dashboard Plan Info Styles */
.plan-info {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
}

.plan-info .premium-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d69e2e;
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: #fefcbf;
    border-radius: 8px;
    border: 1px solid #f6e05e;
}

.plan-info .free-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #e6fffa;
    border-radius: 8px;
    border: 1px solid #81e6d9;
    flex-wrap: wrap;
}

.plan-info .free-status > span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-weight: 500;
}

.plan-info .free-status i {
    color: #38a169;
    font-size: 1.1rem;
}

.plan-info .upgrade-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.plan-info .upgrade-link:hover {
    background: rgba(102, 126, 234, 0.2);
    text-decoration: none;
    color: #5a67d8;
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Dashboard Plan Info */
@media (max-width: 768px) {
    .plan-info {
        margin: 0.5rem 0;
        padding: 0.75rem;
    }
    
    .plan-info .free-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .plan-info .upgrade-link {
        align-self: stretch;
        text-align: center;
    }
}
