:root {
    --primary-gradient: linear-gradient(135deg, #2563eb, #7c3aed);
    --background-color: #0f172a;
    --card-background: rgba(30, 41, 59, 0.7);
    --text-color: #f1f5f9;
    --header-height: 90px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --radius: 20px;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Outfit', sans-serif;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
}

.logo-container {
    padding: 10px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    height: 50px;
    width: auto;
}

.company-name {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* QR Card Styles */
.qr-card {
    background: var(--card-background);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 500px;
    width: 90%;
    animation: fadeIn 0.8s ease-out;
}

.qr-header {
    text-align: center;
}

.card-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.qr-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.qr-header p {
    color: #94a3b8;
    font-size: 1rem;
}

.qr-image-container {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.qr-image-container img {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

.qr-glow {
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(15px);
}

.qr-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    background: rgba(0,0,0,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

footer {
    padding: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    border-top: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    header {
        height: auto;
    }

    .company-name {
        font-size: 1.25rem;
        text-align: center;
    }

    .report-container {
        padding: 0.75rem;
        aspect-ratio: auto;
        height: 60vh;
    }
}

