:root {
    --primary-color: #0072CE;
    --accent-color: #00A3E0;
    --bg-color: #1a1a2e;
    --card-bg: #252542;
    --text-color: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 420px;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.profile-image-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-bg);
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

h2 {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.profile-section > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 28px 0;
}

.company-section {
    text-align: center;
    margin-bottom: 28px;
}

.company-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}

.company-section p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.company-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.company-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn svg {
    flex-shrink: 0;
}

/* QR Modal - Fullscreen white for maximum contrast */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.modal-content h3 {
    margin-bottom: 24px;
    color: #1a1a2e;
    font-size: 22px;
}

#qrCode {
    margin-bottom: 24px;
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#qrCode img {
    display: block;
}

.modal .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 16px;
}

.modal .btn:hover {
    background: var(--accent-color);
}

.qr-tip {
    margin-top: 16px;
    font-size: 13px;
    color: #666;
}

/* Copy notification animation */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    85% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* Responsive */
@media (max-width: 380px) {
    .card {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .buttons {
        grid-template-columns: 1fr;
    }
}
