:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary: #4cc9f0;
    --accent: #f72585;
    --success: #4ade80;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6b7280;
    --gray-light: #9ca3af;
}

* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fafbfe;
    color: #334155;
    line-height: 1.6;
}

/* Auth Pages */
.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 40px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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 1000 1000" opacity="0.1"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-outline-light {
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.section-title span {
    color: var(--primary);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f1f5f9;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

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

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

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

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.period {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

/* Error Pages */
.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.error-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 50px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    border-top: 5px solid var(--danger);
}

.error-card.suspended-card {
    border-top: 5px solid var(--warning);
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.error-danger { color: var(--danger); }
.error-warning { color: var(--warning); }

.error-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.error-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.error-code {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--danger);
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.error-code.suspended-code {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    color: var(--warning);
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.suspended-features {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #fef3c7;
}

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

.feature-list i {
    margin-right: 10px;
    width: 20px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-brand {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 25px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
}

/* QR Code Display */
.qr-code {
    width: 200px;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 auto;
    border: 1px dashed #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .error-card {
        padding: 30px 20px;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}