/* Payment Page Styles */
:root {
    --primary-color: #10b981;
    --primary-hover: #059669;
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #d1d5db;
    --text-muted: #6b7280;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-success: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-secondary: linear-gradient(135deg, #065f46 0%, #047857 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-primary);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.payment-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.payment-header {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 0 0;
    font-weight: 300;
}

/* Main Content */
.payment-main {
    flex: 1;
    padding: 3rem 0;
}

/* Hero Section */
.payment-hero {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Features List */
.features-list {
    margin: 2.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: var(--dark-color);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    min-width: 24px;
}

/* CTA Section */
.cta-section {
    margin-top: 3rem;
}

.cta-button {
    background: var(--gradient-success);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-success);
}

/* Payment Form */
.payment-form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.form-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-example {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background-color: white;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger-color);
    background-color: #fff5f5;
}

.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    color: var(--danger-color);
    margin-top: 0.25rem;
}

/* Price Display */
.price-display {
    text-align: center;
    margin: 2rem 0;
}

.price-card {
    background: var(--gradient-success);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 0.25rem;
}

.price-period {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Submit Button */
.payment-submit-btn {
    background: var(--gradient-success);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.payment-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-success);
}

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

/* Support Section */
.support-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.support-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Footer */
.payment-footer {
    background: var(--gradient-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0 2rem 0;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #a7f3d0;
    transform: translateY(-1px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: #a7f3d0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover::after {
    width: 100%;
}

.company-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
}

.company-info p {
    margin-bottom: 0.5rem;
}

/* Alert Container */
#alert-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    pointer-events: none;
}

#alert-container .alert {
    pointer-events: all;
    margin-bottom: 10px;
    box-shadow: var(--shadow-lg);
    border: none;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

#alert-container .alert.fade.show {
    animation: slideInDown 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-hero,
    .payment-form-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .footer-links a {
        display: block;
        margin: 0.75rem 0;
        font-size: 1rem;
    }
    
    .footer-links a::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .payment-main {
        padding: 1rem 0;
    }
    
    .payment-hero,
    .payment-form-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}