* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Elements */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(108, 99, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 30, 46, 0.1) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--light-color);
}

.logo-accent {
    color: var(--primary-color);
}

.logo-sub {
    font-size: 12px;
    color: var(--gray-color);
    margin-top: 2px;
    letter-spacing: 1px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--success-color);
}

/* Main Content */
.main {
    padding: 40px 0 60px;
}

/* QR Section */
.qr-section {
    margin-bottom: 60px;
}

.section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--light-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 16px;
    color: var(--gray-color);
    max-width: 500px;
    margin: 0 auto;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
}

.qr-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.qr-frame {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 30px;
    padding: 15px;
    background: white;
    border-radius: 16px;
    border: 3px solid var(--primary-color);
    overflow: hidden;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.qr-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan 2s linear infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(240px); }
}

.qr-details {
    text-align: center;
}

.upi-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.upi-id i {
    color: var(--primary-color);
}

.qr-actions {
    display: flex;
    gap: 12px;
}

/* Button Styles */
.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    font-family: inherit;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

.btn.full-width {
    width: 100%;
}

/* Payment Information */
.payment-info {
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
}

.card-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--light-color);
}

.card-body {
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-color);
    font-weight: 500;
}

.info-label i {
    color: var(--primary-color);
    font-size: 14px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--light-color);
    font-family: 'Monaco', 'Menlo', monospace;
    text-align: right;
    word-break: break-all;
    max-width: 60%;
}

/* Apps Section */
.apps-section {
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 8px;
}

.section-sub {
    font-size: 16px;
    color: var(--gray-color);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.app-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.app-card:hover {
    border-color: var(--primary-color);
    background: rgba(108, 99, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.1);
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.app-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-color);
    text-align: center;
}

.app-card p {
    font-size: 12px;
    color: var(--gray-color);
    text-align: center;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(20px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-color);
}

.footer-logo i {
    color: var(--success-color);
}

.footer-version {
    font-size: 14px;
    color: var(--gray-color);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-color);
}

.separator {
    color: rgba(255, 255, 255, 0.1);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
    max-width: 400px;
    border-left: 4px solid var(--primary-color);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.error {
    border-left-color: var(--error-color);
}

.notification-icon {
    font-size: 18px;
}

.notification.success .notification-icon::before {
    content: '✓';
    color: var(--success-color);
}

.notification.error .notification-icon::before {
    content: '!';
    color: var(--error-color);
}

.notification-text {
    font-size: 14px;
    color: var(--light-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-intro h2 {
        font-size: 28px;
    }
    
    .qr-container {
        padding: 24px;
    }
    
    .qr-frame {
        width: 200px;
        height: 200px;
    }
    
    .qr-actions {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value {
        max-width: 100%;
        text-align: left;
    }
    
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .qr-frame {
        width: 180px;
        height: 180px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .notification {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}